UNPKG

@orca-so/whirlpools-sdk

Version:

Typescript SDK to interact with Orca's Whirlpool program.

15 lines (14 loc) 571 B
import type { Program } from "@coral-xyz/anchor"; import type { PDA } from "@orca-so/common-sdk"; import type { PublicKey } from "@solana/web3.js"; import type { Whirlpool } from "../artifacts/whirlpool"; import type { Instruction } from "@orca-so/common-sdk"; export type InitFeeTierParams = { whirlpoolsConfig: PublicKey; feeTierPda: PDA; tickSpacing: number; defaultFeeRate: number; feeAuthority: PublicKey; funder: PublicKey; }; export declare function initializeFeeTierIx(program: Program<Whirlpool>, params: InitFeeTierParams): Instruction;