Files
2020-03-25 13:49:36 +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-klaytn/project_codes/nftbapp/backend-nftdapp/node_modules/zeppelin-solidity/contracts/token/ERC721/ERC721Basic.sol",
"ast": {
"absolutePath": "/Users/willpark/Desktop/bookwork-klaytn/project_codes/nftbapp/backend-nftdapp/node_modules/zeppelin-solidity/contracts/token/ERC721/ERC721Basic.sol",
"exportedSymbols": {
"ERC721Basic": [
801
]
},
"id": 802,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 681,
"literals": [
"solidity",
"^",
"0.4",
".24"
],
"nodeType": "PragmaDirective",
"src": "0:24:8"
},
{
"absolutePath": "/Users/willpark/Desktop/bookwork-klaytn/project_codes/nftbapp/backend-nftdapp/node_modules/zeppelin-solidity/contracts/introspection/ERC165.sol",
"file": "../../introspection/ERC165.sol",
"id": 682,
"nodeType": "ImportDirective",
"scope": 802,
"sourceUnit": 481,
"src": "26:40:8",
"symbolAliases": [],
"unitAlias": ""
},
{
"baseContracts": [
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 683,
"name": "ERC165",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 480,
"src": "235:6:8",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC165_$480",
"typeString": "contract ERC165"
}
},
"id": 684,
"nodeType": "InheritanceSpecifier",
"src": "235:6:8"
}
],
"contractDependencies": [
480
],
"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": 801,
"linearizedBaseContracts": [
801,
480
],
"name": "ERC721Basic",
"nodeType": "ContractDefinition",
"nodes": [
{
"constant": true,
"id": 687,
"name": "InterfaceId_ERC721",
"nodeType": "VariableDeclaration",
"scope": 801,
"src": "247:56:8",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
},
"typeName": {
"id": 685,
"name": "bytes4",
"nodeType": "ElementaryTypeName",
"src": "247:6:8",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
}
},
"value": {
"argumentTypes": null,
"hexValue": "30783830616335386364",
"id": 686,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "293:10:8",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_2158778573_by_1",
"typeString": "int_const 2158778573"
},
"value": "0x80ac58cd"
},
"visibility": "internal"
},
{
"constant": true,
"id": 690,
"name": "InterfaceId_ERC721Exists",
"nodeType": "VariableDeclaration",
"scope": 801,
"src": "883:62:8",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
},
"typeName": {
"id": 688,
"name": "bytes4",
"nodeType": "ElementaryTypeName",
"src": "883:6:8",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
}
},
"value": {
"argumentTypes": null,
"hexValue": "30783466353538653739",
"id": 689,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "935:10:8",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_1331007097_by_1",
"typeString": "int_const 1331007097"
},
"value": "0x4f558e79"
},
"visibility": "internal"
},
{
"constant": true,
"id": 693,
"name": "InterfaceId_ERC721Enumerable",
"nodeType": "VariableDeclaration",
"scope": 801,
"src": "1025:66:8",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
},
"typeName": {
"id": 691,
"name": "bytes4",
"nodeType": "ElementaryTypeName",
"src": "1025:6:8",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
}
},
"value": {
"argumentTypes": null,
"hexValue": "30783738306539643633",
"id": 692,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1081:10:8",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_2014223715_by_1",
"typeString": "int_const 2014223715"
},
"value": "0x780e9d63"
},
"visibility": "internal"
},
{
"constant": true,
"id": 696,
"name": "InterfaceId_ERC721Metadata",
"nodeType": "VariableDeclaration",
"scope": 801,
"src": "1289:64:8",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
},
"typeName": {
"id": 694,
"name": "bytes4",
"nodeType": "ElementaryTypeName",
"src": "1289:6:8",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
}
},
"value": {
"argumentTypes": null,
"hexValue": "30783562356531333966",
"id": 695,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1343:10:8",
"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": 704,
"name": "Transfer",
"nodeType": "EventDefinition",
"parameters": {
"id": 703,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 698,
"indexed": true,
"name": "_from",
"nodeType": "VariableDeclaration",
"scope": 704,
"src": "1532:21:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 697,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1532:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 700,
"indexed": true,
"name": "_to",
"nodeType": "VariableDeclaration",
"scope": 704,
"src": "1559:19:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 699,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1559:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 702,
"indexed": true,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 704,
"src": "1584:24:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 701,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1584:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1526:86:8"
},
"src": "1512:101:8"
},
{
"anonymous": false,
"documentation": null,
"id": 712,
"name": "Approval",
"nodeType": "EventDefinition",
"parameters": {
"id": 711,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 706,
"indexed": true,
"name": "_owner",
"nodeType": "VariableDeclaration",
"scope": 712,
"src": "1636:22:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 705,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1636:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 708,
"indexed": true,
"name": "_approved",
"nodeType": "VariableDeclaration",
"scope": 712,
"src": "1664:25:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 707,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1664:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 710,
"indexed": true,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 712,
"src": "1695:24:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 709,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1695:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1630:93:8"
},
"src": "1616:108:8"
},
{
"anonymous": false,
"documentation": null,
"id": 720,
"name": "ApprovalForAll",
"nodeType": "EventDefinition",
"parameters": {
"id": 719,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 714,
"indexed": true,
"name": "_owner",
"nodeType": "VariableDeclaration",
"scope": 720,
"src": "1753:22:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 713,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1753:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 716,
"indexed": true,
"name": "_operator",
"nodeType": "VariableDeclaration",
"scope": 720,
"src": "1781:25:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 715,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1781:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 718,
"indexed": false,
"name": "_approved",
"nodeType": "VariableDeclaration",
"scope": 720,
"src": "1812:14:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 717,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "1812:4:8",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1747:83:8"
},
"src": "1727:104:8"
},
{
"body": null,
"documentation": null,
"id": 727,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "balanceOf",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 723,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 722,
"name": "_owner",
"nodeType": "VariableDeclaration",
"scope": 727,
"src": "1854:14:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 721,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1854:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1853:16:8"
},
"payable": false,
"returnParameters": {
"id": 726,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 725,
"name": "_balance",
"nodeType": "VariableDeclaration",
"scope": 727,
"src": "1891:16:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 724,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1891:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1890:18:8"
},
"scope": 801,
"src": "1835:74:8",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 734,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "ownerOf",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 730,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 729,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 734,
"src": "1929:16:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 728,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1929:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1928:18:8"
},
"payable": false,
"returnParameters": {
"id": 733,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 732,
"name": "_owner",
"nodeType": "VariableDeclaration",
"scope": 734,
"src": "1968:14:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 731,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1968:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1967:16:8"
},
"scope": 801,
"src": "1912:72:8",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 741,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "exists",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 737,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 736,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 741,
"src": "2003:16:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 735,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2003:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2002:18:8"
},
"payable": false,
"returnParameters": {
"id": 740,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 739,
"name": "_exists",
"nodeType": "VariableDeclaration",
"scope": 741,
"src": "2042:12:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 738,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "2042:4:8",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2041:14:8"
},
"scope": 801,
"src": "1987:69:8",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 748,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "approve",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 746,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 743,
"name": "_to",
"nodeType": "VariableDeclaration",
"scope": 748,
"src": "2077:11:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 742,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2077:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 745,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 748,
"src": "2090:16:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 744,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2090:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2076:31:8"
},
"payable": false,
"returnParameters": {
"id": 747,
"nodeType": "ParameterList",
"parameters": [],
"src": "2114:0:8"
},
"scope": 801,
"src": "2060:55:8",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 755,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "getApproved",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 751,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 750,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 755,
"src": "2139:16:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 749,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2139:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2138:18:8"
},
"payable": false,
"returnParameters": {
"id": 754,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 753,
"name": "_operator",
"nodeType": "VariableDeclaration",
"scope": 755,
"src": "2182:17:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 752,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2182:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2181:19:8"
},
"scope": 801,
"src": "2118:83:8",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 762,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "setApprovalForAll",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 760,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 757,
"name": "_operator",
"nodeType": "VariableDeclaration",
"scope": 762,
"src": "2232:17:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 756,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2232:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 759,
"name": "_approved",
"nodeType": "VariableDeclaration",
"scope": 762,
"src": "2251:14:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 758,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "2251:4:8",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2231:35:8"
},
"payable": false,
"returnParameters": {
"id": 761,
"nodeType": "ParameterList",
"parameters": [],
"src": "2273:0:8"
},
"scope": 801,
"src": "2205:69:8",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 771,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "isApprovedForAll",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 767,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 764,
"name": "_owner",
"nodeType": "VariableDeclaration",
"scope": 771,
"src": "2303:14:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 763,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2303:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 766,
"name": "_operator",
"nodeType": "VariableDeclaration",
"scope": 771,
"src": "2319:17:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 765,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2319:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2302:35:8"
},
"payable": false,
"returnParameters": {
"id": 770,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 769,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 771,
"src": "2363:4:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 768,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "2363:4:8",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2362:6:8"
},
"scope": 801,
"src": "2277:92:8",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 780,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "transferFrom",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 778,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 773,
"name": "_from",
"nodeType": "VariableDeclaration",
"scope": 780,
"src": "2395:13:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 772,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2395:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 775,
"name": "_to",
"nodeType": "VariableDeclaration",
"scope": 780,
"src": "2410:11:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 774,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2410:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 777,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 780,
"src": "2423:16:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 776,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2423:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2394:46:8"
},
"payable": false,
"returnParameters": {
"id": 779,
"nodeType": "ParameterList",
"parameters": [],
"src": "2447:0:8"
},
"scope": 801,
"src": "2373:75:8",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 789,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "safeTransferFrom",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 787,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 782,
"name": "_from",
"nodeType": "VariableDeclaration",
"scope": 789,
"src": "2477:13:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 781,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2477:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 784,
"name": "_to",
"nodeType": "VariableDeclaration",
"scope": 789,
"src": "2492:11:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 783,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2492:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 786,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 789,
"src": "2505:16:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 785,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2505:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2476:46:8"
},
"payable": false,
"returnParameters": {
"id": 788,
"nodeType": "ParameterList",
"parameters": [],
"src": "2533:0:8"
},
"scope": 801,
"src": "2451:83:8",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 800,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "safeTransferFrom",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 798,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 791,
"name": "_from",
"nodeType": "VariableDeclaration",
"scope": 800,
"src": "2569:13:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 790,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2569:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 793,
"name": "_to",
"nodeType": "VariableDeclaration",
"scope": 800,
"src": "2588:11:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 792,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2588:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 795,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 800,
"src": "2605:16:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 794,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2605:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 797,
"name": "_data",
"nodeType": "VariableDeclaration",
"scope": 800,
"src": "2627:11:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 796,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "2627:5:8",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2563:79:8"
},
"payable": false,
"returnParameters": {
"id": 799,
"nodeType": "ParameterList",
"parameters": [],
"src": "2653:0:8"
},
"scope": 801,
"src": "2538:116:8",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
}
],
"scope": 802,
"src": "211:2445:8"
}
],
"src": "0:2657:8"
},
"legacyAST": {
"absolutePath": "/Users/willpark/Desktop/bookwork-klaytn/project_codes/nftbapp/backend-nftdapp/node_modules/zeppelin-solidity/contracts/token/ERC721/ERC721Basic.sol",
"exportedSymbols": {
"ERC721Basic": [
801
]
},
"id": 802,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 681,
"literals": [
"solidity",
"^",
"0.4",
".24"
],
"nodeType": "PragmaDirective",
"src": "0:24:8"
},
{
"absolutePath": "/Users/willpark/Desktop/bookwork-klaytn/project_codes/nftbapp/backend-nftdapp/node_modules/zeppelin-solidity/contracts/introspection/ERC165.sol",
"file": "../../introspection/ERC165.sol",
"id": 682,
"nodeType": "ImportDirective",
"scope": 802,
"sourceUnit": 481,
"src": "26:40:8",
"symbolAliases": [],
"unitAlias": ""
},
{
"baseContracts": [
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 683,
"name": "ERC165",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 480,
"src": "235:6:8",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC165_$480",
"typeString": "contract ERC165"
}
},
"id": 684,
"nodeType": "InheritanceSpecifier",
"src": "235:6:8"
}
],
"contractDependencies": [
480
],
"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": 801,
"linearizedBaseContracts": [
801,
480
],
"name": "ERC721Basic",
"nodeType": "ContractDefinition",
"nodes": [
{
"constant": true,
"id": 687,
"name": "InterfaceId_ERC721",
"nodeType": "VariableDeclaration",
"scope": 801,
"src": "247:56:8",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
},
"typeName": {
"id": 685,
"name": "bytes4",
"nodeType": "ElementaryTypeName",
"src": "247:6:8",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
}
},
"value": {
"argumentTypes": null,
"hexValue": "30783830616335386364",
"id": 686,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "293:10:8",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_2158778573_by_1",
"typeString": "int_const 2158778573"
},
"value": "0x80ac58cd"
},
"visibility": "internal"
},
{
"constant": true,
"id": 690,
"name": "InterfaceId_ERC721Exists",
"nodeType": "VariableDeclaration",
"scope": 801,
"src": "883:62:8",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
},
"typeName": {
"id": 688,
"name": "bytes4",
"nodeType": "ElementaryTypeName",
"src": "883:6:8",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
}
},
"value": {
"argumentTypes": null,
"hexValue": "30783466353538653739",
"id": 689,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "935:10:8",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_1331007097_by_1",
"typeString": "int_const 1331007097"
},
"value": "0x4f558e79"
},
"visibility": "internal"
},
{
"constant": true,
"id": 693,
"name": "InterfaceId_ERC721Enumerable",
"nodeType": "VariableDeclaration",
"scope": 801,
"src": "1025:66:8",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
},
"typeName": {
"id": 691,
"name": "bytes4",
"nodeType": "ElementaryTypeName",
"src": "1025:6:8",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
}
},
"value": {
"argumentTypes": null,
"hexValue": "30783738306539643633",
"id": 692,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1081:10:8",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_2014223715_by_1",
"typeString": "int_const 2014223715"
},
"value": "0x780e9d63"
},
"visibility": "internal"
},
{
"constant": true,
"id": 696,
"name": "InterfaceId_ERC721Metadata",
"nodeType": "VariableDeclaration",
"scope": 801,
"src": "1289:64:8",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
},
"typeName": {
"id": 694,
"name": "bytes4",
"nodeType": "ElementaryTypeName",
"src": "1289:6:8",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
}
},
"value": {
"argumentTypes": null,
"hexValue": "30783562356531333966",
"id": 695,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1343:10:8",
"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": 704,
"name": "Transfer",
"nodeType": "EventDefinition",
"parameters": {
"id": 703,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 698,
"indexed": true,
"name": "_from",
"nodeType": "VariableDeclaration",
"scope": 704,
"src": "1532:21:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 697,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1532:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 700,
"indexed": true,
"name": "_to",
"nodeType": "VariableDeclaration",
"scope": 704,
"src": "1559:19:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 699,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1559:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 702,
"indexed": true,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 704,
"src": "1584:24:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 701,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1584:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1526:86:8"
},
"src": "1512:101:8"
},
{
"anonymous": false,
"documentation": null,
"id": 712,
"name": "Approval",
"nodeType": "EventDefinition",
"parameters": {
"id": 711,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 706,
"indexed": true,
"name": "_owner",
"nodeType": "VariableDeclaration",
"scope": 712,
"src": "1636:22:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 705,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1636:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 708,
"indexed": true,
"name": "_approved",
"nodeType": "VariableDeclaration",
"scope": 712,
"src": "1664:25:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 707,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1664:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 710,
"indexed": true,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 712,
"src": "1695:24:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 709,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1695:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1630:93:8"
},
"src": "1616:108:8"
},
{
"anonymous": false,
"documentation": null,
"id": 720,
"name": "ApprovalForAll",
"nodeType": "EventDefinition",
"parameters": {
"id": 719,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 714,
"indexed": true,
"name": "_owner",
"nodeType": "VariableDeclaration",
"scope": 720,
"src": "1753:22:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 713,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1753:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 716,
"indexed": true,
"name": "_operator",
"nodeType": "VariableDeclaration",
"scope": 720,
"src": "1781:25:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 715,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1781:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 718,
"indexed": false,
"name": "_approved",
"nodeType": "VariableDeclaration",
"scope": 720,
"src": "1812:14:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 717,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "1812:4:8",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1747:83:8"
},
"src": "1727:104:8"
},
{
"body": null,
"documentation": null,
"id": 727,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "balanceOf",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 723,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 722,
"name": "_owner",
"nodeType": "VariableDeclaration",
"scope": 727,
"src": "1854:14:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 721,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1854:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1853:16:8"
},
"payable": false,
"returnParameters": {
"id": 726,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 725,
"name": "_balance",
"nodeType": "VariableDeclaration",
"scope": 727,
"src": "1891:16:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 724,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1891:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1890:18:8"
},
"scope": 801,
"src": "1835:74:8",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 734,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "ownerOf",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 730,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 729,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 734,
"src": "1929:16:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 728,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1929:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1928:18:8"
},
"payable": false,
"returnParameters": {
"id": 733,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 732,
"name": "_owner",
"nodeType": "VariableDeclaration",
"scope": 734,
"src": "1968:14:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 731,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1968:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1967:16:8"
},
"scope": 801,
"src": "1912:72:8",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 741,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "exists",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 737,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 736,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 741,
"src": "2003:16:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 735,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2003:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2002:18:8"
},
"payable": false,
"returnParameters": {
"id": 740,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 739,
"name": "_exists",
"nodeType": "VariableDeclaration",
"scope": 741,
"src": "2042:12:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 738,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "2042:4:8",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2041:14:8"
},
"scope": 801,
"src": "1987:69:8",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 748,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "approve",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 746,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 743,
"name": "_to",
"nodeType": "VariableDeclaration",
"scope": 748,
"src": "2077:11:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 742,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2077:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 745,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 748,
"src": "2090:16:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 744,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2090:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2076:31:8"
},
"payable": false,
"returnParameters": {
"id": 747,
"nodeType": "ParameterList",
"parameters": [],
"src": "2114:0:8"
},
"scope": 801,
"src": "2060:55:8",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 755,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "getApproved",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 751,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 750,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 755,
"src": "2139:16:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 749,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2139:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2138:18:8"
},
"payable": false,
"returnParameters": {
"id": 754,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 753,
"name": "_operator",
"nodeType": "VariableDeclaration",
"scope": 755,
"src": "2182:17:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 752,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2182:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2181:19:8"
},
"scope": 801,
"src": "2118:83:8",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 762,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "setApprovalForAll",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 760,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 757,
"name": "_operator",
"nodeType": "VariableDeclaration",
"scope": 762,
"src": "2232:17:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 756,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2232:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 759,
"name": "_approved",
"nodeType": "VariableDeclaration",
"scope": 762,
"src": "2251:14:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 758,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "2251:4:8",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2231:35:8"
},
"payable": false,
"returnParameters": {
"id": 761,
"nodeType": "ParameterList",
"parameters": [],
"src": "2273:0:8"
},
"scope": 801,
"src": "2205:69:8",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 771,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "isApprovedForAll",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 767,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 764,
"name": "_owner",
"nodeType": "VariableDeclaration",
"scope": 771,
"src": "2303:14:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 763,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2303:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 766,
"name": "_operator",
"nodeType": "VariableDeclaration",
"scope": 771,
"src": "2319:17:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 765,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2319:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2302:35:8"
},
"payable": false,
"returnParameters": {
"id": 770,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 769,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 771,
"src": "2363:4:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 768,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "2363:4:8",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2362:6:8"
},
"scope": 801,
"src": "2277:92:8",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 780,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "transferFrom",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 778,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 773,
"name": "_from",
"nodeType": "VariableDeclaration",
"scope": 780,
"src": "2395:13:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 772,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2395:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 775,
"name": "_to",
"nodeType": "VariableDeclaration",
"scope": 780,
"src": "2410:11:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 774,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2410:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 777,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 780,
"src": "2423:16:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 776,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2423:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2394:46:8"
},
"payable": false,
"returnParameters": {
"id": 779,
"nodeType": "ParameterList",
"parameters": [],
"src": "2447:0:8"
},
"scope": 801,
"src": "2373:75:8",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 789,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "safeTransferFrom",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 787,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 782,
"name": "_from",
"nodeType": "VariableDeclaration",
"scope": 789,
"src": "2477:13:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 781,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2477:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 784,
"name": "_to",
"nodeType": "VariableDeclaration",
"scope": 789,
"src": "2492:11:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 783,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2492:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 786,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 789,
"src": "2505:16:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 785,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2505:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2476:46:8"
},
"payable": false,
"returnParameters": {
"id": 788,
"nodeType": "ParameterList",
"parameters": [],
"src": "2533:0:8"
},
"scope": 801,
"src": "2451:83:8",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
},
{
"body": null,
"documentation": null,
"id": 800,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [],
"name": "safeTransferFrom",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 798,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 791,
"name": "_from",
"nodeType": "VariableDeclaration",
"scope": 800,
"src": "2569:13:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 790,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2569:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 793,
"name": "_to",
"nodeType": "VariableDeclaration",
"scope": 800,
"src": "2588:11:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 792,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "2588:7:8",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 795,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 800,
"src": "2605:16:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 794,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "2605:7:8",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 797,
"name": "_data",
"nodeType": "VariableDeclaration",
"scope": 800,
"src": "2627:11:8",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 796,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "2627:5:8",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "2563:79:8"
},
"payable": false,
"returnParameters": {
"id": 799,
"nodeType": "ParameterList",
"parameters": [],
"src": "2653:0:8"
},
"scope": 801,
"src": "2538:116:8",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
}
],
"scope": 802,
"src": "211:2445:8"
}
],
"src": "0:2657:8"
},
"compiler": {
"name": "solc",
"version": "0.4.25+commit.59dbf8f1.Emscripten.clang"
},
"networks": {},
"schemaVersion": "2.0.2",
"updatedAt": "2020-03-25T02:14:16.738Z"
}