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

documentation issues

Summary :

Vulnerability Details :

  • The documentation states that the distributePoints function requires admin privileges to be called, suggesting restricted access. However, the actual implementation in the contract allows any user to call this function publicly.

Impact :

  • Possible disruption of intended tokenomics if points are distributed more frequently than intended

Tools Used :

  • Manual code review

Recommendations :

  • Restrict access to the distributePoints function by marking it as onlyAdmin or another appropriate role modifier.

  • Implement additional checks to ensure that the function is only called when necessary and under correct conditions.

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.