MorpheusAI

MorpheusAI
Foundry
22,500 USDC
View results
Submission Details
Severity: low
Invalid

Some tokens may revert when zero value transfers are made

Summary

Some tokens may revert when zero value transfers are made

Vulnerability Details

In spite of the fact that EIP-20 states (https://github.com/ethereum/EIPs/blob/46b9b698815abbfa628cd1097311deee77dd45c5/EIPS/eip-20.md?plain=1#L116) that zero-valued transfers must be accepted, some tokens, such as LEND will revert if this is attempted.

Impact

This may cause transactions that involve other tokens (such as batch operations) to fully revert.

Tools Used

Manual Review

Recommendations

Consider skipping the transfer if the amount is zero, which will also save gas.

Updates

Lead Judging Commences

inallhonesty Lead Judge over 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.