TwentyOne
Contract uses the transfer
method to send ETH in the endGame
function to the winner:transfer() is not recommended to use as it has a set gas stipend. If the user is a contract that has a fallback function that consumes more than the gas stipend, the user will not receive the funds. (such as a Safe multisig).
The owner may not receive the payout.
manual code review/grep
Consider using the send
or call
functions to send the payout to the winner.
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.