{
    "Function": "checkOnERC721Received",
    "File": "contracts/VoterID.sol",
    "Parent Contracts": [
        "interfaces/IVoterID.sol"
    ],
    "High-Level Calls": [
        "IERC721Receiver"
    ],
    "Internal Calls": [
        "isContract"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory data)\n        private returns (bool)\n    {\n        if (!isContract(to)) {\n            return true;\n        }\n        IERC721Receiver target = IERC721Receiver(to);\n        bytes4 retval = target.onERC721Received(from, to, tokenId, data);\n        return ERC721_RECEIVED == retval;\n    }"
}