Versions in this module Expand all Collapse all v2 v2.0.1 Apr 4, 2024 v2.0.0 Mar 12, 2024 Changes in this version + const Abstain + const ChecksumLen + const No + const NoWithVeto + const Ordered + const ReplyAlways + const ReplyError + const ReplyNever + const ReplySuccess + const Unordered + const UnsetReplyOn + const UnsetVoteOption + const Yes + type AllBalancesQuery struct + Address string + type AllBalancesResponse struct + Amount Array[Coin] + type AllDelegationsQuery struct + Delegator string + type AllDelegationsResponse struct + Delegations Array[Delegation] + type AllDenomMetadataQuery struct + Pagination *PageRequest + type AllDenomMetadataResponse struct + Metadata []DenomMetadata + NextKey []byte + type AllValidatorsQuery struct + type AllValidatorsResponse struct + Validators Array[Validator] + type AnalysisReport struct + Entrypoints []string + HasIBCEntryPoints bool + RequiredCapabilities string + type AnyMsg struct + TypeURL string + Value []byte + type Array []C + func (a *Array[C]) UnmarshalJSON(data []byte) error + func (a Array[C]) MarshalJSON() ([]byte, error) + type BalanceQuery struct + Address string + Denom string + type BalanceResponse struct + Amount Coin + type BankMsg struct + Burn *BurnMsg + Send *SendMsg + type BankQuery struct + AllBalances *AllBalancesQuery + AllDenomMetadata *AllDenomMetadataQuery + Balance *BalanceQuery + DenomMetadata *DenomMetadataQuery + Supply *SupplyQuery + type BlockInfo struct + ChainID string + Height uint64 + Time Uint64 + type BondedDenomResponse struct + Denom string + type BurnMsg struct + Amount Array[Coin] + type CanonicalAddress = []byte + type CanonicalizeAddressFunc func(string) ([]byte, uint64, error) + type ChannelQuery struct + ChannelID string + PortID string + type ChannelResponse struct + Channel *IBCChannel + type Checksum []byte + func ForceNewChecksum(input string) Checksum + func (cs *Checksum) UnmarshalJSON(input []byte) error + func (cs Checksum) MarshalJSON() ([]byte, error) + type ClearAdminMsg struct + ContractAddr string + type CloseChannelMsg struct + ChannelID string + type CodeInfoQuery struct + CodeID uint64 + type CodeInfoResponse struct + Checksum Checksum + CodeID uint64 + Creator string + type Coin struct + Amount string + Denom string + func NewCoin(amount uint64, denom string) Coin + type ContractInfo struct + Address HumanAddress + type ContractInfoQuery struct + ContractAddr string + type ContractInfoResponse struct + Admin string + CodeID uint64 + Creator string + IBCPort string + Pinned bool + type ContractResult struct + Err string + Ok *Response + func (r *ContractResult) SubMessages() []SubMsg + type CosmosMsg struct + Any *AnyMsg + Bank *BankMsg + Custom json.RawMessage + Distribution *DistributionMsg + Gov *GovMsg + IBC *IBCMsg + Staking *StakingMsg + Wasm *WasmMsg + func (m *CosmosMsg) UnmarshalJSON(data []byte) error + type DecCoin struct + Amount string + Denom string + type DelegateMsg struct + Amount Coin + Validator string + type Delegation struct + Amount Coin + Delegator string + Validator string + type DelegationQuery struct + Delegator string + Validator string + type DelegationResponse struct + Delegation *FullDelegation + type DelegationRewardsQuery struct + DelegatorAddress string + ValidatorAddress string + type DelegationRewardsResponse struct + Rewards []DecCoin + type DelegationTotalRewardsQuery struct + DelegatorAddress string + type DelegationTotalRewardsResponse struct + Rewards []DelegatorReward + Total []DecCoin + type DelegatorReward struct + Reward []DecCoin + ValidatorAddress string + type DelegatorValidatorsQuery struct + DelegatorAddress string + type DelegatorValidatorsResponse struct + Validators []string + type DelegatorWithdrawAddressQuery struct + DelegatorAddress string + type DelegatorWithdrawAddressResponse struct + WithdrawAddress string + type DenomMetadata struct + Base string + DenomUnits []DenomUnit + Description string + Display string + Name string + Symbol string + URI string + URIHash string + type DenomMetadataQuery struct + Denom string + type DenomMetadataResponse struct + Metadata DenomMetadata + type DenomUnit struct + Aliases []string + Denom string + Exponent uint32 + type DistributionMsg struct + FundCommunityPool *FundCommunityPoolMsg + SetWithdrawAddress *SetWithdrawAddressMsg + WithdrawDelegatorReward *WithdrawDelegatorRewardMsg + type DistributionQuery struct + DelegationRewards *DelegationRewardsQuery + DelegationTotalRewards *DelegationTotalRewardsQuery + DelegatorValidators *DelegatorValidatorsQuery + DelegatorWithdrawAddress *DelegatorWithdrawAddressQuery + type Env struct + Block BlockInfo + Contract ContractInfo + Transaction *TransactionInfo + type Event struct + Attributes Array[EventAttribute] + Type string + type EventAttribute struct + Key string + Value string + type ExecuteMsg struct + ContractAddr string + Funds Array[Coin] + Msg []byte + type Fraction struct + Denominator int64 + Numerator int64 + func (f *Fraction) Mul(m int64) Fraction + func (f Fraction) Floor() int64 + type FullDelegation struct + AccumulatedRewards Array[Coin] + Amount Coin + CanRedelegate Coin + Delegator string + Validator string + type FundCommunityPoolMsg struct + Amount Array[Coin] + type Gas = uint64 + type GasMeter interface + GasConsumed func() Gas + type GasReport struct + Limit uint64 + Remaining uint64 + UsedExternally uint64 + UsedInternally uint64 + func EmptyGasReport(limit uint64) GasReport + type GoAPI struct + CanonicalizeAddress CanonicalizeAddressFunc + HumanizeAddress HumanizeAddressFunc + ValidateAddress ValidateAddressFunc + type GovMsg struct + Vote *VoteMsg + VoteWeighted *VoteWeightedMsg + type GrpcQuery struct + Data []byte + Path string + type HumanAddress = string + type HumanizeAddressFunc func([]byte) (string, uint64, error) + type IBC3ChannelOpenResponse struct + Version string + type IBCAcknowledgement struct + Data []byte + type IBCBasicResponse struct + Attributes []EventAttribute + Events []Event + Messages []SubMsg + type IBCBasicResult struct + Err string + Ok *IBCBasicResponse + func (r *IBCBasicResult) SubMessages() []SubMsg + type IBCChannel struct + ConnectionID string + CounterpartyEndpoint IBCEndpoint + Endpoint IBCEndpoint + Order IBCOrder + Version string + type IBCChannelCloseMsg struct + CloseConfirm *IBCCloseConfirm + CloseInit *IBCCloseInit + func (msg IBCChannelCloseMsg) GetChannel() IBCChannel + type IBCChannelConnectMsg struct + OpenAck *IBCOpenAck + OpenConfirm *IBCOpenConfirm + func (msg IBCChannelConnectMsg) GetChannel() IBCChannel + func (msg IBCChannelConnectMsg) GetCounterVersion() (ver string, ok bool) + type IBCChannelOpenMsg struct + OpenInit *IBCOpenInit + OpenTry *IBCOpenTry + func (msg IBCChannelOpenMsg) GetChannel() IBCChannel + func (msg IBCChannelOpenMsg) GetCounterVersion() (ver string, ok bool) + type IBCChannelOpenResult struct + Err string + Ok *IBC3ChannelOpenResponse + type IBCCloseConfirm struct + Channel IBCChannel + func (m *IBCCloseConfirm) ToMsg() IBCChannelCloseMsg + type IBCCloseInit struct + Channel IBCChannel + func (m *IBCCloseInit) ToMsg() IBCChannelCloseMsg + type IBCEndpoint struct + ChannelID string + PortID string + type IBCMsg struct + CloseChannel *CloseChannelMsg + SendPacket *SendPacketMsg + Transfer *TransferMsg + type IBCOpenAck struct + Channel IBCChannel + CounterpartyVersion string + func (m *IBCOpenAck) ToMsg() IBCChannelConnectMsg + type IBCOpenConfirm struct + Channel IBCChannel + func (m *IBCOpenConfirm) ToMsg() IBCChannelConnectMsg + type IBCOpenInit struct + Channel IBCChannel + func (m *IBCOpenInit) ToMsg() IBCChannelOpenMsg + type IBCOpenTry struct + Channel IBCChannel + CounterpartyVersion string + func (m *IBCOpenTry) ToMsg() IBCChannelOpenMsg + type IBCOrder = string + type IBCPacket struct + Data []byte + Dest IBCEndpoint + Sequence uint64 + Src IBCEndpoint + Timeout IBCTimeout + type IBCPacketAckMsg struct + Acknowledgement IBCAcknowledgement + OriginalPacket IBCPacket + Relayer string + type IBCPacketReceiveMsg struct + Packet IBCPacket + Relayer string + type IBCPacketTimeoutMsg struct + Packet IBCPacket + Relayer string + type IBCQuery struct + Channel *ChannelQuery + ListChannels *ListChannelsQuery + PortID *PortIDQuery + type IBCReceiveResponse struct + Acknowledgement []byte + Attributes []EventAttribute + Events []Event + Messages []SubMsg + type IBCReceiveResult struct + Err string + Ok *IBCReceiveResponse + func (r *IBCReceiveResult) SubMessages() []SubMsg + type IBCTimeout struct + Block *IBCTimeoutBlock + Timestamp uint64 + type IBCTimeoutBlock struct + Height uint64 + Revision uint64 + func (t IBCTimeoutBlock) IsZero() bool + type Instantiate2Msg struct + Admin string + CodeID uint64 + Funds Array[Coin] + Label string + Msg []byte + Salt []byte + type InstantiateMsg struct + Admin string + CodeID uint64 + Funds Array[Coin] + Label string + Msg []byte + type Int64 int64 + func (i *Int64) UnmarshalJSON(data []byte) error + func (i Int64) MarshalJSON() ([]byte, error) + type InvalidRequest struct + Err string + Request []byte + func (e InvalidRequest) Error() string + type InvalidResponse struct + Err string + Response []byte + func (e InvalidResponse) Error() string + type Iterator interface + Close func() error + Domain func() (start []byte, end []byte) + Error func() error + Key func() (key []byte) + Next func() + Valid func() bool + Value func() (value []byte) + type KVStore interface + Delete func(key []byte) + Get func(key []byte) []byte + Iterator func(start, end []byte) Iterator + ReverseIterator func(start, end []byte) Iterator + Set func(key, value []byte) + type ListChannelsQuery struct + PortID string + type ListChannelsResponse struct + Channels Array[IBCChannel] + type MessageInfo struct + Funds Array[Coin] + Sender HumanAddress + type Metrics struct + ElementsMemoryCache uint64 + ElementsPinnedMemoryCache uint64 + HitsFsCache uint32 + HitsMemoryCache uint32 + HitsPinnedMemoryCache uint32 + Misses uint32 + SizeMemoryCache uint64 + SizePinnedMemoryCache uint64 + type MigrateMsg struct + ContractAddr string + Msg []byte + NewCodeID uint64 + type MsgResponse struct + TypeURL string + Value []byte + type NoSuchCode struct + CodeID uint64 + func (e NoSuchCode) Error() string + type NoSuchContract struct + Addr string + func (e NoSuchContract) Error() string + type OutOfGasError struct + func (o OutOfGasError) Error() string + type PageRequest struct + Key []byte + Limit uint32 + Reverse bool + type PortIDQuery struct + type PortIDResponse struct + PortID string + type Querier interface + GasConsumed func() uint64 + Query func(request QueryRequest, gasLimit uint64) ([]byte, error) + type QuerierResult struct + Err *SystemError + Ok *QueryResult + func RustQuery(querier Querier, binRequest []byte, gasLimit uint64) QuerierResult + func ToQuerierResult(response []byte, err error) QuerierResult + type QueryRequest struct + Bank *BankQuery + Custom json.RawMessage + Distribution *DistributionQuery + Grpc *GrpcQuery + IBC *IBCQuery + Staking *StakingQuery + Stargate *StargateQuery + Wasm *WasmQuery + type QueryResult queryResultImpl + func (q QueryResult) MarshalJSON() ([]byte, error) + type RawQuery struct + ContractAddr string + Key []byte + type RedelegateMsg struct + Amount Coin + DstValidator string + SrcValidator string + type Reply struct + GasUsed uint64 + ID uint64 + Payload []byte + Result SubMsgResult + type Response struct + Attributes []EventAttribute + Data []byte + Events []Event + Messages []SubMsg + type SendMsg struct + Amount Array[Coin] + ToAddress string + type SendPacketMsg struct + ChannelID string + Data []byte + Timeout IBCTimeout + type SetWithdrawAddressMsg struct + Address string + type SmartQuery struct + ContractAddr string + Msg []byte + type StakingMsg struct + Delegate *DelegateMsg + Redelegate *RedelegateMsg + Undelegate *UndelegateMsg + type StakingQuery struct + AllDelegations *AllDelegationsQuery + AllValidators *AllValidatorsQuery + BondedDenom *struct{} + Delegation *DelegationQuery + Validator *ValidatorQuery + type StargateQuery struct + Data []byte + Path string + type SubMsg struct + GasLimit *uint64 + ID uint64 + Msg CosmosMsg + Payload []byte + ReplyOn replyOn + type SubMsgResponse struct + Data []byte + Events Array[Event] + MsgResponses Array[MsgResponse] + type SubMsgResult struct + Err string + Ok *SubMsgResponse + type SupplyQuery struct + Denom string + type SupplyResponse struct + Amount Coin + type SystemError struct + InvalidRequest *InvalidRequest + InvalidResponse *InvalidResponse + NoSuchCode *NoSuchCode + NoSuchContract *NoSuchContract + Unknown *Unknown + UnsupportedRequest *UnsupportedRequest + func ToSystemError(err error) *SystemError + func (a SystemError) Error() string + type TransactionInfo struct + Index uint32 + type TransferMsg struct + Amount Coin + ChannelID string + Memo string + Timeout IBCTimeout + ToAddress string + type UFraction struct + Denominator uint64 + Numerator uint64 + func (f *UFraction) Mul(m uint64) UFraction + func (f UFraction) Floor() uint64 + type Uint64 uint64 + func (u *Uint64) UnmarshalJSON(data []byte) error + func (u Uint64) MarshalJSON() ([]byte, error) + type UndelegateMsg struct + Amount Coin + Validator string + type Unknown struct + func (e Unknown) Error() string + type UnsupportedRequest struct + Kind string + func (e UnsupportedRequest) Error() string + type UpdateAdminMsg struct + Admin string + ContractAddr string + type ValidateAddressFunc func(string) (uint64, error) + type Validator struct + Address string + Commission string + MaxChangeRate string + MaxCommission string + type ValidatorQuery struct + Address string + type ValidatorResponse struct + Validator *Validator + type VoteMsg struct + Option voteOption + ProposalId uint64 + func (m *VoteMsg) UnmarshalJSON(data []byte) error + type VoteWeightedMsg struct + Options []WeightedVoteOption + ProposalId uint64 + type WasmMsg struct + ClearAdmin *ClearAdminMsg + Execute *ExecuteMsg + Instantiate *InstantiateMsg + Instantiate2 *Instantiate2Msg + Migrate *MigrateMsg + UpdateAdmin *UpdateAdminMsg + type WasmQuery struct + CodeInfo *CodeInfoQuery + ContractInfo *ContractInfoQuery + Raw *RawQuery + Smart *SmartQuery + type WeightedVoteOption struct + Option voteOption + Weight string + type WithdrawDelegatorRewardMsg struct + Validator string v2.0.0-rc.2 Feb 16, 2024 v2.0.0-rc.1 Feb 6, 2024 Other modules containing this package github.com/CosmWasm/wasmvm