import { createDepositLiquidityInstruction } from "@exponent-labs/exponent-sdk/client/vaults";
import { PublicKey } from "@solana/web3.js";
const ix = createDepositLiquidityInstruction(
{
depositor: wallet.publicKey,
vault: vaultAddress,
exponentPrices: exponentPricesPda,
tokenSrc: depositorTokenAccount,
entryTokenVault: vaultEntryTokenAccount,
tokenLpDst: depositorLpTokenAccount,
mintLp: lpMintAddress,
tokenProgram: TOKEN_PROGRAM_ID,
eventAuthority: eventAuthorityPda,
program: EXPONENT_VAULTS_PROGRAM_ID,
},
{
mint: tokenMintAddress,
tokenAmountIn: BigInt(1_000_000),
minLpOut: BigInt(990_000),
}
);