Solidity API
BaseProjectRegistrar
Base contract for ProjectRegistrars. Contains common functionality for all ProjectRegistrars including setting the root node and claiming chips.
RootNodeSet
event RootNodeSet(bytes32 _rootNode)chipRegistry
contract IChipRegistry public chipRegistryers
contract IERS public ersdeveloperRegistrar
contract IDeveloperRegistrar public developerRegistrarrootNode
bytes32 public rootNodeIt is the hash(hash(projectName), node(developer.ers))
constructor
constructor(contract IChipRegistry _chipRegistry, contract IERS _ers, contract IDeveloperRegistrar _developerRegistrar, string _name, string _symbol, string _tokenUriRoot, uint256 _lockinPeriod, contract ITransferPolicy _transferPolicy) publicsetRootNode
function setRootNode(bytes32 _rootNode) externalSets the root node for the project (can only be called by DeveloperRegistrar).
Parameters
| Name | Type | Description |
|---|---|---|
| _rootNode | bytes32 | The root node hash |
supportsInterface
function supportsInterface(bytes4 interfaceId) public view virtual returns (bool)See {IERC165-supportsInterface}.