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 ¶
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.
Click to show internal directories.
Click to hide internal directories.