uibc

package
v0.2.12 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: MIT Imports: 7 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChainIDFromPortChannel

func ChainIDFromPortChannel(
	ctx sdk.Context,
	keeper ChainIDFromPortChannelKeeper,
	portID string,
	channelID string,
) (string, error)

ChainIDFromPortChannel returns the chain ID associated to the light client for the channel Deprecated: this method can still be used if chain ID is needed, but the chain ID of the light client is not a reliable way to identify a rollapp, since a rollapp can have the same chain ID as a non rollapp chain connected to the hub.

func GetForeignDenomTrace

func GetForeignDenomTrace(channelId string, denom string) transfertypes.DenomTrace

func IsIBCDenom

func IsIBCDenom(denom string) bool

Types

type ChainIDFromPortChannelKeeper added in v0.1.1

type ChainIDFromPortChannelKeeper interface {
	GetChannelClientState(ctx sdk.Context, portID, channelID string) (string, exported.ClientState, error) // implemented by ibc channel keeper
}

ChainIDFromPortChannelKeeper is a dependency for ChainIDFromPortChannel( Deprecated: ChainIDFromPortChannel is deprecated.

Jump to

Keyboard shortcuts

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