Interest rate strategy 1
Last updated
Last updated
These are the parameters that are stored on this interest rate strategy contract.
This is in the equations below.
The optimal utilization rate creates the kink in the interest rate curve. The higher the optimal rate, the more it encourages users to borrow up to that point by providing relatively affordable rates. The lower the optimal rate, the more it discourages users from borrowing more than that point.
Typically, before the utilization rate reaches the optimal utilization rate, the interest rates stay low, so that users will be financially incentivized to utilize the liquidity more. On the other hand, beyond the optimal utilization rate, the interest rates stay high, so that users will be incentiveized to utilize less liquidity.
This is in the equations below.
The base interest rate is the interest rate at utilization rate = 0. If a protocol decides that an asset is popular enough to be borrowed at a higher base interest rate, it will give a higher base interest rate. However, in other cases, it will stay at 0.
This is in the equations below.
This is the variable that controls the gradient of the left half of the interest rate curve up to the kink. The bigger the number is, the steeper the curve is, meaning higher interest rates.
This is in the equations below.
This is the variable that controls the gradient of the right half of the interest rate curve beyond the kink. The bigger the number is, the steeper the curve is, meaning higher interest rates.
To understand how interest rate strategy 1 works, it's necessary to define these terms:
Utilization rate
Optimal utilization rate
Variable Rate Slope 1 (the slope that is going to be applied on the left side of the graph)
Variable Rate Slope 2 (the slope that is going to be applied on the right side of the graph)
Base interest rate. This adjusts the y-intercept of the interest rate curve.
To summarize:
Using the graph above, it is possible to determine borrowing interest rate and lending interest rate.
Borrowing interest rate at utilization rate
Then, depending on whether is true, would be calculated differently, as follows:
Graphically, the equation is illustrated as below (consider only for and , and use two different functions based on ):
uses , , , .
Let's run an example calculation. Using this strategy, will give , which is 6.1538%. In other words, 50% utilization rate will give 6.1538% of borrowing interest rate.
The lending interest rate is a function of borrow interest rate and reserve factor. It is calculated as where . Following the example above, let us say that the reserve factor is 0.15. Then, the lending interest rate will be calculated as:
Now, we can display both and :