📜
SRWA Documentation
SRWA.ioDemoGitHub
  • Getting Started
    • Overview
      • Components
        • Lending Protocol
        • Lending Pool
        • SRWA Badge
      • Other
        • Oracle
        • Admin
    • How It Works
      • Risk Management
      • Deposit
      • Borrow
      • Withdraw
      • Repay
      • Liquidate
  • Core Calculations
    • Utilization
    • APR
    • SB and SD Tokens
    • Interests
    • Available Liquidity
    • Collateral
    • Protocol Reserve
  • SRWA Interface
    • About
    • Requirements
    • How to Use
      • Lending
        • Lending Account
        • Savings and Loans
        • Deposit
        • Withdraw
        • Borrow
        • Repay
      • Market
      • Tools
        • Transactions
        • Wallet
Powered by GitBook
On this page
  1. Core Calculations

Available Liquidity

Available liquidity is the amount of assets that are readily available for borrowing or withdrawing on every pool. It's taking into account how much assets are deposited in the pool but also how much is already borrowed or reserved for the pool maintainers, as well as the pool reserve, which is the buffer set by the Admins, so the Pool cannot be completely drained.

Available liquidity for the given pool is calculated by the following formula:

available liquidity = total_deposit - reserve_balance - total_deposit * pool_reserve - total_borrow;

PreviousInterestsNextCollateral