Sparkn

CodeFox Inc.
DeFiFoundryProxy
15,000 USDC
View results
Submission Details
Severity: low
Valid

You can only whitelist tokens by the constructor

Summary

You can only whitelist tokens by the constructor

Vulnerability Details

The problem is when you deploy the contract you set the whitelisted tokens, but there is no way to add more tokens or remove tokens from the whitelist.

Impact

Unupgradable

Tools Used

Manual Review

Recommendations

Make function to add or remove tokens from the mapping whitelistedTokens

Support

FAQs

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

Give us feedback!