Inherits: IStandardGovernorDeployer
Author: M^0 Labs
Returns the address of the Registrar.
Returns the address of the Vault.
Returns the address of the Zero Governor.
Returns the address of the Zero Token.
Returns the address of the last contract deployed by this contract.
Returns the nonce used to pre deterministically compute the address of the next deployed contract.
Throws if called by any contract other than the Zero Governor.
Constructs a new StandardGovernorDeployer contract.
Parameters
zeroGovernor_
address
The address of the ZeroGovernor contract.
registrar_
address
The address of the Registrar contract.
vault_
address
The address of the Vault contract.
zeroToken_
address
The address of the ZeroToken contract.
Deploys a new instance of a Standard Governor.
Parameters
powerToken_
address
emergencyGovernor_
address
cashToken_
address
proposalFee_
uint256
maxTotalZeroRewardPerActiveEpoch_
uint256
Returns
<none>
address
The address of the deployed Standard Governor.
Returns the address of the next contract this contract will deploy.