import { Address } from '../../types'; export type DexKey = { token0: Address; token1: Address; salt: string; }; export type PoolState = { dexVariables: bigint; centerPriceShift: bigint; rangeShift: bigint; thresholdShift: bigint; lastInteractionTimestamp: bigint; }; export type UnpackedDexVariables = { fee: bigint; revenueCut: bigint; rebalancingStatus: bigint; centerPriceShiftActive: boolean; centerPrice: bigint; centerPriceContractAddress: bigint; rangePercentShiftActive: boolean; upperPercent: bigint; lowerPercent: bigint; thresholdPercentShiftActive: boolean; upperShiftThresholdPercent: bigint; lowerShiftThresholdPercent: bigint; token0Decimals: bigint; token1Decimals: bigint; token0TotalSupplyAdjusted: bigint; token1TotalSupplyAdjusted: bigint; }; export type FluidDexLiteData = { exchange: Address; dexKey: DexKey; swap0To1: boolean; }; export type PoolParams = { dexId: string; dexKey: DexKey; }; export type DexParams = { dexLiteAddress: Address; }; export interface SwapResult { amountOut: bigint; amountIn: bigint; } export interface PricingResult { centerPrice: bigint; upperRangePrice: bigint; lowerRangePrice: bigint; token0ImaginaryReserves: bigint; token1ImaginaryReserves: bigint; }