pub fn uniswap_v3_sqrt_price_from_price(spot_price: f64) -> Uint256
Expand description

Encodes a given spot price as a Q64.96 sqrt price which Uniswap expects, used in limiting slippage See uniswap_sqrt_price_from_amounts for the general case