Interest rates model
How the borrow and the deposit interest rates are computed
The borrow interest rate
is algorithmically computed for each pool and considering the parameters, defined in the Liquidity pools dynamics chapter:
It represents the distribution of the interest paid by borrowers, net of a fee retained to feed the Folks Finance community treasury. The distribution rate of the interest on deposits is also strongly influenced by the
of the pool and the borrow interest rate
The retention rate
represents the percentage of the revenue kept by the protocol from the interest paid by the borrowers. These protocol revenues are sent to the community treasury.
Considering the ALGO participation rewards obtained by holding the token in the wallet, the mathematics of interest and the deposit rates of the users that interact with the ALGO/fALGO pool are adjusted to take them into account.
The ALGO borrow interest rate is computed as follows:
factor corresponds to the percentage of rewards provided by the Algorand protocol, which would be paid directly to the user's wallet taking the loan if they had if he had left the ALGOs in their wallet (participating in the reward program). This increases the interest rate equal to the rewards percentage.
For the same reason, the interest rate of the deposits has increased by the quote of rewards that the protocol pays to the user who deposited ALGOs in the liquidity pool.