QuantAMM

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

localData.lpTokenDepositValueChange logic can cause an underflow in uplift fee calculation

Updates

Lead Judging Commences

n0kto Lead Judge about 1 month ago
Submission Judgement Published
Validated
Assigned finding tags:

finding_onAfterRemoveLiquidity_feePerLP_no_max_can_reach_100%

Likelihood: Low, will happen only if benefits are huge. (x50 to take 100%, x25 to take 50%). Impact: feePerLP will indefinitely increase, taking users profits and finaly DoS the function.

Support

FAQs

Can’t find an answer? Join our Discord or follow us on Twitter.

Cyfrin
Updraft
CodeHawks
Solodit
Resources