Project

One World
NFTDeFi
15,000 USDC
View results
Submission Details
Severity: low
Invalid

Use of magic numbers in `MembershipFactory.sol::joinDAO`

Vulnerability Details

Use of hardcoded magic numbers when calculating the platform fees in this line of the joinDAO function.
uint256 platformFees = (20 * tierPrice) / 100;

Tools Used

Manual Review

Recommendations

Use meaningful constant names to improve readability and maintainability of the codebase.

Updates

Lead Judging Commences

0xbrivan2 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.