The Standard

The Standard
DeFiHardhat
20,000 USDC
View results
Submission Details
Severity: low
Invalid

Division precision in SmartVaultV3 can lead to minting with no fee

Summary

Division precision in mint can lead to user sidestepping fees in some specific cases.

Vulnerability Details

fee = _amount * ISmartVaultManagerV3(manager).mintFeeRate() / ISmartVaultManagerV3(manager).HUNDRED_PC()

with mintFeeRate being 1%, this will lead to 0 fees for _amount <= 999. With some low decimals/high value tokens (e.g. WBTC) and comparatively cheap gas environment, this will make it viable for user to split the deposit and avoid fees.

Impact

LOW - circumstantial.

Tools Used

Manual review

Recommendations

Implement minimal fee/minimal amount.

Updates

Lead Judging Commences

hrishibhat Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

informational/invalid

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.