Interest rate model
There are a number of interest rates used to determine the interest paid on borrowings and interest received on deposits. There are also interest indexes which are used to track the accrued interest.
Borrow interests rates
To differentiate the variable parameters from the stable ones, we are going to use the subscript s for stable and v for variable. The variable borrow interest rate ivbt and stable borrow interest rates isbt are calculated based on the optimal utilisation ratio Uopt and optimal stable to total debt ratio 0ratio set by the protocol.
If Ut<UOpt
If Ut⩾Uopt
If Ut⩽Uopt
If Ut>Uopt
If Ratio>0ratio, an excess is added to the stable borrow interest rate:
The overall borrow interest rate ibt factors in all variable and stable rate borrows and is calculated by taking the weighted average of the total variable and stable borrowed amounts and their respective interest rates.
Where:
ivbtis the variable borrow amount,
Bi is the stable borrow amount,
isbiis the stable borrow rate,
the subscript i represents each stable borrow taken on the protocol.
Deposit interests rates
The deposit interest rate idt is directly dependent on the overall borrow interest rate ibt. The borrow interest is divided between the depositors, excluding what is retained by the protocol.
Where:
RR is the retention rate i.e. the interest kept by the protocol as revenue.
Last updated

