MyCut

AI First Flight #8
Beginner FriendlyFoundry
EXP
View results
Submission Details
Impact: low
Likelihood: low
Invalid

Unsafe ERC20 Operation

L-2: Unsafe ERC20 Operation

ERC20 functions may not behave as expected. For example: return values are not always meaningful. It is recommended to use OpenZeppelin's SafeERC20 library.

3 Found Instances
  • Found in src/ContestManager.sol Line: 37

    token.transferFrom(msg.sender, address(pot), totalRewards);
  • Found in src/Pot.sol Line: 55

    i_token.transfer(msg.sender, managerCut);
  • Found in src/Pot.sol Line: 65

    i_token.transfer(player, reward);
Updates

Lead Judging Commences

ai-first-flight-judge Lead Judge 1 day ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

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

Give us feedback!