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
MsgExecuteContract submits the given message data to a smart contract
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
SentFunds coins that are transferred to the contract on execution
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.
MsgInstantiateContract create a new smart contract instance for the given code id.
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.
InitMsg json encoded message to be passed to the contract on instantiation
InitFunds coins that are transferred to the contract on instantiation
MsgInstantiateContractResponse return instantiation result data
Address is the bech32 address of the new contract instance.
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
MigrateMsg 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
MsgStoreCode submit Wasm code to the system
Sender is the that actor that signed the messages
WASMByteCode can be raw or gzip compressed
Source is a valid absolute HTTPS URI to the contract's source code, optional
Builder is a valid docker image name with tag, optional
InstantiatePermission access control to apply on contract creation, optional
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
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
CodeInfo is data for the uploaded contract WASM code
CodeHash is the unique CodeID
Creator address who initially stored the code
Source is a valid absolute HTTPS URI to the contract's source code, optional
Builder is a valid docker image name with tag, optional
InstantiateConfig access control to apply on contract creation, optional
CodeInfoResponse contains code meta data from CodeInfo
Used in: ,
id for legacy support
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
ContractInfoWithAddress adds the address (key) to the ContractInfo representation
Used in:
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
Params defines the set of wasm parameters.