Governable
Inherits: IGovernable
See the documentation in {IGovernable}.
State Variables
governor
The address of the governor account or contract.
pendingGovernor
The address of the pending governor account or contract.
______gap
Functions
onlyGovernor
Reverts if called by any account other than the governor.
nominateGovernor
Configure the pendingGovernor to newGovnernor parameter.
Parameters
Name
Type
Description
newGovernor_
address
The new governor.
acceptGovernor
The pending governor should accept and become the governor.
Only the pendingGovernor can trigger this function.
cancelPendingGovenor
Cancel the nominated pending governor.
Only the governor can trigger this function
Last updated