Part 2

Zaros
PerpetualsDEXFoundrySolidity
70,000 USDC
View results
Submission Details
Severity: low
Invalid

Zero Referral Address

Summary

Referral::getReferrerAddress and Referral::getCustomReferralCodeReferrer may return address(0). Inside referrerConfiguration, there is no check that such referrerCode exists meaning that an empty ConfigurationData will be returned. This will mean that when the address is decoded it will return address(0).

Impact

Zero address decoded for referral address.

Tools Used

Manual Review

Recommendations

Add a check in referrerConfiguration that referrerCode exists.

Updates

Lead Judging Commences

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