// Package uniswap provides mathematical functions for Uniswap V3 calculations. package uniswap import "math/big" // SqrtPriceX96ToPriceOptimizedCached provides the same functionality as SqrtPriceX96ToPriceAdvanced // This alias is maintained for API compatibility with existing code that might reference this function func SqrtPriceX96ToPriceOptimizedCached(sqrtPriceX96 *big.Int) *big.Float { return SqrtPriceX96ToPriceAdvanced(sqrtPriceX96) } // PriceToSqrtPriceX96OptimizedCached provides the same functionality as PriceToSqrtPriceX96Advanced // This alias is maintained for API compatibility with existing code that might reference this function func PriceToSqrtPriceX96OptimizedCached(price *big.Float) *big.Int { return PriceToSqrtPriceX96Advanced(price) } // TickToSqrtPriceX96OptimizedCached provides the same functionality as TickToSqrtPriceX96Advanced // This alias is maintained for API compatibility with existing code that might reference this function func TickToSqrtPriceX96OptimizedCached(tick int) *big.Int { return TickToSqrtPriceX96Advanced(tick) } // SqrtPriceX96ToTickOptimizedCached provides the same functionality as SqrtPriceX96ToTickAdvanced // This alias is maintained for API compatibility with existing code that might reference this function func SqrtPriceX96ToTickOptimizedCached(sqrtPriceX96 *big.Int) int { return SqrtPriceX96ToTickAdvanced(sqrtPriceX96) }