Inherits: IERC6372
Author: M^0 Labs
Adds account
to list
.
Parameters
list
bytes32
The key for some list.
account
address
The address of some account to be added.
Removes account
from list
.
Parameters
list
bytes32
The key for some list.
account
address
The address of some account to be removed.
Sets key
to value
.
Parameters
key
bytes32
Some key.
value
bytes32
Some value.
Returns the starting timestamp of Epoch 1.
Returns the period/duration, in seconds, of an epoch.
Returns the value of key
.
Parameters
key
bytes32
Some key.
Returns
<none>
bytes32
Some value.
Returns the values of keys
respectively.
Parameters
keys
bytes32[]
Some keys.
Returns
<none>
bytes32[]
Some values.
Returns whether list
contains account
.
Parameters
list
bytes32
The key for some list.
account
address
The address of some account.
Returns
<none>
bool
Whether list
contains account
.
Returns whether list
contains all specified accounts.
Parameters
list
bytes32
The key for some list.
accounts
address[]
An array of addressed of some accounts.
Returns
<none>
bool
Whether list
contains all specified accounts.
Returns the address of the Emergency Governor.
Returns the address of the Emergency Governor Deployer.
Returns the address of the Power Token.
Returns the address of the Power Token Deployer.
Returns the address of the Standard Governor.
Returns the address of the Standard Governor Deployer.
Returns the address of the Vault.
Returns the address of the Zero Governor.
Returns the address of the Zero Token.
Emitted when account
is added to list
.
Parameters
list
bytes32
The key for the list.
account
address
The address of the added account.
Emitted when account
is removed from list
.
Parameters
list
bytes32
The key for the list.
account
address
The address of the removed account.
Emitted when key
is set to value
.
Parameters
key
bytes32
The key.
value
bytes32
The value.
Revert message when the Emergency Governor Deployer retrieved in the constructor is address(0).
Revert message when the Power Token Deployer retrieved in the constructor is address(0).
Revert message when the Standard Governor Deployer retrieved in the constructor is address(0).
Revert message when the Vault retrieved in the constructor is address(0).
Revert message when the Vote Token retrieved 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 Standard Governor nor the Emergency Governor.