UNPKG

@orca-so/whirlpools-sdk

Version:

Typescript SDK to interact with Orca's Whirlpool program.

15 lines (14 loc) 665 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 { TokenBadgeAttributeData } from "../../types/public"; export type SetTokenBadgeAttributeParams = { whirlpoolsConfig: PublicKey; whirlpoolsConfigExtension: PublicKey; tokenBadgeAuthority: PublicKey; tokenMint: PublicKey; tokenBadge: PublicKey; attribute: TokenBadgeAttributeData; }; export declare function setTokenBadgeAttributeIx(program: Program<Whirlpool>, params: SetTokenBadgeAttributeParams): Instruction;