UNPKG

@openzeppelin/hardhat-upgrades

Version:

[![Docs](https://img.shields.io/badge/docs-%F0%9F%93%84-blue)](https://docs.openzeppelin.com/upgrades-plugins/hardhat-upgrades) [![NPM Package](https://img.shields.io/npm/v/@openzeppelin/hardhat-upgrades.svg)](https://www.npmjs.org/package/@openzeppelin/h

10 lines • 655 B
import type { ContractInfo, EngineBinding } from './binding.js'; import { DeployedImpl } from './deploy-impl.js'; import type { PrepareUpgradeOptions } from './options.js'; /** * Client-neutral orchestration of `prepareUpgrade` (and the implementation deployment used by * `prepareUpgrade`): deploys (or reuses) the new implementation for the given reference, inferring * the proxy/beacon kind from the reference's on-chain shape. */ export declare function deployImplForUpgrade(binding: EngineBinding, referenceAddress: string, implInfo: ContractInfo, opts: PrepareUpgradeOptions): Promise<DeployedImpl>; //# sourceMappingURL=prepare-upgrade.d.ts.map