Normally buyOrder
takes a cut of the sale price as protocol fee then sends the rest to the seller.
The code uses integer division, dropping any remainder dust
Likelihood:
Sellers can pick any USDC price
Rounding loss happens on each fill.
Impact:
Protocol revenue shrinks by the sum of discarded dust across trades
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.