highLogic errorEVM-Solidity
Elfi: Closing positions does not decrease the pool's entry price, leading to misleading pool value calculations
- Payout
- $0
- Protocol
- Elfi
- Disclosed
- Jun 20, 2024
- Source
- sherlock
Elfi's perpetual-futures LP pool maintains a weighted average entry price as traders open positions, but never re-averages that entry price when positions close. Since the pool's unrealized PnL — and therefore the pool value used for ERC4626-style LP share min …
Similar reports
- No close matches yet.
References
This report is already public and closed. CoinBuggie never publishes active or unpatched vulnerability data.