#Offline
Functions marked with Offline, grouped from the generated Determica catalog for fast scanning across related workflows.
- clmm_amount0_delta_x96 Computes the Uniswap v4 SqrtPriceMath currency0 delta between two Q64.96 boundaries. Determica requires non-zero uint128 liquidity; arithmetic is deterministic and NULL propagates.Scalar · Fixed-point and AMM math
- clmm_amount1_delta_x96 Computes the Uniswap v4 SqrtPriceMath currency1 delta between two Q64.96 boundaries. Determica requires non-zero uint128 liquidity; arithmetic is deterministic and NULL propagates.Scalar · Fixed-point and AMM math
- clmm_bitmap_next_initialized_tick Scans exactly one Uniswap v4-style compressed tick bitmap word. Compression rounds negative non-multiples toward negative infinity. It is deterministic, propagates NULL, and does not fetch adjacent words.Scalar · Fixed-point and AMM math
- clmm_next_sqrt_price_from_input_x96 Computes the Uniswap v4 SqrtPriceMath next Q64.96 price for exact input. It is deterministic and propagates NULL.Scalar · Fixed-point and AMM math
- clmm_next_sqrt_price_from_output_x96 Computes the Uniswap v4 SqrtPriceMath next Q64.96 price for exact output. It is deterministic and propagates NULL.Scalar · Fixed-point and AMM math
- clmm_sqrt_price_x96_to_tick Inverts a Q64.96 sqrt(currency1/currency0) using Uniswap v4 TickMath floor semantics. It is deterministic and propagates NULL.Scalar · Fixed-point and AMM math
- clmm_swap_step_x96 Computes one Uniswap v4 SwapMath-compatible price-range step. Negative amount_remaining means exact input; non-negative means exact output. Direction is inferred from current versus target. Hooks, dynamic fee resolution, tick-crossing liquidity changes, multi-word iteration, slippage, routing, and calldata are outside this deterministic helper. The five-argument overload uses Uniswap v4's 1,000,000 fee denominator.Scalar · Fixed-point and AMM math
- clmm_tick_to_sqrt_price_x96 Converts a Uniswap-compatible tick to Q64.96 sqrt(currency1/currency0) with TickMath's bit-decomposed constants and final upward rounding. It is deterministic and propagates NULL.Scalar · Fixed-point and AMM math
- evm_abi_word Encodes a supported scalar as exactly one 32-byte Solidity ABI word. Addresses and unsigned integers are left-padded; signed integers are sign-extended.Scalar · Contracts and ABI
- fixed_div Computes fixed-point division as x * scale / y with a full 512-bit intermediate product. The caller owns the units and scale: this function does not require decimal, WAD, or Q-format inputs. It is pure and deterministic despite remaining registered VOLATILE for compatibility. NULL input propagates to NULL. A zero y or a rounded quotient above UINT256 raises an error.Scalar · Fixed-point and AMM math
- fixed_mul Computes fixed-point multiplication as x * y / scale with a full 512-bit intermediate product. The caller owns the units and scale: this function does not require decimal, WAD, or Q-format inputs. It is pure and deterministic despite remaining registered VOLATILE for compatibility. NULL input propagates to NULL. A zero scale or a rounded quotient above UINT256 raises an error.Scalar · Fixed-point and AMM math