UNPKG

@symmetry-hq/baskets-v2-sdk

Version:

Symmetry Baskets V2 SDK

11 lines (10 loc) 452 B
import { Program } from "@coral-xyz/anchor"; import { PublicKey, TransactionInstruction } from "@solana/web3.js"; import { BasketsProgram } from "../../idl/types"; import { WithdrawState } from "../../state/withdrawState"; export declare function sellWithdrawBeforeRebalanceIx(params: { program: Program<BasketsProgram>; withdrawStateData: WithdrawState; payer: PublicKey; fromTokenMint: PublicKey; }): Promise<TransactionInstruction>;