Inherits: IRegistrar
Author: M^0 Labs
Returns the address of the Emergency Governor Deployer.
Returns the address of the Power Token Deployer.
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.
A mapping of keys to values.
Revert if the caller is not the Standard Governor nor the Emergency Governor.
Constructs a new Registrar contract.
Parameters
zeroGovernor_
address
The address of the ZeroGovernor contract.
Adds account
to list
.
Parameters
list_
bytes32
account_
address
Removes account
from list
.
Parameters
list_
bytes32
account_
address
Sets key
to value
.
Parameters
key_
bytes32
value_
bytes32
Returns the current timepoint according to the mode the contract is operating on.
Returns the value of key
.
Parameters
key_
bytes32
Returns
<none>
bytes32
Some value.
Returns the value of key
.
Parameters
keys_
bytes32[]
Returns
values_
bytes32[]
Some value.
Returns whether list
contains account
.
Parameters
list_
bytes32
account_
address
Returns
<none>
bool
Whether list
contains account
.
Returns whether list
contains account
.
Parameters
list_
bytes32
accounts_
address[]
Returns
<none>
bool
Whether list
contains account
.
Returns the address of the Power Token.
Returns a machine-readable string description of the clock the contract is operating on.
Returns the starting timestamp of Epoch 1.
Returns the period/duration, in seconds, of an epoch.
Returns the address of the Emergency Governor.
Returns the address of the Standard Governor.
Reverts if the caller is not the Standard Governor nor the Emergency Governor.
Returns the key used to store the value of key_
.
Parameters
key_
bytes32
The key of the value.
Returns
<none>
bytes32
The key used to store the value of key_
.
Returns the key used to store whether account_
is in list_
.
Parameters
list_
bytes32
The list of addresses.
account_
address
The address of the account.
Returns
<none>
bytes32
The key used to store whether account_
is in list_
.