Interface EstimateLpTokensParams

Parameters for estimating LP tokens

interface EstimateLpTokensParams {
    vault: `0x${string}`;
    originalAssets: bigint;
    swapAmount: bigint;
    swapResult: SwapSimulationResponse;
    isToken0: boolean;
}

Properties

vault: `0x${string}`

Address of the vault

originalAssets: bigint

Original deposit amount

swapAmount: bigint

Amount that was swapped internally

Tokens received from the swap (amount0 and amount1)

isToken0: boolean

true if original deposit was token0, false if token1