{
    "Function": "tokenURI",
    "File": "registries/contracts/GenericRegistry.sol",
    "Parent Contracts": [
        "registries/lib/solmate/src/tokens/ERC721.sol",
        "registries/contracts/interfaces/IErrorsRegistries.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [
        "abi.encodePacked()",
        "_toHex16",
        "_getUnitHash",
        "_toHex16"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function tokenURI(uint256 unitId) public view virtual override returns (string memory) {\n        bytes32 unitHash = _getUnitHash(unitId);\n        // Parse 2 parts of bytes32 into left and right hex16 representation, and concatenate into string\n        // adding the base URI and a cid prefix for the full base16 multibase prefix IPFS hash representation\n        return string(abi.encodePacked(baseURI, CID_PREFIX, _toHex16(bytes16(unitHash)),\n            _toHex16(bytes16(unitHash << 128))));\n    }"
}