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

onlyOwner modifier not defined.

Summary

- onlyOwner modifier in the ChangeFeeAddress is not defined anywhere in the contract.

Vulnerability Details

- The modifier logic should provide access restrictions for only the owner of the contract to change the fee address

Impact

The Contract will not deploy or compile successfully

Tools Used

Manual

Recommendations

modifier onlyOwner() {
require(msg.sender == owner, "Only the owner can call this function");
_;
}

Updates

Lead Judging Commences

patrickalphac Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Other

Support

FAQs

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