@openzeppelin/hardhat-upgrades
Version:
[](https://docs.openzeppelin.com/upgrades-plugins/hardhat-upgrades) [](https://www.npmjs.org/package/@openzeppelin/h
11 lines • 931 B
TypeScript
import type { HardhatRuntimeEnvironment } from 'hardhat/types/hre';
import type { NetworkConnection } from 'hardhat/types/network';
import type { StringWithArtifactContractNamesAutocompletion } from 'hardhat/types/artifacts';
import type { ContractReturnType } from '@nomicfoundation/hardhat-viem/types';
import type { DeployProxyOptions } from './options.js';
export interface DeployProxyFunction {
<ContractName extends StringWithArtifactContractNamesAutocompletion>(contractName: ContractName, args?: unknown[], opts?: DeployProxyOptions): Promise<ContractReturnType<ContractName>>;
<ContractName extends StringWithArtifactContractNamesAutocompletion>(contractName: ContractName, opts?: DeployProxyOptions): Promise<ContractReturnType<ContractName>>;
}
export declare function makeDeployProxy(hre: HardhatRuntimeEnvironment, connection: NetworkConnection): DeployProxyFunction;
//# sourceMappingURL=deploy-proxy.d.ts.map