Interest Rate Model

APY Function

Borrow APY
= [1 + Base + Multiplier * min(UtilizationRate, Kink) + max(JumpMultiplier * UtilizationRate - Kink, 0)] ^ BlocksPerYear - 1
Supply APY
= Distribute (Interest Paid by Borrowers Per Block - Reserve) to all suppliers, and convert it into APY
= Distribute [(1 + Borrow APY) ^ (1 / BlocksPerYear) - 1] * Total Borrow * (1 - Reserve Factor) to all suppliers, and convert it into APY
= {[(1 + Borrow APY) ^ (1 / BlocksPerYear) - 1] * Total Borrow * (1 - Reserve Factor) / Total Supply}, and convert it into APY
= {1 + [(1 + Borrow APY) ^ (1 / BlocksPerYear) - 1] * Total Borrow * (1 - Reserve Factor) / Total Supply} ^ BlocksPerYear - 1
= {1+[(1+Borrow APY)^(1/BlocksPerYear)-1]*(1-Reserve Factor)*Utilization Rate}^BlocksPerYear-1
BlocksPerYear = 12,614,400 (Based on 2.2 seconds per block)
Last modified 2mo ago
Copy link