The auction system should calculate the minimum required bid increment by adding 5% to the previous bid amount with proper precision.
The bid increment calculation performs division before multiplication, causing precision loss due to Solidity's integer arithmetic truncation, which results in lower minimum bid requirements than intended.
Likelihood:
This precision loss occurs on every subsequent bid after the first bid in any auction.
The issue is more pronounced with smaller bid amounts where the truncation has a larger relative impact.
Happens automatically as part of the core bidding mechanism without any special conditions required.
Impact:
Protocol loses potential fee revenue from higher final sale amounts.
Sellers receive lower final sale prices due to insufficient bid increments driving up the price.
Perform multiplication before division to preserve precision:
Integer division in requiredAmount truncates fractions, allowing bids slightly lower than intended.
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.