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

Use Ownable2Step rather then Ownable

Summary

Ownable2Step helps from mistakenly transferring ownership that cannot handle it.

Vulnerability Details

// @audit Ownable2
function setOwner(address _newOwner) external onlyOwner {
if (_newOwner == address(0)) revert InvalidZeroAddress();
owner = _newOwner;
}

Impact

The incorrect account can have ownership;

Tools Used

Manual Review

Recommendations

Use Ownable2Step

Updates

Lead Judging Commences

inallhonesty Lead Judge about 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.