ControllableByContract

Git Source

Inherits: Ownable

State Variables

controllerContract

address public controllerContract;

Functions

onlyOwnerOrControllerContract

modifier onlyOwnerOrControllerContract();

constructor

constructor(address owner) Ownable;

clearControllerContract

function clearControllerContract() external onlyOwnerOrControllerContract;

setControllerContract

function setControllerContract(address newControllerContract) external onlyOwner;

Events

ControllerContractUpdated

event ControllerContractUpdated(address previousControllerContract, address newControllerContract);

Errors

Unauthorized

error Unauthorized();