UNPKG

@nomicfoundation/hardhat-verify

Version:
30 lines 879 B
type SourcifyVerificationStatus = "exact_match" | "match" | null; interface SourcifyContract { match: SourcifyVerificationStatus; creationMatch: SourcifyVerificationStatus; runtimeMatch: SourcifyVerificationStatus; chainId: string; address: string; verifiedAt?: string; matchId?: string; } export interface SourcifyErrorResponse { customCode: string; message: string; errorId: string; } export type SourcifyLookupResponse = SourcifyContract; export interface SourcifyVerificationResponse { verificationId: string; } export interface SourcifyVerificationStatusResponse { isJobCompleted: boolean; verificationId: string; jobStartTime: string; jobFinishTime?: string; compilationTime?: number; contract: SourcifyContract; error?: SourcifyErrorResponse; } export {}; //# sourceMappingURL=sourcify.types.d.ts.map