InverterProxyAdmin_v1.sol
Inherits: Ownable2Step, IInverterProxyAdmin_v1
Author: Inverter Network
Acts as the admin of the {InverterTransparentUpgradeableProxy_v1}s and is responsible for upgrading the proxies to the newest version.
Functions
constructor
Constructs the InverterProxyAdmin_v1.
Parameters
Name | Type | Description |
---|---|---|
|
| The initial owner of the contract. |
upgradeToNewestVersion
Upgrades the corresponding {InverterTransparentUpgradeableProxy_v1} to the newest version of the implementation.
This contract must be the admin/owner of the proxy.
Parameters
Name | Type | Description |
---|---|---|
|
| The proxy to upgrade. |
upgradeToNewestVersionBatched
Upgrades multiple {InverterTransparentUpgradeableProxy_v1}s to the newest version of the implementation.
This contract must be the admin/owner of the proxies.
Parameters
Name | Type | Description |
---|---|---|
|
| The proxies to upgrade. |
Last updated