The fee in SmartVaultV3::burn is decoupled from the minted variable, which can potentially confuse a user repaying their vault.
Users may rely on the minted value obtained from the SmartVaultV3::status function to determine the amount to repay. If a user buys the exact amount indicated by minted in the returned Status, the SmartVaultV3::burn function will revert due to the absence of tokens to burn or "approved" tokens sent to the contract.
Align the treatment of fees in both SmartVaultV3::mint and SmartVaultV3::burn. Example : Remove burning fees and increase minting fees.
Implement a getAmountToRepay(uint amount) function that includes the burning fees, providing users with a comprehensive view of the amount to repay.
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.