{ "success": true, "error": null, "results": { "detectors": [ { "check": "erc721-interface", "impact": "Medium", "confidence": "High", "description": "Token (tests/incorrect_erc721_interface.sol#6-16) has incorrect ERC721 function interface: supportsInterface(bytes4) (tests/incorrect_erc721_interface.sol#4)\n", "elements": [ { "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)" } } ] }, { "check": "erc721-interface", "impact": "Medium", "confidence": "High", "description": "Token (tests/incorrect_erc721_interface.sol#6-16) has incorrect ERC721 function interface: balanceOf(address) (tests/incorrect_erc721_interface.sol#7)\n", "elements": [ { "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)" } } ] }, { "check": "erc721-interface", "impact": "Medium", "confidence": "High", "description": "Token (tests/incorrect_erc721_interface.sol#6-16) has incorrect ERC721 function interface: ownerOf(uint256) (tests/incorrect_erc721_interface.sol#8)\n", "elements": [ { "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)" } } ] }, { "check": "erc721-interface", "impact": "Medium", "confidence": "High", "description": "Token (tests/incorrect_erc721_interface.sol#6-16) has incorrect ERC721 function interface: safeTransferFrom(address,address,uint256,bytes) (tests/incorrect_erc721_interface.sol#9)\n", "elements": [ { "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)" } } ] }, { "check": "erc721-interface", "impact": "Medium", "confidence": "High", "description": "Token (tests/incorrect_erc721_interface.sol#6-16) has incorrect ERC721 function interface: safeTransferFrom(address,address,uint256) (tests/incorrect_erc721_interface.sol#10)\n", "elements": [ { "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)" } } ] }, { "check": "erc721-interface", "impact": "Medium", "confidence": "High", "description": "Token (tests/incorrect_erc721_interface.sol#6-16) has incorrect ERC721 function interface: transferFrom(address,address,uint256) (tests/incorrect_erc721_interface.sol#11)\n", "elements": [ { "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)" } } ] }, { "check": "erc721-interface", "impact": "Medium", "confidence": "High", "description": "Token (tests/incorrect_erc721_interface.sol#6-16) has incorrect ERC721 function interface: approve(address,uint256) (tests/incorrect_erc721_interface.sol#12)\n", "elements": [ { "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)" } } ] }, { "check": "erc721-interface", "impact": "Medium", "confidence": "High", "description": "Token (tests/incorrect_erc721_interface.sol#6-16) has incorrect ERC721 function interface: setApprovalForAll(address,bool) (tests/incorrect_erc721_interface.sol#13)\n", "elements": [ { "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)" } } ] }, { "check": "erc721-interface", "impact": "Medium", "confidence": "High", "description": "Token (tests/incorrect_erc721_interface.sol#6-16) has incorrect ERC721 function interface: getApproved(uint256) (tests/incorrect_erc721_interface.sol#14)\n", "elements": [ { "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)" } } ] }, { "check": "erc721-interface", "impact": "Medium", "confidence": "High", "description": "Token (tests/incorrect_erc721_interface.sol#6-16) has incorrect ERC721 function interface: isApprovedForAll(address,address) (tests/incorrect_erc721_interface.sol#15)\n", "elements": [ { "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)" } } ] } ] } }