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

13 lines • 854 B
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