15,000 USDC
View results
Submission Details
Severity: gas
Valid

Underscore function arguments

Summary

Lack consistency function arguments structure e.g underscores _

Vulnerability Details

DSCEngine.sol does not use underscore _ e.g _to, _amount function arguments however DecentralizedStableCoin.sol has that format instead

Impact

Informational: This leads to inconsistency in code affecting code quality

Tools Used

Manual Analysis

Recommendations

It is recommended to be consistent and prefer _ to all function arguments across all relevant functions of all relevant contracts in project. If underscore not desired then ensure contracts follow same style and do not use them.

Support

FAQs

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