Currently when a user deposits, the mint operations attempts to get the balanceIncrease based on the liquidity Index so that the interests the user earned are registered and added to the amount.
As seen when a user deposits, the mint function checks if its first time, it then attempts to track interest earned based on the liquidity index so that the user’s balance reflects accrued interest.
However, what if the user deposits once and never tries to deposit again. this means that their initial deposit will earn some interests that will not have any compounding effect making them lose on the opportunity of making more.
A user deposits 100 tokens into the protocol.
Over time, they earn 10 tokens in interest, but these are not added to their principal for further compounding.
If the user never deposits again, their balance remains 100 + 10 (uncompounded interest) instead of benefiting from continuous compounding.
More rewards lost
The protocol can periodically compound interest for all users by updating their balance based on the liquidity index.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.