To calculate a liquidity-weighted block starting price across multiple fee tiers, block-starting liquidity is also needed. Given a helper function getBlockStartingTick already does most of the leg work, it makes sense to give this function a second return parameter and additionally return the block-starting liquidity
To calculate a liquidity-weighted block starting price across multiple fee tiers, block-starting liquidity is also needed. Given a helper function
getBlockStartingTick
already does most of the leg work, it makes sense to give this function a second return parameter and additionally return the block-starting liquidity