The initializeFeeTypes
function in the FeeCollector
contract sets fee allocations in basis points (bps). However, both the Buy/Sell Swap Tax and NFT Royalty Fees exceed the intended total of 2%, violating the requirement that fee allocations must sum to 2% (200 bps).
The contract uses a 10000
bps system, where 100 bps = 1%
. Both fee configurations incorrectly sum to 2000 bps = 20%
instead of the required 200 bps = 2%
.
Overcharging Users: Users are charged 20% instead of the intended 2%.
Misallocation of Funds: Stakeholders receive incorrect fund distributions.
Protocol Compliance Risks: Failing to meet stated fee parameters can harm trust and regulatory adherence.
Manual code review and bps-to-percentage calculations.
Update the fee values to ensure they total 200 bps = 2%
:
This ensures compliance with the 2% total fee requirement.
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.