In the _Distribute function of the Distributor contract, there is an error while checking if the totalPercentage calculated is correct
while checking if the totalPercentage calculated is correct != operator is being used, which will only check if the value calculated is not equal to BASIS_POINTS - COMMISSION_FEE but will not check for if totalPercentage is greater than BASIS_POINTS - COMMISSION_FEE.
if the totalPercentage calculated is greater than the BASIS_POINTS - COMMISSION_FEE, it will create a potential vulnerability, which will affect the calculation of the amount transferred to winners and stadium fee
Manual Analysis
use < or <= operators in
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.