AuthorityFactory
Inherits: IAuthorityFactory, RollupsContract
Title: Authority Factory
Allows anyone to reliably deploy a new IAuthority contract.
Functions
newAuthority
function newAuthority(
address authorityOwner,
uint256 epochLength,
uint256 claimStagingPeriod
) external override returns (IAuthority authority);
newAuthority
function newAuthority(
address authorityOwner,
uint256 epochLength,
uint256 claimStagingPeriod,
bytes32 salt
) external override returns (IAuthority authority);
newReservedAuthority
function newReservedAuthority(
address authorityOwner,
uint256 epochLength,
uint256 claimStagingPeriod,
bytes32 salt
) external override returns (IAuthority authority);
calculateAuthorityAddress
function calculateAuthorityAddress(
address authorityOwner,
uint256 epochLength,
uint256 claimStagingPeriod,
bytes32 salt
) external view override returns (address);
calculateReservedAuthorityAddress
function calculateReservedAuthorityAddress(
address authorityOwner,
uint256 epochLength,
uint256 claimStagingPeriod,
bytes32 salt,
address caller
) external view override returns (address);
_newAuthority
function _newAuthority(
address authorityOwner,
uint256 epochLength,
uint256 claimStagingPeriod,
bytes32 salt
) internal returns (IAuthority authority);
_calculateAuthorityAddress
function _calculateAuthorityAddress(
address authorityOwner,
uint256 epochLength,
uint256 claimStagingPeriod,
bytes32 salt
) internal view returns (address);