Due to an oversight in code there is no way to adjust uplift fee without changing swap fee.
Code excerpt from UpdateWeightRunner:
Both setQuantAMMSwapFeeTake and setQuantAMMUpliftFeeTake change the same value quantAMMSwapFeeTake. And both getters return the same quantAMMSwapFeeTake value.
No way to adjust uplift fee separately.
manual review.
Add a second value quantAMMUpliftFeeTake and replace quantAMMSwapFeeTake in setQuantAMMUpliftFeeTake and getQuantAMMUpliftFeeTake.
Likelyhood: High, calling setters or getters Impact: Low/Medium, both getters return `quantAMMSwapFeeTake` and `setQuantAMMUpliftFeeTake` modify `quantAMMUplfitFeeTake`. Real impact: those 2 values will be always the same.
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.