Solidity API
DeveloperRegistrarFactory
Contract used to deploy new DeveloperRegistrars. Callable only by the DeveloperRegistry.
DeveloperRegistrarDeployed
event DeveloperRegistrarDeployed(address indexed developerRegistrar)developerRegistrar
address public immutable developerRegistrardeveloperRegistry
IDeveloperRegistry public immutable developerRegistryconstructor
constructor(address _developerRegistrar, IDeveloperRegistry _developerRegistry) publicConstructor for DeveloperRegistrarFactory.
Parameters
| Name | Type | Description |
|---|---|---|
| _developerRegistrar | address | Address of the DeveloperRegistrar to clone |
| _developerRegistry | contract IDeveloperRegistry | DeveloperRegistry contract |
deployDeveloperRegistrar
function deployDeveloperRegistrar() external returns (address)ONLY DeveloperRegistry: Deploy a new DeveloperRegistrar contract.
Return Values
| Name | Type | Description |
|---|---|---|
| [0] | address | The address of the newly deployed DeveloperRegistrar |