DeFiFoundry
60,000 USDC
View results
Submission Details
Severity: low
Invalid

Liquidation does not clean offchain orders

Summary

During liquidation, after all fees are payed and positions closed, all market orders are cleared, since the no longer reflect the position of the account, but this is not true for offchain orders since they cannot be reached through the contract. Thus this should be taken into consideration before filling offchain orders.

Tools Used

Manual review

Recommendations

Add a check to corroborate if the account has been liquidated in marketId.

Updates

Lead Judging Commences

inallhonesty Lead Judge 10 months ago
Submission Judgement Published
Invalidated
Reason: Lack of quality

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.