UNPKG

@sentio/truffle-fetch-and-compile

Version:
17 lines (16 loc) 1.16 kB
import type Config from "@truffle/config"; import { fetchAndCompileForRecognizer } from "./fetch"; import type * as Types from "./types"; export { fetchAndCompileForRecognizer }; export declare function fetchAndCompile(address: string, options: Types.FetchAndCompileOptions | Config, optimizerOverride?: Types.Optimizer): Promise<Types.FetchAndCompileResult>; /** * warning: while this function deduplicates inputs, * it does *not* make any further effort to avoid redundant * fetches (e.g. if multiple addresses share the same source), * unlike fetchAndCompileForDebugger */ export declare function fetchAndCompileMultiple(addresses: string[], options: Types.FetchAndCompileOptions | Config, optimizerOverride?: Types.Optimizer): Promise<Types.FetchAndCompileMultipleResult>; export declare function fetchAndCompileForDebugger(bugger: any, //sorry; this should be a debugger object options: Types.FetchAndCompileOptions | Config): Promise<Types.FetchExternalErrors>; export declare function getSupportedNetworks(optionsOrFetcherNames?: Types.FetchAndCompileOptions | Config | string[]): Types.SupportedNetworks; export { Optimizer } from "./types";