import { createExecuteWithdrawalInstruction } from "@exponent-labs/exponent-sdk/client/vaults";
import { PublicKey } from "@solana/web3.js";
const ix = createExecuteWithdrawalInstruction(
{
vault: vaultAddress,
exponentPrices: exponentPricesPda,
owner: wallet.publicKey,
withdrawalAccount: withdrawalAccountAddress,
tokenLpEscrow: vaultLpEscrowAccount,
feeTreasury: feeTreasuryAddress,
mintLp: lpMintAddress,
tokenProgram: TOKEN_PROGRAM_ID,
systemProgram: SYSTEM_PROGRAM_ID,
rent: SYSVAR_RENT_PUBKEY,
},
{
tokenTransferAccountsUntil: 2,
}
);