Class representing the BridgeV2 tokens.

Hierarchy

  • BridgeV2Tokens

Constructors

Properties

_tokenConfig: undefined | Token2ConfigList = undefined
isLoaded: boolean = false

Methods

  • Retrieves the token configuration for the specified native symbol or network and local symbol.

    Static

    Function

    getTokenConfig

    Returns

    • The token configuration for the specified native symbol, or undefined if not found.

    Returns

    • The token configuration for the specified network and local symbol, or undefined if not found.

    Returns

    • The token configuration for the specified native symbol or network and local symbol, or undefined if not found.

    Parameters

    • nativeSymbol: string

      The native symbol of the token.

    Returns undefined | Token2Config

  • Parameters

    Returns undefined | Token2Config

  • Retrieves the token configuration for the specified local symbol of a child chain token.

    Static

    Function

    getTokenConfigFromChildSymbol

    Returns

    • The token configuration for the specified local symbol, or undefined if not found.

    Parameters

    • localSymbol: string

      The local symbol of the child chain token.

    Returns undefined | Token2Config

Generated using TypeDoc