UNPKG

@prism-hq/prism-ag

Version:

Prism Aggregator

21 lines (20 loc) 814 B
/// <reference types="node" /> /// <reference types="whirlpools-prism-sdk/node_modules/@solana/web3.js" /> import { Connection } from "@solana/web3.js"; import { PublicKey } from "@solana/web3.js"; export declare const ORACLE_ELEMENT_LAYOUT: any; export declare const ORACLE_LAYOUT: any; export declare const PAIR_LAYOUT: any; export declare function getGooseFxCacheData(connection: Connection): Promise<{ programAccounts: { publicKey: PublicKey; accountInfo: import("@solana/web3.js").AccountInfo<Buffer>; }[]; pairDatasParsed: any; wasm: typeof import("goosefx-ssl-sdk-prism/dist/wasm/gfx_ssl_wasm"); } | { programAccounts?: undefined; pairDatasParsed?: undefined; wasm?: undefined; }>; export declare function getGooseFxPools(connection: Connection, data: any): any;