Function getBalance

  • Calculates the balance of a given token amount including any accumulated interest. This is the same as SpotPosition.scaledBalance.

    Returns

    the calculated balance, scaled by SPOT_MARKET_BALANCE_PRECISION

    Parameters

    Returns BN

Generated using TypeDoc