DeFiFoundry
60,000 USDC
View results
Submission Details
Severity: low
Valid

Not ERC-7201 slot

Summary

All contract slots are compatible with ERC 7201 except for the slot in the CustomReferralConfiguration library. In the load function CustomReferralConfiguration.sol#L16 the slot is calculated differently

Impact

Not compatible with ERC 7201

Tools Used

Manual review

Recommendations

keccak256(abi.encode(uint256(
keccak256(CUSTOM_REFERRAL_CONFIGURATION_DOMAIN, customReferralCode))-1)) & ~bytes32(uint256(0xff));
Updates

Lead Judging Commences

inallhonesty Lead Judge 11 months ago
Submission Judgement Published
Validated
Assigned finding tags:

Storage computation formula of ERC7201 is not followed. ERC7201 non compliance.

Support

FAQs

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