setQuantAMMUpliftFeeTake incorrect implementation
UpdateWeightRunner::setQuantAMMUpliftFeeTake is intended to modify the fee related to gains earned by users between deposit and withdrawal. However, it is improperly implemented.
It is evident that the function assigns the value to quantAMMSwapFeeTake, which is a fee for swaps, rather than the intended quantAMMUpliftFeeTake. Furthermore, the getQuantAMMUpliftFeeTake function is also incorrect, and quantAMMUpliftFeeTake does not exist in storage.
Miscalculated fees.
Manual Review
Add a new storage slot for the correct fee.
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.