{
    "Function": "tokenByIndex",
    "File": "registries/contracts/GenericRegistry.sol",
    "Parent Contracts": [
        "registries/lib/solmate/src/tokens/ERC721.sol",
        "registries/contracts/interfaces/IErrorsRegistries.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [
        "revert Overflow(uint256,uint256)"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function tokenByIndex(uint256 id) external view virtual returns (uint256 unitId) {\n        unitId = id + 1;\n        if (unitId > totalSupply) {\n            revert Overflow(unitId, totalSupply);\n        }\n    }"
}