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
-
I have a question about
sqrtPriceLimitX96
, that is, whenzeroforone
is true, the price moves to the right, and then throughsqrtPriceLimitX96
to control whether to reach the upper limit, but why issqrtPriceLimitX96
required to be less thanslot0Start.sqrtPriceX96
at the beginning of swap, in my opinion,sqrtPriceLimitX96
should be greater thanslot0Start.sqrtPriceX96
is right, who can help me solve the problem, thanksBeta Was this translation helpful? Give feedback.
All reactions