Module cosmwasm

Source

Modules§

genesis_state
Nested message and enum types in GenesisState.
msg_client
Generated client implementations.
query_client
Generated client implementations.

Structs§

AbsoluteTxPosition
AbsoluteTxPosition is a unique transaction position that allows for global ordering of transactions.
AccessConfig
AccessConfig access control type.
AccessTypeParam
AccessTypeParam
ClearAdminProposal
ClearAdminProposal gov proposal content type to clear the admin of a contract.
Code
Code struct encompasses CodeInfo and CodeBytes
CodeInfo
CodeInfo is data for the uploaded contract WASM code
CodeInfoResponse
CodeInfoResponse contains code meta data from CodeInfo
Contract
Contract struct encompasses ContractAddress, ContractInfo, and ContractState
ContractCodeHistoryEntry
ContractCodeHistoryEntry metadata to a contract.
ContractInfo
ContractInfo stores a WASM contract instance
ExecuteContractProposal
ExecuteContractProposal gov proposal content type to call execute on a contract.
GenesisState
GenesisState - genesis state of x/wasm
InstantiateContractProposal
InstantiateContractProposal gov proposal content type to instantiate a contract.
MigrateContractProposal
MigrateContractProposal gov proposal content type to migrate a contract.
Model
Model is a struct that holds a KV pair
MsgClearAdmin
MsgClearAdmin removes any admin stored for a smart contract
MsgClearAdminResponse
MsgClearAdminResponse returns empty data
MsgExecuteContract
MsgExecuteContract submits the given message data to a smart contract
MsgExecuteContractResponse
MsgExecuteContractResponse returns execution result data.
MsgIbcCloseChannel
MsgIBCCloseChannel port and channel need to be owned by the contract
MsgIbcSend
MsgIBCSend
MsgInstantiateContract
MsgInstantiateContract create a new smart contract instance for the given code id.
MsgInstantiateContractResponse
MsgInstantiateContractResponse return instantiation result data
MsgMigrateContract
MsgMigrateContract runs a code upgrade/ downgrade for a smart contract
MsgMigrateContractResponse
MsgMigrateContractResponse returns contract migration result data.
MsgStoreCode
MsgStoreCode submit Wasm code to the system
MsgStoreCodeResponse
MsgStoreCodeResponse returns store result data.
MsgUpdateAdmin
MsgUpdateAdmin sets a new admin for a smart contract
MsgUpdateAdminResponse
MsgUpdateAdminResponse returns empty data
Params
Params defines the set of wasm parameters.
PinCodesProposal
PinCodesProposal gov proposal content type to pin a set of code ids in the wasmvm cache.
QueryAllContractStateRequest
QueryAllContractStateRequest is the request type for the Query/AllContractState RPC method
QueryAllContractStateResponse
QueryAllContractStateResponse is the response type for the Query/AllContractState RPC method
QueryCodeRequest
QueryCodeRequest is the request type for the Query/Code RPC method
QueryCodeResponse
QueryCodeResponse is the response type for the Query/Code RPC method
QueryCodesRequest
QueryCodesRequest is the request type for the Query/Codes RPC method
QueryCodesResponse
QueryCodesResponse is the response type for the Query/Codes RPC method
QueryContractHistoryRequest
QueryContractHistoryRequest is the request type for the Query/ContractHistory RPC method
QueryContractHistoryResponse
QueryContractHistoryResponse is the response type for the Query/ContractHistory RPC method
QueryContractInfoRequest
QueryContractInfoRequest is the request type for the Query/ContractInfo RPC method
QueryContractInfoResponse
QueryContractInfoResponse is the response type for the Query/ContractInfo RPC method
QueryContractsByCodeRequest
QueryContractsByCodeRequest is the request type for the Query/ContractsByCode RPC method
QueryContractsByCodeResponse
QueryContractsByCodeResponse is the response type for the Query/ContractsByCode RPC method
QueryPinnedCodesRequest
QueryPinnedCodesRequest is the request type for the Query/PinnedCodes RPC method
QueryPinnedCodesResponse
QueryPinnedCodesResponse is the response type for the Query/PinnedCodes RPC method
QueryRawContractStateRequest
QueryRawContractStateRequest is the request type for the Query/RawContractState RPC method
QueryRawContractStateResponse
QueryRawContractStateResponse is the response type for the Query/RawContractState RPC method
QuerySmartContractStateRequest
QuerySmartContractStateRequest is the request type for the Query/SmartContractState RPC method
QuerySmartContractStateResponse
QuerySmartContractStateResponse is the response type for the Query/SmartContractState RPC method
Sequence
Sequence key and value of an id generation counter
StoreCodeProposal
StoreCodeProposal gov proposal content type to submit WASM code to the system
SudoContractProposal
SudoContractProposal gov proposal content type to call sudo on a contract.
UnpinCodesProposal
UnpinCodesProposal gov proposal content type to unpin a set of code ids in the wasmvm cache.
UpdateAdminProposal
UpdateAdminProposal gov proposal content type to set an admin for a contract.

Enums§

AccessType
AccessType permission types
ContractCodeHistoryOperationType
ContractCodeHistoryOperationType actions that caused a code change