TwentyOne

First Flight #29
Beginner FriendlyGameFiFoundrySolidity
100 EXP
View results
Submission Details
Severity: medium
Valid

Lack of funding mechanism

Summary

Due to lack of funding mechanism of this contract, the first winner couldn't receive prize.

Vulnerability Details

The contract has no funds at first. So if the player wins at the first game of this contract, he couldn't receive funds because there is no enough funds to send prize.

Impact

The contract's main purpose is disrupted.

Tools Used

manual

Recommendations

Introduce a funding mechanism such as adding receive() function or funding function.

Updates

Lead Judging Commences

inallhonesty Lead Judge 11 months ago
Submission Judgement Published
Validated
Assigned finding tags:

Contract Lacks Mechanism to Initialize or Deposit Ether

Support

FAQs

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