Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tickLower tickUpper do not exist in underlying pool #31

Open
ticruz38 opened this issue Jul 6, 2021 · 0 comments
Open

tickLower tickUpper do not exist in underlying pool #31

ticruz38 opened this issue Jul 6, 2021 · 0 comments

Comments

@ticruz38
Copy link

ticruz38 commented Jul 6, 2021

I want to know which range my position apply in an underlying pool, I get the tickLower and tickUpper returned by my position and try to look after them in the underlying pool, but they seems to be out of range.

Here is my query

positions(where: $where) {
    id
    owner
    tickLower
    tickUpper
    pool {
      ticks(orderBy: tickIdx) {
        tickIdx
      }
    }

Here tickLower Idx do not exist in the list of ticks for the underlying pool, in my case the idX is too high... Is it an expected behaviour, how could that happen?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant