2857 lines
94 KiB
JSON
2857 lines
94 KiB
JSON
{
|
|
"contractName": "ERC721Basic",
|
|
"abi": [
|
|
{
|
|
"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": false,
|
|
"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.21;\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 {\n event Transfer(address indexed _from, address indexed _to, uint256 indexed _tokenId);\n event Approval(address indexed _owner, address indexed _approved, uint256 _tokenId);\n event ApprovalForAll(address indexed _owner, address indexed _operator, bool _approved);\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) public view returns (address _operator);\n\n function setApprovalForAll(address _operator, bool _approved) public;\n function isApprovedForAll(address _owner, address _operator) public view returns (bool);\n\n function transferFrom(address _from, address _to, uint256 _tokenId) public;\n function safeTransferFrom(address _from, address _to, uint256 _tokenId) public;\n function safeTransferFrom(\n address _from,\n address _to,\n uint256 _tokenId,\n bytes _data\n )\n public;\n}\n",
|
|
"sourcePath": "/home/spalladino/Projects/openzeppelin-zos/contracts/token/ERC721/ERC721Basic.sol",
|
|
"ast": {
|
|
"absolutePath": "/home/spalladino/Projects/openzeppelin-zos/contracts/token/ERC721/ERC721Basic.sol",
|
|
"exportedSymbols": {
|
|
"ERC721Basic": [
|
|
3623
|
|
]
|
|
},
|
|
"id": 3624,
|
|
"nodeType": "SourceUnit",
|
|
"nodes": [
|
|
{
|
|
"id": 3518,
|
|
"literals": [
|
|
"solidity",
|
|
"^",
|
|
"0.4",
|
|
".21"
|
|
],
|
|
"nodeType": "PragmaDirective",
|
|
"src": "0:24:46"
|
|
},
|
|
{
|
|
"baseContracts": [],
|
|
"contractDependencies": [],
|
|
"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": 3623,
|
|
"linearizedBaseContracts": [
|
|
3623
|
|
],
|
|
"name": "ERC721Basic",
|
|
"nodeType": "ContractDefinition",
|
|
"nodes": [
|
|
{
|
|
"anonymous": false,
|
|
"documentation": null,
|
|
"id": 3526,
|
|
"name": "Transfer",
|
|
"nodeType": "EventDefinition",
|
|
"parameters": {
|
|
"id": 3525,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 3520,
|
|
"indexed": true,
|
|
"name": "_from",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3526,
|
|
"src": "209:21:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 3519,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "209:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 3522,
|
|
"indexed": true,
|
|
"name": "_to",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3526,
|
|
"src": "232:19:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 3521,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "232:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 3524,
|
|
"indexed": true,
|
|
"name": "_tokenId",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3526,
|
|
"src": "253:24:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
},
|
|
"typeName": {
|
|
"id": 3523,
|
|
"name": "uint256",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "253:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "208:70:46"
|
|
},
|
|
"src": "194:85:46"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"documentation": null,
|
|
"id": 3534,
|
|
"name": "Approval",
|
|
"nodeType": "EventDefinition",
|
|
"parameters": {
|
|
"id": 3533,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 3528,
|
|
"indexed": true,
|
|
"name": "_owner",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3534,
|
|
"src": "297:22:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 3527,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "297:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 3530,
|
|
"indexed": true,
|
|
"name": "_approved",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3534,
|
|
"src": "321:25:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 3529,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "321:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 3532,
|
|
"indexed": false,
|
|
"name": "_tokenId",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3534,
|
|
"src": "348:16:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
},
|
|
"typeName": {
|
|
"id": 3531,
|
|
"name": "uint256",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "348:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "296:69:46"
|
|
},
|
|
"src": "282:84:46"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"documentation": null,
|
|
"id": 3542,
|
|
"name": "ApprovalForAll",
|
|
"nodeType": "EventDefinition",
|
|
"parameters": {
|
|
"id": 3541,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 3536,
|
|
"indexed": true,
|
|
"name": "_owner",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3542,
|
|
"src": "390:22:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 3535,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "390:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 3538,
|
|
"indexed": true,
|
|
"name": "_operator",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3542,
|
|
"src": "414:25:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 3537,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "414:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 3540,
|
|
"indexed": false,
|
|
"name": "_approved",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3542,
|
|
"src": "441:14:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bool",
|
|
"typeString": "bool"
|
|
},
|
|
"typeName": {
|
|
"id": 3539,
|
|
"name": "bool",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "441:4:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bool",
|
|
"typeString": "bool"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "389:67:46"
|
|
},
|
|
"src": "369:88:46"
|
|
},
|
|
{
|
|
"body": null,
|
|
"documentation": null,
|
|
"id": 3549,
|
|
"implemented": false,
|
|
"isConstructor": false,
|
|
"isDeclaredConst": true,
|
|
"modifiers": [],
|
|
"name": "balanceOf",
|
|
"nodeType": "FunctionDefinition",
|
|
"parameters": {
|
|
"id": 3545,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 3544,
|
|
"name": "_owner",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3549,
|
|
"src": "480:14:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 3543,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "480:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "479:16:46"
|
|
},
|
|
"payable": false,
|
|
"returnParameters": {
|
|
"id": 3548,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 3547,
|
|
"name": "_balance",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3549,
|
|
"src": "517:16:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
},
|
|
"typeName": {
|
|
"id": 3546,
|
|
"name": "uint256",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "517:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "516:18:46"
|
|
},
|
|
"scope": 3623,
|
|
"src": "461:74:46",
|
|
"stateMutability": "view",
|
|
"superFunction": null,
|
|
"visibility": "public"
|
|
},
|
|
{
|
|
"body": null,
|
|
"documentation": null,
|
|
"id": 3556,
|
|
"implemented": false,
|
|
"isConstructor": false,
|
|
"isDeclaredConst": true,
|
|
"modifiers": [],
|
|
"name": "ownerOf",
|
|
"nodeType": "FunctionDefinition",
|
|
"parameters": {
|
|
"id": 3552,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 3551,
|
|
"name": "_tokenId",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3556,
|
|
"src": "555:16:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
},
|
|
"typeName": {
|
|
"id": 3550,
|
|
"name": "uint256",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "555:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "554:18:46"
|
|
},
|
|
"payable": false,
|
|
"returnParameters": {
|
|
"id": 3555,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 3554,
|
|
"name": "_owner",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3556,
|
|
"src": "594:14:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 3553,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "594:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "593:16:46"
|
|
},
|
|
"scope": 3623,
|
|
"src": "538:72:46",
|
|
"stateMutability": "view",
|
|
"superFunction": null,
|
|
"visibility": "public"
|
|
},
|
|
{
|
|
"body": null,
|
|
"documentation": null,
|
|
"id": 3563,
|
|
"implemented": false,
|
|
"isConstructor": false,
|
|
"isDeclaredConst": true,
|
|
"modifiers": [],
|
|
"name": "exists",
|
|
"nodeType": "FunctionDefinition",
|
|
"parameters": {
|
|
"id": 3559,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 3558,
|
|
"name": "_tokenId",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3563,
|
|
"src": "629:16:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
},
|
|
"typeName": {
|
|
"id": 3557,
|
|
"name": "uint256",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "629:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "628:18:46"
|
|
},
|
|
"payable": false,
|
|
"returnParameters": {
|
|
"id": 3562,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 3561,
|
|
"name": "_exists",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3563,
|
|
"src": "668:12:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bool",
|
|
"typeString": "bool"
|
|
},
|
|
"typeName": {
|
|
"id": 3560,
|
|
"name": "bool",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "668:4:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bool",
|
|
"typeString": "bool"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "667:14:46"
|
|
},
|
|
"scope": 3623,
|
|
"src": "613:69:46",
|
|
"stateMutability": "view",
|
|
"superFunction": null,
|
|
"visibility": "public"
|
|
},
|
|
{
|
|
"body": null,
|
|
"documentation": null,
|
|
"id": 3570,
|
|
"implemented": false,
|
|
"isConstructor": false,
|
|
"isDeclaredConst": false,
|
|
"modifiers": [],
|
|
"name": "approve",
|
|
"nodeType": "FunctionDefinition",
|
|
"parameters": {
|
|
"id": 3568,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 3565,
|
|
"name": "_to",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3570,
|
|
"src": "703:11:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 3564,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "703:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 3567,
|
|
"name": "_tokenId",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3570,
|
|
"src": "716:16:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
},
|
|
"typeName": {
|
|
"id": 3566,
|
|
"name": "uint256",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "716:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "702:31:46"
|
|
},
|
|
"payable": false,
|
|
"returnParameters": {
|
|
"id": 3569,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [],
|
|
"src": "740:0:46"
|
|
},
|
|
"scope": 3623,
|
|
"src": "686:55:46",
|
|
"stateMutability": "nonpayable",
|
|
"superFunction": null,
|
|
"visibility": "public"
|
|
},
|
|
{
|
|
"body": null,
|
|
"documentation": null,
|
|
"id": 3577,
|
|
"implemented": false,
|
|
"isConstructor": false,
|
|
"isDeclaredConst": true,
|
|
"modifiers": [],
|
|
"name": "getApproved",
|
|
"nodeType": "FunctionDefinition",
|
|
"parameters": {
|
|
"id": 3573,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 3572,
|
|
"name": "_tokenId",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3577,
|
|
"src": "765:16:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
},
|
|
"typeName": {
|
|
"id": 3571,
|
|
"name": "uint256",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "765:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "764:18:46"
|
|
},
|
|
"payable": false,
|
|
"returnParameters": {
|
|
"id": 3576,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 3575,
|
|
"name": "_operator",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3577,
|
|
"src": "804:17:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 3574,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "804:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "803:19:46"
|
|
},
|
|
"scope": 3623,
|
|
"src": "744:79:46",
|
|
"stateMutability": "view",
|
|
"superFunction": null,
|
|
"visibility": "public"
|
|
},
|
|
{
|
|
"body": null,
|
|
"documentation": null,
|
|
"id": 3584,
|
|
"implemented": false,
|
|
"isConstructor": false,
|
|
"isDeclaredConst": false,
|
|
"modifiers": [],
|
|
"name": "setApprovalForAll",
|
|
"nodeType": "FunctionDefinition",
|
|
"parameters": {
|
|
"id": 3582,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 3579,
|
|
"name": "_operator",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3584,
|
|
"src": "854:17:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 3578,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "854:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 3581,
|
|
"name": "_approved",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3584,
|
|
"src": "873:14:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bool",
|
|
"typeString": "bool"
|
|
},
|
|
"typeName": {
|
|
"id": 3580,
|
|
"name": "bool",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "873:4:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bool",
|
|
"typeString": "bool"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "853:35:46"
|
|
},
|
|
"payable": false,
|
|
"returnParameters": {
|
|
"id": 3583,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [],
|
|
"src": "895:0:46"
|
|
},
|
|
"scope": 3623,
|
|
"src": "827:69:46",
|
|
"stateMutability": "nonpayable",
|
|
"superFunction": null,
|
|
"visibility": "public"
|
|
},
|
|
{
|
|
"body": null,
|
|
"documentation": null,
|
|
"id": 3593,
|
|
"implemented": false,
|
|
"isConstructor": false,
|
|
"isDeclaredConst": true,
|
|
"modifiers": [],
|
|
"name": "isApprovedForAll",
|
|
"nodeType": "FunctionDefinition",
|
|
"parameters": {
|
|
"id": 3589,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 3586,
|
|
"name": "_owner",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3593,
|
|
"src": "925:14:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 3585,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "925:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 3588,
|
|
"name": "_operator",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3593,
|
|
"src": "941:17:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 3587,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "941:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "924:35:46"
|
|
},
|
|
"payable": false,
|
|
"returnParameters": {
|
|
"id": 3592,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 3591,
|
|
"name": "",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3593,
|
|
"src": "981:4:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bool",
|
|
"typeString": "bool"
|
|
},
|
|
"typeName": {
|
|
"id": 3590,
|
|
"name": "bool",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "981:4:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bool",
|
|
"typeString": "bool"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "980:6:46"
|
|
},
|
|
"scope": 3623,
|
|
"src": "899:88:46",
|
|
"stateMutability": "view",
|
|
"superFunction": null,
|
|
"visibility": "public"
|
|
},
|
|
{
|
|
"body": null,
|
|
"documentation": null,
|
|
"id": 3602,
|
|
"implemented": false,
|
|
"isConstructor": false,
|
|
"isDeclaredConst": false,
|
|
"modifiers": [],
|
|
"name": "transferFrom",
|
|
"nodeType": "FunctionDefinition",
|
|
"parameters": {
|
|
"id": 3600,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 3595,
|
|
"name": "_from",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3602,
|
|
"src": "1013:13:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 3594,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "1013:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 3597,
|
|
"name": "_to",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3602,
|
|
"src": "1028:11:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 3596,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "1028:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 3599,
|
|
"name": "_tokenId",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3602,
|
|
"src": "1041:16:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
},
|
|
"typeName": {
|
|
"id": 3598,
|
|
"name": "uint256",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "1041:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "1012:46:46"
|
|
},
|
|
"payable": false,
|
|
"returnParameters": {
|
|
"id": 3601,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [],
|
|
"src": "1065:0:46"
|
|
},
|
|
"scope": 3623,
|
|
"src": "991:75:46",
|
|
"stateMutability": "nonpayable",
|
|
"superFunction": null,
|
|
"visibility": "public"
|
|
},
|
|
{
|
|
"body": null,
|
|
"documentation": null,
|
|
"id": 3611,
|
|
"implemented": false,
|
|
"isConstructor": false,
|
|
"isDeclaredConst": false,
|
|
"modifiers": [],
|
|
"name": "safeTransferFrom",
|
|
"nodeType": "FunctionDefinition",
|
|
"parameters": {
|
|
"id": 3609,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 3604,
|
|
"name": "_from",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3611,
|
|
"src": "1095:13:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 3603,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "1095:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 3606,
|
|
"name": "_to",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3611,
|
|
"src": "1110:11:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 3605,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "1110:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 3608,
|
|
"name": "_tokenId",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3611,
|
|
"src": "1123:16:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
},
|
|
"typeName": {
|
|
"id": 3607,
|
|
"name": "uint256",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "1123:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "1094:46:46"
|
|
},
|
|
"payable": false,
|
|
"returnParameters": {
|
|
"id": 3610,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [],
|
|
"src": "1147:0:46"
|
|
},
|
|
"scope": 3623,
|
|
"src": "1069:79:46",
|
|
"stateMutability": "nonpayable",
|
|
"superFunction": null,
|
|
"visibility": "public"
|
|
},
|
|
{
|
|
"body": null,
|
|
"documentation": null,
|
|
"id": 3622,
|
|
"implemented": false,
|
|
"isConstructor": false,
|
|
"isDeclaredConst": false,
|
|
"modifiers": [],
|
|
"name": "safeTransferFrom",
|
|
"nodeType": "FunctionDefinition",
|
|
"parameters": {
|
|
"id": 3620,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 3613,
|
|
"name": "_from",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3622,
|
|
"src": "1182:13:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 3612,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "1182:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 3615,
|
|
"name": "_to",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3622,
|
|
"src": "1201:11:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 3614,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "1201:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 3617,
|
|
"name": "_tokenId",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3622,
|
|
"src": "1218:16:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
},
|
|
"typeName": {
|
|
"id": 3616,
|
|
"name": "uint256",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "1218:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 3619,
|
|
"name": "_data",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3622,
|
|
"src": "1240:11:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
"typeString": "bytes"
|
|
},
|
|
"typeName": {
|
|
"id": 3618,
|
|
"name": "bytes",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "1240:5:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
"typeString": "bytes"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "1176:79:46"
|
|
},
|
|
"payable": false,
|
|
"returnParameters": {
|
|
"id": 3621,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [],
|
|
"src": "1266:0:46"
|
|
},
|
|
"scope": 3623,
|
|
"src": "1151:116:46",
|
|
"stateMutability": "nonpayable",
|
|
"superFunction": null,
|
|
"visibility": "public"
|
|
}
|
|
],
|
|
"scope": 3624,
|
|
"src": "169:1100:46"
|
|
}
|
|
],
|
|
"src": "0:1270:46"
|
|
},
|
|
"legacyAST": {
|
|
"absolutePath": "/home/spalladino/Projects/openzeppelin-zos/contracts/token/ERC721/ERC721Basic.sol",
|
|
"exportedSymbols": {
|
|
"ERC721Basic": [
|
|
3623
|
|
]
|
|
},
|
|
"id": 3624,
|
|
"nodeType": "SourceUnit",
|
|
"nodes": [
|
|
{
|
|
"id": 3518,
|
|
"literals": [
|
|
"solidity",
|
|
"^",
|
|
"0.4",
|
|
".21"
|
|
],
|
|
"nodeType": "PragmaDirective",
|
|
"src": "0:24:46"
|
|
},
|
|
{
|
|
"baseContracts": [],
|
|
"contractDependencies": [],
|
|
"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": 3623,
|
|
"linearizedBaseContracts": [
|
|
3623
|
|
],
|
|
"name": "ERC721Basic",
|
|
"nodeType": "ContractDefinition",
|
|
"nodes": [
|
|
{
|
|
"anonymous": false,
|
|
"documentation": null,
|
|
"id": 3526,
|
|
"name": "Transfer",
|
|
"nodeType": "EventDefinition",
|
|
"parameters": {
|
|
"id": 3525,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 3520,
|
|
"indexed": true,
|
|
"name": "_from",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3526,
|
|
"src": "209:21:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 3519,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "209:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 3522,
|
|
"indexed": true,
|
|
"name": "_to",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3526,
|
|
"src": "232:19:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 3521,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "232:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 3524,
|
|
"indexed": true,
|
|
"name": "_tokenId",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3526,
|
|
"src": "253:24:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
},
|
|
"typeName": {
|
|
"id": 3523,
|
|
"name": "uint256",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "253:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "208:70:46"
|
|
},
|
|
"src": "194:85:46"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"documentation": null,
|
|
"id": 3534,
|
|
"name": "Approval",
|
|
"nodeType": "EventDefinition",
|
|
"parameters": {
|
|
"id": 3533,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 3528,
|
|
"indexed": true,
|
|
"name": "_owner",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3534,
|
|
"src": "297:22:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 3527,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "297:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 3530,
|
|
"indexed": true,
|
|
"name": "_approved",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3534,
|
|
"src": "321:25:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 3529,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "321:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 3532,
|
|
"indexed": false,
|
|
"name": "_tokenId",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3534,
|
|
"src": "348:16:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
},
|
|
"typeName": {
|
|
"id": 3531,
|
|
"name": "uint256",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "348:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "296:69:46"
|
|
},
|
|
"src": "282:84:46"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"documentation": null,
|
|
"id": 3542,
|
|
"name": "ApprovalForAll",
|
|
"nodeType": "EventDefinition",
|
|
"parameters": {
|
|
"id": 3541,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 3536,
|
|
"indexed": true,
|
|
"name": "_owner",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3542,
|
|
"src": "390:22:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 3535,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "390:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 3538,
|
|
"indexed": true,
|
|
"name": "_operator",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3542,
|
|
"src": "414:25:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 3537,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "414:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 3540,
|
|
"indexed": false,
|
|
"name": "_approved",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3542,
|
|
"src": "441:14:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bool",
|
|
"typeString": "bool"
|
|
},
|
|
"typeName": {
|
|
"id": 3539,
|
|
"name": "bool",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "441:4:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bool",
|
|
"typeString": "bool"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "389:67:46"
|
|
},
|
|
"src": "369:88:46"
|
|
},
|
|
{
|
|
"body": null,
|
|
"documentation": null,
|
|
"id": 3549,
|
|
"implemented": false,
|
|
"isConstructor": false,
|
|
"isDeclaredConst": true,
|
|
"modifiers": [],
|
|
"name": "balanceOf",
|
|
"nodeType": "FunctionDefinition",
|
|
"parameters": {
|
|
"id": 3545,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 3544,
|
|
"name": "_owner",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3549,
|
|
"src": "480:14:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 3543,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "480:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "479:16:46"
|
|
},
|
|
"payable": false,
|
|
"returnParameters": {
|
|
"id": 3548,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 3547,
|
|
"name": "_balance",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3549,
|
|
"src": "517:16:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
},
|
|
"typeName": {
|
|
"id": 3546,
|
|
"name": "uint256",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "517:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "516:18:46"
|
|
},
|
|
"scope": 3623,
|
|
"src": "461:74:46",
|
|
"stateMutability": "view",
|
|
"superFunction": null,
|
|
"visibility": "public"
|
|
},
|
|
{
|
|
"body": null,
|
|
"documentation": null,
|
|
"id": 3556,
|
|
"implemented": false,
|
|
"isConstructor": false,
|
|
"isDeclaredConst": true,
|
|
"modifiers": [],
|
|
"name": "ownerOf",
|
|
"nodeType": "FunctionDefinition",
|
|
"parameters": {
|
|
"id": 3552,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 3551,
|
|
"name": "_tokenId",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3556,
|
|
"src": "555:16:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
},
|
|
"typeName": {
|
|
"id": 3550,
|
|
"name": "uint256",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "555:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "554:18:46"
|
|
},
|
|
"payable": false,
|
|
"returnParameters": {
|
|
"id": 3555,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 3554,
|
|
"name": "_owner",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3556,
|
|
"src": "594:14:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 3553,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "594:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "593:16:46"
|
|
},
|
|
"scope": 3623,
|
|
"src": "538:72:46",
|
|
"stateMutability": "view",
|
|
"superFunction": null,
|
|
"visibility": "public"
|
|
},
|
|
{
|
|
"body": null,
|
|
"documentation": null,
|
|
"id": 3563,
|
|
"implemented": false,
|
|
"isConstructor": false,
|
|
"isDeclaredConst": true,
|
|
"modifiers": [],
|
|
"name": "exists",
|
|
"nodeType": "FunctionDefinition",
|
|
"parameters": {
|
|
"id": 3559,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 3558,
|
|
"name": "_tokenId",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3563,
|
|
"src": "629:16:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
},
|
|
"typeName": {
|
|
"id": 3557,
|
|
"name": "uint256",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "629:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "628:18:46"
|
|
},
|
|
"payable": false,
|
|
"returnParameters": {
|
|
"id": 3562,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 3561,
|
|
"name": "_exists",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3563,
|
|
"src": "668:12:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bool",
|
|
"typeString": "bool"
|
|
},
|
|
"typeName": {
|
|
"id": 3560,
|
|
"name": "bool",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "668:4:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bool",
|
|
"typeString": "bool"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "667:14:46"
|
|
},
|
|
"scope": 3623,
|
|
"src": "613:69:46",
|
|
"stateMutability": "view",
|
|
"superFunction": null,
|
|
"visibility": "public"
|
|
},
|
|
{
|
|
"body": null,
|
|
"documentation": null,
|
|
"id": 3570,
|
|
"implemented": false,
|
|
"isConstructor": false,
|
|
"isDeclaredConst": false,
|
|
"modifiers": [],
|
|
"name": "approve",
|
|
"nodeType": "FunctionDefinition",
|
|
"parameters": {
|
|
"id": 3568,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 3565,
|
|
"name": "_to",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3570,
|
|
"src": "703:11:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 3564,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "703:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 3567,
|
|
"name": "_tokenId",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3570,
|
|
"src": "716:16:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
},
|
|
"typeName": {
|
|
"id": 3566,
|
|
"name": "uint256",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "716:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "702:31:46"
|
|
},
|
|
"payable": false,
|
|
"returnParameters": {
|
|
"id": 3569,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [],
|
|
"src": "740:0:46"
|
|
},
|
|
"scope": 3623,
|
|
"src": "686:55:46",
|
|
"stateMutability": "nonpayable",
|
|
"superFunction": null,
|
|
"visibility": "public"
|
|
},
|
|
{
|
|
"body": null,
|
|
"documentation": null,
|
|
"id": 3577,
|
|
"implemented": false,
|
|
"isConstructor": false,
|
|
"isDeclaredConst": true,
|
|
"modifiers": [],
|
|
"name": "getApproved",
|
|
"nodeType": "FunctionDefinition",
|
|
"parameters": {
|
|
"id": 3573,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 3572,
|
|
"name": "_tokenId",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3577,
|
|
"src": "765:16:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
},
|
|
"typeName": {
|
|
"id": 3571,
|
|
"name": "uint256",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "765:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "764:18:46"
|
|
},
|
|
"payable": false,
|
|
"returnParameters": {
|
|
"id": 3576,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 3575,
|
|
"name": "_operator",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3577,
|
|
"src": "804:17:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 3574,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "804:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "803:19:46"
|
|
},
|
|
"scope": 3623,
|
|
"src": "744:79:46",
|
|
"stateMutability": "view",
|
|
"superFunction": null,
|
|
"visibility": "public"
|
|
},
|
|
{
|
|
"body": null,
|
|
"documentation": null,
|
|
"id": 3584,
|
|
"implemented": false,
|
|
"isConstructor": false,
|
|
"isDeclaredConst": false,
|
|
"modifiers": [],
|
|
"name": "setApprovalForAll",
|
|
"nodeType": "FunctionDefinition",
|
|
"parameters": {
|
|
"id": 3582,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 3579,
|
|
"name": "_operator",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3584,
|
|
"src": "854:17:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 3578,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "854:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 3581,
|
|
"name": "_approved",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3584,
|
|
"src": "873:14:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bool",
|
|
"typeString": "bool"
|
|
},
|
|
"typeName": {
|
|
"id": 3580,
|
|
"name": "bool",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "873:4:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bool",
|
|
"typeString": "bool"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "853:35:46"
|
|
},
|
|
"payable": false,
|
|
"returnParameters": {
|
|
"id": 3583,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [],
|
|
"src": "895:0:46"
|
|
},
|
|
"scope": 3623,
|
|
"src": "827:69:46",
|
|
"stateMutability": "nonpayable",
|
|
"superFunction": null,
|
|
"visibility": "public"
|
|
},
|
|
{
|
|
"body": null,
|
|
"documentation": null,
|
|
"id": 3593,
|
|
"implemented": false,
|
|
"isConstructor": false,
|
|
"isDeclaredConst": true,
|
|
"modifiers": [],
|
|
"name": "isApprovedForAll",
|
|
"nodeType": "FunctionDefinition",
|
|
"parameters": {
|
|
"id": 3589,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 3586,
|
|
"name": "_owner",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3593,
|
|
"src": "925:14:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 3585,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "925:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 3588,
|
|
"name": "_operator",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3593,
|
|
"src": "941:17:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 3587,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "941:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "924:35:46"
|
|
},
|
|
"payable": false,
|
|
"returnParameters": {
|
|
"id": 3592,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 3591,
|
|
"name": "",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3593,
|
|
"src": "981:4:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bool",
|
|
"typeString": "bool"
|
|
},
|
|
"typeName": {
|
|
"id": 3590,
|
|
"name": "bool",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "981:4:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bool",
|
|
"typeString": "bool"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "980:6:46"
|
|
},
|
|
"scope": 3623,
|
|
"src": "899:88:46",
|
|
"stateMutability": "view",
|
|
"superFunction": null,
|
|
"visibility": "public"
|
|
},
|
|
{
|
|
"body": null,
|
|
"documentation": null,
|
|
"id": 3602,
|
|
"implemented": false,
|
|
"isConstructor": false,
|
|
"isDeclaredConst": false,
|
|
"modifiers": [],
|
|
"name": "transferFrom",
|
|
"nodeType": "FunctionDefinition",
|
|
"parameters": {
|
|
"id": 3600,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 3595,
|
|
"name": "_from",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3602,
|
|
"src": "1013:13:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 3594,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "1013:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 3597,
|
|
"name": "_to",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3602,
|
|
"src": "1028:11:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 3596,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "1028:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 3599,
|
|
"name": "_tokenId",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3602,
|
|
"src": "1041:16:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
},
|
|
"typeName": {
|
|
"id": 3598,
|
|
"name": "uint256",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "1041:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "1012:46:46"
|
|
},
|
|
"payable": false,
|
|
"returnParameters": {
|
|
"id": 3601,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [],
|
|
"src": "1065:0:46"
|
|
},
|
|
"scope": 3623,
|
|
"src": "991:75:46",
|
|
"stateMutability": "nonpayable",
|
|
"superFunction": null,
|
|
"visibility": "public"
|
|
},
|
|
{
|
|
"body": null,
|
|
"documentation": null,
|
|
"id": 3611,
|
|
"implemented": false,
|
|
"isConstructor": false,
|
|
"isDeclaredConst": false,
|
|
"modifiers": [],
|
|
"name": "safeTransferFrom",
|
|
"nodeType": "FunctionDefinition",
|
|
"parameters": {
|
|
"id": 3609,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 3604,
|
|
"name": "_from",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3611,
|
|
"src": "1095:13:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 3603,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "1095:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 3606,
|
|
"name": "_to",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3611,
|
|
"src": "1110:11:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 3605,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "1110:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 3608,
|
|
"name": "_tokenId",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3611,
|
|
"src": "1123:16:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
},
|
|
"typeName": {
|
|
"id": 3607,
|
|
"name": "uint256",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "1123:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "1094:46:46"
|
|
},
|
|
"payable": false,
|
|
"returnParameters": {
|
|
"id": 3610,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [],
|
|
"src": "1147:0:46"
|
|
},
|
|
"scope": 3623,
|
|
"src": "1069:79:46",
|
|
"stateMutability": "nonpayable",
|
|
"superFunction": null,
|
|
"visibility": "public"
|
|
},
|
|
{
|
|
"body": null,
|
|
"documentation": null,
|
|
"id": 3622,
|
|
"implemented": false,
|
|
"isConstructor": false,
|
|
"isDeclaredConst": false,
|
|
"modifiers": [],
|
|
"name": "safeTransferFrom",
|
|
"nodeType": "FunctionDefinition",
|
|
"parameters": {
|
|
"id": 3620,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 3613,
|
|
"name": "_from",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3622,
|
|
"src": "1182:13:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 3612,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "1182:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 3615,
|
|
"name": "_to",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3622,
|
|
"src": "1201:11:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 3614,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "1201:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 3617,
|
|
"name": "_tokenId",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3622,
|
|
"src": "1218:16:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
},
|
|
"typeName": {
|
|
"id": 3616,
|
|
"name": "uint256",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "1218:7:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_uint256",
|
|
"typeString": "uint256"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 3619,
|
|
"name": "_data",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 3622,
|
|
"src": "1240:11:46",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
"typeString": "bytes"
|
|
},
|
|
"typeName": {
|
|
"id": 3618,
|
|
"name": "bytes",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "1240:5:46",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
"typeString": "bytes"
|
|
}
|
|
},
|
|
"value": null,
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "1176:79:46"
|
|
},
|
|
"payable": false,
|
|
"returnParameters": {
|
|
"id": 3621,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [],
|
|
"src": "1266:0:46"
|
|
},
|
|
"scope": 3623,
|
|
"src": "1151:116:46",
|
|
"stateMutability": "nonpayable",
|
|
"superFunction": null,
|
|
"visibility": "public"
|
|
}
|
|
],
|
|
"scope": 3624,
|
|
"src": "169:1100:46"
|
|
}
|
|
],
|
|
"src": "0:1270:46"
|
|
},
|
|
"compiler": {
|
|
"name": "solc",
|
|
"version": "0.4.24+commit.e67f0147.Emscripten.clang"
|
|
},
|
|
"networks": {},
|
|
"schemaVersion": "2.0.1",
|
|
"updatedAt": "2018-08-23T14:35:50.652Z"
|
|
} |