code-423n4 / 2024-09-reserve-mitigation-findings

0 stars 0 forks source link

ADD-04 MitigationConfirmed #33

Open c4-bot-3 opened 2 months ago

c4-bot-3 commented 2 months ago

Lines of code

Vulnerability details

All the mitigations in this report are correct.

Initially, we didn't update the throttle before changing the total supply in the mint, dissolve, and melt functions. Since the throttle is based on the current total supply, this could result in incorrect throttle behavior.

Now, the throttle is updated in both the mint and dissolve functions. We kept the behavior unchanged in the melt function, as it's called frequently and the supply changes are minimal.

c4-judge commented 2 months ago

thereksfour marked the issue as satisfactory

c4-judge commented 2 months ago

thereksfour marked the issue as confirmed for report