Interface SingleAssetDepositPreview

Comprehensive single-asset deposit preview

interface SingleAssetDepositPreview {
    swapAmount: bigint;
    currentSqrtPrice: bigint;
    sqrtPriceLimitX96: bigint;
    swapSimulation: SwapWithSlippageResponse;
    lpEstimation: LpTokenEstimationResponse;
    zeroForOne: boolean;
}

Properties

swapAmount: bigint

Amount to be swapped internally

currentSqrtPrice: bigint

Current sqrt price

sqrtPriceLimitX96: bigint

Slippage-adjusted limit price for swap

swapSimulation: SwapWithSlippageResponse

Simulated swap result

LP token estimation

zeroForOne: boolean

Whether the swap direction is token0 → token1