QuantAMM

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

Precision Loss in fee calculation of function `onAfterSwap` causes overcharging of QuantAMM admin fees

Updates

Lead Judging Commences

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

finding_onAfterSwap_adminFee_overestimated_solidity_rounding_down

Likelyhood: High, quantAMMFeeTake is a percentage on calculated fees. Being between 30-70% is very likely. Impact: High, fees for LP providers will be lower than expected and 0 if the admin fees is above 50%.

Support

FAQs

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

Cyfrin
Updraft
CodeHawks
Solodit
Resources