First Flight #18: T-Swap

First Flight #18
Beginner FriendlyDeFiFoundry
100 EXP
View results
Submission Details
Severity: medium
Valid

Fee on transfer tokens

Summary

Vulnerability Details

Some tokens charge a fee (usually from the sender) on every transfer, that fee is deducted and the remaining amount is sent to the receiver.

For example, if the pool transfers 100 tokens and the fee is 2%, the recipient receives 98 tokens, and 2 tokens are taken as a fee.

Impact

When a user withdraw or swap, the received amount may be less that the minimum amount specified in slippage protection amounts provided by the user.

Tools Used

Manual review

Recommendations

If a token has fee on transfer the pool should check the slippage amounts after calculating the fees.

Updates

Appeal created

inallhonesty Lead Judge 12 months ago
Submission Judgement Published
Validated
Assigned finding tags:

FoT

Support

FAQs

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