{
    "Function": "onERC721Received",
    "File": "contracts/lib/openzeppelin-contracts/contracts/mocks/ERC721ReceiverMock.sol",
    "Parent Contracts": [
        "contracts/lib/openzeppelin-contracts/contracts/token/ERC721/IERC721Receiver.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [
        "revert(string)",
        "gasleft()",
        "revert()"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function onERC721Received(\n        address operator,\n        address from,\n        uint256 tokenId,\n        bytes memory data\n    ) public override returns (bytes4) {\n        if (_error == Error.RevertWithMessage) {\n            revert(\"ERC721ReceiverMock: reverting\");\n        } else if (_error == Error.RevertWithoutMessage) {\n            revert();\n        } else if (_error == Error.Panic) {\n            uint256 a = uint256(0) / uint256(0);\n            a;\n        }\n        emit Received(operator, from, tokenId, data, gasleft());\n        return _retval;\n    }"
}