Tadle

Tadle
DeFiFoundry
27,750 USDC
View results
Submission Details
Severity: low
Invalid

Unsafe ERC20 Operations should not be used

Summary

ERC20 functions may not behave as expected. For example: return values are not always meaningful.

  • Found in src/core/TokenManager.sol

    payable(msg.sender).transfer(claimAbleAmount);
  • Found in src/core/TokenManager.sol

    ICapitalPool(_capitalPoolAddr).approve(address(this));
  • Found in src/utils/Rescuable.sol

    payable(to).transfer(amount);

Tools Used

Aderyn static analyzer

Recommendations

It is recommended to use OpenZeppelin's SafeERC20 library.

Updates

Lead Judging Commences

0xnevi Lead Judge
about 1 year ago
0xnevi Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

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