IEmergencyGovernorDeployer
Inherits: IDeployer
Author: M^0 Labs
Functions
deploy
Deploys a new instance of an Emergency Governor.
Parameters
Name
Type
Description
powerToken
address
The address of some Power Token that will be used by voters.
standardGovernor
address
The address of some Standard Governor.
thresholdRatio
uint16
The threshold ratio to use for proposals.
Returns
Name
Type
Description
<none>
address
The address of the deployed Emergency Governor.
registrar
Returns the address of the Registrar.
zeroGovernor
Returns the address of the Zero Governor.
Errors
InvalidRegistrarAddress
Revert message when the Registrar specified in the constructor is address(0).
InvalidZeroGovernorAddress
Revert message when the Zero Governor specified in the constructor is address(0).
NotZeroGovernor
Revert message when the caller is not the Zero Governor.