Beginner FriendlyFoundryNFT
100 EXP
View results
Submission Details
Severity: medium
Valid

rounding error leads to blocking funds

Summary

In certain configurations of entranceFee and fee, rounding errors can occur, which could lead to reverts in the withdrawFees function, resulting in the permanent locking of funds. This potential vulnerability poses a significant risk to the financial integrity of the platform

Recommendations

withdrawFees in the end of select winner function with remaining balance

Updates

Lead Judging Commences

patrickalphac Lead Judge almost 2 years ago
Submission Judgement Published
Validated
Assigned finding tags:

loss of precision

like 1 wei

ryonen Submitter
almost 2 years ago
patrickalphac Lead Judge
almost 2 years ago
patrickalphac Lead Judge almost 2 years ago
Submission Judgement Published
Validated
Assigned finding tags:

greifers-send-money-to-contract-to-block-withdrawfees

loss of precision

like 1 wei

patrickalphac Lead Judge almost 2 years ago
Submission Judgement Published
Validated
Assigned finding tags:

greifers-send-money-to-contract-to-block-withdrawfees

loss of precision

like 1 wei

Support

FAQs

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