You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An unchecked transferFrom() function is used in the transfer() function.
Tokens that do not follow the ERC20 standard (such as USDT) may return false in the case of a transfer failure, or they may not return any value at all.
This may lead to denial of service vulnerabilities when interacting with non-standard ERC20 tokens.
Path
./src/Funnel.sol: transfer()
Recommendation
Use the SafeERC20 library to interact with tokens safely.
Status
New
The text was updated successfully, but these errors were encountered:
An unchecked
transferFrom()
function is used in thetransfer()
function.Tokens that do not follow the ERC20 standard (such as USDT) may return false in the case of a transfer failure, or they may not return any value at all.
This may lead to denial of service vulnerabilities when interacting with non-standard ERC20 tokens.
Path
./src/Funnel.sol: transfer()
Recommendation
Use the SafeERC20 library to interact with tokens safely.
Status
New
The text was updated successfully, but these errors were encountered: