FeeCollector's swap taxes and NFT royalties fee types are initialized with incorrect shares. This will lead to incorrect fee distribution.
In FeeCollector.__initializeFeeTypes, we have the following:
So the total share of swap tax rate and NFT royalties fee types are 2% respectively.
However, in order to correctly distribute fees, the total share should be 100%
This is enforced in FeeCollector.updateFeeType:
Colllected fees for swap tax rate and NFT royalties won't be distributed and stuck at FeeCollector
Total shares for these fee types should be 100% as well.
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.