if collected fees exceeds uint64 value then extra eth will stay locked in contract forever.
totalFees
variable is declared as uint64, means max value it will have is 18446744073709551615. Means fees more than
18.446744073709551615 ether will be lost.
Consider a scenerio, where total collected eth is 100 eth. so winner share will 80 eth, fee share will be 20 eth.
But fees value is downcasted to uint64, that will make owner claim only 18.446744073709551615 ether only.
if total fees are more than 18.446744073709551615 ether, That will be locked forever.
Manual Review
declare totalFees as uint256 for best approach to cover all scenarios.
Line no. 30
Line no. 134
update code from other places as well, wherever uin64 is used.
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.