@openzeppelin/hardhat-upgrades
Version:
[](https://docs.openzeppelin.com/upgrades-plugins/hardhat-upgrades) [](https://www.npmjs.org/package/@openzeppelin/h
9 lines • 783 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 { UpgradeBeaconOptions } from './options.js';
import { UpgradeableBeaconContract } from './upgradeable-beacon.js';
import { ContractAddressOrInstance } from './utils.js';
export type UpgradeBeaconFunction = (beacon: ContractAddressOrInstance, contractName: StringWithArtifactContractNamesAutocompletion, opts?: UpgradeBeaconOptions) => Promise<UpgradeableBeaconContract>;
export declare function makeUpgradeBeacon(hre: HardhatRuntimeEnvironment, connection: NetworkConnection): UpgradeBeaconFunction;
//# sourceMappingURL=upgrade-beacon.d.ts.map