@kamino-finance/kliquidity-sdk
Version:
Typescript SDK for interacting with the Kamino Liquidity (kliquidity) protocol
26 lines • 1.04 kB
TypeScript
import { Address, IAccountMeta, IInstruction, Option, TransactionSigner } from "@solana/kit";
import * as types from "../types";
export interface AddLiquidityArgs {
liquidityParameter: types.LiquidityParameterFields;
}
export interface AddLiquidityAccounts {
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 addLiquidity(args: AddLiquidityArgs, accounts: AddLiquidityAccounts, programAddress?: Address): IInstruction<string, readonly (IAccountMeta<string> | import("@solana/kit").IAccountLookupMeta<string, string>)[]>;
//# sourceMappingURL=addLiquidity.d.ts.map