UNPKG

@kamino-finance/kliquidity-sdk

Version:

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

27 lines 1.08 kB
import { Address, IAccountMeta, IInstruction, Option, TransactionSigner } from "@solana/kit"; export interface RemoveLiquidityByRangeArgs { fromBinId: number; toBinId: number; bpsToRemove: number; } export interface RemoveLiquidityByRangeAccounts { 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 removeLiquidityByRange(args: RemoveLiquidityByRangeArgs, accounts: RemoveLiquidityByRangeAccounts, programAddress?: Address): IInstruction<string, readonly (IAccountMeta<string> | import("@solana/kit").IAccountLookupMeta<string, string>)[]>; //# sourceMappingURL=removeLiquidityByRange.d.ts.map