UNPKG

@orca-so/whirlpools-sdk

Version:

Typescript SDK to interact with Orca's Whirlpool program.

13 lines (12 loc) 511 B
import type { Program } from "@coral-xyz/anchor"; import type { Instruction, PDA } from "@orca-so/common-sdk"; import type { PublicKey } from "@solana/web3.js"; import type { Whirlpool } from "../artifacts/whirlpool"; export type InitDynamicTickArrayParams = { whirlpool: PublicKey; tickArrayPda: PDA; startTick: number; funder: PublicKey; idempotent?: boolean; }; export declare function initDynamicTickArrayIx(program: Program<Whirlpool>, params: InitDynamicTickArrayParams): Instruction;