The feeAmount in ReFiSold event uses a 100,000 denominator while Uniswap V4 fees use 1,000,000 scale, causing the event to report 10x higher fees than actually charged.
Uniswap V4 fees are expressed in hundredths of a basis point (1e-6), so sellFee=3000 means 0.3%.
The event calculation uses /100000, interpreting the same value as 3%.
Likelihood:
Occurs on every sell transaction
All off-chain analytics, dashboards, and integrations will show incorrect fee data
Impact:
Misleading fee information to users and integrators
Potential regulatory/compliance issues from inaccurate reporting
User confusion about actual costs
Let suppose if user wants to sale 1000 tokens and the sale fee is 0.3%, then 3 tokens will be charged but in current logic it is charging 3% (30 tokens) 10x the actual fee
Use the correct denominator matching Uniswap V4's fee scale:
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.