Fee calculations should accurately compute the platform fee from sale amounts to ensure proper revenue collection.
The fee calculation uses integer division which can result in precision loss for small amounts, potentially causing the platform to lose fee revenue.
Likelihood:
Occurs for any bid amount less than 20 wei (since 5% of amounts < 20 results in 0)
Precision loss accumulates over many small transactions
Impact:
Loss of platform revenue from accumulated precision errors
Inconsistent fee collection across different bid amounts
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.