All reports
highLogic errorEVM-Solidity

Elfi: In Cross Margin mode, the user’s profit calculation is incorrect.

Payout
$0
Protocol
Elfi
Disclosed
Jun 20, 2024
Source
sherlock

Elfi's perpetual-futures protocol miscalculates realized profit when a user closes a full position opened in cross-margin mode. In cross margin the user's collateral stays in a PortfolioVault and is never deployed into the market, but DecreasePositionProcess._ …

Similar reports

  • No close matches yet.

References

This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.