EmergencyGovernorDeployer
Inherits: IEmergencyGovernorDeployer
Author: M^0 Labs
State Variables
registrar
Returns the address of the Registrar.
zeroGovernor
Returns the address of the Zero Governor.
lastDeploy
Returns the address of the last contract deployed by this contract.
nonce
Returns the nonce used to pre deterministically compute the address of the next deployed contract.
Functions
onlyZeroGovernor
Throws if called by any contract other than the Zero Governor.
constructor
Constructs a new EmergencyGovernorDeployer contract.
Parameters
Name | Type | Description |
---|---|---|
|
| The address of the ZeroGovernor contract. |
|
| The address of the Registrar contract. |
deploy
Deploys a new instance of an Emergency Governor.
Parameters
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
|
Returns
Name | Type | Description |
---|---|---|
|
| The address of the deployed Emergency Governor. |
nextDeploy
Returns the address of the next contract this contract will deploy.