·
We continued the Panoptic contest on Code4rena.
Lesson Summary:## Notes
- When the user doesn't have enough balance, his index is not updated. What happens if the user deposits more afterwards?
- 100 USDC, user has only 50 balance. They burn this 50 balance, index is not updated. If he deposits 100 again, how much is he going to pay? Will he have to pay 50 shares of interest, because he paid 50 already, or will he have to pay 100 again, totalling 150?
- Is there a health check in the Pool?
- What if linearAdaptation is not zero but is very small?
- How big can linear adaptation get?
- If called every block, the linear adaptation should be small. What happens to the rate? Is there a maximum rate? max speed?