Truncation of small fee values due to integer division, allowing micro-orders to avoid protocol fees entirely.
Normal behavior: All trades should pay a consistent 3% fee regardless of order size.
The specific issue: Integer division causes fees to round down to zero for small-value orders, creating a fee avoidance loophole.
Likelihood:
Occurs automatically for any order where (price × 3) < 100
Becomes systematic when attackers deliberately create micro-orders
Impact:
Protocol loses fee revenue on small trades
Creates unfair advantage for traders exploiting the loophole
Protocol Suffers Potential Revenue Leakage due to Precision Loss in Fee Calculation
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.