Open chocoford opened 8 months ago
@chocoford thank you for this. I will reach out to our DEX expert internally to get an understanding of the priority of this. But regardless of our timeline to getting to this, you are more than welcome to put up a PR to add this and we will support the review/deployment.
cc @steegecs
What do you think is missing? The price of token0/token1 derived from
tick
is inaccurate.Describe the solution you'd like Like Uniswap/v3-subgraph, provide
sqrtPrice
forLiquidityPool
so that we could get the prcise price of pool.The
sqrtPrice
is also the essential to calculate the amounts of token0 and token1.