proxies:upgrade-beacon
Upgrade an UpgradeableBeacon to a new implementation, upgrading every beacon proxy that points to it at once.
Syntax
Section titled “Syntax”proxies:upgrade-beacon <beacon> <implementation>Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
beacon |
address |
UpgradeableBeacon address |
implementation |
address |
New implementation address |
Examples
Section titled “Examples”load proxies
set $beacon 0xabcdef0123456789abcdef0123456789abcdef01proxies:upgrade-beacon $beacon 0x4F2083f5fBede34C2714aFfb3105539775f7FE64- Every
BeaconProxypointing at the beacon starts using the new implementation immediately. - Must be sent by the beacon’s owner.
See Also
Section titled “See Also”- proxies:upgrade — upgrade transparent/UUPS proxies
- @proxies.beacon — find a proxy’s beacon