Incorrect distribution share configuration for Swap Tax (feeTypes[6]) in FeeCollector.sol. Shares do not sum to 100%, leading to misallocation of fees.
The feeTypes[6] configuration for Swap Tax fees defines distribution shares that sum to only 20% of the total collected fees, instead of the expected 100% (BASIS_POINTS). This means that 80% of the collected Swap Tax fees are unaccounted for in the current configuration and will not be distributed as intended.
Code Snippet:
The sum of veRAACShare, burnShare, repairShare, and treasuryShare for feeTypes[6] is 2000, not the expected BASIS_POINTS (10000).
Loss of Undistributed Fees: 80% of Swap Tax fees will not be allocated to any of the intended recipients (veRAAC holders, burn, repair fund, treasury).
Incorrect Fee Distribution: The intended distribution ratios for Swap Tax fees are not being correctly implemented.
Manual code review.
Correct the distribution shares for feeTypes[6] to ensure they sum up to BASIS_POINTS (10000). Review the intended distribution percentages for Swap Tax fees and update the veRAACShare, burnShare, repairShare, and treasuryShare values accordingly.
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.