Total MarketCap:$00
API
EN
Dark

SearchSSI/Mag7/Meme/ETF/Coin/Index/Charts/Research
00:00 / 00:00
View
    Markets
    Indexes
    NewsFeed
    TokenBar®
    Analysis
    Macro
    Watchlist
Share
spearbit

Can you spot the vulnerability?

The `executeSelfLiquidate` function allows creditors to exit early by repaying debt and claiming collateral. It checks eligibility, applies pro-rata fees, burns debt, and transfers collateral.

But the collateral math might be giving early creditors more than their share.

The key operations involve:

• Liquidation Eligibility: Creditor must be at a loss (debt > collateral).
• Pro-Rata Fees: Borrower pays fees based on each creditor’s debt share.
• Collateral Assignment: Creditor receives collateral proportional to their share of the debt.

Think you’ve got the answer? We’ll post the solution on Friday.

All You Need to Know in 10s
TermsPrivacy PolicyWhitePaperOfficial VerificationCookieBlog
sha512-gmb+mMXJiXiv+eWvJ2SAkPYdcx2jn05V/UFSemmQN07Xzi5pn0QhnS09TkRj2IZm/UnUmYV4tRTVwvHiHwY2BQ==
sha512-kYWj302xPe4RCV/dCeCy7bQu1jhBWhkeFeDJid4V8+5qSzhayXq80dsq8c+0s7YFQKiUUIWvHNzduvFJAPANWA==