Hi,
I have been googling and looking through the documentation, but the answer seems to have evaded me thus far.
Situation which was tested:
- I deployed an upgradable multisig wallet.
- Subsequently, I pass the admin ownership to the multisig itself:
await upgrades.admin.transferProxyAdminOwnership(
MultiSigWalletContract.address
)
- The test passes with:
✔ 0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0 (transparent) proxy ownership transfered through admin proxy
However, the admin
object was imported from upgrades
. How does it know which is the proxy for which I want to transfer ownership?