I don’t need Gnosis Safe ,How can I upgrade my smart contract ,
Sorry, what do you mean? If you do not want to use
Gnosis Safe, just do not import it.
But the last step How can do without Gnosis Safe?
Could you please show an example code, is there any imported form
Gnosis Safe in the
OpenZeppelin package? I do not find it.
When you use
Gnosis Safe ,you can click the upgrade button at the last step ,I don’t use
Gnosis Safe,where is my “upgrade button”?
So what part in the document did you follow?
the last step
Upgrade the contract
Ohhh, I see, you do not want to use
Gnosis Safe to control upgrades of your contract, I think just do ignore
3_transfer_ownership.js which will call
transferProxyAdminOwnership, then execute the following steps.
Welcome to the community
There isn’t a requirement to use Gnosis Safe (or any multisig) to control upgrades.
You can just call
I would recommend considering how control of your upgrade is done (depending on the usecase of your smart contract), as you want to keep this control secure.
Did you need any more information?