UNPKG

@kamino-finance/kliquidity-sdk

Version:

Typescript SDK for interacting with the Kamino Liquidity (kliquidity) protocol

26 lines 956 B
import { Address, IInstruction, Option, TransactionSigner } from "@solana/kit"; import * as types from "../types"; export interface RemoveLiquidityArgs { binLiquidityRemoval: Array<types.BinLiquidityReductionFields>; } export interface RemoveLiquidityAccounts { position: Address; lbPair: Address; binArrayBitmapExtension: Option<Address>; userTokenX: Address; userTokenY: Address; reserveX: Address; reserveY: Address; tokenXMint: Address; tokenYMint: Address; binArrayLower: Address; binArrayUpper: Address; sender: TransactionSigner; tokenXProgram: Address; tokenYProgram: Address; eventAuthority: Address; program: Address; } export declare const layout: import("buffer-layout").Layout<unknown>; export declare function removeLiquidity(args: RemoveLiquidityArgs, accounts: RemoveLiquidityAccounts, programAddress?: Address): IInstruction; //# sourceMappingURL=removeLiquidity.d.ts.map