The Standard

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

Upper Limits for Fees/Rates Should Be Implemented

Summary

It is critical for the functionality and reliability of a smart contract that any fees or rates are constrained to a sensible range, preferably significantly below 100%.

Vulnerability Details

Such a limitation prevents excessive charges and protects users from unpredictable fee fluctuations.
This measure also enhances the user experience, as they can interact with the protocol without the necessity to constantly check the blockchain for any abrupt changes in fees or rates.

File: contracts/SmartVaultManagerV5.sol
104: mintFeeRate = _rate;
108: burnFeeRate = _rate;
112: swapFeeRate = _rate;

Impact

Tools Used

VSCode

Recommendations

add require or if statements

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.