Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommaGroupBigInt ¶
CommaGroupBigInt adds comma separators to a big.Int for readability. E.g: 1000000 -> "1,000,000".
func FormatTokenAmount ¶
FormatTokenAmount converts a raw token amount to a human-readable decimal string using the token's decimals.
func ResolveChainName ¶ added in v0.86.0
ResolveChainName returns a human-readable chain name for a chain selector.
func TruncateAddress ¶ added in v0.86.0
TruncateAddress shortens a long address for display.
func TryResolveChainName ¶ added in v0.86.0
TryResolveChainName returns the chain name and true if the selector is known,
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.