About
Stats
Public Functions
6
Event Types
2
Code Size
25,054 bytes
Events (2) keyboard_arrow_up
Functions
constructor keyboard_arrow_up
admin keyboard_arrow_up
implementation keyboard_arrow_up
changeAdmin keyboard_arrow_up
Modifiers help
ifAdmin checks for the following:
Source Code
function changeAdmin(address newAdmin) external ifAdmin {
require(newAdmin != address(0), "Cannot change the admin of a proxy to the zero address");
emit AdminChanged(_admin(), newAdmin);
_setAdmin(newAdmin);
}
upgradeTo keyboard_arrow_up
upgradeToAndCall keyboard_arrow_up
Modifiers help
ifAdmin checks for the following:
Source Code
function upgradeToAndCall(address newImplementation, bytes data) payable external ifAdmin {
_upgradeTo(newImplementation);
require(newImplementation.delegatecall(data));
}