Available on crate feature
cosmwasm
only.Modules§
- msg_
client grpc
- Generated client implementations.
- query_
client grpc
- Generated client implementations.
Structs§
- Absolute
TxPosition - AbsoluteTxPosition is a unique transaction position that allows for global ordering of transactions.
- Accepted
Message Keys Filter - AcceptedMessageKeysFilter accept only the specific contract message keys in the json object to be executed. Since: wasmd 0.30
- Accepted
Messages Filter - AcceptedMessagesFilter accept only the specific raw contract messages to be executed. Since: wasmd 0.30
- Access
Config - AccessConfig access control type.
- Access
Config Update - AccessConfigUpdate contains the code id and the access config to be applied.
- Access
Type Param - AccessTypeParam
- Allow
AllMessages Filter - AllowAllMessagesFilter is a wildcard to allow any type of contract payload message. Since: wasmd 0.30
- Clear
Admin Proposal - 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
- Code
Grant - CodeGrant a granted permission for a single code
- Code
Info - CodeInfo is data for the uploaded contract WASM code
- Code
Info Response - CodeInfoResponse contains code meta data from CodeInfo
- Combined
Limit - 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
- Contract
Code History Entry - ContractCodeHistoryEntry metadata to a contract.
- Contract
Execution Authorization - ContractExecutionAuthorization defines authorization for wasm execute. Since: wasmd 0.30
- Contract
Grant - ContractGrant a granted permission for a single contract Since: wasmd 0.30
- Contract
Info - ContractInfo stores a WASM contract instance
- Contract
Migration Authorization - ContractMigrationAuthorization defines authorization for wasm contract migration. Since: wasmd 0.30
- Execute
Contract Proposal - 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.
- Genesis
State - GenesisState - genesis state of x/wasm
- Instantiate
Contract2 Proposal - 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.
- Instantiate
Contract Proposal - 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.
- MaxCalls
Limit - MaxCallsLimit limited number of calls to the contract. No funds transferable. Since: wasmd 0.30
- MaxFunds
Limit - MaxFundsLimit defines the maximal amounts that can be sent to the contract. Since: wasmd 0.30
- Migrate
Contract Proposal - 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
- MsgAdd
Code Upload Params Addresses - MsgAddCodeUploadParamsAddresses is the MsgAddCodeUploadParamsAddresses request type.
- MsgAdd
Code Upload Params Addresses Response - MsgAddCodeUploadParamsAddressesResponse defines the response structure for executing a MsgAddCodeUploadParamsAddresses message.
- MsgClear
Admin - MsgClearAdmin removes any admin stored for a smart contract
- MsgClear
Admin Response - MsgClearAdminResponse returns empty data
- MsgExecute
Contract - MsgExecuteContract submits the given message data to a smart contract
- MsgExecute
Contract Response - MsgExecuteContractResponse returns execution result data.
- MsgIbc
Close Channel - MsgIBCCloseChannel port and channel need to be owned by the contract
- MsgIbc
Send - MsgIBCSend
- MsgIbc
Send Response - MsgIBCSendResponse
- MsgIbc
Write Acknowledgement Response - MsgIBCWriteAcknowledgementResponse
- MsgInstantiate
Contract - MsgInstantiateContract create a new smart contract instance for the given code id.
- MsgInstantiate
Contract2 - MsgInstantiateContract2 create a new smart contract instance for the given code id with a predicable address.
- MsgInstantiate
Contract2 Response - MsgInstantiateContract2Response return instantiation result data
- MsgInstantiate
Contract Response - MsgInstantiateContractResponse return instantiation result data
- MsgMigrate
Contract - MsgMigrateContract runs a code upgrade/ downgrade for a smart contract
- MsgMigrate
Contract Response - MsgMigrateContractResponse returns contract migration result data.
- MsgPin
Codes - MsgPinCodes is the MsgPinCodes request type.
- MsgPin
Codes Response - MsgPinCodesResponse defines the response structure for executing a MsgPinCodes message.
- MsgRemove
Code Upload Params Addresses - MsgRemoveCodeUploadParamsAddresses is the MsgRemoveCodeUploadParamsAddresses request type.
- MsgRemove
Code Upload Params Addresses Response - MsgRemoveCodeUploadParamsAddressesResponse defines the response structure for executing a MsgRemoveCodeUploadParamsAddresses message.
- MsgStore
AndInstantiate Contract - MsgStoreAndInstantiateContract is the MsgStoreAndInstantiateContract request type.
- MsgStore
AndInstantiate Contract Response - MsgStoreAndInstantiateContractResponse defines the response structure for executing a MsgStoreAndInstantiateContract message.
- MsgStore
AndMigrate Contract - MsgStoreAndMigrateContract is the MsgStoreAndMigrateContract request type.
- MsgStore
AndMigrate Contract Response - MsgStoreAndMigrateContractResponse defines the response structure for executing a MsgStoreAndMigrateContract message.
- MsgStore
Code - MsgStoreCode submit Wasm code to the system
- MsgStore
Code Response - MsgStoreCodeResponse returns store result data.
- MsgSudo
Contract - MsgSudoContract is the MsgSudoContract request type.
- MsgSudo
Contract Response - MsgSudoContractResponse defines the response structure for executing a MsgSudoContract message.
- MsgUnpin
Codes - MsgUnpinCodes is the MsgUnpinCodes request type.
- MsgUnpin
Codes Response - MsgUnpinCodesResponse defines the response structure for executing a MsgUnpinCodes message.
- MsgUpdate
Admin - MsgUpdateAdmin sets a new admin for a smart contract
- MsgUpdate
Admin Response - MsgUpdateAdminResponse returns empty data
- MsgUpdate
Contract Label - MsgUpdateContractLabel sets a new label for a smart contract
- MsgUpdate
Contract Label Response - MsgUpdateContractLabelResponse returns empty data
- MsgUpdate
Instantiate Config - MsgUpdateInstantiateConfig updates instantiate config for a smart contract
- MsgUpdate
Instantiate Config Response - MsgUpdateInstantiateConfigResponse returns empty data
- MsgUpdate
Params - MsgUpdateParams is the MsgUpdateParams request type.
- MsgUpdate
Params Response - MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
- Params
- Params defines the set of wasm parameters.
- PinCodes
Proposal - 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.
- Query
AllContract State Request - QueryAllContractStateRequest is the request type for the Query/AllContractState RPC method
- Query
AllContract State Response - QueryAllContractStateResponse is the response type for the Query/AllContractState RPC method
- Query
Build Address Request - QueryBuildAddressRequest is the request type for the Query/BuildAddress RPC method.
- Query
Build Address Response - QueryBuildAddressResponse is the response type for the Query/BuildAddress RPC method.
- Query
Code Request - QueryCodeRequest is the request type for the Query/Code RPC method
- Query
Code Response - QueryCodeResponse is the response type for the Query/Code RPC method
- Query
Codes Request - QueryCodesRequest is the request type for the Query/Codes RPC method
- Query
Codes Response - QueryCodesResponse is the response type for the Query/Codes RPC method
- Query
Contract History Request - QueryContractHistoryRequest is the request type for the Query/ContractHistory RPC method
- Query
Contract History Response - QueryContractHistoryResponse is the response type for the Query/ContractHistory RPC method
- Query
Contract Info Request - QueryContractInfoRequest is the request type for the Query/ContractInfo RPC method
- Query
Contract Info Response - QueryContractInfoResponse is the response type for the Query/ContractInfo RPC method
- Query
Contracts ByCode Request - QueryContractsByCodeRequest is the request type for the Query/ContractsByCode RPC method
- Query
Contracts ByCode Response - QueryContractsByCodeResponse is the response type for the Query/ContractsByCode RPC method
- Query
Contracts ByCreator Request - QueryContractsByCreatorRequest is the request type for the Query/ContractsByCreator RPC method.
- Query
Contracts ByCreator Response - QueryContractsByCreatorResponse is the response type for the Query/ContractsByCreator RPC method.
- Query
Params Request - QueryParamsRequest is the request type for the Query/Params RPC method.
- Query
Params Response - QueryParamsResponse is the response type for the Query/Params RPC method.
- Query
Pinned Codes Request - QueryPinnedCodesRequest is the request type for the Query/PinnedCodes RPC method
- Query
Pinned Codes Response - QueryPinnedCodesResponse is the response type for the Query/PinnedCodes RPC method
- Query
RawContract State Request - QueryRawContractStateRequest is the request type for the Query/RawContractState RPC method
- Query
RawContract State Response - QueryRawContractStateResponse is the response type for the Query/RawContractState RPC method
- Query
Smart Contract State Request - QuerySmartContractStateRequest is the request type for the Query/SmartContractState RPC method
- Query
Smart Contract State Response - QuerySmartContractStateResponse is the response type for the Query/SmartContractState RPC method
- Sequence
- Sequence key and value of an id generation counter
- Store
AndInstantiate Contract Proposal - 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.
- Store
Code Authorization - StoreCodeAuthorization defines authorization for wasm code upload. Since: wasmd 0.42
- Store
Code Proposal - 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.
- Sudo
Contract Proposal - 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.
- Unpin
Codes Proposal - 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.
- Update
Admin Proposal - 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.
- Update
Instantiate Config Proposal - 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§
- Access
Type - AccessType permission types
- Contract
Code History Operation Type - ContractCodeHistoryOperationType actions that caused a code change