Skip to content

AdminInternals ​

Git Source

Inherits:CoreInternals

Functions ​

onlyAdmin ​

Only admin guard

solidity
modifier onlyAdmin();

constructor ​

solidity
constructor(address admin_, address dummyImplementation_);

setAdmin ​

Sets new admin.

solidity
function setAdmin(address newAdmin_) external onlyAdmin;

setDummyImplementation ​

Sets new dummy-implementation.

solidity
function setDummyImplementation(address newDummyImplementation_) external onlyAdmin;

addImplementation ​

Adds new implementation address.

solidity
function addImplementation(address implementation_, bytes4[] calldata sigs_) external onlyAdmin;

removeImplementation ​

Removes an existing implementation address.

solidity
function removeImplementation(address implementation_) external onlyAdmin;