wasm
The `wasm` module allows you to manage CosmWasm smart contract.
Query:
Tx:
Common flags in wasm
query
wasm
queryCommon flags for the wasm
query command are summarized.
Flags:
Global Flags:
Encode Flags
Flags:
Pagination Flags
Flags:
Query
ununifid query wasm build-address
Build contract address
Flags:
Please refer to Common flags & Encode flags for details of flags.
ununifid query wasm code
Downloads wasm bytecode for given code id
Flags:
Please refer to Common flags for details of flags.
ununifid query wasm code-info
Prints out metadata of a code id
Flags:
Please refer to Common flags for details of flags.
ununifid query wasm contract
Prints out metadata of a contract given its address
Flags:
Please refer to Common flags for details of flags.
ununifid query wasm contract-history
Prints out the code history for a contract given its address
Flags:
Please refer to Common flags & Pagination flags for details of flags.
ununifid query wasm contract-state
Querying commands for the wasm module
Command:
Flags:
Please refer to Common flags & Pagination flags for details of flags.
Flags:
Please refer to Common flags & Encode flags for details of flags.
ununifid query wasm libwasmvm-version
Get libwasmvm version
Flags:
Please refer to Common flags for details of flags.
ununifid query wasm list-code
List all wasm bytecode on the chain
Flags:
Please refer to Common flags & Pagination flags for details of flags.
ununifid query wasm list-contract-by-code
List wasm all bytecode on the chain for given code id
Flags:
Please refer to Common flags & Pagination flags for details of flags.
ununifid query wasm list-contracts-by-creator
List all contracts by creator
Flags:
Please refer to Common flags & Pagination flags for details of flags.
ununifid query wasm params
Query the current wasm parameters
Flags:
Please refer to Common flags for details of flags.
ununifid query wasm pinned
List all pinned code ids
Flags:
Please refer to Common flags & Pagination flags for details of flags.
Common flags in nftmint tx
Common flags for the nftmint tx command are summarized.
Flags:
Global Flags:
Tx
ununifid tx wasm clear-contract-admin
Clears admin for a contract to prevent further migrations
Flags:
Please refer to Common flags in cosmwasm tx for details of flags.
ununifid tx wasm execute
Execute a command on a wasm contract
Flags:
Please refer to Common flags in cosmwasm tx for details of flags.
ununifid tx wasm grant
Grant authorization to an address
Example:
Flags:
Please refer to Common flags in cosmwasm tx for details of flags.
ununifid tx wasm instantiate
Creates a new instance of an uploaded wasm code with the given 'constructor' message. Each contract instance has a unique address assigned.
Example:
Flags:
Please refer to Common flags in cosmwasm tx for details of flags.
ununifid tx wasm instantiate2
Creates a new instance of an uploaded wasm code with the given 'constructor' message. Each contract instance has a unique address assigned. They are assigned automatically but in order to have predictable addresses for special use cases, the given 'salt' argument and '--fix-msg' parameters can be used to generate a custom address.
Predictable address example (also see 'ununifid query wasm build-address -h'):
Flags:
Please refer to Common flags in cosmwasm tx for details of flags.
ununifid tx wasm migrate
Migrate a wasm contract to a new code version
Flags:
Please refer to Common flags in cosmwasm tx for details of flags.
ununifid tx wasm set-contract-admin
Set new admin for a contract
Flags:
Please refer to Common flags in cosmwasm tx for details of flags.
ununifid tx wasm store
Upload a wasm binary
Flags:
Please refer to Common flags in cosmwasm tx for details of flags.
ununifid tx wasm update-instantiate-config
Update instantiate config for a codeID
Flags:
Please refer to Common flags in cosmwasm tx for details of flags.
Last updated