highLogic errorEVM-Solidity
Elfi: Closing partial positions miscounts the settled fees
- Payout
- $0
- Protocol
- Elfi
- Disclosed
- Jun 20, 2024
- Source
- sherlock
In Elfi's perpetuals protocol, the partial-close path in DecreasePositionProcess._updateDecreasePosition misprices settled fees. Each fee component (borrowing, funding, close) is already scaled down by the decrease quantity ratio, but the aggregate _getPosFees …
Similar reports
- No close matches yet.
References
This report is already public and closed. CoinBuggie never publishes active or unpatched vulnerability data.