question about sqrtPriceLimitX96 #63
Unanswered
chrisyy2003
asked this question in
Milestone 0. Introduction
Replies: 1 comment
-
|
zeroForOne == true => price will go down => sqrtPriceLimitX96 must be <then slot0Start.sqrtPriceX96. All logical. What is question? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a question about
sqrtPriceLimitX96, that is, whenzeroforoneis true, the price moves to the right, and then throughsqrtPriceLimitX96to control whether to reach the upper limit, but why issqrtPriceLimitX96required to be less thanslot0Start.sqrtPriceX96at the beginning of swap, in my opinion,sqrtPriceLimitX96should be greater thanslot0Start.sqrtPriceX96is right, who can help me solve the problem, thanksBeta Was this translation helpful? Give feedback.
All reactions