QuantAMM

QuantAMM
49,600 OP
View results
Submission Details
Severity: medium
Invalid

Loss of Swap fee

Summary

Fee is not taken from the user when they swap the tokens. In the UpdateWeightRunner.sol quantAMMSwapFeeTake is set so that when the user do swaps it will deduct the fees. As in the onSwap() function in the QuantAmmWeightedPool.sol swap fees is not taken.

Vulnerability Details

Impact

Loss of swap fee

Tools Used

Manual Review

Recommendations

  1. Call the getQuantAMMSwapFeeTake in UpdateWeightRunner

  2. Apply a swap fee on the trade.

Updates

Lead Judging Commences

n0kto Lead Judge 10 months ago
Submission Judgement Published
Invalidated
Reason: Lack of quality

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.