QuantAMM

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

`hookAdjustedAmountsOutRaw = amountsOutRaw;` не имеет логического значения

Vulnerability Details

In the UpliftOnlyExample.onAfterRemoveLiquidity hookAdjustedAmountsOutRaw = amountsOutRaw; in line 463 has no logical meaning since it is not applied anywhere until the second initialization in line 516
hookAdjustedAmountsOutRaw=localData.amountsOutRaw

Impact

inefficient use of gas

Tools Used

Manual

Recommendations

Delete initialization on line 463

Updates

Lead Judging Commences

n0kto Lead Judge 10 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

Informational or Gas / Admin is trusted / Pool creation is trusted / User mistake / Suppositions

Please read the CodeHawks documentation to know which submissions are valid. If you disagree, provide a coded PoC and explain the real likelyhood and the detailed impact on the mainnet without any supposition (if, it could, etc) to prove your point.

Support

FAQs

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

Give us feedback!