Lendle.xyz
  • Overview
    • Introduction
    • LEND Token
    • FAQ
  • User guide
    • Dashboard
    • Markets
      • Deposit
        • How-To-Deposit
        • L-Tokens
        • Withdrawing Assets
      • Borrow
        • How-To-Borrow
        • Health Factor
        • Interest Rate Model
        • Repaying a loan
        • Liquidations & Flashloans
    • Manage
      • Vested Rewards
      • Locking & Staking
    • Stats
  • Contracts & security
    • Mantle Contracts
    • Audits
  • Links
    • Official Links
    • Brand Assets
Powered by GitBook
On this page
  • Interest Rate Model
  • Variable Interest Rate Model Parameters
  • Stable Interest Rate Model Parameters
  • Interest Rate Curves
  1. User guide
  2. Markets
  3. Borrow

Interest Rate Model

PreviousHealth FactorNextRepaying a loan

Last updated 1 year ago

Lendle uses Aave's core contracts for its lending markets. Aave’s interest rate strategy is calibrated to manage liquidity risk and optimise utilisation. The borrow interest rates come from the Utilisation Rate UUU.

UUUis an indicator of the availability of capital in the pool. The interest rate model is used to manage liquidity risk through user incentives to support liquidity:

  • When capital is available: low interest rates to encourage loans.

  • When capital is scarce: high interest rates to encourage repayments of loans and additional deposits.

To retrieve the interest rate strategy contract on-chain, see .

Interest Rate Model

Liquidity risk materialises when utilisation is high, it becomes more problematic as UUU gets closer to 100%. To tailor the model to this constraint, the interest rate curve is split in two parts around an optimal utilisation rate UoptimalU_{optimal} Uoptimal​. Before UoptimalU_{optimal} Uoptimal​the slope is small, after it starts rising sharply.

The interest rateRtR_tRt​follows the model:

ifU<Uoptimal:Rt=R0+UtUoptimalRslope1if \hspace{1mm} U < U_{optimal}: \hspace{1cm} R_t = R_0 + \frac{U_t}{U_{optimal}} R_{slope1}ifU<Uoptimal​:Rt​=R0​+Uoptimal​Ut​​Rslope1​

ifU≥Uoptimal:Rt=R0+Rslope1+Ut−Uoptimal1−UoptimalRslope2if \hspace{1mm} U \geq U_{optimal}: \hspace{1cm} R_t = R_0 + R_{slope1} + \frac{U_t-U_{optimal}}{1-U_{optimal}}R_{slope2}ifU≥Uoptimal​:Rt​=R0​+Rslope1​+1−Uoptimal​Ut​−Uoptimal​​Rslope2​

In the borrow rate technical implementation, the method relies on an approximation that mostly affects high interest rates. The resulting actual borrow rate can be:

ActualAPY=(1+TheoreticalAPY/secsperyear)secsperyear−1Actual APY = (1+Theoretical APY/secsperyear)^{secsperyear}-1ActualAPY=(1+TheoreticalAPY/secsperyear)secsperyear−1

Both the variable and stable interest models, are derived from the formula above which is derived from Aave with different parameters for each asset.

  • When U<UoptimalU < U_{optimal}U<Uoptimal​ the borrow interest rates increase slowly with utilisation

  • When U≥UoptimalU \geq U_{optimal}U≥Uoptimal​ the borrow interest rates increase sharply with utilisation to above 50% APY if the liquidity is fully utilised.

Variable loans see their rate constantly evolving with utilisation. This means they are not ideal for financial planning.

For rebalancing the stable rate up, these two conditions need to be met:

Variable Interest Rate Model Parameters

TBA

Stable Interest Rate Model Parameters

TBA

Interest Rate Curves

TBA

Mantle Contracts

Hence Lendle offers stable loans, that maintain their interest rate at issuance until the specific rebalancing conditions are met. For rebalancing the stable rate down, the loan stable rateSSSneeds to be greater than the current stable rateStS_tSt​ plus a delta equal to 20%: S≥St+20%S \geq S_t + 20\%S≥St​+20%.

Utilisation Rate: Ut>95%U_t > 95\%Ut​>95%

Overall Borrow Rate, the weighted average of all the borrow rates: RO<25%R_O < 25\%RO​<25%

this section of the developer docs
calculateCompoundedInterest
Whitepaper