{
    "Function": "_safeMint",
    "File": "contracts/lib/solmate/src/tokens/ERC721.sol",
    "Parent Contracts": [],
    "High-Level Calls": [
        "ERC721TokenReceiver"
    ],
    "Internal Calls": [
        "code(address)",
        "_mint",
        "require(bool,string)"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function _safeMint(\n        address to,\n        uint256 id,\n        bytes memory data\n    ) internal virtual {\n        _mint(to, id);\n\n        require(\n            to.code.length == 0 ||\n                ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, data) ==\n                ERC721TokenReceiver.onERC721Received.selector,\n            \"UNSAFE_RECIPIENT\"\n        );\n    }"
}