tokenboost-solidity
Version:
Solidity contracts for TokenBoost
1,660 lines • 51.2 kB
JSON
{
"contractName": "ERC721",
"abi": [
{
"constant": true,
"inputs": [
{
"name": "_interfaceId",
"type": "bytes4"
}
],
"name": "supportsInterface",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "name",
"outputs": [
{
"name": "_name",
"type": "string"
}
],
"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": true,
"inputs": [],
"name": "totalSupply",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"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": true,
"inputs": [
{
"name": "_owner",
"type": "address"
},
{
"name": "_index",
"type": "uint256"
}
],
"name": "tokenOfOwnerByIndex",
"outputs": [
{
"name": "_tokenId",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"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": "_index",
"type": "uint256"
}
],
"name": "tokenByIndex",
"outputs": [
{
"name": "",
"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": "_owner",
"type": "address"
}
],
"name": "balanceOf",
"outputs": [
{
"name": "_balance",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "symbol",
"outputs": [
{
"name": "_symbol",
"type": "string"
}
],
"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": "_tokenId",
"type": "uint256"
}
],
"name": "tokenURI",
"outputs": [
{
"name": "",
"type": "string"
}
],
"payable": false,
"stateMutability": "view",
"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"
}
],
"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": "zeppelin-solidity/contracts/token/ERC721/ERC721.sol",
"ast": {
"absolutePath": "zeppelin-solidity/contracts/token/ERC721/ERC721.sol",
"exportedSymbols": {
"ERC721": [
5496
],
"ERC721Enumerable": [
5469
],
"ERC721Metadata": [
5489
]
},
"id": 5497,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 5444,
"literals": [
"solidity",
"^",
"0.4",
".24"
],
"nodeType": "PragmaDirective",
"src": "0:24:29"
},
{
"absolutePath": "zeppelin-solidity/contracts/token/ERC721/ERC721Basic.sol",
"file": "./ERC721Basic.sol",
"id": 5445,
"nodeType": "ImportDirective",
"scope": 5497,
"sourceUnit": 5619,
"src": "26:27:29",
"symbolAliases": [],
"unitAlias": ""
},
{
"baseContracts": [
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 5446,
"name": "ERC721Basic",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 5618,
"src": "244:11:29",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Basic_$5618",
"typeString": "contract ERC721Basic"
}
},
"id": 5447,
"nodeType": "InheritanceSpecifier",
"src": "244:11:29"
}
],
"contractDependencies": [
4653,
5618
],
"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": 5469,
"linearizedBaseContracts": [
5469,
5618,
4653
],
"name": "ERC721Enumerable",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": null,
"documentation": null,
"id": 5452,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "totalSupply",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 5448,
"nodeType": "ParameterList",
"parameters": [],
"src": "280:2:29"
},
"payable": false,
"returnParameters": {
"id": 5451,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 5450,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 5452,
"src": "304:7:29",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 5449,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "304:7:29",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "303:9:29"
},
"scope": 5469,
"src": "260:53:29",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 5461,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "tokenOfOwnerByIndex",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 5457,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 5454,
"name": "_owner",
"nodeType": "VariableDeclaration",
"scope": 5461,
"src": "350:14:29",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 5453,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "350:7:29",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 5456,
"name": "_index",
"nodeType": "VariableDeclaration",
"scope": 5461,
"src": "370:14:29",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 5455,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "370:7:29",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "344:44:29"
},
"payable": false,
"returnParameters": {
"id": 5460,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 5459,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 5461,
"src": "422:16:29",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 5458,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "422:7:29",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "421:18:29"
},
"scope": 5469,
"src": "316:124:29",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 5468,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "tokenByIndex",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 5464,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 5463,
"name": "_index",
"nodeType": "VariableDeclaration",
"scope": 5468,
"src": "466:14:29",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 5462,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "466:7:29",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "465:16:29"
},
"payable": false,
"returnParameters": {
"id": 5467,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 5466,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 5468,
"src": "503:7:29",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 5465,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "503:7:29",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "502:9:29"
},
"scope": 5469,
"src": "444:68:29",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
}
],
"scope": 5497,
"src": "215:299:29"
},
{
"baseContracts": [
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 5470,
"name": "ERC721Basic",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 5618,
"src": "700:11:29",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Basic_$5618",
"typeString": "contract ERC721Basic"
}
},
"id": 5471,
"nodeType": "InheritanceSpecifier",
"src": "700:11:29"
}
],
"contractDependencies": [
4653,
5618
],
"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": 5489,
"linearizedBaseContracts": [
5489,
5618,
4653
],
"name": "ERC721Metadata",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": null,
"documentation": null,
"id": 5476,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "name",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 5472,
"nodeType": "ParameterList",
"parameters": [],
"src": "729:2:29"
},
"payable": false,
"returnParameters": {
"id": 5475,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 5474,
"name": "_name",
"nodeType": "VariableDeclaration",
"scope": 5476,
"src": "755:12:29",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 5473,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "755:6:29",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "754:14:29"
},
"scope": 5489,
"src": "716:53:29",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 5481,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "symbol",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 5477,
"nodeType": "ParameterList",
"parameters": [],
"src": "787:2:29"
},
"payable": false,
"returnParameters": {
"id": 5480,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 5479,
"name": "_symbol",
"nodeType": "VariableDeclaration",
"scope": 5481,
"src": "813:14:29",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 5478,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "813:6:29",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "812:16:29"
},
"scope": 5489,
"src": "772:57:29",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 5488,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "tokenURI",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 5484,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 5483,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 5488,
"src": "850:16:29",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 5482,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "850:7:29",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "849:18:29"
},
"payable": false,
"returnParameters": {
"id": 5487,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 5486,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 5488,
"src": "889:6:29",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 5485,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "889:6:29",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "888:8:29"
},
"scope": 5489,
"src": "832:65:29",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
}
],
"scope": 5497,
"src": "673:226:29"
},
{
"baseContracts": [
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 5490,
"name": "ERC721Basic",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 5618,
"src": "1079:11:29",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Basic_$5618",
"typeString": "contract ERC721Basic"
}
},
"id": 5491,
"nodeType": "InheritanceSpecifier",
"src": "1079:11:29"
},
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 5492,
"name": "ERC721Enumerable",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 5469,
"src": "1092:16:29",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Enumerable_$5469",
"typeString": "contract ERC721Enumerable"
}
},
"id": 5493,
"nodeType": "InheritanceSpecifier",
"src": "1092:16:29"
},
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 5494,
"name": "ERC721Metadata",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 5489,
"src": "1110:14:29",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Metadata_$5489",
"typeString": "contract ERC721Metadata"
}
},
"id": 5495,
"nodeType": "InheritanceSpecifier",
"src": "1110:14:29"
}
],
"contractDependencies": [
4653,
5469,
5489,
5618
],
"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": 5496,
"linearizedBaseContracts": [
5496,
5489,
5469,
5618,
4653
],
"name": "ERC721",
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 5497,
"src": "1060:68:29"
}
],
"src": "0:1129:29"
},
"legacyAST": {
"absolutePath": "zeppelin-solidity/contracts/token/ERC721/ERC721.sol",
"exportedSymbols": {
"ERC721": [
5496
],
"ERC721Enumerable": [
5469
],
"ERC721Metadata": [
5489
]
},
"id": 5497,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 5444,
"literals": [
"solidity",
"^",
"0.4",
".24"
],
"nodeType": "PragmaDirective",
"src": "0:24:29"
},
{
"absolutePath": "zeppelin-solidity/contracts/token/ERC721/ERC721Basic.sol",
"file": "./ERC721Basic.sol",
"id": 5445,
"nodeType": "ImportDirective",
"scope": 5497,
"sourceUnit": 5619,
"src": "26:27:29",
"symbolAliases": [],
"unitAlias": ""
},
{
"baseContracts": [
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 5446,
"name": "ERC721Basic",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 5618,
"src": "244:11:29",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Basic_$5618",
"typeString": "contract ERC721Basic"
}
},
"id": 5447,
"nodeType": "InheritanceSpecifier",
"src": "244:11:29"
}
],
"contractDependencies": [
4653,
5618
],
"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": 5469,
"linearizedBaseContracts": [
5469,
5618,
4653
],
"name": "ERC721Enumerable",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": null,
"documentation": null,
"id": 5452,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "totalSupply",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 5448,
"nodeType": "ParameterList",
"parameters": [],
"src": "280:2:29"
},
"payable": false,
"returnParameters": {
"id": 5451,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 5450,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 5452,
"src": "304:7:29",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 5449,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "304:7:29",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "303:9:29"
},
"scope": 5469,
"src": "260:53:29",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 5461,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "tokenOfOwnerByIndex",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 5457,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 5454,
"name": "_owner",
"nodeType": "VariableDeclaration",
"scope": 5461,
"src": "350:14:29",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 5453,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "350:7:29",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 5456,
"name": "_index",
"nodeType": "VariableDeclaration",
"scope": 5461,
"src": "370:14:29",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 5455,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "370:7:29",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "344:44:29"
},
"payable": false,
"returnParameters": {
"id": 5460,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 5459,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 5461,
"src": "422:16:29",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 5458,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "422:7:29",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "421:18:29"
},
"scope": 5469,
"src": "316:124:29",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 5468,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "tokenByIndex",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 5464,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 5463,
"name": "_index",
"nodeType": "VariableDeclaration",
"scope": 5468,
"src": "466:14:29",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 5462,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "466:7:29",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "465:16:29"
},
"payable": false,
"returnParameters": {
"id": 5467,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 5466,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 5468,
"src": "503:7:29",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 5465,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "503:7:29",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "502:9:29"
},
"scope": 5469,
"src": "444:68:29",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
}
],
"scope": 5497,
"src": "215:299:29"
},
{
"baseContracts": [
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 5470,
"name": "ERC721Basic",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 5618,
"src": "700:11:29",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Basic_$5618",
"typeString": "contract ERC721Basic"
}
},
"id": 5471,
"nodeType": "InheritanceSpecifier",
"src": "700:11:29"
}
],
"contractDependencies": [
4653,
5618
],
"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": 5489,
"linearizedBaseContracts": [
5489,
5618,
4653
],
"name": "ERC721Metadata",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": null,
"documentation": null,
"id": 5476,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "name",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 5472,
"nodeType": "ParameterList",
"parameters": [],
"src": "729:2:29"
},
"payable": false,
"returnParameters": {
"id": 5475,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 5474,
"name": "_name",
"nodeType": "VariableDeclaration",
"scope": 5476,
"src": "755:12:29",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 5473,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "755:6:29",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "754:14:29"
},
"scope": 5489,
"src": "716:53:29",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 5481,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "symbol",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 5477,
"nodeType": "ParameterList",
"parameters": [],
"src": "787:2:29"
},
"payable": false,
"returnParameters": {
"id": 5480,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 5479,
"name": "_symbol",
"nodeType": "VariableDeclaration",
"scope": 5481,
"src": "813:14:29",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 5478,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "813:6:29",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "812:16:29"
},
"scope": 5489,
"src": "772:57:29",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
},
{
"body": null,
"documentation": null,
"id": 5488,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "tokenURI",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 5484,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 5483,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 5488,
"src": "850:16:29",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 5482,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "850:7:29",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "849:18:29"
},
"payable": false,
"returnParameters": {
"id": 5487,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 5486,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 5488,
"src": "889:6:29",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 5485,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "889:6:29",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "888:8:29"
},
"scope": 5489,
"src": "832:65:29",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
}
],
"scope": 5497,
"src": "673:226:29"
},
{
"baseContracts": [
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 5490,
"name": "ERC721Basic",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 5618,
"src": "1079:11:29",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Basic_$5618",
"typeString": "contract ERC721Basic"
}
},
"id": 5491,
"nodeType": "InheritanceSpecifier",
"src": "1079:11:29"
},
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 5492,
"name": "ERC721Enumerable",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 5469,
"src": "1092:16:29",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Enumerable_$5469",
"typeString": "contract ERC721Enumerable"
}
},
"id": 5493,
"nodeType": "InheritanceSpecifier",
"src": "1092:16:29"
},
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 5494,
"name": "ERC721Metadata",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 5489,
"src": "1110:14:29",
"typeDescriptions"