The Standard

The Standard
DeFiHardhat
20,000 USDC
View results
Submission Details
Severity: medium
Invalid

SmartVault - cannot burn full amount

Summary

A user trying to completely burn his borrows will face a revert

Vulnerability Details

The fee payment upon burning borrowed EUROs happens after the EUROs have been burned, meaning a user cannot fully burn his position since he would not be able to pay the afterward fee.

Impact

Users cannot fully reset their minted amount, could be subject to liquidation.

Tools Used

Manual Review

Recommendations

Subtract the fee from the amount the user wishes to burn or mint the fee to the protocol as it is done in the minting logic.

Updates

Lead Judging Commences

hrishibhat Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

informational/invalid

ptsanev Submitter
over 1 year ago
hrishibhat Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Design choice
Assigned finding tags:

fee-loss

Support

FAQs

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