The manager's cut of the remaining rewards is incorrectly calculated due to a faulty formula in the closePot
function.
In the closePot
function, the formula remainingRewards / managerCutPercent
is used to calculate the manager's cut. This doesn't give the manager exactly 10% of the remaining rewards but an unintended fraction.
The manager will receive less or more than the intended 10%, leading to a misdistribution of rewards.
Manual review
uint256 managerCut = (remainingRewards * managerCutPercent) / 100; // Correct formula
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.