The protocol has no functionality to remove whitelisted tokens if necessary. It is possible that the price of a token drops a lot or for some other reason it is not good to be in the whitelisted array of tokens, but already added there it can not be removed.
In ProxyFactory.sol
the constructor will set the whitelist tokens:
But once added there is no way to remove them. This is dangerous and there should be functionality to react to if a token needs to be removed from the whitelist.
No functionality to remove whitelisted tokens if necessary. If there is an unwanted token added there is no way to remove it and this makes the list of white tokens somewhat less effective.
Visual Studio Code
Add an admin control function to remove tokens from the whitelist if necessary.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.