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 pillages 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);
updateAllowedList
updates the list of allowed implementations for emergency upgrades.
function updateAllowedList(address implementation, bool allowed) external;