@openzeppelin/hardhat-upgrades
Version:
[](https://docs.openzeppelin.com/upgrades-plugins/hardhat-upgrades) [](https://www.npmjs.org/package/@openzeppelin/h
13 lines • 854 B
TypeScript
import type { ContractFactory } from 'ethers';
import type { HardhatRuntimeEnvironment } from 'hardhat/types/hre';
import type { NetworkConnection } from 'hardhat/types/network';
import { DeployData } from '../engine/deploy-impl.js';
import type { UpgradeOptions } from '../engine/options.js';
export type { DeployData } from '../engine/deploy-impl.js';
/**
* Ethers-flavored adapter over the engine's `getDeployData`, kept for the Defender deploy path
* (`src/defender/deploy.ts`) and `deployContract`, which derive the deployment's contract name,
* validations, and encoded constructor bytecode from an ethers `ContractFactory`.
*/
export declare function getDeployData(hre: HardhatRuntimeEnvironment, ImplFactory: ContractFactory, opts: UpgradeOptions, connection: NetworkConnection): Promise<DeployData>;
//# sourceMappingURL=deploy-impl.d.ts.map