@openzeppelin/hardhat-upgrades
Version:
[](https://docs.openzeppelin.com/upgrades-plugins/hardhat-upgrades) [](https://www.npmjs.org/package/@openzeppelin/h
10 lines • 655 B
TypeScript
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