UNPKG

@matterlabs/hardhat-zksync-verify

Version:
18 lines 1.24 kB
import { CompilerOutputBytecode, HardhatRuntimeEnvironment } from 'hardhat/types'; import { FormatedLibrariesForConfig, Libraries } from '../types'; import { BuildInfo, BytecodeExtractedData, ContractInformation, ContractName, SourceName } from './types'; export declare class Bytecode { private _bytecode; private _version; private _executableSection; private _metadataSection; constructor(bytecode: string); getInferredSolcVersion(): string; getExecutableSection(): string; hasMetadata(): boolean; } export declare function extractMatchingContractInformation(hre: HardhatRuntimeEnvironment, sourceName: SourceName, contractName: ContractName, buildInfo: BuildInfo, deployedBytecode: Bytecode, libraries: Libraries): Promise<ContractInformation | null>; export declare function resolveLibraries(hre: HardhatRuntimeEnvironment, libraries: Libraries): Promise<FormatedLibrariesForConfig>; export declare function compareBytecode(deployedBytecode: Bytecode, runtimeBytecodeSymbols: CompilerOutputBytecode): Promise<BytecodeExtractedData | null>; export declare function normalizeBytecode(bytecode: string, symbols: CompilerOutputBytecode): Promise<BytecodeExtractedData>; //# sourceMappingURL=bytecode.d.ts.map