IStandardGovernorDeployer
Inherits: IDeployer
Author: M^0 Labs
Functions
deploy
Deploys a new instance of a Standard Governor.
Parameters
Name | Type | Description |
---|---|---|
|
| The address of some Power Token that will be used by voters. |
|
| The address of some Emergency Governor. |
|
| The address of some Cash Token. |
|
| The proposal fee required to create proposals. |
|
| The maximum amount of Zero Token rewarded per active epoch. |
Returns
Name | Type | Description |
---|---|---|
|
| The address of the deployed Standard Governor. |
registrar
Returns the address of the Registrar.
vault
Returns the address of the Vault.
zeroGovernor
Returns the address of the Zero Governor.
zeroToken
Returns the address of the Zero Token.
Errors
InvalidRegistrarAddress
Revert message when the Registrar specified in the constructor is address(0).
InvalidVaultAddress
Revert message when the Vault specified in the constructor is address(0).
InvalidZeroGovernorAddress
Revert message when the Zero Governor specified in the constructor is address(0).
InvalidZeroTokenAddress
Revert message when the Zero Token specified in the constructor is address(0).
NotZeroGovernor
Revert message when the caller is not the Zero Governor.