getInputAmountBasedOnOutput
cause protocol to take too many tokens from users, resulting in lost fee`
The fucntion
getInputAmountBasedOnOutput` intended to calculate amount of tokens a user should deposit should deposit an amout of tokens of output token. This function is miscalculate the resulting amount. when calculating the fee, it scales the amount by 10_000 inseted of 1_000##Tools Foundry fuzz and 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.