UNPKG

@matterlabs/hardhat-zksync-verify

Version:
16 lines 661 B
/// <reference types="node" /> interface MetadataDescription { solcVersion: string; metadataSectionSizeInBytes: number; } export declare const METADATA_LENGTH_SIZE = 2; export declare const METADATA_PRESENT_SOLC_NOT_FOUND_VERSION_RANGE = "0.4.7 - 0.5.8"; export declare const METADATA_ABSENT_VERSION_RANGE = "<0.4.7"; export declare function inferSolcVersion(bytecode: Buffer): MetadataDescription; export declare function decodeSolcMetadata(bytecode: Buffer): { decoded: any; metadataSectionSizeInBytes: number; }; export declare function getSolcMetadataSectionLength(bytecode: Buffer): number; export {}; //# sourceMappingURL=metadata.d.ts.map