Governable
Inherits: IGovernable
See the documentation in {IGovernable}.
State Variables
governor
The address of the governor account or contract.
Functions
onlyGovernor
Reverts if called by any account other than the governor.
transferGovernor
Transfers the contract governor to a new address.
Notes:
Does not revert if the governor is the same.
This function can potentially leave the contract without an governor, thereby removing any functionality that is only available to the governor.
Requirements:
msg.sender
must be the contract governor.
Parameters
Last updated