15,000 USDC
View results
Submission Details
Severity: low

Redundant comments at the top of DSCEngine contract

Summary

At the top of DSCEngine contract there is a large comment block describing the suggested layout of contract and functions.

// Layout of Contract:
// version
// imports
// interfaces, libraries, contracts
// errors
// Type declarations
// State variables
// Events
// Modifiers
// Functions
// Layout of Functions:
// constructor
// receive function (if exists)
// fallback function (if exists)
// external
// public
// internal
// private
// view & pure functions

Those comments are probably a leftover from the development and are redundant.

Vulnerability Details

n/a

Impact

Code readability

Tools Used

Manual review

Recommendations

Remove the comment block

Support

FAQs

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