I'm using openzeppelin to build an upgradable smart contract but when I deploy the contract the owner of the contract is transferring automatically to the admin proxy and I want to interact with the smart contract he says that I'm not the owner but when i look at the proxy admin I can see that I'm the owner but in the other contract the owner is proxy admin . how can I change the owner of the contract ?
Asked
Active
Viewed 546 times
1
-
1how are you deploying your contracts? – kennysliding Mar 01 '22 at 12:31
-
1i'm deploying it with hardhat – wael hasnaoui Mar 01 '22 at 14:35
-
can you show your deployment details? – kennysliding Mar 02 '22 at 04:25