{
    "Function": "onERC1155Received",
    "File": "contracts/openzeppelin-solidity/contracts/mocks/ERC1155ReceiverMock.sol",
    "Parent Contracts": [
        "contracts/openzeppelin-solidity/contracts/token/ERC1155/IERC1155Receiver.sol",
        "contracts/openzeppelin-solidity/contracts/utils/introspection/ERC165.sol",
        "contracts/openzeppelin-solidity/contracts/utils/introspection/IERC165.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [
        "gasleft()",
        "require(bool,string)"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function onERC1155Received(\n        address operator,\n        address from,\n        uint256 id,\n        uint256 value,\n        bytes calldata data\n    ) external override returns (bytes4) {\n        require(!_recReverts, \"ERC1155ReceiverMock: reverting on receive\");\n        emit Received(operator, from, id, value, data, gasleft());\n        return _recRetval;\n    }"
}