@sentio/truffle-fetch-and-compile
Version:
Used to obtain external verified sources and compile them
15 lines (14 loc) • 682 B
TypeScript
import type { Recognizer, FailureType, FetchAndCompileResult, FetchAndCompileMultipleResult } from "./types";
export declare class MultipleRecognizer implements Recognizer {
private unrecognizedAddresses;
private addressesToSkip;
private results;
private failureLog;
constructor(addresses: string[]);
getResults(): FetchAndCompileMultipleResult;
isAddressUnrecognized(address: string): boolean;
getAnUnrecognizedAddress(): string | undefined;
markUnrecognizable(address: string, reason?: FailureType, error?: Error): void;
markBadFetcher(_fetcherName: string): void;
addCompiledInfo(info: FetchAndCompileResult, address: string): void;
}