TSender

Cyfrin
DeFiFoundry
15,000 USDC
View results
Submission Details
Severity: medium
Invalid

contract will not work with fee-on-transfer tokens

Summary

contract will not work with fee-on-transfer tokens

Vulnerability Details

if the token is fee-on-transfer the airdropERC20 function will revert cuz the totalAmount will not be the same when send it back to recipient

Impact

DOS

Tools Used

Manually code review

Recommendations

A possible way to do it is to check the balance of the contract before and after every time a token is transferred to see the effective quantity.

Updates

Lead Judging Commences

inallhonesty Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Known issue

Support

FAQs

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