The SmartVaultV3::burn()
function is used to burn the tokens of sEURO and send the fee to the vault manager.
The minted
amount is the sEURO amount minted, and did not account for the fees sent to Smart Vault Manager in SmartVaultV3::burn()
. At first, it may need mean much, but the minted
sEURO total amount is a critical amount for calculating if the user is undercollateralized, can never removeCollateral and have a higher minimum amount of required collateral for swaps than the actual minimum.
sEURO amount minted will not reflect its true state, causing the vault to be actually under-collateralized, can never removeCollateral and have a higher minimum amount of required collateral for swaps than the actual sEURO balance of the vault.
Manual Review
Account for the fees sent and deduct from the minted amount.
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.