The updateFeeType function in FeeCollector.sol is meant to update feeType percentages but this can't be done for Buy/Sell Swap Tax and NFT Royalty Fees feeTypes given that they are not meant to sum 100%.
The updateFeeType function includes the following validation.
Which checks that the new fee configuration adds up to exactly 100%. Given their initial configuration the last 2 feeTypes are meant sum a 2% total for each feeType, meaning that these 2 feeTypes are not upgradeable using this function.
2 feeTypes are not upgradeable.
Manual review.
Extend the functionality to check for feeTypes 6 and 7.
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.