Some ERC20 tokens don't throw but just return false when a transfer fails. This can lead to a loss of funds when users try to claimCut
, if the recipient tries to claimCut
before rewards are sent to the pot, it will revert with most tokens, but for tokens with this vulnerability the transaction will go through and the user won't get their funds. A good example of such a token is ZRX: Etherscan code.
Loss of funds
Slither
Use SafeErc20 to mitigate this issue as well as others like it.
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.