The user does not know the exact amount of the commission
When user want mint tokens in own vault, he call SmartVaultV3.mint(), and this function calculate fee.
As we can see, function call SmartVaultManagerV3.mintFeeRate() function.
Function mintFeeRate return value, which could be changed by owner of project in any moment. Even, while users'tx in mempool.
User could not predict amount of his debt - how many tokens will be minted.
Manual review
Store in immutable variable value of minting fee. and if function mintFeeRate return value greater than stored value, use stored value, if less, use received value.
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.