UNPKG

@orca-so/whirlpools-sdk

Version:

Typescript SDK to interact with Orca's Whirlpool program.

12 lines (11 loc) 546 B
import type { Program } from "@coral-xyz/anchor"; import type { Instruction } from "@orca-so/common-sdk"; import type { PublicKey } from "@solana/web3.js"; import type { Whirlpool } from "../artifacts/whirlpool"; import type { ConfigFeatureFlagData } from "../types/public"; export type SetConfigFeatureFlagParams = { whirlpoolsConfig: PublicKey; authority: PublicKey; featureFlag: ConfigFeatureFlagData; }; export declare function setConfigFeatureFlagIx(program: Program<Whirlpool>, params: SetConfigFeatureFlagParams): Instruction;