UNPKG

@orca-so/whirlpool-sdk

Version:

Whirlpool SDK for the Orca protocol.

6 lines (5 loc) 480 B
import { Address } from "@project-serum/anchor"; import { PoolData, UserPositionData } from "../types"; import { WhirlpoolContext } from "../context"; export declare function convertWhirlpoolDataToPoolData(ctx: WhirlpoolContext, poolAddresses: Address[], refresh: boolean): Promise<Record<string, PoolData>>; export declare function convertPositionDataToUserPositionData(ctx: WhirlpoolContext, walletAddress: Address, refresh: boolean): Promise<Record<string, UserPositionData>>;