Hello,
I am using hardhat upgrades and followed the setup steps as shown at the following links:
I am wanting to execute admin.changeAdminForProxy but .admin
is not found on upgrades.
In vscode, when I hover over the red line under .admin i get the following error:
Property ‘admin’ does not exist on type ‘{ deployProxy: DeployFunction; upgradeProxy: UpgradeFunction; prepareUpgrade: PrepareUpgradeFunction; }’.ts(2339)
I am trying to execute this method: await upgrades.admin.changeAdminForProxy(Bob.address, Alice.address)
I am lost because these docs say that it should be there:
Any help would be greatly appreciated