UNPKG

kamino-sdk-beta

Version:

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

24 lines 784 B
import { TransactionInstruction, PublicKey } from "@solana/web3.js"; import BN from "bn.js"; export interface CreatePoolArgs { sqrtPriceX64: BN; openTime: BN; } export interface CreatePoolAccounts { poolCreator: PublicKey; ammConfig: PublicKey; poolState: PublicKey; tokenMint0: PublicKey; tokenMint1: PublicKey; tokenVault0: PublicKey; tokenVault1: PublicKey; observationState: PublicKey; tickArrayBitmap: PublicKey; tokenProgram0: PublicKey; tokenProgram1: PublicKey; systemProgram: PublicKey; rent: PublicKey; } export declare const layout: any; export declare function createPool(args: CreatePoolArgs, accounts: CreatePoolAccounts, programId?: PublicKey): TransactionInstruction; //# sourceMappingURL=createPool.d.ts.map