@openzeppelin/hardhat-upgrades
Version:
[](https://docs.openzeppelin.com/upgrades-plugins/hardhat-upgrades) [](https://www.npmjs.org/package/@openzeppelin/h
12 lines • 673 B
TypeScript
import type { EngineBinding } from './binding.js';
import type { AdminOptions } from './options.js';
/**
* Client-neutral orchestration of `admin.changeProxyAdmin`. Only compatible with v4 admins.
*/
export declare function changeProxyAdmin(binding: EngineBinding, proxyAddress: string, newAdmin: string): Promise<void>;
/**
* Client-neutral orchestration of `admin.transferProxyAdminOwnership`. Compatible with both v4
* and v5 admins since they both have `transferOwnership`.
*/
export declare function transferProxyAdminOwnership(binding: EngineBinding, proxyAddress: string, newOwner: string, opts: AdminOptions): Promise<void>;
//# sourceMappingURL=admin.d.ts.map