Description:
The constants LOW_FEE_THRESHOLD and MID_FEE_THRESHOLD are set as:
The comments use European decimal notation (period as thousands separator), suggesting the intended thresholds were 1 USDC and 10 USDC, but the actual values are 1,000 USDC and 10,000 USDC. This means a sale priced at 5 USDC (which should be in the mid tier at 3%) is charged only the low tier fee of 1%, and a sale at 5,000 USDC (which should be high tier at 5%) is charged only 3%.
Impact: The protocol systematically collects lower fees than intended across the entire price range, resulting in significant revenue loss for the protocol owner.
Recommended Mitigation: Clarify the intended thresholds with the protocol team and update the constants and comments to be consistent:
Proof of Concept (Forge):
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.
The contest is complete and the rewards are being distributed.