All reports
highLogic errorEVM-Solidity

Elfi: `updatePositionFromBalanceMargin` function returns "0" if amount to be updated is negative

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

When a cross-margin position is closed, Elfi's PositionMarginProcess updates the from-balance bookkeeping of all remaining cross positions to redistribute the freed/absorbed margin. In updatePositionFromBalanceMargin, for a negative change token the code first …

Similar reports

  • No close matches yet.

References

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