Sparkn

CodeFox Inc.
DeFiFoundryProxy
15,000 USDC
View results
Submission Details
Severity: low
Valid

If there are more than >9500 winners some of them won't be paid

Summary

If there are >10000-COMISSION_FEE winner some of them won’t be paid.

Vulnerability Details

Assuming each user gets a minimum reward of 1 bip (0.01%) organizer can reward a maximum of 9500 users. If this is a constest like https://codingcompetitionsonair.withgoogle.com/ with lots of users and where submissions are graded automatically this might become a problem, i.e if the prize pool is really large, like 1M some users won't be able to get 100$.

Impact

Loss of winnings for some users

Tools Used

Recommendations

Consider resizing 1 bip to = 0.001% or 0.00001%

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.