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

Redundant Symbol Usage in the `WToken::constructor`

Description: The WToken contract uses the same value for both name and symbol in the ERC20::constructor, which is unconventional and may cause confusion.

Impact:

  • Reduced contract clarity

  • Potential integration issues with systems expecting distinct name and symbol

Recommended Mitigation: Add a separate name parameter to the constructor:

constructor(string memory name_, string memory symbol_, uint8 decimals_, address owner_) ERC20(name_, symbol_)
Updates

Lead Judging Commences

bube Lead Judge 9 months ago
Submission Judgement Published
Invalidated
Reason: Design choice

Support

FAQs

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