@solarity/hardhat-migrate
Version:
The simplest way to deploy smart contracts
22 lines • 812 B
TypeScript
declare class LinkerHelper {
constructor();
isBytecodeNeedsLinking(bytecode: string): boolean;
tryLinkBytecode(contractName: string, bytecode: string, libraries: any): Promise<string>;
private _mustGetNeededLibrary;
private _validateMatchedNeededLibraries;
private _findMissingLibraries;
private _validateLibrariesToLink;
private _cleanNeededLibraries;
/**
* The address of the linked library can be extracted like this: bytecode.slice(prefixLength + 2, suffixStart + 2)
*/
private _isLinkedLibrary;
private _linkBytecode;
private _getOrDeployLibrary;
private _mustGetContractArtifact;
private _mustGetLibraryArtifact;
private _getContractFromStorage;
}
export declare let Linker: LinkerHelper;
export {};
//# sourceMappingURL=Linker.d.ts.map