kamino-sdk-beta
Version:
Typescript SDK for interacting with the Kamino Liquidity (kliquidity) protocol
27 lines • 939 B
TypeScript
import { TransactionInstruction, PublicKey } from "@solana/web3.js";
export interface RemoveLiquidityByRangeArgs {
fromBinId: number;
toBinId: number;
bpsToRemove: number;
}
export interface RemoveLiquidityByRangeAccounts {
position: PublicKey;
lbPair: PublicKey;
binArrayBitmapExtension: PublicKey;
userTokenX: PublicKey;
userTokenY: PublicKey;
reserveX: PublicKey;
reserveY: PublicKey;
tokenXMint: PublicKey;
tokenYMint: PublicKey;
binArrayLower: PublicKey;
binArrayUpper: PublicKey;
sender: PublicKey;
tokenXProgram: PublicKey;
tokenYProgram: PublicKey;
eventAuthority: PublicKey;
program: PublicKey;
}
export declare const layout: any;
export declare function removeLiquidityByRange(args: RemoveLiquidityByRangeArgs, accounts: RemoveLiquidityByRangeAccounts, programId?: PublicKey): TransactionInstruction;
//# sourceMappingURL=removeLiquidityByRange.d.ts.map