The Pot
contract does not verify the return value of the ERC20
transfer
function in the _transferReward
function. This oversight can lead to undetected transfer failures, potentially affecting reward distribution.
The _transferReward function calls the transfer
function of the ERC20 token without checking its return value.
If the transfer fails, the lack of a return value check means the contract will not be aware of the failure, leading to incorrect assumptions about reward distribution.
Failed transfers may go unnoticed, resulting in players not receiving their rewards.
Manual Review
Implement checks for the return value of the transfer function to ensure successful execution.
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.