package
0.0.0-20200816121852-fe45bf35f869
Repository: https://github.com/enigmampc/go-cosmwasm.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
ToStdError will convert the given error to an StdError.
ToSystemError will try to convert the given error to an SystemError.

# 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
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
Coin is a string representation of the sdk.Coin type (more portable than sdk.Int).
No description provided by the author
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.
Env defines the state of the blockchain environment this contract is running in.
ExecuteMsg is used to call another defined contract on this chain.
No description provided by the author
No description provided by the author
HandleResponse defines the return value on a successful handle.
HandleResult is the raw response from the handle call.
InitResponse defines the return value on a successful handle.
InitResult is the raw response from the handle 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
LogAttribute.
No description provided by the author
MigrateResponse defines the return value on a successful handle.
MigrateResult is the raw response from the handle 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
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?).
No description provided by the author
RawQuery response is raw bytes ([]byte).
No description provided by the author
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
SmartQuery respone is raw bytes ([]byte).
No description provided by the author
No description provided by the author
StdError captures all errors returned from the Rust code as StdError.
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
No description provided by the author
No description provided by the author
ValidatorsResponse is the expected response to ValidatorsQuery.
No description provided by the author
No description provided by the author
No description provided by the author

# 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
No description provided by the author
HumanAddress is a printable (typically bech32 encoded) address string.
TODO: Validators must JSON encode empty array as [].