Get desktop application:
View/edit binary Protocol Buffers messages
Msg defines the wasm Msg service.
StoreCode to submit Wasm code to the system
MsgStoreCode submit Wasm code to the system
Sender is the actor that signed the messages
WASMByteCode can be raw or gzip compressed
InstantiatePermission access control to apply on contract creation, optional
MsgStoreCodeResponse returns store result data.
CodeID is the reference to the stored WASM code
Checksum is the sha256 hash of the stored code
InstantiateContract 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.
Msg json encoded message to be passed to the contract on instantiation
Funds coins that are transferred to the contract on instantiation
MsgInstantiateContractResponse return instantiation result data
Address is the bech32 address of the new contract instance.
Data contains bytes to returned from the contract
InstantiateContract2 creates a new smart contract instance for the given code id with a predictable address
MsgInstantiateContract2 create a new smart contract instance for the given code id with a predicable address.
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
Salt is an arbitrary value provided by the sender. Size can be 1 to 64.
FixMsg include the msg value into the hash for the predictable address. Default is false
MsgInstantiateContract2Response return instantiation result data
Address is the bech32 address of the new contract instance.
Data contains bytes to returned from the contract
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
Funds coins that are transferred to the contract on execution
MsgExecuteContractResponse returns execution result data.
Data contains 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)
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)
ClearAdmin removes any admin stored for a smart contract
MsgClearAdmin removes any admin stored for a smart contract
Sender is the actor that signed the messages
Contract is the address of the smart contract
MsgClearAdminResponse returns empty data
(message has no fields)
UpdateInstantiateConfig updates instantiate config for a smart contract
MsgUpdateInstantiateConfig updates instantiate config for a smart contract
Sender is the that actor that signed the messages
CodeID references the stored WASM code
NewInstantiatePermission is the new access control
MsgUpdateInstantiateConfigResponse returns empty data
(message has no fields)
Query provides defines the gRPC querier service
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
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.
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.
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.
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
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.
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.
Params gets the module params
QueryParamsRequest is the request type for the Query/Params RPC method.
(message has no fields)
QueryParamsResponse is the response type for the Query/Params RPC method.
params defines the parameters of the module.
ContractsByCreator gets the contracts by creator
QueryContractsByCreatorRequest is the request type for the Query/ContractsByCreator RPC method.
CreatorAddress is the address of contract creator
Pagination defines an optional pagination for the request.
QueryContractsByCreatorResponse is the response type for the Query/ContractsByCreator RPC method.
ContractAddresses result set
Pagination defines the pagination in the response.
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)
AcceptedMessageKeysFilter accept only the specific contract message keys in the json object to be executed. Since: wasmd 0.30
Messages is the list of unique keys
AcceptedMessagesFilter accept only the specific raw contract messages to be executed. Since: wasmd 0.30
Messages is the list of raw contract messages
AccessConfig access control type.
Used in:
, , , , , , ,Address Deprecated: replaced by addresses
AccessConfigUpdate contains the code id and the access config to be applied.
Used in:
CodeID is the reference to the stored WASM code to be updated
InstantiatePermission to apply to the set of code ids
AccessType permission types
Used in:
, ,AccessTypeUnspecified placeholder for empty value
AccessTypeNobody forbidden
AccessTypeOnlyAddress restricted to a single address Deprecated: use AccessTypeAnyOfAddresses instead
AccessTypeEverybody unrestricted
AccessTypeAnyOfAddresses allow any of the addresses
AccessTypeParam
AllowAllMessagesFilter is a wildcard to allow any type of contract payload message. Since: wasmd 0.30
(message has no fields)
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
CombinedLimit defines the maximal amounts that can be sent to a contract and the maximal number of calls executable. Both need to remain >0 to be valid. Since: wasmd 0.30
Remaining number that is decremented on each execution
Amounts is the maximal amount of tokens transferable to the contract.
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
ContractExecutionAuthorization defines authorization for wasm execute. Since: wasmd 0.30
Grants for contract executions
ContractGrant a granted permission for a single contract Since: wasmd 0.30
Used in:
,Contract is the bech32 address of the smart contract
Limit defines execution limits that are enforced and updated when the grant is applied. When the limit lapsed the grant is removed.
Filter define more fine-grained control on the message payload passed to the contract in the operation. When no filter applies on execution, the operation is prohibited.
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.
Extension is an extension point to store custom metadata within the persistence model.
ContractMigrationAuthorization defines authorization for wasm contract migration. Since: wasmd 0.30
Grants for contract migrations
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
InstantiateContract2Proposal gov proposal content type to instantiate contract 2
Title is a short summary
Description is a human readable text
RunAs is the address that is passed to the contract's enviroment 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 encode message to be passed to the contract on instantiation
Funds coins that are transferred to the contract on instantiation
Salt is an arbitrary value provided by the sender. Size can be 1 to 64.
FixMsg include the msg value into the hash for the predictable address. Default is false
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
MaxCallsLimit limited number of calls to the contract. No funds transferable. Since: wasmd 0.30
Remaining number that is decremented on each execution
MaxFundsLimit defines the maximal amounts that can be sent to the contract. Since: wasmd 0.30
Amounts is the maximal amount of tokens transferable to the contract.
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 code
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
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.
MsgIBCSendResponse
Sequence number of the IBC packet sent
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:
StoreAndInstantiateContractProposal gov proposal content type to store and instantiate the 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
WASMByteCode can be raw or gzip compressed
InstantiatePermission to apply on contract creation, optional
UnpinCode code on upload, optional
Admin is an optional address that can execute migrations
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
Source is the URL where the code is hosted
Builder is the docker image used to build the code deterministically, used for smart contract verification
CodeHash is the SHA256 sum of the code outputted by builder, used for smart contract verification
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
UnpinCode code on upload, optional
Source is the URL where the code is hosted
Builder is the docker image used to build the code deterministically, used for smart contract verification
CodeHash is the SHA256 sum of the code outputted by builder, used for smart contract verification
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
UpdateInstantiateConfigProposal gov proposal content type to update instantiate config to a set of code ids.
Title is a short summary
Description is a human readable text
AccessConfigUpdate contains the list of code ids and the access config to be applied.