{ "success": true, "error": null, "results": { "detectors": [ { "elements": [ { "type": "contract", "name": "Token", "source_mapping": { "start": 109, "length": 739, "filename_used": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_relative": "tests/incorrect_erc721_interface.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_short": "tests/incorrect_erc721_interface.sol", "is_dependency": false, "lines": [ 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 ], "starting_column": 1, "ending_column": 2 } }, { "type": "function", "name": "supportsInterface", "source_mapping": { "start": 50, "length": 56, "filename_used": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_relative": "tests/incorrect_erc721_interface.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_short": "tests/incorrect_erc721_interface.sol", "is_dependency": false, "lines": [ 4 ], "starting_column": 5, "ending_column": 61 }, "type_specific_fields": { "parent": { "type": "contract", "name": "IERC165", "source_mapping": { "start": 26, "length": 82, "filename_used": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_relative": "tests/incorrect_erc721_interface.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_short": "tests/incorrect_erc721_interface.sol", "is_dependency": false, "lines": [ 3, 4, 5 ], "starting_column": 1, "ending_column": 2 } }, "signature": "supportsInterface(bytes4)" } } ], "description": "Token (tests/incorrect_erc721_interface.sol#6-16) has incorrect ERC721 function interface:IERC165.supportsInterface(bytes4) (tests/incorrect_erc721_interface.sol#4)\n", "markdown": "[Token](tests/incorrect_erc721_interface.sol#L6-L16) has incorrect ERC721 function interface:[IERC165.supportsInterface(bytes4)](tests/incorrect_erc721_interface.sol#L4)\n", "id": "a8593587ca70c51a9ab827843babec3b3eb7f9a08d76eea1e5528e668f7b291d", "check": "erc721-interface", "impact": "Medium", "confidence": "High" }, { "elements": [ { "type": "contract", "name": "Token", "source_mapping": { "start": 109, "length": 739, "filename_used": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_relative": "tests/incorrect_erc721_interface.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_short": "tests/incorrect_erc721_interface.sol", "is_dependency": false, "lines": [ 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 ], "starting_column": 1, "ending_column": 2 } }, { "type": "function", "name": "balanceOf", "source_mapping": { "start": 140, "length": 44, "filename_used": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_relative": "tests/incorrect_erc721_interface.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_short": "tests/incorrect_erc721_interface.sol", "is_dependency": false, "lines": [ 7 ], "starting_column": 5, "ending_column": 49 }, "type_specific_fields": { "parent": { "type": "contract", "name": "Token", "source_mapping": { "start": 109, "length": 739, "filename_used": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_relative": "tests/incorrect_erc721_interface.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_short": "tests/incorrect_erc721_interface.sol", "is_dependency": false, "lines": [ 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 ], "starting_column": 1, "ending_column": 2 } }, "signature": "balanceOf(address)" } } ], "description": "Token (tests/incorrect_erc721_interface.sol#6-16) has incorrect ERC721 function interface:Token.balanceOf(address) (tests/incorrect_erc721_interface.sol#7)\n", "markdown": "[Token](tests/incorrect_erc721_interface.sol#L6-L16) has incorrect ERC721 function interface:[Token.balanceOf(address)](tests/incorrect_erc721_interface.sol#L7)\n", "id": "6fb9d0320e0b63e2c70f9844d5bea2be958e73beb6eaa4ccb2323ead0c7ef991", "check": "erc721-interface", "impact": "Medium", "confidence": "High" }, { "elements": [ { "type": "contract", "name": "Token", "source_mapping": { "start": 109, "length": 739, "filename_used": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_relative": "tests/incorrect_erc721_interface.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_short": "tests/incorrect_erc721_interface.sol", "is_dependency": false, "lines": [ 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 ], "starting_column": 1, "ending_column": 2 } }, { "type": "function", "name": "ownerOf", "source_mapping": { "start": 189, "length": 44, "filename_used": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_relative": "tests/incorrect_erc721_interface.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_short": "tests/incorrect_erc721_interface.sol", "is_dependency": false, "lines": [ 8 ], "starting_column": 5, "ending_column": 49 }, "type_specific_fields": { "parent": { "type": "contract", "name": "Token", "source_mapping": { "start": 109, "length": 739, "filename_used": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_relative": "tests/incorrect_erc721_interface.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_short": "tests/incorrect_erc721_interface.sol", "is_dependency": false, "lines": [ 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 ], "starting_column": 1, "ending_column": 2 } }, "signature": "ownerOf(uint256)" } } ], "description": "Token (tests/incorrect_erc721_interface.sol#6-16) has incorrect ERC721 function interface:Token.ownerOf(uint256) (tests/incorrect_erc721_interface.sol#8)\n", "markdown": "[Token](tests/incorrect_erc721_interface.sol#L6-L16) has incorrect ERC721 function interface:[Token.ownerOf(uint256)](tests/incorrect_erc721_interface.sol#L8)\n", "id": "7d9235dd4ef8bc29a3b7700597cc1e4efb846377c928e5e50c5f49cb37f288d2", "check": "erc721-interface", "impact": "Medium", "confidence": "High" }, { "elements": [ { "type": "contract", "name": "Token", "source_mapping": { "start": 109, "length": 739, "filename_used": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_relative": "tests/incorrect_erc721_interface.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_short": "tests/incorrect_erc721_interface.sol", "is_dependency": false, "lines": [ 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 ], "starting_column": 1, "ending_column": 2 } }, { "type": "function", "name": "safeTransferFrom", "source_mapping": { "start": 238, "length": 108, "filename_used": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_relative": "tests/incorrect_erc721_interface.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_short": "tests/incorrect_erc721_interface.sol", "is_dependency": false, "lines": [ 9 ], "starting_column": 5, "ending_column": 113 }, "type_specific_fields": { "parent": { "type": "contract", "name": "Token", "source_mapping": { "start": 109, "length": 739, "filename_used": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_relative": "tests/incorrect_erc721_interface.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_short": "tests/incorrect_erc721_interface.sol", "is_dependency": false, "lines": [ 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 ], "starting_column": 1, "ending_column": 2 } }, "signature": "safeTransferFrom(address,address,uint256,bytes)" } } ], "description": "Token (tests/incorrect_erc721_interface.sol#6-16) has incorrect ERC721 function interface:Token.safeTransferFrom(address,address,uint256,bytes) (tests/incorrect_erc721_interface.sol#9)\n", "markdown": "[Token](tests/incorrect_erc721_interface.sol#L6-L16) has incorrect ERC721 function interface:[Token.safeTransferFrom(address,address,uint256,bytes)](tests/incorrect_erc721_interface.sol#L9)\n", "id": "ccec612c4b5db00ab59b766b5dde3f8d3a8c6408ef595ab08bff21628587e2a1", "check": "erc721-interface", "impact": "Medium", "confidence": "High" }, { "elements": [ { "type": "contract", "name": "Token", "source_mapping": { "start": 109, "length": 739, "filename_used": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_relative": "tests/incorrect_erc721_interface.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_short": "tests/incorrect_erc721_interface.sol", "is_dependency": false, "lines": [ 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 ], "starting_column": 1, "ending_column": 2 } }, { "type": "function", "name": "safeTransferFrom", "source_mapping": { "start": 351, "length": 96, "filename_used": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_relative": "tests/incorrect_erc721_interface.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_short": "tests/incorrect_erc721_interface.sol", "is_dependency": false, "lines": [ 10 ], "starting_column": 5, "ending_column": 101 }, "type_specific_fields": { "parent": { "type": "contract", "name": "Token", "source_mapping": { "start": 109, "length": 739, "filename_used": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_relative": "tests/incorrect_erc721_interface.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_short": "tests/incorrect_erc721_interface.sol", "is_dependency": false, "lines": [ 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 ], "starting_column": 1, "ending_column": 2 } }, "signature": "safeTransferFrom(address,address,uint256)" } } ], "description": "Token (tests/incorrect_erc721_interface.sol#6-16) has incorrect ERC721 function interface:Token.safeTransferFrom(address,address,uint256) (tests/incorrect_erc721_interface.sol#10)\n", "markdown": "[Token](tests/incorrect_erc721_interface.sol#L6-L16) has incorrect ERC721 function interface:[Token.safeTransferFrom(address,address,uint256)](tests/incorrect_erc721_interface.sol#L10)\n", "id": "50ab7b0f39f327ac6deccf3c16b4e6fee1dc249072ac41a4bd485ccf0c12315b", "check": "erc721-interface", "impact": "Medium", "confidence": "High" }, { "elements": [ { "type": "contract", "name": "Token", "source_mapping": { "start": 109, "length": 739, "filename_used": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_relative": "tests/incorrect_erc721_interface.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_short": "tests/incorrect_erc721_interface.sol", "is_dependency": false, "lines": [ 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 ], "starting_column": 1, "ending_column": 2 } }, { "type": "function", "name": "transferFrom", "source_mapping": { "start": 452, "length": 92, "filename_used": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_relative": "tests/incorrect_erc721_interface.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_short": "tests/incorrect_erc721_interface.sol", "is_dependency": false, "lines": [ 11 ], "starting_column": 5, "ending_column": 97 }, "type_specific_fields": { "parent": { "type": "contract", "name": "Token", "source_mapping": { "start": 109, "length": 739, "filename_used": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_relative": "tests/incorrect_erc721_interface.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_short": "tests/incorrect_erc721_interface.sol", "is_dependency": false, "lines": [ 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 ], "starting_column": 1, "ending_column": 2 } }, "signature": "transferFrom(address,address,uint256)" } } ], "description": "Token (tests/incorrect_erc721_interface.sol#6-16) has incorrect ERC721 function interface:Token.transferFrom(address,address,uint256) (tests/incorrect_erc721_interface.sol#11)\n", "markdown": "[Token](tests/incorrect_erc721_interface.sol#L6-L16) has incorrect ERC721 function interface:[Token.transferFrom(address,address,uint256)](tests/incorrect_erc721_interface.sol#L11)\n", "id": "847b11227f3bfc9b120e0ea573f385a4bbc61c4b7f89f434864612a679b1133e", "check": "erc721-interface", "impact": "Medium", "confidence": "High" }, { "elements": [ { "type": "contract", "name": "Token", "source_mapping": { "start": 109, "length": 739, "filename_used": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_relative": "tests/incorrect_erc721_interface.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_short": "tests/incorrect_erc721_interface.sol", "is_dependency": false, "lines": [ 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 ], "starting_column": 1, "ending_column": 2 } }, { "type": "function", "name": "approve", "source_mapping": { "start": 549, "length": 78, "filename_used": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_relative": "tests/incorrect_erc721_interface.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_short": "tests/incorrect_erc721_interface.sol", "is_dependency": false, "lines": [ 12 ], "starting_column": 5, "ending_column": 83 }, "type_specific_fields": { "parent": { "type": "contract", "name": "Token", "source_mapping": { "start": 109, "length": 739, "filename_used": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_relative": "tests/incorrect_erc721_interface.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_short": "tests/incorrect_erc721_interface.sol", "is_dependency": false, "lines": [ 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 ], "starting_column": 1, "ending_column": 2 } }, "signature": "approve(address,uint256)" } } ], "description": "Token (tests/incorrect_erc721_interface.sol#6-16) has incorrect ERC721 function interface:Token.approve(address,uint256) (tests/incorrect_erc721_interface.sol#12)\n", "markdown": "[Token](tests/incorrect_erc721_interface.sol#L6-L16) has incorrect ERC721 function interface:[Token.approve(address,uint256)](tests/incorrect_erc721_interface.sol#L12)\n", "id": "439c95972d0e084aff057161164b13ab63f85bee31d80b568b7155e58eac4b5d", "check": "erc721-interface", "impact": "Medium", "confidence": "High" }, { "elements": [ { "type": "contract", "name": "Token", "source_mapping": { "start": 109, "length": 739, "filename_used": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_relative": "tests/incorrect_erc721_interface.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_short": "tests/incorrect_erc721_interface.sol", "is_dependency": false, "lines": [ 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 ], "starting_column": 1, "ending_column": 2 } }, { "type": "function", "name": "setApprovalForAll", "source_mapping": { "start": 632, "length": 86, "filename_used": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_relative": "tests/incorrect_erc721_interface.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_short": "tests/incorrect_erc721_interface.sol", "is_dependency": false, "lines": [ 13 ], "starting_column": 5, "ending_column": 91 }, "type_specific_fields": { "parent": { "type": "contract", "name": "Token", "source_mapping": { "start": 109, "length": 739, "filename_used": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_relative": "tests/incorrect_erc721_interface.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_short": "tests/incorrect_erc721_interface.sol", "is_dependency": false, "lines": [ 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 ], "starting_column": 1, "ending_column": 2 } }, "signature": "setApprovalForAll(address,bool)" } } ], "description": "Token (tests/incorrect_erc721_interface.sol#6-16) has incorrect ERC721 function interface:Token.setApprovalForAll(address,bool) (tests/incorrect_erc721_interface.sol#13)\n", "markdown": "[Token](tests/incorrect_erc721_interface.sol#L6-L16) has incorrect ERC721 function interface:[Token.setApprovalForAll(address,bool)](tests/incorrect_erc721_interface.sol#L13)\n", "id": "b95e9bb000fb073c25fdbd9fff7bf0a3c44e04e70fc1a7da27c94c6b7fb8be40", "check": "erc721-interface", "impact": "Medium", "confidence": "High" }, { "elements": [ { "type": "contract", "name": "Token", "source_mapping": { "start": 109, "length": 739, "filename_used": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_relative": "tests/incorrect_erc721_interface.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_short": "tests/incorrect_erc721_interface.sol", "is_dependency": false, "lines": [ 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 ], "starting_column": 1, "ending_column": 2 } }, { "type": "function", "name": "getApproved", "source_mapping": { "start": 723, "length": 48, "filename_used": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_relative": "tests/incorrect_erc721_interface.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_short": "tests/incorrect_erc721_interface.sol", "is_dependency": false, "lines": [ 14 ], "starting_column": 5, "ending_column": 53 }, "type_specific_fields": { "parent": { "type": "contract", "name": "Token", "source_mapping": { "start": 109, "length": 739, "filename_used": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_relative": "tests/incorrect_erc721_interface.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_short": "tests/incorrect_erc721_interface.sol", "is_dependency": false, "lines": [ 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 ], "starting_column": 1, "ending_column": 2 } }, "signature": "getApproved(uint256)" } } ], "description": "Token (tests/incorrect_erc721_interface.sol#6-16) has incorrect ERC721 function interface:Token.getApproved(uint256) (tests/incorrect_erc721_interface.sol#14)\n", "markdown": "[Token](tests/incorrect_erc721_interface.sol#L6-L16) has incorrect ERC721 function interface:[Token.getApproved(uint256)](tests/incorrect_erc721_interface.sol#L14)\n", "id": "2dce4891c7abea0fa8a8a20a8b8482e7e1d46d54bfd750701c604d5dadd8b937", "check": "erc721-interface", "impact": "Medium", "confidence": "High" }, { "elements": [ { "type": "contract", "name": "Token", "source_mapping": { "start": 109, "length": 739, "filename_used": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_relative": "tests/incorrect_erc721_interface.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_short": "tests/incorrect_erc721_interface.sol", "is_dependency": false, "lines": [ 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 ], "starting_column": 1, "ending_column": 2 } }, { "type": "function", "name": "isApprovedForAll", "source_mapping": { "start": 776, "length": 70, "filename_used": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_relative": "tests/incorrect_erc721_interface.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_short": "tests/incorrect_erc721_interface.sol", "is_dependency": false, "lines": [ 15 ], "starting_column": 5, "ending_column": 75 }, "type_specific_fields": { "parent": { "type": "contract", "name": "Token", "source_mapping": { "start": 109, "length": 739, "filename_used": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_relative": "tests/incorrect_erc721_interface.sol", "filename_absolute": "/home/travis/build/crytic/slither/tests/incorrect_erc721_interface.sol", "filename_short": "tests/incorrect_erc721_interface.sol", "is_dependency": false, "lines": [ 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 ], "starting_column": 1, "ending_column": 2 } }, "signature": "isApprovedForAll(address,address)" } } ], "description": "Token (tests/incorrect_erc721_interface.sol#6-16) has incorrect ERC721 function interface:Token.isApprovedForAll(address,address) (tests/incorrect_erc721_interface.sol#15)\n", "markdown": "[Token](tests/incorrect_erc721_interface.sol#L6-L16) has incorrect ERC721 function interface:[Token.isApprovedForAll(address,address)](tests/incorrect_erc721_interface.sol#L15)\n", "id": "fa9985c505689f9a45d1ac51e1dd8cf79eeb2c939946abfb5ac78f46e692d0eb", "check": "erc721-interface", "impact": "Medium", "confidence": "High" } ] } }