ADO
Query, execute, or create and ADO
Command | Description |
---|---|
Creates an ADO by given type. | |
Executes a message on an ADO by given address. | |
Allows querying the on chain ADO Database. | |
Queries the info of ADO for a given address. | |
Queries details about your deployed apps and ADOs for the current chain | |
Allows management of modules for an ADO. | |
Allows management of operators for an ADO. | |
Queries an ADO by given address. | |
Transfers ownership of an ADO. |
Creates and ADO based on the specified ADO type.
ado create <ado-type>
ado create timelock
We are then prompted to add the information needed to create the timelock ADO.
Flag | Description | Usage |
---|---|---|
label | Used to provide a label assigned to the instantiation | --label 'Wow what a great transaction!' |
admin | Used to provide an alternative admin address for the contract | -- admin juno1... |
simulate | Simulates the transaction without broadcasting it. Useful to estimate gas costs. | -- simulate |
help | Displays info about the current command. | --help |
Executes a message on an ADO by given contract address.
ado execute <ado-address>
ado execute andr1gfddqxkhffjykm8z9wj9gym7khvazlkqx0ynsa55kd93vx4tjqws9y77pk
You can then chose from the list of executes to run.
Flag | Description | Usage |
---|---|---|
funds | Funds to send with the message | --funds 100ujunox |
memo | An optional memo to attach to the message | --memo 'Wow what a great transaction!' |
simulate | Simulates the transaction without broadcasting it. Useful to estimate gas costs. | -- simmulate |
print | Prints the constructed message before simulating. | --print |
help | Displays info about the current command. | --help |
Command | Description |
---|---|
address | Gets the address of the database contract being used. |
updatecodeid | Updates the code ID for a given ADO in the factory. |
Gets the address of the database contract being used.
ado db address
? user@galileo-3> ado db address
andr1yyca08xqdgvjz0psg56z67ejh9xms6l436u8y58m82npdqqhmmtq9snx2v
? user@galileo-3> ()
Fetches the code ID for a given ADO.
Usage
ado db getcodeid <ado key>
Example
? user@galileo-3> ado db getcodeid auction
- Querying contract...
Code ID: 11
? user@galileo-3> ()
Queries the info of specified ADO contract address.
ado info <ado-address>
? user@galileo-3> ado info andr1yyca08xqdgvjz0psg56z67ejh9xms6l436u8y58m82npdqqhmmtq9snx2v
– Querying ADO info...
ADO Info
Type: adodb
Version: v0.1.1
Owner: andr1jr7l9mw0mkqm7vdmr7vclsqcf9u06x06gcfm9x
Publisher: andr1jr7l9mw0mkqm7vdmr7vclsqcf9u06x06gcfm9x
Created Height: 11840
? user@galileo-3> ()
Queries details about your deployed apps and ADOs for the current chain.
ado list
? guides@galileo-3> ado list
⠂ Searching the Cosmos...
Address ADO Type App Contract
andr1dtaqwlmzlk3jku5un6h6rfunttmwsqnfz7evvdf4pwr0wypsl68qa30vxv cw20
andr138gmtsqwcz0z09ja6y4cs3uyestx85440xcuwsght70jvmc9v92s9lwvj0 app
andr1qdgvugdnscwnj8lc96q666000gyjv434kn9zl9ey3dph6p0cunuszv3dwf cw721 andr138gmtsqwcz0z09ja6y4cs3uyestx85440xcuwsght70jvmc9v92s9lwvj0
? guides@galileo-3> ()
Flag | Description | Text |
---|---|---|
type | Filter assets by ADO type | --type cw721 |
help | Displays info about the current command | --help |
Allows management of modules for an ADO.
Command | Description |
---|---|
add | Adds a module to the ADO. |
edit | Edits an already added module attached to an ADO. |
list | Lists all modules for an ADO. |
rm | Removes a module from an ADO. |
Add a module to an ADO.
ado modules add <ado-address>
You are then prompted to provide the module's type and the module's contract address.
? guides@galileo-3> ado modules add andr1qdgvugdnscwnj8lc96q666000gyjv434kn9zl9ey3dph6p0cunuszv3dwf
— Querying contract...
? Input the module type: address-list
? Input the module address: andr1swwe3v2tezqgfwrh8wg8vxv6xgqwxtar8pn4yphfn40qdrj8fnvslhcdz7
? Should this module be mutable? No
— Simulating Tx...
Transaction simulated!
Cost Estimates
Gas Used: 165146
Fee estimates:
4129uandr
? Do you want to proceed? Yes
- Executing Tx...
Module registered!
https://testnets.cosmosrun.info/andromeda-galileo-3/tx/8FA6B89EEAA8F33E767FEB9985ECFCE0B55CA51841D69568424E963B3AD4BE0E
? guides@galileo-3> ()
Flag | Description | Usage |
---|---|---|
funds | Funds to send with the message | --funds 100ujunox |
memo | An optional memo to attach to the message | --memo 'Wow what a great transaction!' |
simulate | Simulates the transaction without broadcasting it. Useful to estimate gas costs. | -- simmulate |
print | Prints the constructed message before simulating. | --print |
help | Displays info about the current command. | --help |
Edits an already added module attached to an ADO.
ado modules edit <ado-address>
? keplr-g3@galileo-3> ado modules edit andr1pjpvwn5065jcw5qgkx3qdzvxfvkqcepnku9gmyw3mtueeq4320qqr9dc4g
- Querying contract...
– Querying modules...
? Choose which module to edit: (1) address-list andr1swwe3v2tezqgfwrh8wg8vxv6xgqwxtar8pn4yphfn40qdrj8fnvslhcdz7
? Input the module type (currently: address-list): address-list
? Input the module address (currently: andr1swwe3v2tezqgfwrh8wg8vxv6xgqwxtar8pn4yphfn40qdrj8fnvslhcdz7): andr1kxdy6hhmanuas0lajj77uvsk636h8270ze62792shss62ahr56tqcm0tfh
? Should this module be mutable? (currently: andr1swwe3v2tezqgfwrh8wg8vxv6xgqwxtar8pn4yphfn40qdrj8fnvslhcdz7) Yes
- Simulating Tx...
Transaction simulated!
Cost Estimates
Gas Used: 161311
Fee estimates:
4033uandr
? Do you want to proceed? Yes
— Executing Tx...
Module updated!
https://testnets.cosmosrun.info/andromeda-galileo-3/tx/FF7F3A6581A92605971109D05F7F5F739A18B8103725252409839CB93753634B
? keplr-g3@galileo-3> ()
Flag | Description | Usage |
---|---|---|
funds | Funds to send with the message | --funds 100ujunox |
memo | An optional memo to attach to the message | --memo 'Wow what a great transaction!' |
simulate | Simulates the transaction without broadcasting it. Useful to estimate gas costs. | -- simmulate |
print | Prints the constructed message before simulating. | --print |
help | Displays info about the current command. | --help |
Lists all the modules of the specified ADO.
ado modules list <ado-address>
? keplr-g3@galileo-3> ado modules list andr1pjpvwn5065jcw5qgkx3qdzvxfvkqcepnku9gmyw3mtueeq4320qqr9dc4g
– Querying modules...
Type Address Mutable
1 address-list andr1kxdy6hhmanuas0lajj77uvsk636h8270ze62792shss62ahr56tqcm0tfh ✓
? keplr-g3@galileo-3> ()
Removes a module from an ADO.
You can only remove mutable modules.
ado modules rm <ado-address>
? keplr-g3@galileo-3> ado modules rm andr1pjpvwn5065jcw5qgkx3qdzvxfvkqcepnku9gmyw3mtueeq4320qqr9dc4g
- Querying contract...
- Querying modules...
? Choose which module to remove: (1) address-list andr1kxdy6hhmanuas0lajj77uvsk636h8270ze62792shss62ahr56tqcm0tfh
— Simulating Tx...
Transaction simulated!
Cost Estimates
Gas Used: 144518
Fee estimates:
3613uandr
? Do you want to proceed? Yes
– Executing Tx...
Module removed!
https://testnets.cosmosrun.info/andromeda-galileo-3/tx/1AF193D42F08919C0A62EBC3F4D364F6864AB4EA721AB31F8DF2754EC4A32FF2
? keplr-g3@galileo-3> ()
Flags
Flag | Description | Usage |
---|---|---|
funds | Funds to send with the message | --funds 100ujunox |
memo | An optional memo to attach to the message | --memo 'Wow what a great transaction!' |
simulate | Simulates the transaction without broadcasting it. Useful to estimate gas costs. | -- simmulate |
print | Prints the constructed message before simulating. | --print |
help | Displays info about the current command. | --help |
Allows management of operators for an ADO.
Command | Description |
---|---|
add | Adds an operator to an ADO. |
list | Lists all the operators of an ADO. |
rm | Removes an operator from an ADO. |
Adds an operator to an ADO.
ado operators add <ado-address> <new operator address>
? keplr-g3@galileo-3> ado operators add andr1pjpvwn5065jcw5qgkx3qdzvxfvkqcepnku9gmyw3mtueeq4320qqr9dc4g andr105j9m29uk2486rjwawkcucp8e3l52f8wdlm8ay
- Querying operators...
— Simulating Tx...
Transaction simulated!
Cost Estimates
Gas Used: 147859
Fee estimates:
3697uandr
? Do you want to proceed? Yes
- Executing Tx...
Operator added!
https://testnets.cosmosrun.info/andromeda-galileo-3/tx/3756D53D316816C3225A7BE8560A3E83D4DD933D56092C449F4717E26DC3469A
? keplr-g3@galileo-3> ()
Flag | Description | Usage |
---|---|---|
funds | Funds to send with the message | --funds 100ujunox |
memo | An optional memo to attach to the message | --memo 'Wow what a great transaction!' |
simulate | Simulates the transaction without broadcasting it. Useful to estimate gas costs. | -- simmulate |
print | Prints the constructed message before simulating. | --print |
help | Displays info about the current command. | --help |
Lists all the operators of an ADO.
ado operators list <ado-address>
? keplr-g3@galileo-3> ado operators list andr1pjpvwn5065jcw5qgkx3qdzvxfvkqcepnku9gmyw3mtueeq4320qqr9dc4g
- Querying operators...
Operator Address
andr105j9m29uk2486rjwawkcucp8e3l52f8wdlm8ay
? keplr-g3@galileo-3> ()
Removes an operator from an ADO.
Usage
ado operators rm <ado-address> <operator address to remove>
Example
? keplr-g3@galileo-3> ado operators rm andr1pjpvwn5065jcw5qgkx3qdzvxfvkqcepnku9gmyw3mtueeq4320qqr9dc4g andr105j9m29uk2486rjwawkcucp8e3l52f8wdlm8ay
- Querying operators...
– Simulating Tx...
Transaction simulated!
Cost Estimates
Gas Used: 143173
Fee estimates:
3580uandr
? Do you want to proceed? Yes
– Executing Tx...
Operator removed!
https://testnets.cosmosrun.info/andromeda-galileo-3/tx/2DA9C3EDD1CD620CF5C57797A9023993A48AD18A2ED682E6601B344280B75BA7
? keplr-g3@galileo-3> ()
Flag | Description | Usage |
---|---|---|
funds | Funds to send with the message | --funds 100ujunox |
memo | An optional memo to attach to the message | --memo 'Wow what a great transaction!' |
simulate | Simulates the transaction without broadcasting it. Useful to estimate gas costs. | -- simmulate |
print | Prints the constructed message before simulating. | --print |
help | Displays info about the current command. | --help |
Queries an ADO by given contract address.
ado query <ado-address>
ado query juno153xscnqm7erc847fye9p2vuqtz6465g2jr48ah5meuwzjmzlc6aqf677yd
You can then chose from the list of queries to run.
Transfers ownership of an ADO.
ado transfer <address> <new owner address>
? main@uni-5> ado transfer juno1yvxl7jcuged55rjl57cd4c967p7l48avnv9r2fcgs0sshl07fuasn8u22f juno13nt2nfvjqgp4qdeg769qyjwzzfmppsdu2380gedqk6czmqtkq6fs8jrx7z
- Simulating Tx...
Transaction simulated!
Cost Estimates
Gas Used: 148616
Fee estimates:
3716ujunox
? Do you want to proceed? Yes
— Executing Tx...
ADO Transferred!
https://testnet.mintscan.io/juno-testnet/txs/8955682FA597EAA60A5F524A0C626CBDB3519CF8EFBE733FA20896D08F538564
? main@uni-5> ()
Last modified 7mo ago