In the contract SmartVaultV3
, it is possible to call the mint()
and burn()
functions with the _amount
argument set to 0.
The mint()
and burtn()
functions do not check wether the _amount
argument is greater than 0.
Even though no tokens will be effectively minted, emitting fake EUROsMinted
and EUROsBurned
events could be misleading.
You can add the following JavaScript test to the smartVaultManager.js
test file and observe that events are emitted:
Manual analysis and Hardhat test.
It is recommended to add a check to verify that _amount
is greater than 0.
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.