In the swap
function, a swap fee is calculated dynamically, but the hardcoded value 3000
is used in the params struct instead of the dynamically calculated fee. This results in a discrepancy between the expected and actual swap fees
Inaccurate swap fee calculations during the execution of the swap function.
Manual Analysis
Replace the hardcoded value 3000
in the params struct with the dynamically calculated swapFee
to ensure accurate fee representation.
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.