feeTypes[6]
and feeTypes[7]
, for Buy/Sell Swap Tax and NFT Royalty Fees are 2% but they take 20%
FeeCollector.sol::_initializeFeeTypes()
: https://github.com/Cyfrin/2025-02-raac/blob/main/contracts/core/collectors/FeeCollector.sol#L330
the Percentage calculation represented by BASIS_POINTS
= 10000 which is 100%
https://github.com/Cyfrin/2025-02-raac/blob/main/contracts/core/collectors/FeeCollector.sol#L91
so 10000 = 100% and 1000 = 10% and 100 = 1% and 10 = 0.1%
but here 1000 represented by 1% and 500 by 0,5% which is false
it takes 10x more fees
Manual Review
remove the wrong numbers and write the correct one
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.