Files
BappTutorial/nftbapp/backend-nftdapp/build/contracts/ERC721Basic.json
elegant651 6e0388b653 init
2020-03-24 14:39:38 +09:00

3286 lines
109 KiB
JSON

{
"contractName": "ERC721Basic",
"abi": [
{
"constant": true,
"inputs": [
{
"name": "_interfaceId",
"type": "bytes4"
}
],
"name": "supportsInterface",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_from",
"type": "address"
},
{
"indexed": true,
"name": "_to",
"type": "address"
},
{
"indexed": true,
"name": "_tokenId",
"type": "uint256"
}
],
"name": "Transfer",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_owner",
"type": "address"
},
{
"indexed": true,
"name": "_approved",
"type": "address"
},
{
"indexed": true,
"name": "_tokenId",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"name": "_owner",
"type": "address"
},
{
"indexed": true,
"name": "_operator",
"type": "address"
},
{
"indexed": false,
"name": "_approved",
"type": "bool"
}
],
"name": "ApprovalForAll",
"type": "event"
},
{
"constant": true,
"inputs": [
{
"name": "_owner",
"type": "address"
}
],
"name": "balanceOf",
"outputs": [
{
"name": "_balance",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_tokenId",
"type": "uint256"
}
],
"name": "ownerOf",
"outputs": [
{
"name": "_owner",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_tokenId",
"type": "uint256"
}
],
"name": "exists",
"outputs": [
{
"name": "_exists",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_to",
"type": "address"
},
{
"name": "_tokenId",
"type": "uint256"
}
],
"name": "approve",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_tokenId",
"type": "uint256"
}
],
"name": "getApproved",
"outputs": [
{
"name": "_operator",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_operator",
"type": "address"
},
{
"name": "_approved",
"type": "bool"
}
],
"name": "setApprovalForAll",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_owner",
"type": "address"
},
{
"name": "_operator",
"type": "address"
}
],
"name": "isApprovedForAll",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_from",
"type": "address"
},
{
"name": "_to",
"type": "address"
},
{
"name": "_tokenId",
"type": "uint256"
}
],
"name": "transferFrom",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_from",
"type": "address"
},
{
"name": "_to",
"type": "address"
},
{
"name": "_tokenId",
"type": "uint256"
}
],
"name": "safeTransferFrom",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "_from",
"type": "address"
},
{
"name": "_to",
"type": "address"
},
{
"name": "_tokenId",
"type": "uint256"
},
{
"name": "_data",
"type": "bytes"
}
],
"name": "safeTransferFrom",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
}
],
"bytecode": "0x",
"deployedBytecode": "0x",
"sourceMap": "",
"deployedSourceMap": "",
"source": "pragma solidity ^0.4.24;\n\nimport \"../../introspection/ERC165.sol\";\n\n\n/**\n * @title ERC721 Non-Fungible Token Standard basic interface\n * @dev see https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md\n */\ncontract ERC721Basic is ERC165 {\n\n bytes4 internal constant InterfaceId_ERC721 = 0x80ac58cd;\n /*\n * 0x80ac58cd ===\n * bytes4(keccak256('balanceOf(address)')) ^\n * bytes4(keccak256('ownerOf(uint256)')) ^\n * bytes4(keccak256('approve(address,uint256)')) ^\n * bytes4(keccak256('getApproved(uint256)')) ^\n * bytes4(keccak256('setApprovalForAll(address,bool)')) ^\n * bytes4(keccak256('isApprovedForAll(address,address)')) ^\n * bytes4(keccak256('transferFrom(address,address,uint256)')) ^\n * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) ^\n * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)'))\n */\n\n bytes4 internal constant InterfaceId_ERC721Exists = 0x4f558e79;\n /*\n * 0x4f558e79 ===\n * bytes4(keccak256('exists(uint256)'))\n */\n\n bytes4 internal constant InterfaceId_ERC721Enumerable = 0x780e9d63;\n /**\n * 0x780e9d63 ===\n * bytes4(keccak256('totalSupply()')) ^\n * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) ^\n * bytes4(keccak256('tokenByIndex(uint256)'))\n */\n\n bytes4 internal constant InterfaceId_ERC721Metadata = 0x5b5e139f;\n /**\n * 0x5b5e139f ===\n * bytes4(keccak256('name()')) ^\n * bytes4(keccak256('symbol()')) ^\n * bytes4(keccak256('tokenURI(uint256)'))\n */\n\n event Transfer(\n address indexed _from,\n address indexed _to,\n uint256 indexed _tokenId\n );\n event Approval(\n address indexed _owner,\n address indexed _approved,\n uint256 indexed _tokenId\n );\n event ApprovalForAll(\n address indexed _owner,\n address indexed _operator,\n bool _approved\n );\n\n function balanceOf(address _owner) public view returns (uint256 _balance);\n function ownerOf(uint256 _tokenId) public view returns (address _owner);\n function exists(uint256 _tokenId) public view returns (bool _exists);\n\n function approve(address _to, uint256 _tokenId) public;\n function getApproved(uint256 _tokenId)\n public view returns (address _operator);\n\n function setApprovalForAll(address _operator, bool _approved) public;\n function isApprovedForAll(address _owner, address _operator)\n public view returns (bool);\n\n function transferFrom(address _from, address _to, uint256 _tokenId) public;\n function safeTransferFrom(address _from, address _to, uint256 _tokenId)\n public;\n\n function safeTransferFrom(\n address _from,\n address _to,\n uint256 _tokenId,\n bytes _data\n )\n public;\n}\n",
"sourcePath": "/Users/willpark/Desktop/bookwork-blockchain/testcodes/9nftdapp-new/backend-nftdapp/node_modules/zeppelin-solidity/contracts/token/ERC721/ERC721Basic.sol",
"ast": {
"absolutePath": "/Users/willpark/Desktop/bookwork-blockchain/testcodes/9nftdapp-new/backend-nftdapp/node_modules/zeppelin-solidity/contracts/token/ERC721/ERC721Basic.sol",
"exportedSymbols": {
"ERC721Basic": [
744
]
},
"id": 745,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 624,
"literals": [
"solidity",
"^",
"0.4",
".24"
],
"nodeType": "PragmaDirective",
"src": "0:24:7"
},
{
"absolutePath": "/Users/willpark/Desktop/bookwork-blockchain/testcodes/9nftdapp-new/backend-nftdapp/node_modules/zeppelin-solidity/contracts/introspection/ERC165.sol",
"file": "../../introspection/ERC165.sol",
"id": 625,
"nodeType": "ImportDirective",
"scope": 745,
"sourceUnit": 424,
"src": "26:40:7",
"symbolAliases": [],
"unitAlias": ""
},
{
"baseContracts": [
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 626,
"name": "ERC165",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 423,
"src": "235:6:7",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC165_$423",
"typeString": "contract ERC165"
}
},
"id": 627,
"nodeType": "InheritanceSpecifier",
"src": "235:6:7"
}
],
"contractDependencies": [
423
],
"contractKind": "contract",
"documentation": "@title ERC721 Non-Fungible Token Standard basic interface\n@dev see https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md",
"fullyImplemented": false,
"id": 744,
"linearizedBaseContracts": [
744,
423
],
"name": "ERC721Basic",
"nodeType": "ContractDefinition",
"nodes": [
{
"constant": true,
"id": 630,
"name": "InterfaceId_ERC721",
"nodeType": "VariableDeclaration",
"scope": 744,
"src": "247:56:7",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
},
"typeName": {
"id": 628,
"name": "bytes4",
"nodeType": "ElementaryTypeName",
"src": "247:6:7",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
}
},
"value": {
"argumentTypes": null,
"hexValue": "30783830616335386364",
"id": 629,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "293:10:7",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_2158778573_by_1",
"typeString": "int_const 2158778573"
},
"value": "0x80ac58cd"
},
"visibility": "internal"
},
{
"constant": true,
"id": 633,
"name": "InterfaceId_ERC721Exists",
"nodeType": "VariableDeclaration",
"scope": 744,
"src": "883:62:7",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
},
"typeName": {
"id": 631,
"name": "bytes4",
"nodeType": "ElementaryTypeName",
"src": "883:6:7",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
}
},
"value": {
"argumentTypes": null,
"hexValue": "30783466353538653739",
"id": 632,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "935:10:7",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_1331007097_by_1",
"typeString": "int_const 1331007097"
},
"value": "0x4f558e79"
},
"visibility": "internal"
},
{
"constant": true,
"id": 636,
"name": "InterfaceId_ERC721Enumerable",
"nodeType": "VariableDeclaration",
"scope": 744,
"src": "1025:66:7",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
},
"typeName": {
"id": 634,
"name": "bytes4",
"nodeType": "ElementaryTypeName",
"src": "1025:6:7",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
}
},
"value": {
"argumentTypes": null,
"hexValue": "30783738306539643633",
"id": 635,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1081:10:7",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_2014223715_by_1",
"typeString": "int_const 2014223715"
},
"value": "0x780e9d63"
},
"visibility": "internal"
},
{
"constant": true,
"id": 639,
"name": "InterfaceId_ERC721Metadata",
"nodeType": "VariableDeclaration",
"scope": 744,
"src": "1289:64:7",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
},
"typeName": {
"id": 637,
"name": "bytes4",
"nodeType": "ElementaryTypeName",
"src": "1289:6:7",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
}
},
"value": {
"argumentTypes": null,
"hexValue": "30783562356531333966",
"id": 638,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1343:10:7",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_1532892063_by_1",
"typeString": "int_const 1532892063"
},
"value": "0x5b5e139f"
},
"visibility": "internal"
},
{
"anonymous": false,
"documentation": "0x5b5e139f ===\n bytes4(keccak256('name()')) ^\n bytes4(keccak256('symbol()')) ^\n bytes4(keccak256('tokenURI(uint256)'))",
"id": 647,
"name": "Transfer",
"nodeType": "EventDefinition",
"parameters": {
"id": 646,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 641,
"indexed": true,
"name": "_from",
"nodeType": "VariableDeclaration",
"scope": 647,
"src": "1532:21:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 640,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1532:7:7",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 643,
"indexed": true,
"name": "_to",
"nodeType": "VariableDeclaration",
"scope": 647,
"src": "1559:19:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 642,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1559:7:7",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 645,
"indexed": true,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 647,
"src": "1584:24:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 644,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1584:7:7",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1526:86:7"
},
"src": "1512:101:7"
},
{
"anonymous": false,
"documentation": null,
"id": 655,
"name": "Approval",
"nodeType": "EventDefinition",
"parameters": {
"id": 654,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 649,
"indexed": true,
"name": "_owner",
"nodeType": "VariableDeclaration",
"scope": 655,
"src": "1636:22:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 648,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1636:7:7",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 651,
"indexed": true,
"name": "_approved",
"nodeType": "VariableDeclaration",
"scope": 655,
"src": "1664:25:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 650,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1664:7:7",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 653,
"indexed": true,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 655,
"src": "1695:24:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 652,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1695:7:7",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1630:93:7"
},
"src": "1616:108:7"
},
{
"anonymous": false,
"documentation": null,
"id": 663,
"name": "ApprovalForAll",
"nodeType": "EventDefinition",
"parameters": {
"id": 662,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 657,
"indexed": true,
"name": "_owner",
"nodeType": "VariableDeclaration",
"scope": 663,
"src": "1753:22:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 656,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1753:7:7",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 659,
"indexed": true,
"name": "_operator",
"nodeType": "VariableDeclaration",
"scope": 663,
"src": "1781:25:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 658,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1781:7:7",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 661,
"indexed": false,
"name": "_approved",
"nodeType": "VariableDeclaration",
"scope": 663,
"src": "1812:14:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 660,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "1812:4:7",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1747:83:7"
},
"src": "1727:104:7"
},
{
"body": null,
"documentation": null,
"id": 670,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "balanceOf",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 666,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 665,
"name": "_owner",
"nodeType": "VariableDeclaration",
"scope": 670,
"src": "1854:14:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 664,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1854:7:7",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1853:16:7"
},
"payable": false,
"returnParameters": {
"id": 669,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 668,
"name": "_balance",
"nodeType": "VariableDeclaration",
"scope": 670,
"src": "1891:16:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 667,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1891:7:7",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1890:18:7"
},
"scope": 744,
"src": "1835:74:7",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 677,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "ownerOf",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 673,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 672,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 677,
"src": "1929:16:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 671,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1929:7:7",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1928:18:7"
},
"payable": false,
"returnParameters": {
"id": 676,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 675,
"name": "_owner",
"nodeType": "VariableDeclaration",
"scope": 677,
"src": "1968:14:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 674,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1968:7:7",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1967:16:7"
},
"scope": 744,
"src": "1912:72:7",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 684,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "exists",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 680,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 679,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 684,
"src": "2003:16:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 678,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2003:7:7",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2002:18:7"
},
"payable": false,
"returnParameters": {
"id": 683,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 682,
"name": "_exists",
"nodeType": "VariableDeclaration",
"scope": 684,
"src": "2042:12:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 681,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "2042:4:7",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2041:14:7"
},
"scope": 744,
"src": "1987:69:7",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 691,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "approve",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 689,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 686,
"name": "_to",
"nodeType": "VariableDeclaration",
"scope": 691,
"src": "2077:11:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 685,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2077:7:7",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 688,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 691,
"src": "2090:16:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 687,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2090:7:7",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2076:31:7"
},
"payable": false,
"returnParameters": {
"id": 690,
"nodeType": "ParameterList",
"parameters": [],
"src": "2114:0:7"
},
"scope": 744,
"src": "2060:55:7",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 698,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "getApproved",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 694,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 693,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 698,
"src": "2139:16:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 692,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2139:7:7",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2138:18:7"
},
"payable": false,
"returnParameters": {
"id": 697,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 696,
"name": "_operator",
"nodeType": "VariableDeclaration",
"scope": 698,
"src": "2182:17:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 695,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2182:7:7",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2181:19:7"
},
"scope": 744,
"src": "2118:83:7",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 705,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "setApprovalForAll",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 703,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 700,
"name": "_operator",
"nodeType": "VariableDeclaration",
"scope": 705,
"src": "2232:17:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 699,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2232:7:7",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 702,
"name": "_approved",
"nodeType": "VariableDeclaration",
"scope": 705,
"src": "2251:14:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 701,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "2251:4:7",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2231:35:7"
},
"payable": false,
"returnParameters": {
"id": 704,
"nodeType": "ParameterList",
"parameters": [],
"src": "2273:0:7"
},
"scope": 744,
"src": "2205:69:7",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 714,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "isApprovedForAll",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 710,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 707,
"name": "_owner",
"nodeType": "VariableDeclaration",
"scope": 714,
"src": "2303:14:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 706,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2303:7:7",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 709,
"name": "_operator",
"nodeType": "VariableDeclaration",
"scope": 714,
"src": "2319:17:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 708,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2319:7:7",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2302:35:7"
},
"payable": false,
"returnParameters": {
"id": 713,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 712,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 714,
"src": "2363:4:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 711,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "2363:4:7",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2362:6:7"
},
"scope": 744,
"src": "2277:92:7",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 723,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "transferFrom",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 721,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 716,
"name": "_from",
"nodeType": "VariableDeclaration",
"scope": 723,
"src": "2395:13:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 715,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2395:7:7",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 718,
"name": "_to",
"nodeType": "VariableDeclaration",
"scope": 723,
"src": "2410:11:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 717,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2410:7:7",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 720,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 723,
"src": "2423:16:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 719,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2423:7:7",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2394:46:7"
},
"payable": false,
"returnParameters": {
"id": 722,
"nodeType": "ParameterList",
"parameters": [],
"src": "2447:0:7"
},
"scope": 744,
"src": "2373:75:7",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 732,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "safeTransferFrom",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 730,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 725,
"name": "_from",
"nodeType": "VariableDeclaration",
"scope": 732,
"src": "2477:13:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 724,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2477:7:7",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 727,
"name": "_to",
"nodeType": "VariableDeclaration",
"scope": 732,
"src": "2492:11:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 726,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2492:7:7",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 729,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 732,
"src": "2505:16:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 728,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2505:7:7",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2476:46:7"
},
"payable": false,
"returnParameters": {
"id": 731,
"nodeType": "ParameterList",
"parameters": [],
"src": "2533:0:7"
},
"scope": 744,
"src": "2451:83:7",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 743,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "safeTransferFrom",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 741,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 734,
"name": "_from",
"nodeType": "VariableDeclaration",
"scope": 743,
"src": "2569:13:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 733,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2569:7:7",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 736,
"name": "_to",
"nodeType": "VariableDeclaration",
"scope": 743,
"src": "2588:11:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 735,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2588:7:7",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 738,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 743,
"src": "2605:16:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 737,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2605:7:7",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 740,
"name": "_data",
"nodeType": "VariableDeclaration",
"scope": 743,
"src": "2627:11:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 739,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "2627:5:7",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2563:79:7"
},
"payable": false,
"returnParameters": {
"id": 742,
"nodeType": "ParameterList",
"parameters": [],
"src": "2653:0:7"
},
"scope": 744,
"src": "2538:116:7",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
}
],
"scope": 745,
"src": "211:2445:7"
}
],
"src": "0:2657:7"
},
"legacyAST": {
"absolutePath": "/Users/willpark/Desktop/bookwork-blockchain/testcodes/9nftdapp-new/backend-nftdapp/node_modules/zeppelin-solidity/contracts/token/ERC721/ERC721Basic.sol",
"exportedSymbols": {
"ERC721Basic": [
744
]
},
"id": 745,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 624,
"literals": [
"solidity",
"^",
"0.4",
".24"
],
"nodeType": "PragmaDirective",
"src": "0:24:7"
},
{
"absolutePath": "/Users/willpark/Desktop/bookwork-blockchain/testcodes/9nftdapp-new/backend-nftdapp/node_modules/zeppelin-solidity/contracts/introspection/ERC165.sol",
"file": "../../introspection/ERC165.sol",
"id": 625,
"nodeType": "ImportDirective",
"scope": 745,
"sourceUnit": 424,
"src": "26:40:7",
"symbolAliases": [],
"unitAlias": ""
},
{
"baseContracts": [
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 626,
"name": "ERC165",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 423,
"src": "235:6:7",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC165_$423",
"typeString": "contract ERC165"
}
},
"id": 627,
"nodeType": "InheritanceSpecifier",
"src": "235:6:7"
}
],
"contractDependencies": [
423
],
"contractKind": "contract",
"documentation": "@title ERC721 Non-Fungible Token Standard basic interface\n@dev see https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md",
"fullyImplemented": false,
"id": 744,
"linearizedBaseContracts": [
744,
423
],
"name": "ERC721Basic",
"nodeType": "ContractDefinition",
"nodes": [
{
"constant": true,
"id": 630,
"name": "InterfaceId_ERC721",
"nodeType": "VariableDeclaration",
"scope": 744,
"src": "247:56:7",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
},
"typeName": {
"id": 628,
"name": "bytes4",
"nodeType": "ElementaryTypeName",
"src": "247:6:7",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
}
},
"value": {
"argumentTypes": null,
"hexValue": "30783830616335386364",
"id": 629,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "293:10:7",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_2158778573_by_1",
"typeString": "int_const 2158778573"
},
"value": "0x80ac58cd"
},
"visibility": "internal"
},
{
"constant": true,
"id": 633,
"name": "InterfaceId_ERC721Exists",
"nodeType": "VariableDeclaration",
"scope": 744,
"src": "883:62:7",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
},
"typeName": {
"id": 631,
"name": "bytes4",
"nodeType": "ElementaryTypeName",
"src": "883:6:7",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
}
},
"value": {
"argumentTypes": null,
"hexValue": "30783466353538653739",
"id": 632,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "935:10:7",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_1331007097_by_1",
"typeString": "int_const 1331007097"
},
"value": "0x4f558e79"
},
"visibility": "internal"
},
{
"constant": true,
"id": 636,
"name": "InterfaceId_ERC721Enumerable",
"nodeType": "VariableDeclaration",
"scope": 744,
"src": "1025:66:7",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
},
"typeName": {
"id": 634,
"name": "bytes4",
"nodeType": "ElementaryTypeName",
"src": "1025:6:7",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
}
},
"value": {
"argumentTypes": null,
"hexValue": "30783738306539643633",
"id": 635,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1081:10:7",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_2014223715_by_1",
"typeString": "int_const 2014223715"
},
"value": "0x780e9d63"
},
"visibility": "internal"
},
{
"constant": true,
"id": 639,
"name": "InterfaceId_ERC721Metadata",
"nodeType": "VariableDeclaration",
"scope": 744,
"src": "1289:64:7",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
},
"typeName": {
"id": 637,
"name": "bytes4",
"nodeType": "ElementaryTypeName",
"src": "1289:6:7",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
}
},
"value": {
"argumentTypes": null,
"hexValue": "30783562356531333966",
"id": 638,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1343:10:7",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_1532892063_by_1",
"typeString": "int_const 1532892063"
},
"value": "0x5b5e139f"
},
"visibility": "internal"
},
{
"anonymous": false,
"documentation": "0x5b5e139f ===\n bytes4(keccak256('name()')) ^\n bytes4(keccak256('symbol()')) ^\n bytes4(keccak256('tokenURI(uint256)'))",
"id": 647,
"name": "Transfer",
"nodeType": "EventDefinition",
"parameters": {
"id": 646,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 641,
"indexed": true,
"name": "_from",
"nodeType": "VariableDeclaration",
"scope": 647,
"src": "1532:21:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 640,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1532:7:7",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 643,
"indexed": true,
"name": "_to",
"nodeType": "VariableDeclaration",
"scope": 647,
"src": "1559:19:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 642,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1559:7:7",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 645,
"indexed": true,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 647,
"src": "1584:24:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 644,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1584:7:7",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1526:86:7"
},
"src": "1512:101:7"
},
{
"anonymous": false,
"documentation": null,
"id": 655,
"name": "Approval",
"nodeType": "EventDefinition",
"parameters": {
"id": 654,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 649,
"indexed": true,
"name": "_owner",
"nodeType": "VariableDeclaration",
"scope": 655,
"src": "1636:22:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 648,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1636:7:7",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 651,
"indexed": true,
"name": "_approved",
"nodeType": "VariableDeclaration",
"scope": 655,
"src": "1664:25:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 650,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1664:7:7",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 653,
"indexed": true,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 655,
"src": "1695:24:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 652,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1695:7:7",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1630:93:7"
},
"src": "1616:108:7"
},
{
"anonymous": false,
"documentation": null,
"id": 663,
"name": "ApprovalForAll",
"nodeType": "EventDefinition",
"parameters": {
"id": 662,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 657,
"indexed": true,
"name": "_owner",
"nodeType": "VariableDeclaration",
"scope": 663,
"src": "1753:22:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 656,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1753:7:7",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 659,
"indexed": true,
"name": "_operator",
"nodeType": "VariableDeclaration",
"scope": 663,
"src": "1781:25:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 658,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1781:7:7",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 661,
"indexed": false,
"name": "_approved",
"nodeType": "VariableDeclaration",
"scope": 663,
"src": "1812:14:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 660,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "1812:4:7",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1747:83:7"
},
"src": "1727:104:7"
},
{
"body": null,
"documentation": null,
"id": 670,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "balanceOf",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 666,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 665,
"name": "_owner",
"nodeType": "VariableDeclaration",
"scope": 670,
"src": "1854:14:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 664,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1854:7:7",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1853:16:7"
},
"payable": false,
"returnParameters": {
"id": 669,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 668,
"name": "_balance",
"nodeType": "VariableDeclaration",
"scope": 670,
"src": "1891:16:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 667,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1891:7:7",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1890:18:7"
},
"scope": 744,
"src": "1835:74:7",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 677,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "ownerOf",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 673,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 672,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 677,
"src": "1929:16:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 671,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1929:7:7",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1928:18:7"
},
"payable": false,
"returnParameters": {
"id": 676,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 675,
"name": "_owner",
"nodeType": "VariableDeclaration",
"scope": 677,
"src": "1968:14:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 674,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1968:7:7",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1967:16:7"
},
"scope": 744,
"src": "1912:72:7",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 684,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "exists",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 680,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 679,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 684,
"src": "2003:16:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 678,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2003:7:7",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2002:18:7"
},
"payable": false,
"returnParameters": {
"id": 683,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 682,
"name": "_exists",
"nodeType": "VariableDeclaration",
"scope": 684,
"src": "2042:12:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 681,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "2042:4:7",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2041:14:7"
},
"scope": 744,
"src": "1987:69:7",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 691,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "approve",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 689,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 686,
"name": "_to",
"nodeType": "VariableDeclaration",
"scope": 691,
"src": "2077:11:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 685,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2077:7:7",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 688,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 691,
"src": "2090:16:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 687,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2090:7:7",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2076:31:7"
},
"payable": false,
"returnParameters": {
"id": 690,
"nodeType": "ParameterList",
"parameters": [],
"src": "2114:0:7"
},
"scope": 744,
"src": "2060:55:7",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 698,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "getApproved",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 694,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 693,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 698,
"src": "2139:16:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 692,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2139:7:7",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2138:18:7"
},
"payable": false,
"returnParameters": {
"id": 697,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 696,
"name": "_operator",
"nodeType": "VariableDeclaration",
"scope": 698,
"src": "2182:17:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 695,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2182:7:7",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2181:19:7"
},
"scope": 744,
"src": "2118:83:7",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 705,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "setApprovalForAll",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 703,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 700,
"name": "_operator",
"nodeType": "VariableDeclaration",
"scope": 705,
"src": "2232:17:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 699,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2232:7:7",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 702,
"name": "_approved",
"nodeType": "VariableDeclaration",
"scope": 705,
"src": "2251:14:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 701,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "2251:4:7",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2231:35:7"
},
"payable": false,
"returnParameters": {
"id": 704,
"nodeType": "ParameterList",
"parameters": [],
"src": "2273:0:7"
},
"scope": 744,
"src": "2205:69:7",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 714,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "isApprovedForAll",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 710,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 707,
"name": "_owner",
"nodeType": "VariableDeclaration",
"scope": 714,
"src": "2303:14:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 706,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2303:7:7",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 709,
"name": "_operator",
"nodeType": "VariableDeclaration",
"scope": 714,
"src": "2319:17:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 708,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2319:7:7",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2302:35:7"
},
"payable": false,
"returnParameters": {
"id": 713,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 712,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 714,
"src": "2363:4:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 711,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "2363:4:7",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2362:6:7"
},
"scope": 744,
"src": "2277:92:7",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 723,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "transferFrom",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 721,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 716,
"name": "_from",
"nodeType": "VariableDeclaration",
"scope": 723,
"src": "2395:13:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 715,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2395:7:7",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 718,
"name": "_to",
"nodeType": "VariableDeclaration",
"scope": 723,
"src": "2410:11:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 717,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2410:7:7",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 720,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 723,
"src": "2423:16:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 719,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2423:7:7",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2394:46:7"
},
"payable": false,
"returnParameters": {
"id": 722,
"nodeType": "ParameterList",
"parameters": [],
"src": "2447:0:7"
},
"scope": 744,
"src": "2373:75:7",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 732,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "safeTransferFrom",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 730,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 725,
"name": "_from",
"nodeType": "VariableDeclaration",
"scope": 732,
"src": "2477:13:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 724,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2477:7:7",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 727,
"name": "_to",
"nodeType": "VariableDeclaration",
"scope": 732,
"src": "2492:11:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 726,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2492:7:7",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 729,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 732,
"src": "2505:16:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 728,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2505:7:7",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2476:46:7"
},
"payable": false,
"returnParameters": {
"id": 731,
"nodeType": "ParameterList",
"parameters": [],
"src": "2533:0:7"
},
"scope": 744,
"src": "2451:83:7",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 743,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "safeTransferFrom",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 741,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 734,
"name": "_from",
"nodeType": "VariableDeclaration",
"scope": 743,
"src": "2569:13:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 733,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2569:7:7",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 736,
"name": "_to",
"nodeType": "VariableDeclaration",
"scope": 743,
"src": "2588:11:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 735,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2588:7:7",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 738,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 743,
"src": "2605:16:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 737,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2605:7:7",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 740,
"name": "_data",
"nodeType": "VariableDeclaration",
"scope": 743,
"src": "2627:11:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 739,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "2627:5:7",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2563:79:7"
},
"payable": false,
"returnParameters": {
"id": 742,
"nodeType": "ParameterList",
"parameters": [],
"src": "2653:0:7"
},
"scope": 744,
"src": "2538:116:7",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
}
],
"scope": 745,
"src": "211:2445:7"
}
],
"src": "0:2657:7"
},
"compiler": {
"name": "solc",
"version": "0.4.25+commit.59dbf8f1.Emscripten.clang"
},
"networks": {},
"schemaVersion": "2.0.2",
"updatedAt": "2019-01-10T18:16:54.189Z"
}