UNPKG

@orca-so/whirlpool-sdk

Version:

Whirlpool SDK for the Orca protocol.

12 lines (11 loc) 422 B
import { PoolData } from "../../types"; import { TokenUSDPrices } from "../token-price"; export declare type EstimatedAprs = { fee: number; rewards: number[]; }; export declare const ZERO_APR: { fee: number; rewards: number[]; }; export declare function estimateAprsForPriceRange(pool: PoolData, tokenPrices: TokenUSDPrices, fees24h: number, tickLowerIndex: number, tickUpperIndex: number): EstimatedAprs;