IBeaconController
Functions
upgradeTo
a wrapper around UpgradeableBeacon to delegate to its upgradeTo function.
function upgradeTo(
address implementation
) external;
Parameters
| Name | Type | Description |
|---|---|---|
implementation | address | the new implementation address to set in the beacon. |
upgradeToAllowed
allows upgrades to a set of pre-approved implementations only with different privileges than upgradeTo.
function upgradeToAllowed(
address implementation
) external;
Parameters
| Name | Type | Description |
|---|---|---|
implementation | address | the new implementation address to set in the beacon. |
allowedList
gets the list of allowed implementations for emergency upgrades.
function allowedList() external view returns (address[] memory);
addToAllowedList
adds an implementation to the allowed list.
function addToAllowedList(
address implementation
) external;
Parameters
| Name | Type | Description |
|---|---|---|
implementation | address | the implementation address to add. |
removeFromAllowedList
removes an implementation from the allowed list.
function removeFromAllowedList(
address implementation
) external;
Parameters
| Name | Type | Description |
|---|---|---|
implementation | address | the implementation address to remove. |