Compounding Model
In order to provide maximum flexibility to both Depositors and Borrowers, interest payments are automatically integrated in Deposit and Borrow Balances and are compounded at every block.
To compute each Borrow Balance, we use a specific Denominated Currency called . When a new Lending Pool is created for Token A, we create a , whose price in Token A unit evolves as follows:
where is the time period expressed in years. By updating this price, each Borrow Balance can be easily incremented by the interest accrued during the period.
For Depositors, we follow a similar approach by introducing a Deposit Token, or , that represents their ownership in a specific Lending Pool. As opposed to , these are minted and transferred to Depositors in exchange for their deposits.
In order to materialize the accruing interest over deposits, will be convertible into an increasing amount of Token A. With being the Deposit rate, the price of in Token A Unit, or , evolves as follows:
Upon withdrawal, Depositors can redeem their for Token A at the current price, reflecting their deposits plus the interest earned.
Last updated