An integer overflow could occur when calculating winner payout amounts.
The amount calculation uses:
uint amount = totalAmount * percentages[i] / BASIS_POINTS;
This could overflow if totalAmount * percentages[i] exceeds type(uint256).max.
For example, with totalAmount = 50 ether and percentages[i] = 20000.
Impact
Incorrect winner payout amounts. Could lead to loss of funds.
Manual
Use SafeMath to prevent overflows:
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.