The game contract incorrectly mints new winningToken
instances to players when token-based games conclude with a tie (_handleTie
) or are cancelled (_cancelGame
). Instead of transferring back the tokens that players likely staked to enter the game, this logic increases the total supply of the winningToken
, resulting in potential inflation.
This issue leads to uncontrolled inflation of the winningToken
supply.
Using transfer instead of mint.
Mints new tokens upon game completion or cancellation for token-based games
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.