Function calcMaxSingleStableBorrow

    • Calculates the maximum stable borrow amount a user can make in one go

      Parameters

      • availableLiquidity: bigint

        (0dp)

      • sbpc: bigint

        (0dp)

      Returns bigint

      stableBorrowRatio (16dp)