LogoLogo
AppWebsite
  • 🌸DeFi Spring
  • 🦌About
    • Portal
    • Introduction
      • zkLend
      • Use Cases
        • Examples
  • 💻Using zkLend
    • Notes on Mainnet
    • Supply
      • How to Supply
      • Enable as Collateral
      • Withdraw
      • zTokens
    • Borrow
      • How to Borrow
      • Repay a Loan
      • Borrow Amount
      • Liquidations
      • Flash Loans
    • Staking
      • STRK
      • ZEND
    • Dashboard
      • Health Metrics
      • Earnings Metrics
    • Technical
      • Oracles
      • Contracts
      • Asset Parameters
      • Interest Rate and Utilisation Model
      • Audit and Formal Specification
    • Risks
    • Glossary
  • 🪄Other
    • ZEND Token
      • Tokenomics
      • Staking
    • Brand Guidelines
    • Find Us
      • Website
      • Twitter
      • Discord
      • Telegram (Announcement Channel)
      • Medium
    • Documentation
      • Whitepaper
      • GitHub
    • Using Starknet
      • Setting up your Wallet
      • Starknet & Our Friends
Powered by GitBook
On this page
  • Interest Rate Model
  • Utilisation Model
  1. Using zkLend
  2. Technical

Interest Rate and Utilisation Model

Understanding how interest is calculated

Both the interest rate recieved by depositors and paid by borrowers is derived from the two models below.

Interest Rate Model

The IR mode provides a formula for calculating the interest rate of an asset at any level of utilization within the protocol. This model allows for a more precise and dynamic calculation of interest rates, ensuring that borrowers and lenders are incentivised to use the protocol in a way that benefits the entire ecosystem

The model follows a two-sloped pricing model:

  1. below Uo, the interest rate curve will follow the optimal slope denoted Slope 1 (‘S1’) to increase gradually with utilisation

  2. greater than or equal Uo, the interest rate curve will sharply increase following Slope 2 (‘S2’)

For Ut < Uo:

Rt=Ro+S1×UtUoRt= Ro+S1×\cfrac{Ut}{Uo}Rt=Ro+S1×UoUt​

For Ut >= Uo:

Rt=Ro+S1+S2×Ut−Uo1−UoRt= Ro+S1+S2×{\cfrac {Ut-Uo}{1-Uo}}Rt=Ro+S1+S2×1−UoUt−Uo​

​where:

  • Rt = borrowing rate at Ut

  • Ro = base interest rate

  • S1 = interest rate slope for Ut < Uo

  • S2= interest rate slope for Ut > Uo

  • Ut = current utilisation

  • Uo= optimal utilisation

Utilisation Model

The utilisation rate of each pool is a function of the current loaned amount and the amount available to loan out. This number is refreshed intraday. Over time, protocol use will provide data points to assess and refine the best parameters for our utilisation model.

Each asset pool will have a specific optimal utilisation rate (Uo). This is a function of market liquidity pool size, historical utilisation rate and risk buffering for sudden large-sum withdrawals within the given market pools.

Utilisation rate of market pool 'x' is calculated as:

Ux=BxCx+BxUx = \cfrac {Bx} {Cx + Bx} Ux=Cx+BxBx​

​where:

  • Ux = Utilisation rate of market pool x

  • Bx = Borrowings of market pool x

  • Cx = Total liquid assets in market pool x

For details on each asset's interest rate inputs, please refer to the each asset's detail page on the protocol.

PreviousAsset ParametersNextAudit and Formal Specification

Last updated 1 year ago

💻