Wrong calculation of prizePool and fee
The initial assumption that 'uint256 totalAmountCollected = players.length * entranceFee;' is wrong. It does not take into consideration the fact that there could be address(0) values in the 'players' array.
From that point on all further calculations are wrong.
The whole economics of the contract is based on wrong assumptions.
Manual review
I am out of ideas! The whole contract is a mess!!!
Funds are locked to no one. If someone gets the refund issue, they also got this issue. IMPACT: High Likelihood: High
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.