Hierarchy

Constructors

Properties

Methods

  • Retrieves the ERC20 token contract for a spot product

    Parameters

    Returns Promise<IERC20>

  • Parameters

    Returns Promise<ContractTransactionResponse>

  • Helper to get current token balance in the user's wallet (i.e. not in a Vertex subaccount)

    Parameters

    Returns Promise<bigint>

  • Helper to get current token allowance

    Parameters

    Returns Promise<BigNumber>