mediumFront-running / MEVEVM-Solidity
Curves Protocol: Single token purchase restriction on curve creation enables sniping
- Payout
- $0
- Protocol
- Curves Protocol
- Disclosed
- Jul 19, 2024
- Source
- code4rena
Curves' getPrice() pricing formula contains an argument-order bug in the sum2 term: with the expression (supply - 1 + amount), Solidity evaluates left-to-right so that when supply is 1 and amount exceeds 1, the subtraction underflows and reverts. This forces a …
Similar reports
- No close matches yet.
References
- https://github.com/code-423n4/2024-01-curves-findings/issues/243
- 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.