AuthorityFactory

Git Source

Inherits: IAuthorityFactory

Allows anyone to reliably deploy a new IAuthority contract.

Functions

newAuthority

function newAuthority(address authorityOwner, uint256 epochLength)
    external
    override
    returns (IAuthority);

newAuthority

function newAuthority(address authorityOwner, uint256 epochLength, bytes32 salt)
    external
    override
    returns (IAuthority);

calculateAuthorityAddress

function calculateAuthorityAddress(
    address authorityOwner,
    uint256 epochLength,
    bytes32 salt
) external view override returns (address);