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

Define and use `constant` variables instead of using literals

Summary

If the same constant literal value is used multiple times, create a constant state variable and reference it throughout the contract.

2 Found Instances
  • Found in src/ChoosingRam.sol Line: 49

    if (block.timestamp > 1728691200) {
  • Found in src/ChoosingRam.sol Line: 86

    if (block.timestamp < 1728691200) {

Tools Used

Manual Review , aderyn

Recommendations

Use constant in place of literals

Updates

Lead Judging Commences

bube Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

Info/Gas/Invalid according to docs

Support

FAQs

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