ttxd-alpha
Version:
An SDK for building applications on top of V2,V3 and Solana exchanges
14 lines (13 loc) • 395 B
TypeScript
declare class ExchangeConfig {
private static instance;
private exchange;
private abis;
private constructor();
static getInstance(): ExchangeConfig;
setExchange(exchange: string): Promise<void>;
getABI(type: 'router' | 'pool'): any;
getExchange(): string | null;
private loadABI;
}
export declare const exchangeConfig: ExchangeConfig;
export {};