mediumLogic errorEVM-Solidity
Superposition: When performing `swap` and the swap position does not cover `swap amount`, the base price of `sqrt_price` is set incorrectly
- Payout
- $0
- Protocol
- Superposition
- Disclosed
- Oct 18, 2024
- Source
- code4rena
In Superposition's Seawater AMM implementation, performing a swap where the requested amount exceeds available liquidity within the user-specified price limit incorrectly updates the pool's permanent `sqrt_price` state variable. Instead of recording the price …
Similar reports
- No close matches yet.
References
- https://github.com/code-423n4/2024-08-superposition-findings/issues/58
- https://github.com/code-423n4/2024-08-superposition-findings
This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.