Documentation ¶
Index ¶
- Constants
- Variables
- func AssetKey(denom string) []byte
- func NewErrorAssetNotFound(denom string) error
- func NewErrorDenomForPacketNotFound(portID, channelID string, sequence uint64) error
- func NewErrorDuplicateAsset(denom string) error
- func NewErrorInvalidCounterpartyVersion(version, expected string) error
- func NewErrorInvalidPort(portID, expected string) error
- func NewErrorInvalidSigner(from, expected string) error
- func NewErrorInvalidVersion(version, expected string) error
Constants ¶
View Source
const ( ModuleName = "oracle" StoreKey = ModuleName Version = ibcicqtypes.Version )
Variables ¶
View Source
var ( ErrInvalidMessage = sdkerrors.Register(ModuleName, 101, "invalid message") ErrAssetNotFound = sdkerrors.Register(ModuleName, 201, "asset not found") ErrDenomForPacketNotFound = sdkerrors.Register(ModuleName, 202, "denom for packet not found") ErrDuplicateAsset = sdkerrors.Register(ModuleName, 203, "duplicate asset") )
View Source
var ( ParamsKey = []byte{0x00} AssetKeyPrefix = []byte{0x10} )
Functions ¶
func NewErrorAssetNotFound ¶
NewErrorAssetNotFound returns an error indicating that the specified asset does not exist.
func NewErrorDenomForPacketNotFound ¶
NewErrorDenomForPacketNotFound returns an error indicating that the denom for the specified packet does not exist.
func NewErrorDuplicateAsset ¶
NewErrorDuplicateAsset returns an error indicating that the specified asset already exists.
func NewErrorInvalidCounterpartyVersion ¶
NewErrorInvalidCounterpartyVersion returns an error indicating that the counterparty version is invalid.
func NewErrorInvalidPort ¶
NewErrorInvalidPort returns an error indicating that the provided port is invalid.
func NewErrorInvalidSigner ¶
NewErrorInvalidSigner returns an error indicating that the provided signer is invalid.
func NewErrorInvalidVersion ¶
NewErrorInvalidVersion returns an error indicating that the provided IBC version is invalid.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.