Return to site
Return to site

Mentorship Series #24

0xfirefirst - Day 25

· Mentorship

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?

Subscribe
Previous
Mentorship Series #23
Next
Mentorship Series #25
 Return to site
Cookie Use
We use cookies to improve browsing experience, security, and data collection. By accepting, you agree to the use of cookies for advertising and analytics. You can change your cookie settings at any time. Learn More
Accept all
Settings
Decline All
Cookie Settings
Necessary Cookies
These cookies enable core functionality such as security, network management, and accessibility. These cookies can’t be switched off.
Analytics Cookies
These cookies help us better understand how visitors interact with our website and help us discover errors.
Preferences Cookies
These cookies allow the website to remember choices you've made to provide enhanced functionality and personalization.
Save