QuantAMM

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

The `maxTradeSizeRatio` can be bypassed due to incorrect logic in `onSwap` function

Updates

Lead Judging Commences

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

finding_onSwap_exact_in_swap_check_input

Likelihood: Medium, any “exact_in” swap only if there is a price pike of one token. Impact: Medium, bypass the maxTradeSizeRatio check.

Support

FAQs

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

Cyfrin
Updraft
CodeHawks
Solodit
Resources