AllowListUpgradeableBeacon
Inherits: UpgradeableBeacon, AccessControl
State Variables
MULTISIG_ROLE
bytes32 public constant MULTISIG_ROLE = keccak256('MULTISIG_ROLE');
ADMIN_ROLE
bytes32 public constant ADMIN_ROLE = keccak256('ADMIN_ROLE');
_allowed
mapping(address => bool) private _allowed;
_allowedList
address[] private _allowedList;
Functions
constructor
constructor(
address timelock,
address multisig,
address initialImpl,
address[] memory initialAllowed
) UpgradeableBeacon(initialImpl, timelock);
upgradeToAllowed
function upgradeToAllowed(
address impl
) external onlyRole(MULTISIG_ROLE);
Events
AllowedAdded
event AllowedAdded(address indexed implementation, address indexed by);
UpgradedByMultisig
event UpgradedByMultisig(address indexed implementation, address indexed by);
Errors
IMPL_ZERO
error IMPL_ZERO();
NOT_ALLOWED
error NOT_ALLOWED();