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

Unused attribute in RapperStats structure

Summary

The battlesWon attribute in IOneShot::RapperStats structure is initialized to 0 in OneShot::mintRapper function, but is never used elsewhere in the set of OneShot contracts.

Impact

Low

Tools Used

Visual Studio Code, manual review

Recommendations

Remove the battlesWon attribute unless it is needed for future planned functionality of the protocol.

Updates

Lead Judging Commences

inallhonesty Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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