UNPKG

@kamino-finance/kliquidity-sdk

Version:

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

25 lines 998 B
import { Address, IAccountMeta, IInstruction, TransactionSigner } from "@solana/kit"; import BN from "bn.js"; export interface InitializePoolV2Args { tickSpacing: number; initialSqrtPrice: BN; } export interface InitializePoolV2Accounts { whirlpoolsConfig: Address; tokenMintA: Address; tokenMintB: Address; tokenBadgeA: Address; tokenBadgeB: Address; funder: TransactionSigner; whirlpool: Address; tokenVaultA: TransactionSigner; tokenVaultB: TransactionSigner; feeTier: Address; tokenProgramA: Address; tokenProgramB: Address; systemProgram: Address; rent: Address; } export declare const layout: import("buffer-layout").Layout<unknown>; export declare function initializePoolV2(args: InitializePoolV2Args, accounts: InitializePoolV2Accounts, programAddress?: Address): IInstruction<string, readonly (IAccountMeta<string> | import("@solana/kit").IAccountLookupMeta<string, string>)[]>; //# sourceMappingURL=initializePoolV2.d.ts.map