15,000 USDC
View results
Submission Details
Severity: medium
Valid

IERC20 interface doesnt work for some tokens like USDT

Summary

Using unsafe ERC20 methods can revert the transaction for certain tokens.

Vulnerability Details

For example, IERC20(token).transferFrom() and IERC20(token).transfer() will fail for some tokens as they may not conform to the standard IERC20 interface like USDT.

Impact

Contract doesn't work correctly with some tokens.

Tools Used

Manual Review

Recommendations

Consider using OZ SafeERC20

Support

FAQs

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