@nbouvier/hardhat-configs-proxy
Version:
Contract addresses managment for Hardhat project
13 lines • 626 B
TypeScript
import type { HardhatRuntimeEnvironment } from 'hardhat/types';
import type { Contract } from 'ethers';
export declare class ProxyDeploymentException extends Error {
constructor(name: string, error: any);
}
export interface DeployProxyFunction {
(name: string): Promise<Contract>;
(name: string, args: any[]): Promise<Contract>;
(name: string, artifactName: string): Promise<Contract>;
(name: string, args: any[], artifactName: string): Promise<Contract>;
}
export declare function makeDeployProxy(hre: HardhatRuntimeEnvironment): DeployProxyFunction;
//# sourceMappingURL=deploy-proxy.d.ts.map