IStandardGovernorDeployer
Inherits: IDeployer
Author: M^0 Labs
Functions
deploy
Deploys a new instance of a Standard Governor.
Parameters
powerToken
address
The address of some Power Token that will be used by voters.
emergencyGovernor
address
The address of some Emergency Governor.
cashToken
address
The address of some Cash Token.
proposalFee
uint256
The proposal fee required to create proposals.
maxTotalZeroRewardPerActiveEpoch
uint256
The maximum amount of Zero Token rewarded per active epoch.
Returns
<none>
address
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.