Skip to main content
Interest rates on Bend are set by each market’s Interest Rate Model (IRM). If you’re building a borrow integration, you need to show how rates work and how they affect positions.

IRM role

Each Bend market has a single, immutable IRM. That contract computes the borrow rate from market conditions, mainly utilization (total borrows / total supply). Only IRMs approved by Bend governance can be used; the main one is AdaptiveCurveIRM.

AdaptiveCurveIRM

AdaptiveCurveIRM targets 90% utilization.
  • Below 90%: Borrow rate falls to encourage borrowing.
  • Above 90%: Borrow rate rises to encourage repayments and more supply.
That keeps markets capital-efficient while keeping enough liquidity for withdrawals. For formulas and behavior, see Interest Rate Model.

Finding the market rate

To get the rate at a given utilization (e.g. 80%) for a market:
  • Morpho Contract - To retrieve IRM for market
  • IRM Contract - Query rate at utilization point (e.g. 80%)
With the assumption that you will use one of the following markets:

Step 1 - Determine IRM contract

Go to https://berascan.com/address/0x24147243f9c08d835C218Cda1e135f8dFD0517D0#readContract and enter one of the MarketIds from above in the idToMarketParams field.
Berascan - Determine IRM Contract Address
The returned result should provide something similar to the following: Take note of the irm address and go to that address on BeraScan.

Step 2 - Determine Market Rate Target Utilization

Enter one of the MarketIds from above into the rateAtTarget field.
Berascan - Determine Market Rate Target Utilization

How interest accrues on debt

For a borrower, the most important takeaway is that interest is constantly accruing, increasing their total debt over time. This directly impacts their position’s health. The process is as follows:

1. Rate calculation

The IRM calculates the instantaneous borrowRate based on the market’s current utilization.

2. Interest accrual

This rate is applied to the borrower’s debt continuously. The amount of interest accrued increases the totalBorrowAssets in the market and, proportionally, the asset value of each borrower’s borrowShares.

3. Impact on Health Factor

As the debt value increases due to accrued interest, the user’s LTV rises and their Health Factor falls, even if collateral and asset prices remain stable. Health Factor = (Collateral Value x LLTV) / (Initial Debt + Accrued Interest) This is a critical concept to communicate to users: their position can become riskier over time simply from interest accrual.

Onchain state and accrueInterest

The Bend contract does not update interest for every block to save gas. Instead, interest is calculated and applied only when a market interaction occurs via the _accrueInterest internal function. This function is triggered by actions like borrow, repay, supply, and withdraw.
When you fetch a user’s position from the contract, the totalBorrowAssets value reflects the state at the last interaction. To get the up-to-the-second debt value, you must account for the interest accrued since the lastUpdate timestamp.