Documentation ¶
Index ¶
Constants ¶
View Source
const ( MaximumReceiverLength = 2048 // maximum length of the receiver address in bytes (value chosen arbitrarily) MaximumMemoLength = 32768 // maximum length of the memo in bytes (value chosen arbitrarily) )
Variables ¶
This section is empty.
Functions ¶
func GetFundsFromPacket ¶
GetFundsFromPacket returns transfer amount and denom
func GetLocalDenom ¶
GetLocalDenom retruns ibc denom Expected denoms in the following cases:
send non-native: transfer/channel-0/denom -> ibc/xxx send native: denom -> denom recv (B)non-native: denom recv (B)native: transfer/channel-0/denom
func ValidateMemo ¶ added in v6.5.0
func ValidateRecvAddr ¶ added in v6.5.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.