Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: low
Invalid

Santa Token Floating numbers

Summary

Floating-point numbers in santaToken.sol should be stored as constants with meaningful names.

Vulnerability Details

The issue is identified in the santaToken contract, specifically at line 25 and line 32.

Impact

The presence of multiple floating-point numbers without clear naming conventions can lead to confusion and make the code harder to read and understand.

Tools Used

Manual review

Recommendations

Store floating-point numbers in santaToken.sol as constants with meaningful names. This practice enhances code readability and comprehension. Naming constants appropriately contributes to better maintainability and reduces the likelihood of errors or confusion in the future.

Updates

Lead Judging Commences

inallhonesty Lead Judge almost 2 years ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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