Wasm
The wasm module is responsible for handling CosmWasm smart contract functionality on Furya Hub. The module is permission-gated (contracts can only be instantiated by whitelisted addresses or through governance).
For more information, visit: https://github.com/CosmWasm/cosmwasm
Message Types
Msg
defines the wasm Msg service.
MsgStoreCode
MsgStoreCode
submit Wasm code to the system.
MsgStoreCodeResponse
MsgStoreCodeResponse
returns store result data.
MsgInstantiateContract
MsgInstantiateContract
create a new smart contract instance for the given code id.
MsgInstantiateContractResponse
MsgInstantiateContractResponse
return instantiation result data.
MsgExecuteContract
MsgExecuteContract
submits the given message data to a smart contract.
MsgExecuteContractResponse
MsgExecuteContractResponse
returns execution result data.
MsgMigrateContract
MsgMigrateContract
runs a code upgrade/downgrade for a smart contract.
MsgMigrateContractResponse
MsgMigrateContractResponse
returns contract migration result data.
MsgUpdateAdmin
MsgUpdateAdmin
sets a new admin for a smart contract.
MsgUpdateAdminResponse
MsgUpdateAdminResponse
returns empty data.
MsgClearAdmin
MsgClearAdmin
removes any admin stored for a smart contract.
MsgClearAdminResponse
MsgClearAdminResponse
returns empty data.
Proposal Types
StoreCodeProposal
StoreCodeProposal
gov proposal content type to submit WASM code to the system.
InstantiateContractProposal
InstantiateContractProposal
gov proposal content type to instantiate a contract.
MigrateContractProposal
MigrateContractProposal
gov proposal content type to migrate a contract.
SudoContractProposal
SudoContractProposal
gov proposal content type to call sudo on a contract.
ExecuteContractProposal
ExecuteContractProposal
gov proposal content type to call execute on a contract.
UpdateAdminProposal
UpdateAdminProposal
gov proposal content type to set an admin for a contract.
ClearAdminProposal
ClearAdminProposal
gov proposal content type to clear the admin of a contract.
PinCodesProposal
PinCodesProposal
gov proposal content type to pin a set of code ids in the wasmvm cache.
UnpinCodesProposal
UnpinCodesProposal
gov proposal content type to unpin a set of code ids in the wasmvm cache.
AccessConfigUpdate
AccessConfigUpdate
contains the code id and the access config to be applied.
UpdateInstantiateConfigProposal
UpdateInstantiateConfigProposal
gov proposal content type to update instantiate config to a set of code ids.
Queries
Query
provides defines the gRPC querier service.
QueryContractInfoRequest
QueryContractInfoRequest
is the request type for the Query/ContractInfo
RPC method.
QueryContractInfoResponse
QueryContractInfoResponse
is the response type for the Query/ContractInfo
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.
QueryContractsByCodeRequest
QueryContractsByCodeRequest
is the request type for the Query/ContractsByCode
RPC method.
QueryContractsByCodeResponse
QueryContractsByCodeResponse
is the response type for the Query/ContractsByCode
RPC method.
QueryAllContractStateRequest
QueryAllContractStateRequest
is the request type for the Query/AllContractState
RPC method.
QueryAllContractStateResponse
QueryAllContractStateResponse
is the response type for the Query/AllContractState
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.
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.
QueryPinnedCodesRequest
QueryPinnedCodesRequest
is the request type for the Query/PinnedCodes
RPC method.
QueryPinnedCodesResponse
QueryPinnedCodesResponse
is the response type for the Query/PinnedCodes RPC method.
Was this page helpful?