Sparkn

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

The organizer may intentionally not distribute funds in times of high gas prices

Summary

The organizer may choose not to distribute funds to the winners when the gas price is very high to save on gas. This can lead to funds stuck or the protocol owner losing high gas funds.

Vulnerability Details

There is an option for the organizer to not distribute the funds and leave it to the protocol owner to call deployProxyAndDistributeByOwner(). But this can be abused especially when the gas prices are high, the organizer will choose to not call distribute function. In such a case, either the payments will be stuck or the owner will have to empty their pockets or wait for the gas prices to come down(sometimes months).

Impact

Such a situation can lead to funds stuck or a delay in payment to the supporters. Think when many organizers do so in high gas price times.

Tools Used

Manual review

Recommendations

Employ a keeper bot funded with ETH by the organizer to make sure the organizer does not intentionally opt out of distributing funds.

Support

FAQs

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