In the FeeCollector Fee types initializer, distribution percentages are set. Amounts are established according to the different protocol rules. However, fee percentages for buy and sell operations as well as NFT royalties are not consistent with the indicated in the documentation, resulting in incorrect protocol fee calculation and distribution.
FeeCollector is the core contract for handling all protocol fee operations. It performs important tasks regarding the fee collection from different protocol activities and the time-weighted reward distribution to veRAAC holders.
Percentage fee amounts are established in the FeeCollector::_initializeFeeTypes, according to the different protocol rules and are expressed with two decimals of precision. However, fee percentages for buy and sell operations as well as NFT royalties are not consistent with the ones indicated in the documentation, resulting in incorrect fee calculation and distribution.
Impact: Medium
Likelihood: High
Manual Review
Use the correct percentage amounts taking into account the 2 decimal precision to maintain the system consistency.
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.