- addLiquidity(__namedParameters): Promise<{
transaction: undefined | Transaction;
result: {
currencyA: CurrencyFlow;
currencyB: CurrencyFlow;
lpCurrency: Currency6909Flow;
};
}> Parameters
- __namedParameters: {
chainId: CHAIN_IDS;
userAddress: `0x${string}`;
token0: `0x${string}`;
token1: `0x${string}`;
salt: `0x${string}`;
amount0?: string;
amount1?: string;
options?: {
slippage?: number;
disableSwap?: boolean;
token0PermitParams?: ERC20PermitParam;
token1PermitParams?: ERC20PermitParam;
testnetPrice?: number;
useSubgraph?: boolean;
} & DefaultOptions & {
gasLimit?: bigint;
gasPriceLimit?: bigint;
};
}userAddress: `0x${string}`
token0: `0x${string}`
token1: `0x${string}`
salt: `0x${string}`
Optional
amount0?: string
Optional
amount1?: string
Optional
options?: {
slippage?: number;
disableSwap?: boolean;
token0PermitParams?: ERC20PermitParam;
token1PermitParams?: ERC20PermitParam;
testnetPrice?: number;
useSubgraph?: boolean;
} & DefaultOptions & {
gasLimit?: bigint;
gasPriceLimit?: bigint;
}