Integer division in percentage calculations causes precision loss, particularly with small ETH amounts, leading to minor fund discrepancies.
The contract uses integer division for percentage calculations without considering remainders, causing small amounts of ETH to be lost due to precision truncation.
Solidity integer division truncates decimals:
Minor Fund Loss: Small amounts of wei lost in each transaction
Cumulative Effect: Precision loss accumulates over many transactions
Accounting Inaccuracy: Total fees may not match expected percentages exactly
Recommended Mitigation
Consider using basis points (10000) instead of percentages (100) for better precision:
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.