Sell fee is calculated as: uint256 feeAmount = (swapAmount * sellFee) / 100000;. Uniswap v4 fees use 1e6 as the precision not 1e5. What this does is it increases the amount by 10 times than intended. Eg - Intended sellFee = 3000 (0.3%), Actual applied = 3% (10× too high).
Likelihood:
This miscalculation occurs for every cell swap. Every user selling ReFi will be systematically overcharged.
Impact:
Users are overcharged by 10 times decared fee
Strong incentive to avoid trading → broken markets
Users may consider this malicious or deceptive
High probability of economic loss for users
Potential legal or compliance issues depending on jurisdiction
Severe reputational damage to the protocol
Severe reputational damage to the protocol. here
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.