package
0.0.0-20240426013858-313147b360a4
Repository: https://github.com/glitternetwork/glitter.proto.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

AccessTypeEverybody unrestricted.
AccessTypeNobody forbidden.
AccessTypeOnlyAddress restricted to an address.
AccessTypeUnspecified placeholder for empty value.
ContractCodeHistoryOperationTypeGenesis based on genesis data.
ContractCodeHistoryOperationTypeInit on chain contract instantiation.
ContractCodeHistoryOperationTypeMigrate code migration.
ContractCodeHistoryOperationTypeUnspecified placeholder for empty value.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

Enum value maps for AccessType.
Enum value maps for AccessType.
Enum value maps for ContractCodeHistoryOperationType.
Enum value maps for ContractCodeHistoryOperationType.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Msg_ServiceDesc is the grpc.ServiceDesc for Msg service.
Query_ServiceDesc is the grpc.ServiceDesc for Query service.

# 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.
GenMsgs define the messages that can be executed during genesis phase in order.
No description provided by the author
No description provided by the author
No description provided by the author
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.
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.
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.
UnimplementedMsgServer must be embedded to have forward compatible implementations.
UnimplementedQueryServer must be embedded to have forward compatible implementations.
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.

# Interfaces

MsgClient is the client API for Msg service.
MsgServer is the server API for Msg service.
QueryClient is the client API for Query service.
QueryServer is the server API for Query service.
UnsafeMsgServer may be embedded to opt out of forward compatibility for this service.
UnsafeQueryServer may be embedded to opt out of forward compatibility for this service.

# Type aliases

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