joinGameWithToken
checks token balance but not allowance, leading to potential reverts.
The following code:
The transfer functionality is implemented without an allowance check
Poor user experience and potential confusion from the users.
Manual code review
Add a require allowance check
createGameWithToken and joinGameWithToken functions will revert because they attempt transferFrom without requiring the user to first approve
createGameWithToken and joinGameWithToken functions will revert because they attempt transferFrom without requiring the user to first approve
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.