Contracts compiled with solc >= 0.4.22
interacting with such functions will revert. Use OpenZeppelin’s SafeERC20 wrappers. (see here and here)
- ERC20
transfer()
- Specification -> Boolean Return Value
- No Return Value -> Revert
- solc
>= 0.4.22
- solc
- OZ SafeERC20 Wrappers