@openzeppelin/hardhat-upgrades
Version:
[](https://docs.openzeppelin.com/upgrades-plugins/hardhat-upgrades) [](https://www.npmjs.org/package/@openzeppelin/h
12 lines • 948 B
TypeScript
import type { HardhatRuntimeEnvironment } from 'hardhat/types/hre';
import type { NetworkConnection } from 'hardhat/types/network';
import type { WalletClient } from '@nomicfoundation/hardhat-viem/types';
import type { Address } from 'viem';
import type { AdminOptions } from './options.js';
export type ChangeAdminFunction = (proxyAddress: Address, newAdmin: Address, walletClient?: WalletClient, opts?: AdminOptions) => Promise<void>;
export type TransferProxyAdminOwnershipFunction = (proxyAddress: Address, newOwner: Address, walletClient?: WalletClient, opts?: AdminOptions & {
silent?: boolean;
}) => Promise<void>;
export declare function makeChangeProxyAdmin(hre: HardhatRuntimeEnvironment, connection: NetworkConnection): ChangeAdminFunction;
export declare function makeTransferProxyAdminOwnership(hre: HardhatRuntimeEnvironment, connection: NetworkConnection): TransferProxyAdminOwnershipFunction;
//# sourceMappingURL=admin.d.ts.map