@orca-so/whirlpool-sdk
Version:
Whirlpool SDK for the Orca protocol.
11 lines (10 loc) • 516 B
TypeScript
import { WhirlpoolRewardInfoData } from "@orca-so/whirlpool-client-sdk";
import { Address } from "@project-serum/anchor";
import { Percentage } from "../../utils/public/percentage";
export declare class PoolUtil {
private constructor();
static isRewardInitialized(rewardInfo: WhirlpoolRewardInfoData): boolean;
static getFeeRate(feeRate: number): Percentage;
static getProtocolFeeRate(protocolFeeRate: number): Percentage;
static orderMints(mintX: Address, mintY: Address): [Address, Address];
}