The boolean value for whitelist
in the authorizeContract
function can be set once and for all to true once and for all. This is easier as the admin will only have to input addresses.
This submission is to refactor the code for efficiency and convinience. Here is how the refactored function will look:
Convinience for the admin. No funds at risk.
Manual review.
make bool _whitelist
in a local variable and not an argument
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.