First Flight #18: T-Swap

First Flight #18

First Flight #18: T-Swap

Beginner FriendlyDeFiFoundry
100 EXP
Submission Details
Severity: high
Valid

`TSwapPool::getInputAmpuntBasedOnOutput` uses incorrect scaling factor of `10000` causing user to be charged with higher fee

Updates

Appeal created

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

Incorrect fee calculation in TSwapPool::getInputAmountBasedOnOutput causes protocol to take too many tokens from users, resulting in lost fees

Support

FAQs

Can’t find an answer? Join our Discord or follow us on Twitter.

Cyfrin
Updraft
CodeHawks
Solodit
Resources