IEmergencyGovernor
Inherits: IThresholdGovernor
Author: M^0 Labs
Functions
setThresholdRatio
Sets the threshold ratio to use going forward for newly created proposals.
Parameters
newThresholdRatio
uint16
The new threshold ratio.
addToList
One of the valid proposals. 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.
removeFromList
One of the valid proposals. Removes account
to list
at the Registrar.
Parameters
list
bytes32
The key for some list.
account
address
The address of some account to be removed.
removeFromAndAddToList
One of the valid proposals. Removes accountToRemove
and adds accountToAdd
to list
at the Registrar.
Parameters
list
bytes32
The key for some list.
accountToRemove
address
The address of some account to be removed.
accountToAdd
address
The address of some account to be added.
setKey
One of the valid proposals. Sets key
to value
at the Registrar.
Parameters
key
bytes32
Some key.
value
bytes32
Some value.
setStandardProposalFee
One of the valid proposals. Sets the proposal fee of the Standard Governor.
Parameters
newProposalFee
uint256
The new proposal fee.
registrar
Returns the address of the Registrar.
standardGovernor
Returns the address of the Standard Governor.
zeroGovernor
Returns the address of the Zero Governor.
Errors
InvalidRegistrarAddress
Revert message when the Registrar specified in the constructor is address(0).
InvalidStandardGovernorAddress
Revert message when the Standard Governor specified in the constructor is address(0).
InvalidZeroGovernorAddress
Revert message when the Zero Governor specified in the constructor is address(0).
NotZeroGovernor
Revert message when the caller is not the Zero Governor.