mediumLogic errorEVM-Solidity
Curves Protocol: `onBalanceChange` causes previously unclaimed rewards to be cleared
- Payout
- $0
- Protocol
- Curves Protocol
- Disclosed
- Jul 19, 2024
- Source
- code4rena
Curves Protocol's FeeSplitter `onBalanceChange` hook, invoked on every token purchase, resets an account's `userFeeOffset` to the current `cumulativeFeePerToken` without first crediting the fees already owed to that account. A holder who buys the same subject …
Similar reports
- No close matches yet.
References
- https://github.com/code-423n4/2024-01-curves-findings/issues/39
- https://github.com/code-423n4/2024-01-curves-findings
This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.