The _beforeSwap function has an incorrect calculation of the feeAmount, because the Uniswap V4 uses the basis points system:
1_000_000: 100%
100_000: 10%
10_000: 1%
1_000: 0,1%
100: 0,01%
Where the number that represents 100% is 1_000_000, but the code is using the 100_000 value.
With the wrong calculation of feeAmount, the value emitted will be wrong, and they will be emitting false data.
Line 166:
Change 100000 (10%) to 1_000_000 (100%):
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.