IAdministrable
Author: mortimr @ Kiln
This contract provides all the utilities to handle the administration and its transfer.
Unstructured Storage Friendly
Functions
admin
Retrieve the admin address.
function admin() external view returns (address adminAddress);
Returns
| Name | Type | Description |
|---|---|---|
adminAddress | address | The admin address |
pendingAdmin
Retrieve the pending admin address.
function pendingAdmin() external view returns (address pendingAdminAddress);
Returns
| Name | Type | Description |
|---|---|---|
pendingAdminAddress | address | The pending admin address |
transferAdmin
Propose a new admin.
Only callable by the admin
function transferAdmin(address _newAdmin) external;
Parameters
| Name | Type | Description |
|---|---|---|
_newAdmin | address | The new admin to propose |
acceptAdmin
Accept an admin transfer.
Only callable by the pending admin
function acceptAdmin() external;
Events
SetAdmin
The admin address has been changed.
event SetAdmin(address admin);
SetPendingAdmin
The pending admin address has been changed.
event SetPendingAdmin(address pendingAdmin);