Zaros Part 1

DeFiFoundry
60,000 USDC
Submission Details
Severity: high
Valid

`LiquidationBranch::liquidateAccounts()` executed `TradingAccount::deductAccountMargin()` with incorrect parameters, causing the project party to lose a large amount of funds.

Updates

Lead Judging Commences

inallhonesty Lead Judge 3 months ago
Submission Judgement Published
Validated
Assigned finding tags:

deductAccountMargin() treats `required maintenance margin` as the `unrealized PnL` because it uses `requiredMaintenanceMarginUsdX18` in place of `pnlUsdX18`

Support

FAQs

Can’t find an answer? Join our Discord or follow us on Twitter.

Cyfrin
Updraft
CodeHawks
Solodit
Resources