The TwentyOne
contract currently lacks functionality for the contract owner to withdraw collected fees. This omission prevents the owner from accessing the contract's accumulated balance, which may include unused funds or player deposits.
This could result in funds being permanently locked within the contract, especially if payouts to players do not fully deplete the balance. Such a scenario can impact the operational sustainability of the game.
Deploy the contract on a testnet.
Have a player start a game by sending 1 ETH to the startGame
function.
Observe that the contract balance increases.
Attempt to withdraw the balance as the contract owner (no functionality exists to perform this action).
Locked funds reduce operational efficiency and may cause dissatisfaction for the contract owner.
Potential financial loss for the owner if funds cannot be retrieved.
manual review
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.