The contract allows for the deposit of ETH but does not provide a method for the host to withdraw the ETH.
The contract accepts ETH deposits but lacks a withdrawal function for ETH. This means that any ETH sent to the contract cannot be retrieved, which can lead to funds being trapped within the contract indefinitely. This is a design flaw as it contradicts typical contract expectations, where a method to withdraw ETH should exist if ETH is being accepted.
Funds are trapped: ETH deposited into the contract cannot be withdrawn.
Inconsistent behavior: If the contract allows ERC-20 token withdrawals, but not ETH withdrawals, it creates an inconsistent experience for the host and users.
Manual inspection of the contract.
Add a function that allows the host to withdraw ETH from the contract, for example:
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.