@openzeppelin/hardhat-upgrades
Version:
[](https://docs.openzeppelin.com/upgrades-plugins/hardhat-upgrades) [](https://www.npmjs.org/package/@openzeppelin/h
7 lines • 619 B
TypeScript
import { HardhatRuntimeEnvironment } from 'hardhat/types/hre';
import type { NetworkConnection } from 'hardhat/types/network';
import type { ContractFactory, Contract } from 'ethers';
import { ContractAddressOrInstance, UpgradeBeaconOptions } from './utils/index.js';
export type UpgradeBeaconFunction = (beacon: ContractAddressOrInstance, ImplFactory: ContractFactory, opts?: UpgradeBeaconOptions) => Promise<Contract>;
export declare function makeUpgradeBeacon(hre: HardhatRuntimeEnvironment, defenderModule: boolean, connection: NetworkConnection): UpgradeBeaconFunction;
//# sourceMappingURL=upgrade-beacon.d.ts.map