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

Modifiers invoked only once can be shoe-horned into the function

Summary

5 Found Instances
  • Found in src/ChoosingRam.sol Line: 25

    modifier OnlyOrganiser() {
  • Found in src/Dussehra.sol Line: 37

    modifier OnlyRam() {
  • Found in src/Dussehra.sol Line: 42

    modifier RavanKilled() {
  • Found in src/RamNFT.sol Line: 28

    modifier onlyOrganiser() {
  • Found in src/RamNFT.sol Line: 35

    modifier onlyChoosingRamContract() {

Tools Used

Manual Review , aderyn

Recommendations

use modifiers when a functioning is repeated more than two times in different functions.

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.