{
    "Function": "revertERC721FlashUnavailable",
    "File": "src/libraries/DelegateTokenRegistryHelpers.sol",
    "Parent Contracts": [],
    "High-Level Calls": [
        "RegistryHashes",
        "RegistryHashes"
    ],
    "Internal Calls": [
        "loadFrom",
        "revert ERC721FlashUnavailable()",
        "loadFrom"
    ],
    "Library Calls": [
        "erc721Hash",
        "erc721Hash"
    ],
    "Low-Level Calls": [],
    "Code": "function revertERC721FlashUnavailable(address delegateRegistry, Structs.FlashInfo calldata info) internal view {\n        // We touch registry directly to check for active delegation of the respective hash, as bubbling up to contract\n        // and all delegations is not required\n        // Important to notice that we cannot rely on this method for the fungibles since delegate token doesn't ever\n        // delete the fungible delegations\n        if (\n            loadFrom(delegateRegistry, RegistryHashes.erc721Hash(address(this), \"\", info.delegateHolder, info.tokenId, info.tokenContract)) == address(this)\n                || loadFrom(delegateRegistry, RegistryHashes.erc721Hash(address(this), \"flashloan\", info.delegateHolder, info.tokenId, info.tokenContract)) == address(this)\n        ) return;\n        revert Errors.ERC721FlashUnavailable();\n    }"
}