{
    "Function": "delegateERC721",
    "File": "src/libraries/DelegateTokenRegistryHelpers.sol",
    "Parent Contracts": [],
    "High-Level Calls": [
        "IDelegateRegistry"
    ],
    "Internal Calls": [
        "revert HashMismatch()"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function delegateERC721(address delegateRegistry, bytes32 newRegistryHash, Structs.DelegateInfo calldata delegateInfo) internal {\n        if (\n            IDelegateRegistry(delegateRegistry).delegateERC721(delegateInfo.delegateHolder, delegateInfo.tokenContract, delegateInfo.tokenId, delegateInfo.rights, true)\n                == newRegistryHash\n        ) return;\n        revert Errors.HashMismatch();\n    }"
}