• Get the address of an ERC20 token for a given network. If a contract address is provided, it will not be found in the map and will be returned as is.

    Parameters

    • token: string

      The token symbol or contract address.

    • network: Network

      The network to get the address for.

    Returns any

    The address of the ERC20 token.