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.
Hi @pageone,
Welcome to the community
There isn’t a requirement to use Gnosis Safe (or any multisig) to control upgrades.
You can just call upgradeProxy
:
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.
Hi @pageone,
Did you need any more information?
What additional security does Gnosis Safe or OpenZeppelin Defender provide compared to upgradeProxy
?
Hi @pofulu, Gnosis Safe provides multi-sig capability so that, for example, proxy upgrades can be restricted to approvals by multiple parties. OpenZeppelin Defender is a platform for secure smart contract operations, and approvers (whether due to multi-sig or different users/roles such as an admin) can use Defender to view and approve upgrades.