Module wasm

Modules§

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.
AcceptedMessageKeysFilter
AcceptedMessageKeysFilter accept only the specific contract message keys in the json object to be executed. Since: wasmd 0.30
AcceptedMessagesFilter
AcceptedMessagesFilter accept only the specific raw contract messages to be executed. Since: wasmd 0.30
AccessConfig
AccessConfig access control type.
AccessConfigUpdate
AccessConfigUpdate contains the code id and the access config to be applied.
AccessTypeParam
AccessTypeParam
AllowAllMessagesFilter
AllowAllMessagesFilter is a wildcard to allow any type of contract payload message. Since: wasmd 0.30
ClearAdminProposal
Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for an explicit ClearAdminProposal. To clear the admin of a contract, a simple MsgClearAdmin can be invoked from the x/gov module via a v1 governance proposal.
Code
Code struct encompasses CodeInfo and CodeBytes
CodeGrant
CodeGrant a granted permission for a single code
CodeInfo
CodeInfo is data for the uploaded contract WASM code
CodeInfoResponse
CodeInfoResponse contains code meta data from CodeInfo
CombinedLimit
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
Contract
Contract struct encompasses ContractAddress, ContractInfo, and ContractState
ContractCodeHistoryEntry
ContractCodeHistoryEntry metadata to a contract.
ContractExecutionAuthorization
ContractExecutionAuthorization defines authorization for wasm execute. Since: wasmd 0.30
ContractGrant
ContractGrant a granted permission for a single contract Since: wasmd 0.30
ContractInfo
ContractInfo stores a WASM contract instance
ContractMigrationAuthorization
ContractMigrationAuthorization defines authorization for wasm contract migration. Since: wasmd 0.30
ExecuteContractProposal
Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for an explicit ExecuteContractProposal. To call execute on a contract, a simple MsgExecuteContract can be invoked from the x/gov module via a v1 governance proposal.
GenesisState
GenesisState - genesis state of x/wasm
InstantiateContract2Proposal
Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for an explicit InstantiateContract2Proposal. To instantiate contract 2, a simple MsgInstantiateContract2 can be invoked from the x/gov module via a v1 governance proposal.
InstantiateContractProposal
Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for an explicit InstantiateContractProposal. To instantiate a contract, a simple MsgInstantiateContract can be invoked from the x/gov module via a v1 governance proposal.
MaxCallsLimit
MaxCallsLimit limited number of calls to the contract. No funds transferable. Since: wasmd 0.30
MaxFundsLimit
MaxFundsLimit defines the maximal amounts that can be sent to the contract. Since: wasmd 0.30
MigrateContractProposal
Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for an explicit MigrateContractProposal. To migrate a contract, a simple MsgMigrateContract can be invoked from the x/gov module via a v1 governance proposal.
Model
Model is a struct that holds a KV pair
MsgAddCodeUploadParamsAddresses
MsgAddCodeUploadParamsAddresses is the MsgAddCodeUploadParamsAddresses request type.
MsgAddCodeUploadParamsAddressesResponse
MsgAddCodeUploadParamsAddressesResponse defines the response structure for executing a MsgAddCodeUploadParamsAddresses message.
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
MsgIbcSendResponse
MsgIBCSendResponse
MsgIbcWriteAcknowledgementResponse
MsgIBCWriteAcknowledgementResponse
MsgInstantiateContract
MsgInstantiateContract create a new smart contract instance for the given code id.
MsgInstantiateContract2
MsgInstantiateContract2 create a new smart contract instance for the given code id with a predicable address.
MsgInstantiateContract2Response
MsgInstantiateContract2Response return instantiation result data
MsgInstantiateContractResponse
MsgInstantiateContractResponse return instantiation result data
MsgMigrateContract
MsgMigrateContract runs a code upgrade/ downgrade for a smart contract
MsgMigrateContractResponse
MsgMigrateContractResponse returns contract migration result data.
MsgPinCodes
MsgPinCodes is the MsgPinCodes request type.
MsgPinCodesResponse
MsgPinCodesResponse defines the response structure for executing a MsgPinCodes message.
MsgRemoveCodeUploadParamsAddresses
MsgRemoveCodeUploadParamsAddresses is the MsgRemoveCodeUploadParamsAddresses request type.
MsgRemoveCodeUploadParamsAddressesResponse
MsgRemoveCodeUploadParamsAddressesResponse defines the response structure for executing a MsgRemoveCodeUploadParamsAddresses message.
MsgStoreAndInstantiateContract
MsgStoreAndInstantiateContract is the MsgStoreAndInstantiateContract request type.
MsgStoreAndInstantiateContractResponse
MsgStoreAndInstantiateContractResponse defines the response structure for executing a MsgStoreAndInstantiateContract message.
MsgStoreAndMigrateContract
MsgStoreAndMigrateContract is the MsgStoreAndMigrateContract request type.
MsgStoreAndMigrateContractResponse
MsgStoreAndMigrateContractResponse defines the response structure for executing a MsgStoreAndMigrateContract message.
MsgStoreCode
MsgStoreCode submit Wasm code to the system
MsgStoreCodeResponse
MsgStoreCodeResponse returns store result data.
MsgSudoContract
MsgSudoContract is the MsgSudoContract request type.
MsgSudoContractResponse
MsgSudoContractResponse defines the response structure for executing a MsgSudoContract message.
MsgUnpinCodes
MsgUnpinCodes is the MsgUnpinCodes request type.
MsgUnpinCodesResponse
MsgUnpinCodesResponse defines the response structure for executing a MsgUnpinCodes message.
MsgUpdateAdmin
MsgUpdateAdmin sets a new admin for a smart contract
MsgUpdateAdminResponse
MsgUpdateAdminResponse returns empty data
MsgUpdateContractLabel
MsgUpdateContractLabel sets a new label for a smart contract
MsgUpdateContractLabelResponse
MsgUpdateContractLabelResponse returns empty data
MsgUpdateInstantiateConfig
MsgUpdateInstantiateConfig updates instantiate config for a smart contract
MsgUpdateInstantiateConfigResponse
MsgUpdateInstantiateConfigResponse returns empty data
MsgUpdateParams
MsgUpdateParams is the MsgUpdateParams request type.
MsgUpdateParamsResponse
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
Params
Params defines the set of wasm parameters.
PinCodesProposal
Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for an explicit PinCodesProposal. To pin a set of code ids in the wasmvm cache, a simple MsgPinCodes can be invoked from the x/gov module via a v1 governance proposal.
QueryAllContractStateRequest
QueryAllContractStateRequest is the request type for the Query/AllContractState RPC method
QueryAllContractStateResponse
QueryAllContractStateResponse is the response type for the Query/AllContractState RPC method
QueryBuildAddressRequest
QueryBuildAddressRequest is the request type for the Query/BuildAddress RPC method.
QueryBuildAddressResponse
QueryBuildAddressResponse is the response type for the Query/BuildAddress 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
QueryContractsByCreatorRequest
QueryContractsByCreatorRequest is the request type for the Query/ContractsByCreator RPC method.
QueryContractsByCreatorResponse
QueryContractsByCreatorResponse is the response type for the Query/ContractsByCreator RPC method.
QueryParamsRequest
QueryParamsRequest is the request type for the Query/Params RPC method.
QueryParamsResponse
QueryParamsResponse is the response type for the Query/Params 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
StoreAndInstantiateContractProposal
Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for an explicit StoreAndInstantiateContractProposal. To store and instantiate the contract, a simple MsgStoreAndInstantiateContract can be invoked from the x/gov module via a v1 governance proposal.
StoreCodeAuthorization
StoreCodeAuthorization defines authorization for wasm code upload. Since: wasmd 0.42
StoreCodeProposal
Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for an explicit StoreCodeProposal. To submit WASM code to the system, a simple MsgStoreCode can be invoked from the x/gov module via a v1 governance proposal.
SudoContractProposal
Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for an explicit SudoContractProposal. To call sudo on a contract, a simple MsgSudoContract can be invoked from the x/gov module via a v1 governance proposal.
UnpinCodesProposal
Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for an explicit UnpinCodesProposal. To unpin a set of code ids in the wasmvm cache, a simple MsgUnpinCodes can be invoked from the x/gov module via a v1 governance proposal.
UpdateAdminProposal
Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for an explicit UpdateAdminProposal. To set an admin for a contract, a simple MsgUpdateAdmin can be invoked from the x/gov module via a v1 governance proposal.
UpdateInstantiateConfigProposal
Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for an explicit UpdateInstantiateConfigProposal. To update instantiate config to a set of code ids, a simple MsgUpdateInstantiateConfig can be invoked from the x/gov module via a v1 governance proposal.

Enums§

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