Beginner FriendlyFoundryNFT
100 EXP
View results
Submission Details
Severity: low
Invalid

- **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.**

  • 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.

Updates

Lead Judging Commences

0xnevi Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Other

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.