Algo Ssstablecoinsss

First Flight #30
Beginner FriendlyDeFi
100 EXP
View results
Submission Details
Severity: low
Invalid

The event CollateralRedeemed in the _redeem_collateral function is before a transfer founds.

Summary

The purpose of the CollateralRedeemed event in the _redeem_collateral function is to log the details of the collateral redemption whenever a user redeems their collateral.

Vulnerability Details

The CollateralRedeemedevent informs about redeem founds before transfer founds.

Impact

Informational mismatch: The user is informed about the success before the funds are sent.

Tools Used

manual review

Recommendations

Change the order of events: Move this event after the transfer function.

Updates

Lead Judging Commences

bube Lead Judge 6 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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