DeFiFoundry
20,000 USDC
View results
Submission Details
Severity: low
Invalid

Use ownable2step to change the owner, so that wrong address cant be set

Use ownable2step to change the owner

function setOwner(address _newOwner) external onlyOwner {
if (_newOwner == address(0)) revert InvalidAddress();
owner = _newOwner;
}
Updates

Lead Judging Commences

inallhonesty Lead Judge 10 months ago
Submission Judgement Published
Invalidated
Reason: Lack of quality

Support

FAQs

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