Summary
The FeeCollector contract contains a critical mismatch between its documented basis points standard and actual implementation in two fee types. This violates the contract's own validation checks and would prevent deployment.
The FeeCollector contract explicitly states it uses basis points for percentage calculations where 10000 = 100%. This is enforced by a validation check that requires all fee shares to sum to BASIS_POINTS
(10000). However, two fee types (Swap Tax and NFT Royalty) only sum to 2000 basis points (20%), violating this requirement.
Only 20% of collected fees would be distributed
80% of fees would remain stuck in contract
Incorrect reward distribution to stakeholders
The implementation appears to confuse:
The fee rate charged to users (2% for swap tax and royalties)
The internal distribution percentages of collected fees (should sum to 100%)
Correct the basis point calculations for Types 6 & 7:
Manual code review
Foundry testing framework
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.