IPowerTokenDeployer
Inherits: IDeployer
Author: M^0 Labs
Functions
deploy
Deploys a new instance of a Power Token.
Callable only by the Zero Governor.
Parameters
Name
Type
Description
bootstrapToken
address
The address of some token to bootstrap from.
standardGovernor
address
The address of some Standard Governor.
cashToken
address
The address of some Cash Token.
Returns
Name
Type
Description
<none>
address
The address of the deployed Emergency Governor.
vault
Returns the address of the Vault.
zeroGovernor
Returns the address of the Zero Governor.
Errors
InvalidVaultAddress
Revert message when the Vault 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.