UNPKG

eamutils

Version:

Some reusable functions in some projects

6 lines (5 loc) 389 B
declare const IProvider: any; export declare const getContract: (provider: typeof IProvider, addr: string) => any; export declare const getPriceUsingPath: (prov: typeof IProvider, path: string[], amount?: number | string) => Promise<any>; export declare const getPrice: (prov: typeof IProvider, fromAddress: string, toAddress: string, amount?: number | string) => Promise<any>; export {};