Get desktop application:
View/edit binary Protocol Buffers messages
Msg defines the wasm Msg service.
ClearAdmin removes any admin stored for a smart contract
MsgClearAdmin removes any admin stored for a smart contract
Sender is the that actor that signed the messages
Contract is the address of the smart contract
MsgClearAdminResponse returns empty data
(message has no fields)
Execute submits the given message data to a smart contract
MsgExecuteContractResponse returns execution result data.
Data contains base64-encoded bytes to returned from the contract
Instantiate creates a new smart contract instance for the given code id.
MsgInstantiateContractResponse return instantiation result data
Address is the bech32 address of the new contract instance.
Data contains base64-encoded bytes to returned from the contract
Migrate runs a code upgrade/ downgrade for a smart contract
MsgMigrateContract runs a code upgrade/ downgrade for a smart contract
Sender is the that actor that signed the messages
Contract is the address of the smart contract
CodeID references the new WASM code
Msg json encoded message to be passed to the contract on migration
MsgMigrateContractResponse returns contract migration result data.
Data contains same raw bytes returned as data from the wasm contract. (May be empty)
StoreCode to submit Wasm code to the system
MsgStoreCodeResponse returns store result data.
CodeID is the reference to the stored WASM code
UpdateAdmin sets a new admin for a smart contract
MsgUpdateAdmin sets a new admin for a smart contract
Sender is the that actor that signed the messages
NewAdmin address to be set
Contract is the address of the smart contract
MsgUpdateAdminResponse returns empty data
(message has no fields)
Query provides defines the gRPC querier service
AllContractState gets all raw store data for a single contract
QueryAllContractStateRequest is the request type for the Query/AllContractState RPC method
address is the address of the contract
pagination defines an optional pagination for the request.
QueryAllContractStateResponse is the response type for the Query/AllContractState RPC method
pagination defines the pagination in the response.
Code gets the binary code and metadata for a singe wasm code
QueryCodeRequest is the request type for the Query/Code RPC method
grpc-gateway_out does not support Go style CodID
QueryCodeResponse is the response type for the Query/Code RPC method
Codes gets the metadata for all stored wasm codes
QueryCodesRequest is the request type for the Query/Codes RPC method
pagination defines an optional pagination for the request.
QueryCodesResponse is the response type for the Query/Codes RPC method
pagination defines the pagination in the response.
ContractHistory gets the contract code history
QueryContractHistoryRequest is the request type for the Query/ContractHistory RPC method
address is the address of the contract to query
pagination defines an optional pagination for the request.
QueryContractHistoryResponse is the response type for the Query/ContractHistory RPC method
pagination defines the pagination in the response.
ContractInfo gets the contract meta data
QueryContractInfoRequest is the request type for the Query/ContractInfo RPC method
address is the address of the contract to query
QueryContractInfoResponse is the response type for the Query/ContractInfo RPC method
address is the address of the contract
ContractsByCode lists all smart contracts for a code id
QueryContractsByCodeRequest is the request type for the Query/ContractsByCode RPC method
grpc-gateway_out does not support Go style CodID
pagination defines an optional pagination for the request.
QueryContractsByCodeResponse is the response type for the Query/ContractsByCode RPC method
contracts are a set of contract addresses
pagination defines the pagination in the response.
PinnedCodes gets the pinned code ids
QueryPinnedCodesRequest is the request type for the Query/PinnedCodes RPC method
pagination defines an optional pagination for the request.
QueryPinnedCodesResponse is the response type for the Query/PinnedCodes RPC method
pagination defines the pagination in the response.
RawContractState gets single key from the raw store data of a contract
QueryRawContractStateRequest is the request type for the Query/RawContractState RPC method
address is the address of the contract
QueryRawContractStateResponse is the response type for the Query/RawContractState RPC method
Data contains the raw store data
SmartContractState get smart query result from the contract
QuerySmartContractStateRequest is the request type for the Query/SmartContractState RPC method
address is the address of the contract
QueryData contains the query data passed to the contract
QuerySmartContractStateResponse is the response type for the Query/SmartContractState RPC method
Data contains the json data returned from the smart contract
AbsoluteTxPosition is a unique transaction position that allows for global ordering of transactions.
Used in: ,
BlockHeight is the block the contract was created at
TxIndex is a monotonic counter within the block (actual transaction index, or gas consumed)
AccessConfig access control type.
Used in: , , ,
AccessType permission types
Used in: , ,
AccessTypeUnspecified placeholder for empty value
AccessTypeNobody forbidden
AccessTypeOnlyAddress restricted to an address
AccessTypeEverybody unrestricted
AccessTypeParam
ClearAdminProposal gov proposal content type to clear the admin of a contract.
Title is a short summary
Description is a human readable text
Contract is the address of the smart contract
Code struct encompasses CodeInfo and CodeBytes
Used in:
Pinned to wasmvm cache
CodeInfo is data for the uploaded contract WASM code
Used in:
CodeHash is the unique identifier created by wasmvm
Creator address who initially stored the code
InstantiateConfig access control to apply on contract creation, optional
CodeInfoResponse contains code meta data from CodeInfo
Used in: ,
id for legacy support
Contract struct encompasses ContractAddress, ContractInfo, and ContractState
Used in:
ContractCodeHistoryEntry metadata to a contract.
Used in:
CodeID is the reference to the stored WASM code
Updated Tx position when the operation was executed.
ContractCodeHistoryOperationType actions that caused a code change
Used in:
ContractCodeHistoryOperationTypeUnspecified placeholder for empty value
ContractCodeHistoryOperationTypeInit on chain contract instantiation
ContractCodeHistoryOperationTypeMigrate code migration
ContractCodeHistoryOperationTypeGenesis based on genesis data
ContractInfo stores a WASM contract instance
Used in: ,
CodeID is the reference to the stored Wasm code
Creator address who initially instantiated the contract
Admin is an optional address that can execute migrations
Label is optional metadata to be stored with a contract instance.
Created Tx position when the contract was instantiated. This data should kept internal and not be exposed via query results. Just use for sorting
Extension is an extension point to store custom metadata within the persistence model.
ExecuteContractProposal gov proposal content type to call execute on a contract.
Title is a short summary
Description is a human readable text
RunAs is the address that is passed to the contract's environment as sender
Contract is the address of the smart contract
Msg json encoded message to be passed to the contract as execute
Funds coins that are transferred to the contract on instantiation
GenesisState - genesis state of x/wasm
GenMsgs define the messages that can be executed during genesis phase in order. The intention is to have more human readable data that is auditable.
Used in:
sum is a single message
InstantiateContractProposal gov proposal content type to instantiate a contract.
Title is a short summary
Description is a human readable text
RunAs is the address that is passed to the contract's environment as sender
Admin is an optional address that can execute migrations
CodeID is the reference to the stored WASM code
Label is optional metadata to be stored with a constract instance.
Msg json encoded message to be passed to the contract on instantiation
Funds coins that are transferred to the contract on instantiation
MigrateContractProposal gov proposal content type to migrate a contract.
Title is a short summary
Description is a human readable text
Note: skipping 3 as this was previously used for unneeded run_as
Contract is the address of the smart contract
CodeID references the new WASM codesudo
Msg json encoded message to be passed to the contract on migration
Model is a struct that holds a KV pair
Used in: ,
hex-encode key to read it better (this is often ascii)
base64-encode raw value
MsgExecuteContract submits the given message data to a smart contract
Used as request type in: Msg.ExecuteContract
Used as field type in:
Sender is the that actor that signed the messages
Contract is the address of the smart contract
Msg json encoded message to be passed to the contract
Funds coins that are transferred to the contract on execution
MsgIBCCloseChannel port and channel need to be owned by the contract
MsgIBCSend
the channel by which the packet will be sent
Timeout height relative to the current block height. The timeout is disabled when set to 0.
Timeout timestamp (in nanoseconds) relative to the current block timestamp. The timeout is disabled when set to 0.
Data is the payload to transfer. We must not make assumption what format or content is in here.
MsgInstantiateContract create a new smart contract instance for the given code id.
Used as request type in: Msg.InstantiateContract
Used as field type in:
Sender is the that actor that signed the messages
Admin is an optional address that can execute migrations
CodeID is the reference to the stored WASM code
Label is optional metadata to be stored with a contract instance.
Msg json encoded message to be passed to the contract on instantiation
Funds coins that are transferred to the contract on instantiation
MsgStoreCode submit Wasm code to the system
Used as request type in: Msg.StoreCode
Used as field type in:
Sender is the that actor that signed the messages
WASMByteCode can be raw or gzip compressed
InstantiatePermission access control to apply on contract creation, optional
Params defines the set of wasm parameters.
Used in:
PinCodesProposal gov proposal content type to pin a set of code ids in the wasmvm cache.
Title is a short summary
Description is a human readable text
CodeIDs references the new WASM codes
Sequence key and value of an id generation counter
Used in:
StoreCodeProposal gov proposal content type to submit WASM code to the system
Title is a short summary
Description is a human readable text
RunAs is the address that is passed to the contract's environment as sender
WASMByteCode can be raw or gzip compressed
InstantiatePermission to apply on contract creation, optional
SudoContractProposal gov proposal content type to call sudo on a contract.
Title is a short summary
Description is a human readable text
Contract is the address of the smart contract
Msg json encoded message to be passed to the contract as sudo
UnpinCodesProposal gov proposal content type to unpin a set of code ids in the wasmvm cache.
Title is a short summary
Description is a human readable text
CodeIDs references the WASM codes
UpdateAdminProposal gov proposal content type to set an admin for a contract.
Title is a short summary
Description is a human readable text
NewAdmin address to be set
Contract is the address of the smart contract