package
0.16.7
Repository: https://github.com/cosmwasm/wasmvm.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
this is a thin wrapper around the desired Go API to give us types closer to Rust FFI.
No description provided by the author
ToSystemError will try to convert the given error to an SystemError.

# Constants

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
These are the only two valid values for IbcOrder.
No description provided by the author

# Structs

No description provided by the author
AllBalancesResponse is the expected response to AllBalancesQuery.
No description provided by the author
AllDelegationsResponse is the expected response to AllDelegationsQuery.
No description provided by the author
AllValidatorsResponse is the expected response to AllValidatorsQuery.
Contains static analysis info of the contract (the Wasm code to be precise).
No description provided by the author
BalanceResponse is the expected response to BalanceQuery.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
BurnMsg will burn the given coins from the contract's account.
No description provided by the author
No description provided by the author
ClearAdminMsg is the Go counterpart of WasmMsg::ClearAdmin (https://github.com/CosmWasm/cosmwasm/blob/v0.14.0-beta5/packages/std/src/results/cosmos_msg.rs#L158-L160).
No description provided by the author
Coin is a string representation of the sdk.Coin type (more portable than sdk.Int).
No description provided by the author
ContractResult is the raw response from the instantiate/execute/migrate calls.
CosmosMsg is an rust enum and only (exactly) one of the fields should be set Should we do a cleaner approach in Go? (type/data?).
No description provided by the author
No description provided by the author
No description provided by the author
DelegationResponse is the expected response to DelegationsQuery.
No description provided by the author
Env defines the state of the blockchain environment this contract is running in.
No description provided by the author
EventAttribute.
ExecuteMsg is used to call another defined contract on this chain.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
IBCBasicResponse defines the return value on a successful processing.
This is the return value for the majority of the ibc handlers.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
IBCChannelOpenResult is the raw response from the ibc_channel_open call.
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
IBCQuery defines a query request from the contract into the chain.
IBCReceiveResponse defines the return value on packet response processing.
This is the return value for the majority of the ibc handlers.
IBCTimeout is the timeout for an IBC packet.
IBCTimeoutBlock Height is a monotonically increasing data type that can be compared against another Height for the purposes of updating and freezing clients.
InstantiateMsg will create a new contract instance from a previously uploaded CodeID.
No description provided by the author
No description provided by the author
ListChannelsQuery is an IBCQuery that lists all channels that are bound to a given port.
No description provided by the author
No description provided by the author
No description provided by the author
MigrateMsg will migrate an existing contract from it's current wasm code (logic) to another previously uploaded wasm code.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
This is a 2-level result.
QueryRequest is an rust enum and only (exactly) one of the fields should be set Should we do a cleaner approach in Go? (type/data?).
RawQuery response is raw bytes ([]byte).
No description provided by the author
No description provided by the author
Response defines the return value on a successful instantiate/execute/migrate.
SendMsg contains instructions for a Cosmos-SDK/SendMsg It has a fixed interface here and should be converted into the proper SDK format before dispatching.
No description provided by the author
SetWithdrawAddressMsg is translated to a [MsgSetWithdrawAddress](https://github.com/cosmos/cosmos-sdk/blob/v0.42.4/proto/cosmos/distribution/v1beta1/tx.proto#L29-L37).
SmartQuery respone is raw bytes ([]byte).
No description provided by the author
No description provided by the author
StargateMsg is encoded the same way as a protobof [Any](https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/any.proto).
A Stargate query encoded the same way as abci_query, with path and protobuf encoded Data.
This is the protobuf response, binary encoded.
No description provided by the author
SubcallResult is the raw response we return from the sdk -> reply after executing a SubMsg.
SubMsg wraps a CosmosMsg with some metadata for handling replies (ID) and optionally limiting the gas usage (GasLimit).
SystemError captures all errors returned from the Rust code as SystemError.
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
UpdateAdminMsg is the Go counterpart of WasmMsg::UpdateAdmin (https://github.com/CosmWasm/cosmwasm/blob/v0.14.0-beta5/packages/std/src/results/cosmos_msg.rs#L158-L160).
No description provided by the author
No description provided by the author
ValidatorResponse is the expected response to ValidatorQuery.
No description provided by the author
No description provided by the author
No description provided by the author
WithdrawDelegatorRewardMsg is translated to a [MsgWithdrawDelegatorReward](https://github.com/cosmos/cosmos-sdk/blob/v0.42.4/proto/cosmos/distribution/v1beta1/tx.proto#L42-L50).

# Interfaces

No description provided by the author

# Type aliases

CanonicalAddress uses standard base64 encoding, just use it as a label for developers.
Coins handles properly serializing empty amounts.
No description provided by the author
EventAttributes must encode empty array as [].
Events must encode empty array as [].
HumanAddress is a printable (typically bech32 encoded) address string.
IBCChannels must JSON encode empty array as [] (not null) for consistency with Rust parser.
IBCEndpoints must JSON encode empty array as [] (not null) for consistency with Rust parser.
TODO: test what the sdk Order.String() represents and how to parse back Proto files: https://github.com/cosmos/cosmos-sdk/blob/v0.40.0/proto/ibc/core/channel/v1/channel.proto#L69-L80 Auto-gen code: https://github.com/cosmos/cosmos-sdk/blob/v0.40.0/x/ibc/core/04-channel/types/channel.pb.go#L70-L101.
QueryResponse is the Go counterpart of `ContractResult<Binary>`.
Validators must JSON encode empty array as [].