Contracts
DeveloperRegistrarFactory

Solidity API

DeveloperRegistrarFactory

Contract used to deploy new DeveloperRegistrars. Callable only by the DeveloperRegistry.

DeveloperRegistrarDeployed

event DeveloperRegistrarDeployed(address indexed developerRegistrar)

developerRegistrar

address public immutable developerRegistrar

developerRegistry

IDeveloperRegistry public immutable developerRegistry

constructor

constructor(address _developerRegistrar, IDeveloperRegistry _developerRegistry) public

Constructor for DeveloperRegistrarFactory.

Parameters

NameTypeDescription
_developerRegistraraddressAddress of the DeveloperRegistrar to clone
_developerRegistrycontract IDeveloperRegistryDeveloperRegistry contract

deployDeveloperRegistrar

function deployDeveloperRegistrar() external returns (address)

ONLY DeveloperRegistry: Deploy a new DeveloperRegistrar contract.

Return Values

NameTypeDescription
[0]addressThe address of the newly deployed DeveloperRegistrar