Skip to main content

IBeaconController

Git Source

Functions

upgradeTo

a wrapper around UpgradeableBeacon to delegate to its upgradeTo function.

function upgradeTo(
address implementation
) external;

Parameters

NameTypeDescription
implementationaddressthe 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

NameTypeDescription
implementationaddressthe 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;