Some particularly pathological ERC20 tokens (e.g. Tether Gold) declare a bool return,
but then return false, even when the transfer was successful.
If Tether Gold or any other token with similar behavior is used,
the safeTransfer method might not be able to correctly determine if the transfer was successful.
As a result, the state of the contract might not be updated appropriately,
and funds could be left in the contract, leading to potential disputes or incorrect handling of prizes.
Manual Review
By comparing the initial and final token balances of the recipient after the safeTransfer
call,
you can determine if the transfer was successful.
Something like this:
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.