Function calculateSpotMarketBorrowCapacity

  • calculates max borrow amount where rate would stay below targetBorrowRate

    Returns

    : Precision: TOKEN DECIMALS

    Parameters

    Returns {
        remainingCapacity: BN;
        totalCapacity: BN;
    }

    • remainingCapacity: BN
    • totalCapacity: BN

Generated using TypeDoc