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

Unexplained Magic numbers

Summary

There are several occurrences of literal values with unexplained meaning

Vulnerability Details

Impact

The use of magic numbers with unexplained meanings reduces readability and complicates the process of refactoring

Tools Used

Manual Audit

Recommendations

To enhance code readability and simplify future refactoring, it is recommended to define constants for all magic numbers with clear and self-explanatory names. Additionally, for complex values, it's beneficial to include inline comments that explain either how they were calculated or the reasoning behind their selection.

Support

FAQs

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