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

11 lines • 759 B
import type { HardhatRuntimeEnvironment } from 'hardhat/types/hre'; import type { NetworkConnection } from 'hardhat/types/network'; import type { ContractFactory } from 'ethers'; import { DeployProxyOptions } from './utils/index.js'; import { ContractTypeOfFactory } from './type-extensions.js'; export interface DeployFunction { <F extends ContractFactory>(ImplFactory: F, args?: unknown[], opts?: DeployProxyOptions): Promise<ContractTypeOfFactory<F>>; <F extends ContractFactory>(ImplFactory: F, opts?: DeployProxyOptions): Promise<ContractTypeOfFactory<F>>; } export declare function makeDeployProxy(hre: HardhatRuntimeEnvironment, defenderModule: boolean, connection: NetworkConnection): DeployFunction; //# sourceMappingURL=deploy-proxy.d.ts.map