20,000 USDC
View results
Submission Details
Severity: medium

USDT interface incompatibility

Summary

The protocol is incompatible with tokens which do not return bool on transfers, such as USDT and BNB

Vulnerability Details

The protocol uses IERC20 interface which expects transfers to return a bool value. However, some tokens such as USDT and BNB do not return such value, making all transactions including such tokens to revert.

Note: this is different issue from use of transfer instead of safeTransfer. The problem here doesn't arise from using of transfer, rather than the usage of the interface.

Impact

Incompatibility with USDT-like tokens

Tools Used

Manual review

Recommendations

Either do not use the interface or use safeTransfer

Support

FAQs

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

Give us feedback!