types

package
v12.0.0-rc8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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 AssetKey

func AssetKey(denom string) []byte

func NewErrorAssetNotFound

func NewErrorAssetNotFound(denom string) error

NewErrorAssetNotFound returns an error indicating that the specified asset does not exist.

func NewErrorDenomForPacketNotFound

func NewErrorDenomForPacketNotFound(portID, channelID string, sequence uint64) error

NewErrorDenomForPacketNotFound returns an error indicating that the denom for the specified packet does not exist.

func NewErrorDuplicateAsset

func NewErrorDuplicateAsset(denom string) error

NewErrorDuplicateAsset returns an error indicating that the specified asset already exists.

func NewErrorInvalidCounterpartyVersion

func NewErrorInvalidCounterpartyVersion(version, expected string) error

NewErrorInvalidCounterpartyVersion returns an error indicating that the counterparty version is invalid.

func NewErrorInvalidPort

func NewErrorInvalidPort(portID, expected string) error

NewErrorInvalidPort returns an error indicating that the provided port is invalid.

func NewErrorInvalidSigner

func NewErrorInvalidSigner(from, expected string) error

NewErrorInvalidSigner returns an error indicating that the provided signer is invalid.

func NewErrorInvalidVersion

func NewErrorInvalidVersion(version, expected string) error

NewErrorInvalidVersion returns an error indicating that the provided IBC version is invalid.

Types

This section is empty.

Directories

Path Synopsis
Package v1 is a reverse proxy.
Package v1 is a reverse proxy.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL