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

1656 lines
49 KiB
JSON

{
"contractName": "ERC721Enumerable",
"abi": [
{
"constant": true,
"inputs": [
{
"name": "_interfaceId",
"type": "bytes4"
}
],
"name": "supportsInterface",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"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": "_to",
"type": "address"
},
{
"name": "_tokenId",
"type": "uint256"
}
],
"name": "approve",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"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": true,
"inputs": [
{
"name": "_tokenId",
"type": "uint256"
}
],
"name": "exists",
"outputs": [
{
"name": "_exists",
"type": "bool"
}
],
"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": "_owner",
"type": "address"
}
],
"name": "balanceOf",
"outputs": [
{
"name": "_balance",
"type": "uint256"
}
],
"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": 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"
},
{
"constant": true,
"inputs": [
{
"name": "_owner",
"type": "address"
},
{
"name": "_operator",
"type": "address"
}
],
"name": "isApprovedForAll",
"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": "totalSupply",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_owner",
"type": "address"
},
{
"name": "_index",
"type": "uint256"
}
],
"name": "tokenOfOwnerByIndex",
"outputs": [
{
"name": "_tokenId",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "_index",
"type": "uint256"
}
],
"name": "tokenByIndex",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
}
],
"bytecode": "0x",
"deployedBytecode": "0x",
"sourceMap": "",
"deployedSourceMap": "",
"source": "pragma solidity ^0.4.24;\n\nimport \"./ERC721Basic.sol\";\n\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n * @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md\n */\ncontract ERC721Enumerable is ERC721Basic {\n function totalSupply() public view returns (uint256);\n function tokenOfOwnerByIndex(\n address _owner,\n uint256 _index\n )\n public\n view\n returns (uint256 _tokenId);\n\n function tokenByIndex(uint256 _index) public view returns (uint256);\n}\n\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n * @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md\n */\ncontract ERC721Metadata is ERC721Basic {\n function name() external view returns (string _name);\n function symbol() external view returns (string _symbol);\n function tokenURI(uint256 _tokenId) public view returns (string);\n}\n\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, full implementation interface\n * @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md\n */\ncontract ERC721 is ERC721Basic, ERC721Enumerable, ERC721Metadata {\n}\n",
"sourcePath": "/Users/willpark/Desktop/bookwork-blockchain/testcodes/9nftdapp-new/backend-nftdapp/node_modules/zeppelin-solidity/contracts/token/ERC721/ERC721.sol",
"ast": {
"absolutePath": "/Users/willpark/Desktop/bookwork-blockchain/testcodes/9nftdapp-new/backend-nftdapp/node_modules/zeppelin-solidity/contracts/token/ERC721/ERC721.sol",
"exportedSymbols": {
"ERC721": [
622
],
"ERC721Enumerable": [
595
],
"ERC721Metadata": [
615
]
},
"id": 623,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 570,
"literals": [
"solidity",
"^",
"0.4",
".24"
],
"nodeType": "PragmaDirective",
"src": "0:24:6"
},
{
"absolutePath": "/Users/willpark/Desktop/bookwork-blockchain/testcodes/9nftdapp-new/backend-nftdapp/node_modules/zeppelin-solidity/contracts/token/ERC721/ERC721Basic.sol",
"file": "./ERC721Basic.sol",
"id": 571,
"nodeType": "ImportDirective",
"scope": 623,
"sourceUnit": 745,
"src": "26:27:6",
"symbolAliases": [],
"unitAlias": ""
},
{
"baseContracts": [
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 572,
"name": "ERC721Basic",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 744,
"src": "244:11:6",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Basic_$744",
"typeString": "contract ERC721Basic"
}
},
"id": 573,
"nodeType": "InheritanceSpecifier",
"src": "244:11:6"
}
],
"contractDependencies": [
423,
744
],
"contractKind": "contract",
"documentation": "@title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n@dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md",
"fullyImplemented": false,
"id": 595,
"linearizedBaseContracts": [
595,
744,
423
],
"name": "ERC721Enumerable",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": null,
"documentation": null,
"id": 578,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "totalSupply",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 574,
"nodeType": "ParameterList",
"parameters": [],
"src": "280:2:6"
},
"payable": false,
"returnParameters": {
"id": 577,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 576,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 578,
"src": "304:7:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 575,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "304:7:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "303:9:6"
},
"scope": 595,
"src": "260:53:6",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 587,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "tokenOfOwnerByIndex",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 583,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 580,
"name": "_owner",
"nodeType": "VariableDeclaration",
"scope": 587,
"src": "350:14:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 579,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "350:7:6",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 582,
"name": "_index",
"nodeType": "VariableDeclaration",
"scope": 587,
"src": "370:14:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 581,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "370:7:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "344:44:6"
},
"payable": false,
"returnParameters": {
"id": 586,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 585,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 587,
"src": "422:16:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 584,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "422:7:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "421:18:6"
},
"scope": 595,
"src": "316:124:6",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 594,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "tokenByIndex",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 590,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 589,
"name": "_index",
"nodeType": "VariableDeclaration",
"scope": 594,
"src": "466:14:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 588,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "466:7:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "465:16:6"
},
"payable": false,
"returnParameters": {
"id": 593,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 592,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 594,
"src": "503:7:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 591,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "503:7:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "502:9:6"
},
"scope": 595,
"src": "444:68:6",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
}
],
"scope": 623,
"src": "215:299:6"
},
{
"baseContracts": [
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 596,
"name": "ERC721Basic",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 744,
"src": "700:11:6",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Basic_$744",
"typeString": "contract ERC721Basic"
}
},
"id": 597,
"nodeType": "InheritanceSpecifier",
"src": "700:11:6"
}
],
"contractDependencies": [
423,
744
],
"contractKind": "contract",
"documentation": "@title ERC-721 Non-Fungible Token Standard, optional metadata extension\n@dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md",
"fullyImplemented": false,
"id": 615,
"linearizedBaseContracts": [
615,
744,
423
],
"name": "ERC721Metadata",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": null,
"documentation": null,
"id": 602,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "name",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 598,
"nodeType": "ParameterList",
"parameters": [],
"src": "729:2:6"
},
"payable": false,
"returnParameters": {
"id": 601,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 600,
"name": "_name",
"nodeType": "VariableDeclaration",
"scope": 602,
"src": "755:12:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 599,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "755:6:6",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "754:14:6"
},
"scope": 615,
"src": "716:53:6",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 607,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "symbol",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 603,
"nodeType": "ParameterList",
"parameters": [],
"src": "787:2:6"
},
"payable": false,
"returnParameters": {
"id": 606,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 605,
"name": "_symbol",
"nodeType": "VariableDeclaration",
"scope": 607,
"src": "813:14:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 604,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "813:6:6",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "812:16:6"
},
"scope": 615,
"src": "772:57:6",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 614,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "tokenURI",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 610,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 609,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 614,
"src": "850:16:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 608,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "850:7:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "849:18:6"
},
"payable": false,
"returnParameters": {
"id": 613,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 612,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 614,
"src": "889:6:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 611,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "889:6:6",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "888:8:6"
},
"scope": 615,
"src": "832:65:6",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
}
],
"scope": 623,
"src": "673:226:6"
},
{
"baseContracts": [
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 616,
"name": "ERC721Basic",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 744,
"src": "1079:11:6",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Basic_$744",
"typeString": "contract ERC721Basic"
}
},
"id": 617,
"nodeType": "InheritanceSpecifier",
"src": "1079:11:6"
},
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 618,
"name": "ERC721Enumerable",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 595,
"src": "1092:16:6",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Enumerable_$595",
"typeString": "contract ERC721Enumerable"
}
},
"id": 619,
"nodeType": "InheritanceSpecifier",
"src": "1092:16:6"
},
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 620,
"name": "ERC721Metadata",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 615,
"src": "1110:14:6",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Metadata_$615",
"typeString": "contract ERC721Metadata"
}
},
"id": 621,
"nodeType": "InheritanceSpecifier",
"src": "1110:14:6"
}
],
"contractDependencies": [
423,
595,
615,
744
],
"contractKind": "contract",
"documentation": "@title ERC-721 Non-Fungible Token Standard, full implementation interface\n@dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md",
"fullyImplemented": false,
"id": 622,
"linearizedBaseContracts": [
622,
615,
595,
744,
423
],
"name": "ERC721",
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 623,
"src": "1060:68:6"
}
],
"src": "0:1129:6"
},
"legacyAST": {
"absolutePath": "/Users/willpark/Desktop/bookwork-blockchain/testcodes/9nftdapp-new/backend-nftdapp/node_modules/zeppelin-solidity/contracts/token/ERC721/ERC721.sol",
"exportedSymbols": {
"ERC721": [
622
],
"ERC721Enumerable": [
595
],
"ERC721Metadata": [
615
]
},
"id": 623,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 570,
"literals": [
"solidity",
"^",
"0.4",
".24"
],
"nodeType": "PragmaDirective",
"src": "0:24:6"
},
{
"absolutePath": "/Users/willpark/Desktop/bookwork-blockchain/testcodes/9nftdapp-new/backend-nftdapp/node_modules/zeppelin-solidity/contracts/token/ERC721/ERC721Basic.sol",
"file": "./ERC721Basic.sol",
"id": 571,
"nodeType": "ImportDirective",
"scope": 623,
"sourceUnit": 745,
"src": "26:27:6",
"symbolAliases": [],
"unitAlias": ""
},
{
"baseContracts": [
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 572,
"name": "ERC721Basic",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 744,
"src": "244:11:6",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Basic_$744",
"typeString": "contract ERC721Basic"
}
},
"id": 573,
"nodeType": "InheritanceSpecifier",
"src": "244:11:6"
}
],
"contractDependencies": [
423,
744
],
"contractKind": "contract",
"documentation": "@title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n@dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md",
"fullyImplemented": false,
"id": 595,
"linearizedBaseContracts": [
595,
744,
423
],
"name": "ERC721Enumerable",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": null,
"documentation": null,
"id": 578,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "totalSupply",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 574,
"nodeType": "ParameterList",
"parameters": [],
"src": "280:2:6"
},
"payable": false,
"returnParameters": {
"id": 577,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 576,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 578,
"src": "304:7:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 575,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "304:7:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "303:9:6"
},
"scope": 595,
"src": "260:53:6",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 587,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "tokenOfOwnerByIndex",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 583,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 580,
"name": "_owner",
"nodeType": "VariableDeclaration",
"scope": 587,
"src": "350:14:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 579,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "350:7:6",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 582,
"name": "_index",
"nodeType": "VariableDeclaration",
"scope": 587,
"src": "370:14:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 581,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "370:7:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "344:44:6"
},
"payable": false,
"returnParameters": {
"id": 586,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 585,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 587,
"src": "422:16:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 584,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "422:7:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "421:18:6"
},
"scope": 595,
"src": "316:124:6",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 594,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "tokenByIndex",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 590,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 589,
"name": "_index",
"nodeType": "VariableDeclaration",
"scope": 594,
"src": "466:14:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 588,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "466:7:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "465:16:6"
},
"payable": false,
"returnParameters": {
"id": 593,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 592,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 594,
"src": "503:7:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 591,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "503:7:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "502:9:6"
},
"scope": 595,
"src": "444:68:6",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
}
],
"scope": 623,
"src": "215:299:6"
},
{
"baseContracts": [
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 596,
"name": "ERC721Basic",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 744,
"src": "700:11:6",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Basic_$744",
"typeString": "contract ERC721Basic"
}
},
"id": 597,
"nodeType": "InheritanceSpecifier",
"src": "700:11:6"
}
],
"contractDependencies": [
423,
744
],
"contractKind": "contract",
"documentation": "@title ERC-721 Non-Fungible Token Standard, optional metadata extension\n@dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md",
"fullyImplemented": false,
"id": 615,
"linearizedBaseContracts": [
615,
744,
423
],
"name": "ERC721Metadata",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": null,
"documentation": null,
"id": 602,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "name",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 598,
"nodeType": "ParameterList",
"parameters": [],
"src": "729:2:6"
},
"payable": false,
"returnParameters": {
"id": 601,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 600,
"name": "_name",
"nodeType": "VariableDeclaration",
"scope": 602,
"src": "755:12:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 599,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "755:6:6",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "754:14:6"
},
"scope": 615,
"src": "716:53:6",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 607,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "symbol",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 603,
"nodeType": "ParameterList",
"parameters": [],
"src": "787:2:6"
},
"payable": false,
"returnParameters": {
"id": 606,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 605,
"name": "_symbol",
"nodeType": "VariableDeclaration",
"scope": 607,
"src": "813:14:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 604,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "813:6:6",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "812:16:6"
},
"scope": 615,
"src": "772:57:6",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 614,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "tokenURI",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 610,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 609,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 614,
"src": "850:16:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 608,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "850:7:6",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "849:18:6"
},
"payable": false,
"returnParameters": {
"id": 613,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 612,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 614,
"src": "889:6:6",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 611,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "889:6:6",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "888:8:6"
},
"scope": 615,
"src": "832:65:6",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
}
],
"scope": 623,
"src": "673:226:6"
},
{
"baseContracts": [
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 616,
"name": "ERC721Basic",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 744,
"src": "1079:11:6",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Basic_$744",
"typeString": "contract ERC721Basic"
}
},
"id": 617,
"nodeType": "InheritanceSpecifier",
"src": "1079:11:6"
},
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 618,
"name": "ERC721Enumerable",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 595,
"src": "1092:16:6",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Enumerable_$595",
"typeString": "contract ERC721Enumerable"
}
},
"id": 619,
"nodeType": "InheritanceSpecifier",
"src": "1092:16:6"
},
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 620,
"name": "ERC721Metadata",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 615,
"src": "1110:14:6",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Metadata_$615",
"typeString": "contract ERC721Metadata"
}
},
"id": 621,
"nodeType": "InheritanceSpecifier",
"src": "1110:14:6"
}
],
"contractDependencies": [
423,
595,
615,
744
],
"contractKind": "contract",
"documentation": "@title ERC-721 Non-Fungible Token Standard, full implementation interface\n@dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md",
"fullyImplemented": false,
"id": 622,
"linearizedBaseContracts": [
622,
615,
595,
744,
423
],
"name": "ERC721",
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 623,
"src": "1060:68:6"
}
],
"src": "0:1129:6"
},
"compiler": {
"name": "solc",
"version": "0.4.25+commit.59dbf8f1.Emscripten.clang"
},
"networks": {},
"schemaVersion": "2.0.2",
"updatedAt": "2019-01-10T18:16:54.183Z"
}