Incorrect erc20 interface, a contract compiled with Solidity > 0.4.22 interacting with these functions will fail to execute them, as the return value is missing.
Description:
Incorrect return values for ERC20 functions. A contract compiled with Solidity > 0.4.22 interacting with these functions will fail to execute them, as the return value is missing.
Instances of incorrect interfaces
ILoveToken
ISoulmate
Impact:
Token.transfer does not return a boolean. Bob deploys the token. Alice creates a contract that interacts with it but assumes a correct ERC20 interface implementation. Alice's contract is unable to interact with Bob's contract.
Proof of Code:
Recommendation:
Set the appropriate return values and types for the defined ERC20 functions.
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.