Description:
The burn() function reverts when users attempt to burn all the EUROs in their address because the fee supposed to be sent to the protocol is burnt along with it.
Impact:
The inability to burn all of one's token in their wallet requires them to burn additional EUROs to fully access their collateral. If every vault requires extra EUROs to be burned to access their collateral, there will be a small portion of collateral locked and unwithdrawable.
Tools Used:
Manual review
Recommended Mitigation Steps:
Burn _amount - fee, then send the fee.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.