In some of the transfer
and transferFrom
functions it is not prevented to send 0
value and the transaction could potentially be reverted.
In spite of the fact that EIP-20 states that zero-valued transfers must be accepted, some tokens, such as LEND will revert if this is attempted, which may cause transactions that involve other tokens (such as batch operations) to fully revert.
Having the transaction unexpectedly reverted might cause issues.
None
Consider skipping the transfer if the amount is zero, which will also save gas.
Add a condition before each transfer to avoid sending 0
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.