Copyright 2024 M^0 Foundation
Inherits: IThresholdGovernor
Author: M^0 Labs
Sets the threshold ratio to use going forward for newly created proposals.
Parameters
Name | Type | Description |
---|---|---|
One of the valid proposals. Adds account
to list
at the Registrar.
Parameters
Name | Type | Description |
---|---|---|
One of the valid proposals. Removes account
to list
at the Registrar.
Parameters
One of the valid proposals. Removes accountToRemove
and adds accountToAdd
to list
at the Registrar.
Parameters
One of the valid proposals. Sets key
to value
at the Registrar.
Parameters
One of the valid proposals. Sets the proposal fee of the Standard Governor.
Parameters
Returns the address of the Registrar.
Returns the address of the Standard Governor.
Returns the address of the Zero Governor.
Revert message when the Registrar specified in the constructor is address(0).
Revert message when the Standard Governor specified in the constructor is address(0).
Revert message when the Zero Governor specified in the constructor is address(0).
Revert message when the caller is not the Zero Governor.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
newThresholdRatio
uint16
The new threshold ratio.
list
bytes32
The key for some list.
account
address
The address of some account to be added.
list
bytes32
The key for some list.
account
address
The address of some account to be removed.
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.
key
bytes32
Some key.
value
bytes32
Some value.
newProposalFee
uint256
The new proposal fee.