When burning EUROs, users have to pay the fee:
It burns the specified amount and additionally transfers the fee, so the total amount required from the user is _amount + fee
. Problems:
ifMinted
does not account for the fee.
users have to pay the fee on top of the amount. it would make more sense to burn _amount - fee
and then transfer the fee.
More tokens than specified will be transferred from the user. Based on my understanding, it is not intuitive.
Manual review
EUROs.burn(msg.sender, _amount - 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.