20,000 USDC
View results
Submission Details
Severity: low

Use safeTransferFrom and safeTransfer

Summary

ERC20 standard allows transferF function of some contracts to return bool or return nothing. However, Some tokens such as USDT return nothing.This could lead to funds stuck in the contract without possibility to retrieve them.

Recommendations

I recommended to use safeTransferFrom and safeTransfer in SafeERC20.sol.

Support

FAQs

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