In order to prevent users from bypassing payment fees, it is necessary to ensure that the value of fee is greater than the value of HUNDRED_PC.
When the fee calculation is involved in the mint and burn functions of the SmartVaultV3 contract, you need to ensure that the values of the two variables ISmartVaultManagerV3(manager).mintFeeRate() and ISmartVaultManagerV3(manager).burnFeeRate() are greater than HUNDRED_PC = 1e5. Otherwise, users can mint or burn a small amount of tokens to avoid paying fees.
Assuming mintFeeRate() = 1e3, the user can mint 99 EURO tokens each time to avoid paying fees. Because 99 * 1e3 < 1e5, and because of the nature of the solidity language, 99 * 1e3 / 1e5 = 0.
##Impact
Users can mint or burn small amounts of tokens to avoid paying fees.
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.