Wagyu pfp
Wagyu

@wagyu

question; looking at the poolManager.initialize() function. This takes in a sqrtRatioX96. Say I have the below supply of tokens (maybe from a presale) token0 = 20000000000000000000 token1 = 590000000000000000000 I want to set the sqrtPriceX96 to be the proportion of tokens i.e 1 token1 = 29.5 token0? (all onchain)
1 reply
0 recast
1 reaction