Module cosmos_sdk_proto::cosmwasm::wasm::v1
source · Available on crate feature
cosmwasm
only.Modules§
- Nested message and enum types in
GenesisState
. - msg_client
grpc
Generated client implementations. - query_client
grpc
Generated client implementations.
Structs§
- AbsoluteTxPosition is a unique transaction position that allows for global ordering of transactions.
- AccessConfig access control type.
- AccessConfigUpdate contains the code id and the access config to be applied.
- AccessTypeParam
- ClearAdminProposal gov proposal content type to clear the admin of a contract.
- Code struct encompasses CodeInfo and CodeBytes
- CodeInfo is data for the uploaded contract WASM code
- CodeInfoResponse contains code meta data from CodeInfo
- Contract struct encompasses ContractAddress, ContractInfo, and ContractState
- ContractCodeHistoryEntry metadata to a contract.
- ContractInfo stores a WASM contract instance
- ExecuteContractProposal gov proposal content type to call execute on a contract.
- GenesisState - genesis state of x/wasm
- InstantiateContractProposal gov proposal content type to instantiate a contract.
- MigrateContractProposal gov proposal content type to migrate a contract.
- Model is a struct that holds a KV pair
- MsgClearAdmin removes any admin stored for a smart contract
- MsgClearAdminResponse returns empty data
- MsgExecuteContract submits the given message data to a smart contract
- MsgExecuteContractResponse returns execution result data.
- MsgIBCCloseChannel port and channel need to be owned by the contract
- MsgIBCSend
- MsgInstantiateContract create a new smart contract instance for the given code id.
- MsgInstantiateContract2 create a new smart contract instance for the given code id with a predicable address.
- MsgInstantiateContract2Response return instantiation result data
- MsgInstantiateContractResponse return instantiation result data
- MsgMigrateContract runs a code upgrade/ downgrade for a smart contract
- MsgMigrateContractResponse returns contract migration result data.
- MsgStoreCode submit Wasm code to the system
- MsgStoreCodeResponse returns store result data.
- MsgUpdateAdmin sets a new admin for a smart contract
- MsgUpdateAdminResponse returns empty data
- Params defines the set of wasm parameters.
- PinCodesProposal gov proposal content type to pin a set of code ids in the wasmvm cache.
- QueryAllContractStateRequest is the request type for the Query/AllContractState RPC method
- QueryAllContractStateResponse is the response type for the Query/AllContractState RPC method
- QueryCodeRequest is the request type for the Query/Code RPC method
- QueryCodeResponse is the response type for the Query/Code RPC method
- QueryCodesRequest is the request type for the Query/Codes RPC method
- QueryCodesResponse is the response type for the Query/Codes RPC method
- QueryContractHistoryRequest is the request type for the Query/ContractHistory RPC method
- QueryContractHistoryResponse is the response type for the Query/ContractHistory RPC method
- QueryContractInfoRequest is the request type for the Query/ContractInfo RPC method
- QueryContractInfoResponse is the response type for the Query/ContractInfo RPC method
- QueryContractsByCodeRequest is the request type for the Query/ContractsByCode RPC method
- QueryContractsByCodeResponse is the response type for the Query/ContractsByCode RPC method
- QueryParamsRequest is the request type for the Query/Params RPC method.
- QueryParamsResponse is the response type for the Query/Params RPC method.
- QueryPinnedCodesRequest is the request type for the Query/PinnedCodes RPC method
- QueryPinnedCodesResponse is the response type for the Query/PinnedCodes RPC method
- QueryRawContractStateRequest is the request type for the Query/RawContractState RPC method
- QueryRawContractStateResponse is the response type for the Query/RawContractState RPC method
- QuerySmartContractStateRequest is the request type for the Query/SmartContractState RPC method
- QuerySmartContractStateResponse is the response type for the Query/SmartContractState RPC method
- Sequence key and value of an id generation counter
- StoreCodeProposal gov proposal content type to submit WASM code to the system
- SudoContractProposal gov proposal content type to call sudo on a contract.
- UnpinCodesProposal gov proposal content type to unpin a set of code ids in the wasmvm cache.
- UpdateAdminProposal gov proposal content type to set an admin for a contract.
- UpdateInstantiateConfigProposal gov proposal content type to update instantiate config to a set of code ids.
Enums§
- AccessType permission types
- ContractCodeHistoryOperationType actions that caused a code change