Wrong Calculation of fee to be deducted in TSwapPool::getInputAmountBasedOnOutput, causing protocol to deduct more fees than it should
In TSwapPool::getInputAmountBasedOnOutput
function it calculates inputAmount
based on outputAmount,inputReserves, outputReserves and then when computing the fee it multiplies by a factor of 10000 instead 1000
The user gets more fees deducted from them than expected
Manual Review
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.