Withdraw

Dynamics behind the withdraw operation.

The calculation of the amount AtfA_{t_f} that the user will be able to redeem at the time tft_f will include interests accrued during the period tfโˆ’tit_f-t_i and it is computed as follows:

Atf=Mtiโˆ—IdtfA_{t_f}=M_{t_i}*I_{d_{t_f}}

Where:

  • AtfA_{t_f} represents the initial deposit of the user plus the interest accrued during the deposit period. The same mechanism is applied for partial redemption of the deposit.

  • MtiM_{t_i} represents the amount of fToken received at the time of depositing.

  • IdtfI_{d_{t_f}}is the deposit interest index at the time of redeeming tft_f.

Last updated