Inherits: IEmergencyGovernor, ThresholdGovernor
Author: M^0 Labs
Returns the address of the Registrar.
Returns the address of the Standard Governor.
Returns the address of the Zero Governor.
Throws if called by any account other than the Zero Governor.
Constructs a new Emergency Governor contract.
Parameters
voteToken_
address
The address of the Vote Token contract.
zeroGovernor_
address
The address of the Zero Governor contract.
registrar_
address
The address of the Registrar contract.
standardGovernor_
address
The address of the StandardGovernor contract.
thresholdRatio_
uint16
The initial threshold ratio.
Sets the threshold ratio to use going forward for newly created proposals.
Parameters
newThresholdRatio_
uint16
One of the valid proposals. Adds account
to list
at the Registrar.
Parameters
list_
bytes32
account_
address
One of the valid proposals. Removes account
to list
at the Registrar.
Parameters
list_
bytes32
account_
address
One of the valid proposals. Removes accountToRemove
and adds accountToAdd
to list
at the Registrar.
Parameters
list_
bytes32
accountToRemove_
address
accountToAdd_
address
One of the valid proposals. Sets key
to value
at the Registrar.
Parameters
key_
bytes32
value_
bytes32
One of the valid proposals. Sets the proposal fee of the Standard Governor.
Parameters
newProposalFee_
uint256
Adds account_
to list_
at the Registrar.
Parameters
list_
bytes32
The key for some list.
account_
address
The address of some account to be added.
Removes account_
from list_
at the Registrar.
Parameters
list_
bytes32
The key for some list.
account_
address
The address of some account to be removed.
All proposals target this contract itself, and must call one of the listed functions to be valid.
Parameters
callData_
bytes
The call data to check.