IEmergencyGovernorDeployer
Inherits: IDeployer
Author: M^0 Labs
Functions
deploy
Deploys a new instance of an Emergency Governor.
Parameters
Name | Type | Description |
---|---|---|
|
| The address of some Power Token that will be used by voters. |
|
| The address of some Standard Governor. |
|
| The threshold ratio to use for proposals. |
Returns
Name | Type | Description |
---|---|---|
|
| 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.