The user should be charged a 0.3% fee that goes to the LPs but in TSwapPool::getInputAmountBasedOnOutput the multiplier is 10'000 instead of 1'000 which leads to the user being overcharged 10x more.
This finding breaks the logic of the contract and makes it not work as intended. The user has to pay a significant amount more in fees.
Place the following into TSwapPool.t.sol.
Correct the multiplier in getInputAmountBasedOnOutput.
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.