Beginner FriendlySolidity
100 EXP
View results
Submission Details
Severity: low
Invalid

Consider changing fund distribution into pull-mode instead.

Summary

If there are many benefitancies, gas cost can creep up and block fund distribution from happening at all.

Vulnerability Details

If there are many benefiancy address to distribute fund, the gas cost will go up linearly at O(n)

Impact

Low, as most people would not have 100+ benefiancy to distributed.

Tools Used

Foundry

Recommendations

Consider switching to pull style reward distribution. See Synthetix's StakingRewards

Updates

Lead Judging Commences

0xtimefliez Lead Judge 6 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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