package
2.0.0-beta.4+incompatible
Repository: https://github.com/scrtlabs/secretnetwork.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 a 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
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.
These are the only two valid values for IbcOrder.
# 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.
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
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
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
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
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.
No description provided by the author
No description provided by the author
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
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
DelegationResponse is the expected response to DelegationsQuery.
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
No description provided by the author
DelegationResponse is the expected response to DelegationsQuery.
No description provided by the author
No description provided by the author
SmartQuery response is raw bytes ([]byte).
No description provided by the author
StargateQuery is encoded the same way as abci_query, with path and protobuf encoded request data.
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
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
ValidatorsResponse is the expected response to ValidatorsQuery.
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
No description provided by the author
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.
No description provided by the author
TODO: Validators must JSON encode empty array as [].