The _initializeFeeTypes function sets various fee distributions in the Fee Collector contract. However, there is a misconfiguration in the feeTypes[6] (Buy/Sell Swap Tax) and feeTypes[7] (NFT Royalty Fees), where the fee percentages do not match the intended NatSpec documentation.
Expected vs. Actual Allocation for feeTypes[6] (Buy/Sell Swap Tax)
| Share Type | Expected (%) | Expected (BP) | Actual (%) | Actual (BP) |
|---|---|---|---|---|
| veRAACShare | 0.5% | 50 | 5.0% | 500 |
| burnShare | 0.5% | 50 | 5.0% | 500 |
| repairShare | 1.0% | 100 | 10.0% | 1000 |
| treasuryShare | 0% | 0 | 0% | 0 |
Expected vs. Actual Allocation for feeTypes[7] (NFT Royalty Fees)
| Share Type | Expected (%) | Expected (BP) | Actual (%) | Actual (BP) |
|---|---|---|---|---|
| veRAACShare | 0.5% | 50 | 5.0% | 500 |
| burnShare | 0.0% | 0 | 0.0% | 0 |
| repairShare | 1.0% | 100 | 10.0% | 1000 |
| treasuryShare | 0.5% | 50 | 5.0% | 500 |
The contract will overallocate fees to veRAAC holders, the burn mechanism, and repair fund in feeTypes[6] (Buy/Sell Swap Tax).
The contract will overallocate fees to veRAAC holders, the treasuryShare, and repair fund in feeTypes[7] (NFT Royalty Fees).
Incorrect fee distributions for Buy/Sell Swap Tax in _processDistributions
Incorrect fee distributions for NFT Royalty Fees in _processDistributions
Manual Review
Fix the Incorrect Fee Assignments in _initializeFeeTypes by adjusting feeTypes[6] and feeTypes[7] to match the documented NatSpec values.
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.