COMMISSION_FEE can be set greater than BASIS_POINTS, causing protocol to always revert when organizer or owner tries to distribute rewards.
In future when the SPARKN team deploys a new version of Deployer.sol, the COMMISSION_FEE could erroneously be set greater than or equal to BASIS_POINTS causing distribution of reward by every organizer/owner to revert here.
This will not only cause waste of gas in the deployment but also disrupt the protocol's availability, and the only remedy would be to correct the code and redeploy again.
Bad user experience
Protocol will be not be usable
Gas wastage due to erroneous deployment
Manual audit
In the constructor of Distributor.sol, just like there is a check for factoryAddress != address(0) & stadiumAddress != address(0), add a check:
Also, better to change this line of code:
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.