HardhatDeFi
15,000 USDC
View results
Submission Details
Severity: low
Invalid

Missing Zero Address Validation in `WToken.sol`

Description: The WToken::constructor does not validate that the owner_ address is not the zero address.

Impact: Could accidentally set owner to zero address, making owner-only functions permanently inaccessible.

Recommended Mitigation: Add zero address validation in the constructor:

require(owner_ != address(0), "WToken: owner cannot be zero address");
Updates

Lead Judging Commences

bube Lead Judge 9 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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