Calculate the next square root price
current_sqrt_price
current_liquidity
amount
specified_input
u128
Calculate the next square root price
Parameters
current_sqrt_price: The current square root pricecurrent_liquidity: The current liquidityamount: The amountspecified_input: Whether the input is specifiedReturns
u128: The next square root price