Description:
Ignoring return values from ERC20 token transfers can lead to undetected failures if the token does not follow the ERC20 standard.
Affected Functions:
TokenDivider.transferErcTokens(...)
TokenDivider.sellErc20(...)
TokenDivider.buyOrder(...)
Impact:
ERC20 transfer failures may result in incorrect contract states or fund loss.
Recommendation:
Always check return values for IERC20.transfer()
and IERC20.transferFrom()
:
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.