If arrays winners and percentages get too big the function can revert and the winners will not get their rewards
The distribute function calls _distribute which uses safeTransfer to transfer tokens to the winners. If the arrays get to big the safeTransfer will use up too much gas and revert with out-of-gas error.
Winners will not be able receive rewards.
Manuel Review
Bound the length of the arrays winners and percentages
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.