updateFeeType Validate fee shares total to 100% , however not all type fee shares is equal to 100%,eg: Buy/Sell Swap Tax (2% total) , NFT Royalty Fees (2% total)
From feeCollector updateFeeType we can see there is a validation ensure total fee shares is 100%(10000)
Note that from the default configure:
both Swap Tax and NFT Royalty Fees is 2%(2_000) , if owner want to modify fee from 2%->3% , above updateFeeType revert due to above check
dos
Foundry
Only need to check total fee not exceed the max
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.