UNPKG

@sentio/truffle-fetch-and-compile

Version:
16 lines (15 loc) 648 B
import type { Recognizer, FailureType, FetchAndCompileResult } from "./types"; export declare class SingleRecognizer implements Recognizer { private address; private recognized; private fetchedVia; private compileResult; private sourceInfo; constructor(address: string); getResult(): FetchAndCompileResult; isAddressUnrecognized(address: string): boolean; getAnUnrecognizedAddress(): string | undefined; markUnrecognizable(address: string, reason?: FailureType, error?: Error): never; markBadFetcher(_fetcherName: string): void; addCompiledInfo(info: FetchAndCompileResult, address: string): void; }