Commit 63ca2000 by Santiago Palladino

Upgrade to 1.9.3

parent d87e8333
{
"contractName": "AddressUtils",
"abi": [],
"bytecode": "0x604c602c600b82828239805160001a60731460008114601c57601e565bfe5b5030600052607381538281f30073000000000000000000000000000000000000000030146080604052600080fd00a165627a7a72305820b526ace09fed20fad7aca8461da573f75b27d556995927f121be60ab4a7557ff0029",
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fd00a165627a7a72305820b526ace09fed20fad7aca8461da573f75b27d556995927f121be60ab4a7557ff0029",
"bytecode": "0x604c602c600b82828239805160001a60731460008114601c57601e565bfe5b5030600052607381538281f30073000000000000000000000000000000000000000030146080604052600080fd00a165627a7a72305820f3ea1941b984f67a373acf414b9fe609183a0ad1e5268374b0114c7a6800ae9a0029",
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fd00a165627a7a72305820f3ea1941b984f67a373acf414b9fe609183a0ad1e5268374b0114c7a6800ae9a0029",
"sourceMap": "87:922:0:-;;132:2:-1;166:7;155:9;146:7;137:37;252:7;246:14;243:1;238:23;232:4;229:33;270:1;265:20;;;;222:63;;265:20;274:9;222:63;;298:9;295:1;288:20;328:4;319:7;311:22;352:7;343;336:24",
"deployedSourceMap": "87:922:0:-;;;;;;;;",
"source": "pragma solidity ^0.4.21;\n\n\n/**\n * Utility library of inline functions on addresses\n */\nlibrary AddressUtils {\n\n /**\n * Returns whether the target address is a contract\n * @dev This function will return false if invoked during the constructor of a contract,\n * as the code is not actually created until after the constructor finishes.\n * @param addr address to check\n * @return whether the target address is a contract\n */\n function isContract(address addr) internal view returns (bool) {\n uint256 size;\n // XXX Currently there is no better way to check if there is a contract in an address\n // than to check the size of the code at that address.\n // See https://ethereum.stackexchange.com/a/14016/36603\n // for more details about how this works.\n // TODO Check this again before the Serenity release, because all addresses will be\n // contracts then.\n assembly { size := extcodesize(addr) } // solium-disable-line security/no-inline-assembly\n return size > 0;\n }\n\n}\n",
......@@ -503,9 +503,9 @@
},
"compiler": {
"name": "solc",
"version": "0.4.24+commit.e67f0147.Emscripten.clang"
"version": "0.4.23+commit.124ca40d.Emscripten.clang"
},
"networks": {},
"schemaVersion": "2.0.1",
"updatedAt": "2018-08-23T14:35:50.611Z"
"schemaVersion": "2.0.0",
"updatedAt": "2018-08-23T17:26:04.150Z"
}
\ No newline at end of file
......@@ -345,7 +345,7 @@
"type": "address"
},
{
"indexed": false,
"indexed": true,
"name": "_tokenId",
"type": "uint256"
}
......@@ -386,20 +386,20 @@
"absolutePath": "/home/spalladino/Projects/openzeppelin-zos/contracts/token/ERC721/ERC721.sol",
"exportedSymbols": {
"ERC721": [
3516
296
],
"ERC721Enumerable": [
3489
269
],
"ERC721Metadata": [
3509
289
]
},
"id": 3517,
"id": 297,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 3464,
"id": 244,
"literals": [
"solidity",
"^",
......@@ -407,16 +407,16 @@
".21"
],
"nodeType": "PragmaDirective",
"src": "0:24:45"
"src": "0:24:4"
},
{
"absolutePath": "/home/spalladino/Projects/openzeppelin-zos/contracts/token/ERC721/ERC721Basic.sol",
"file": "./ERC721Basic.sol",
"id": 3465,
"id": 245,
"nodeType": "ImportDirective",
"scope": 3517,
"sourceUnit": 3624,
"src": "26:27:45",
"scope": 297,
"sourceUnit": 404,
"src": "26:27:4",
"symbolAliases": [],
"unitAlias": ""
},
......@@ -426,31 +426,31 @@
"arguments": null,
"baseName": {
"contractScope": null,
"id": 3466,
"id": 246,
"name": "ERC721Basic",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 3623,
"src": "244:11:45",
"referencedDeclaration": 403,
"src": "244:11:4",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Basic_$3623",
"typeIdentifier": "t_contract$_ERC721Basic_$403",
"typeString": "contract ERC721Basic"
}
},
"id": 3467,
"id": 247,
"nodeType": "InheritanceSpecifier",
"src": "244:11:45"
"src": "244:11:4"
}
],
"contractDependencies": [
3623
403
],
"contractKind": "contract",
"documentation": "@title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n@dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md",
"fullyImplemented": false,
"id": 3489,
"id": 269,
"linearizedBaseContracts": [
3489,
3623
269,
403
],
"name": "ERC721Enumerable",
"nodeType": "ContractDefinition",
......@@ -458,7 +458,7 @@
{
"body": null,
"documentation": null,
"id": 3472,
"id": 252,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
......@@ -466,23 +466,23 @@
"name": "totalSupply",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3468,
"id": 248,
"nodeType": "ParameterList",
"parameters": [],
"src": "280:2:45"
"src": "280:2:4"
},
"payable": false,
"returnParameters": {
"id": 3471,
"id": 251,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3470,
"id": 250,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 3472,
"src": "304:7:45",
"scope": 252,
"src": "304:7:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -490,10 +490,10 @@
"typeString": "uint256"
},
"typeName": {
"id": 3469,
"id": 249,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "304:7:45",
"src": "304:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
......@@ -503,10 +503,10 @@
"visibility": "internal"
}
],
"src": "303:9:45"
"src": "303:9:4"
},
"scope": 3489,
"src": "260:53:45",
"scope": 269,
"src": "260:53:4",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
......@@ -514,7 +514,7 @@
{
"body": null,
"documentation": null,
"id": 3481,
"id": 261,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
......@@ -522,16 +522,16 @@
"name": "tokenOfOwnerByIndex",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3477,
"id": 257,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3474,
"id": 254,
"name": "_owner",
"nodeType": "VariableDeclaration",
"scope": 3481,
"src": "345:14:45",
"scope": 261,
"src": "345:14:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -539,10 +539,10 @@
"typeString": "address"
},
"typeName": {
"id": 3473,
"id": 253,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "345:7:45",
"src": "345:7:4",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
......@@ -553,11 +553,11 @@
},
{
"constant": false,
"id": 3476,
"id": 256,
"name": "_index",
"nodeType": "VariableDeclaration",
"scope": 3481,
"src": "361:14:45",
"scope": 261,
"src": "361:14:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -565,10 +565,10 @@
"typeString": "uint256"
},
"typeName": {
"id": 3475,
"id": 255,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "361:7:45",
"src": "361:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
......@@ -578,20 +578,20 @@
"visibility": "internal"
}
],
"src": "344:32:45"
"src": "344:32:4"
},
"payable": false,
"returnParameters": {
"id": 3480,
"id": 260,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3479,
"id": 259,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 3481,
"src": "398:16:45",
"scope": 261,
"src": "398:16:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -599,10 +599,10 @@
"typeString": "uint256"
},
"typeName": {
"id": 3478,
"id": 258,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "398:7:45",
"src": "398:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
......@@ -612,10 +612,10 @@
"visibility": "internal"
}
],
"src": "397:18:45"
"src": "397:18:4"
},
"scope": 3489,
"src": "316:100:45",
"scope": 269,
"src": "316:100:4",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
......@@ -623,7 +623,7 @@
{
"body": null,
"documentation": null,
"id": 3488,
"id": 268,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
......@@ -631,16 +631,16 @@
"name": "tokenByIndex",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3484,
"id": 264,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3483,
"id": 263,
"name": "_index",
"nodeType": "VariableDeclaration",
"scope": 3488,
"src": "441:14:45",
"scope": 268,
"src": "441:14:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -648,10 +648,10 @@
"typeString": "uint256"
},
"typeName": {
"id": 3482,
"id": 262,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "441:7:45",
"src": "441:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
......@@ -661,20 +661,20 @@
"visibility": "internal"
}
],
"src": "440:16:45"
"src": "440:16:4"
},
"payable": false,
"returnParameters": {
"id": 3487,
"id": 267,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3486,
"id": 266,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 3488,
"src": "478:7:45",
"scope": 268,
"src": "478:7:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -682,10 +682,10 @@
"typeString": "uint256"
},
"typeName": {
"id": 3485,
"id": 265,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "478:7:45",
"src": "478:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
......@@ -695,17 +695,17 @@
"visibility": "internal"
}
],
"src": "477:9:45"
"src": "477:9:4"
},
"scope": 3489,
"src": "419:68:45",
"scope": 269,
"src": "419:68:4",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
}
],
"scope": 3517,
"src": "215:274:45"
"scope": 297,
"src": "215:274:4"
},
{
"baseContracts": [
......@@ -713,31 +713,31 @@
"arguments": null,
"baseName": {
"contractScope": null,
"id": 3490,
"id": 270,
"name": "ERC721Basic",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 3623,
"src": "675:11:45",
"referencedDeclaration": 403,
"src": "675:11:4",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Basic_$3623",
"typeIdentifier": "t_contract$_ERC721Basic_$403",
"typeString": "contract ERC721Basic"
}
},
"id": 3491,
"id": 271,
"nodeType": "InheritanceSpecifier",
"src": "675:11:45"
"src": "675:11:4"
}
],
"contractDependencies": [
3623
403
],
"contractKind": "contract",
"documentation": "@title ERC-721 Non-Fungible Token Standard, optional metadata extension\n@dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md",
"fullyImplemented": false,
"id": 3509,
"id": 289,
"linearizedBaseContracts": [
3509,
3623
289,
403
],
"name": "ERC721Metadata",
"nodeType": "ContractDefinition",
......@@ -745,7 +745,7 @@
{
"body": null,
"documentation": null,
"id": 3496,
"id": 276,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
......@@ -753,23 +753,23 @@
"name": "name",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3492,
"id": 272,
"nodeType": "ParameterList",
"parameters": [],
"src": "704:2:45"
"src": "704:2:4"
},
"payable": false,
"returnParameters": {
"id": 3495,
"id": 275,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3494,
"id": 274,
"name": "_name",
"nodeType": "VariableDeclaration",
"scope": 3496,
"src": "728:12:45",
"scope": 276,
"src": "728:12:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -777,10 +777,10 @@
"typeString": "string"
},
"typeName": {
"id": 3493,
"id": 273,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "728:6:45",
"src": "728:6:4",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
......@@ -790,10 +790,10 @@
"visibility": "internal"
}
],
"src": "727:14:45"
"src": "727:14:4"
},
"scope": 3509,
"src": "691:51:45",
"scope": 289,
"src": "691:51:4",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
......@@ -801,7 +801,7 @@
{
"body": null,
"documentation": null,
"id": 3501,
"id": 281,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
......@@ -809,23 +809,23 @@
"name": "symbol",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3497,
"id": 277,
"nodeType": "ParameterList",
"parameters": [],
"src": "760:2:45"
"src": "760:2:4"
},
"payable": false,
"returnParameters": {
"id": 3500,
"id": 280,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3499,
"id": 279,
"name": "_symbol",
"nodeType": "VariableDeclaration",
"scope": 3501,
"src": "784:14:45",
"scope": 281,
"src": "784:14:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -833,10 +833,10 @@
"typeString": "string"
},
"typeName": {
"id": 3498,
"id": 278,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "784:6:45",
"src": "784:6:4",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
......@@ -846,10 +846,10 @@
"visibility": "internal"
}
],
"src": "783:16:45"
"src": "783:16:4"
},
"scope": 3509,
"src": "745:55:45",
"scope": 289,
"src": "745:55:4",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
......@@ -857,7 +857,7 @@
{
"body": null,
"documentation": null,
"id": 3508,
"id": 288,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
......@@ -865,16 +865,16 @@
"name": "tokenURI",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3504,
"id": 284,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3503,
"id": 283,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 3508,
"src": "821:16:45",
"scope": 288,
"src": "821:16:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -882,10 +882,10 @@
"typeString": "uint256"
},
"typeName": {
"id": 3502,
"id": 282,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "821:7:45",
"src": "821:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
......@@ -895,20 +895,20 @@
"visibility": "internal"
}
],
"src": "820:18:45"
"src": "820:18:4"
},
"payable": false,
"returnParameters": {
"id": 3507,
"id": 287,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3506,
"id": 286,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 3508,
"src": "860:6:45",
"scope": 288,
"src": "860:6:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -916,10 +916,10 @@
"typeString": "string"
},
"typeName": {
"id": 3505,
"id": 285,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "860:6:45",
"src": "860:6:4",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
......@@ -929,17 +929,17 @@
"visibility": "internal"
}
],
"src": "859:8:45"
"src": "859:8:4"
},
"scope": 3509,
"src": "803:65:45",
"scope": 289,
"src": "803:65:4",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
}
],
"scope": 3517,
"src": "648:222:45"
"scope": 297,
"src": "648:222:4"
},
{
"baseContracts": [
......@@ -947,99 +947,99 @@
"arguments": null,
"baseName": {
"contractScope": null,
"id": 3510,
"id": 290,
"name": "ERC721Basic",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 3623,
"src": "1050:11:45",
"referencedDeclaration": 403,
"src": "1050:11:4",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Basic_$3623",
"typeIdentifier": "t_contract$_ERC721Basic_$403",
"typeString": "contract ERC721Basic"
}
},
"id": 3511,
"id": 291,
"nodeType": "InheritanceSpecifier",
"src": "1050:11:45"
"src": "1050:11:4"
},
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 3512,
"id": 292,
"name": "ERC721Enumerable",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 3489,
"src": "1063:16:45",
"referencedDeclaration": 269,
"src": "1063:16:4",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Enumerable_$3489",
"typeIdentifier": "t_contract$_ERC721Enumerable_$269",
"typeString": "contract ERC721Enumerable"
}
},
"id": 3513,
"id": 293,
"nodeType": "InheritanceSpecifier",
"src": "1063:16:45"
"src": "1063:16:4"
},
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 3514,
"id": 294,
"name": "ERC721Metadata",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 3509,
"src": "1081:14:45",
"referencedDeclaration": 289,
"src": "1081:14:4",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Metadata_$3509",
"typeIdentifier": "t_contract$_ERC721Metadata_$289",
"typeString": "contract ERC721Metadata"
}
},
"id": 3515,
"id": 295,
"nodeType": "InheritanceSpecifier",
"src": "1081:14:45"
"src": "1081:14:4"
}
],
"contractDependencies": [
3489,
3509,
3623
269,
289,
403
],
"contractKind": "contract",
"documentation": "@title ERC-721 Non-Fungible Token Standard, full implementation interface\n@dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md",
"fullyImplemented": false,
"id": 3516,
"id": 296,
"linearizedBaseContracts": [
3516,
3509,
3489,
3623
296,
289,
269,
403
],
"name": "ERC721",
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 3517,
"src": "1031:68:45"
"scope": 297,
"src": "1031:68:4"
}
],
"src": "0:1100:45"
"src": "0:1100:4"
},
"legacyAST": {
"absolutePath": "/home/spalladino/Projects/openzeppelin-zos/contracts/token/ERC721/ERC721.sol",
"exportedSymbols": {
"ERC721": [
3516
296
],
"ERC721Enumerable": [
3489
269
],
"ERC721Metadata": [
3509
289
]
},
"id": 3517,
"id": 297,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 3464,
"id": 244,
"literals": [
"solidity",
"^",
......@@ -1047,16 +1047,16 @@
".21"
],
"nodeType": "PragmaDirective",
"src": "0:24:45"
"src": "0:24:4"
},
{
"absolutePath": "/home/spalladino/Projects/openzeppelin-zos/contracts/token/ERC721/ERC721Basic.sol",
"file": "./ERC721Basic.sol",
"id": 3465,
"id": 245,
"nodeType": "ImportDirective",
"scope": 3517,
"sourceUnit": 3624,
"src": "26:27:45",
"scope": 297,
"sourceUnit": 404,
"src": "26:27:4",
"symbolAliases": [],
"unitAlias": ""
},
......@@ -1066,31 +1066,31 @@
"arguments": null,
"baseName": {
"contractScope": null,
"id": 3466,
"id": 246,
"name": "ERC721Basic",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 3623,
"src": "244:11:45",
"referencedDeclaration": 403,
"src": "244:11:4",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Basic_$3623",
"typeIdentifier": "t_contract$_ERC721Basic_$403",
"typeString": "contract ERC721Basic"
}
},
"id": 3467,
"id": 247,
"nodeType": "InheritanceSpecifier",
"src": "244:11:45"
"src": "244:11:4"
}
],
"contractDependencies": [
3623
403
],
"contractKind": "contract",
"documentation": "@title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n@dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md",
"fullyImplemented": false,
"id": 3489,
"id": 269,
"linearizedBaseContracts": [
3489,
3623
269,
403
],
"name": "ERC721Enumerable",
"nodeType": "ContractDefinition",
......@@ -1098,7 +1098,7 @@
{
"body": null,
"documentation": null,
"id": 3472,
"id": 252,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
......@@ -1106,23 +1106,23 @@
"name": "totalSupply",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3468,
"id": 248,
"nodeType": "ParameterList",
"parameters": [],
"src": "280:2:45"
"src": "280:2:4"
},
"payable": false,
"returnParameters": {
"id": 3471,
"id": 251,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3470,
"id": 250,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 3472,
"src": "304:7:45",
"scope": 252,
"src": "304:7:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -1130,10 +1130,10 @@
"typeString": "uint256"
},
"typeName": {
"id": 3469,
"id": 249,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "304:7:45",
"src": "304:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
......@@ -1143,10 +1143,10 @@
"visibility": "internal"
}
],
"src": "303:9:45"
"src": "303:9:4"
},
"scope": 3489,
"src": "260:53:45",
"scope": 269,
"src": "260:53:4",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
......@@ -1154,7 +1154,7 @@
{
"body": null,
"documentation": null,
"id": 3481,
"id": 261,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
......@@ -1162,16 +1162,16 @@
"name": "tokenOfOwnerByIndex",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3477,
"id": 257,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3474,
"id": 254,
"name": "_owner",
"nodeType": "VariableDeclaration",
"scope": 3481,
"src": "345:14:45",
"scope": 261,
"src": "345:14:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -1179,10 +1179,10 @@
"typeString": "address"
},
"typeName": {
"id": 3473,
"id": 253,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "345:7:45",
"src": "345:7:4",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
......@@ -1193,11 +1193,11 @@
},
{
"constant": false,
"id": 3476,
"id": 256,
"name": "_index",
"nodeType": "VariableDeclaration",
"scope": 3481,
"src": "361:14:45",
"scope": 261,
"src": "361:14:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -1205,10 +1205,10 @@
"typeString": "uint256"
},
"typeName": {
"id": 3475,
"id": 255,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "361:7:45",
"src": "361:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
......@@ -1218,20 +1218,20 @@
"visibility": "internal"
}
],
"src": "344:32:45"
"src": "344:32:4"
},
"payable": false,
"returnParameters": {
"id": 3480,
"id": 260,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3479,
"id": 259,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 3481,
"src": "398:16:45",
"scope": 261,
"src": "398:16:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -1239,10 +1239,10 @@
"typeString": "uint256"
},
"typeName": {
"id": 3478,
"id": 258,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "398:7:45",
"src": "398:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
......@@ -1252,10 +1252,10 @@
"visibility": "internal"
}
],
"src": "397:18:45"
"src": "397:18:4"
},
"scope": 3489,
"src": "316:100:45",
"scope": 269,
"src": "316:100:4",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
......@@ -1263,7 +1263,7 @@
{
"body": null,
"documentation": null,
"id": 3488,
"id": 268,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
......@@ -1271,16 +1271,16 @@
"name": "tokenByIndex",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3484,
"id": 264,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3483,
"id": 263,
"name": "_index",
"nodeType": "VariableDeclaration",
"scope": 3488,
"src": "441:14:45",
"scope": 268,
"src": "441:14:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -1288,10 +1288,10 @@
"typeString": "uint256"
},
"typeName": {
"id": 3482,
"id": 262,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "441:7:45",
"src": "441:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
......@@ -1301,20 +1301,20 @@
"visibility": "internal"
}
],
"src": "440:16:45"
"src": "440:16:4"
},
"payable": false,
"returnParameters": {
"id": 3487,
"id": 267,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3486,
"id": 266,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 3488,
"src": "478:7:45",
"scope": 268,
"src": "478:7:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -1322,10 +1322,10 @@
"typeString": "uint256"
},
"typeName": {
"id": 3485,
"id": 265,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "478:7:45",
"src": "478:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
......@@ -1335,17 +1335,17 @@
"visibility": "internal"
}
],
"src": "477:9:45"
"src": "477:9:4"
},
"scope": 3489,
"src": "419:68:45",
"scope": 269,
"src": "419:68:4",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
}
],
"scope": 3517,
"src": "215:274:45"
"scope": 297,
"src": "215:274:4"
},
{
"baseContracts": [
......@@ -1353,31 +1353,31 @@
"arguments": null,
"baseName": {
"contractScope": null,
"id": 3490,
"id": 270,
"name": "ERC721Basic",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 3623,
"src": "675:11:45",
"referencedDeclaration": 403,
"src": "675:11:4",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Basic_$3623",
"typeIdentifier": "t_contract$_ERC721Basic_$403",
"typeString": "contract ERC721Basic"
}
},
"id": 3491,
"id": 271,
"nodeType": "InheritanceSpecifier",
"src": "675:11:45"
"src": "675:11:4"
}
],
"contractDependencies": [
3623
403
],
"contractKind": "contract",
"documentation": "@title ERC-721 Non-Fungible Token Standard, optional metadata extension\n@dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md",
"fullyImplemented": false,
"id": 3509,
"id": 289,
"linearizedBaseContracts": [
3509,
3623
289,
403
],
"name": "ERC721Metadata",
"nodeType": "ContractDefinition",
......@@ -1385,7 +1385,7 @@
{
"body": null,
"documentation": null,
"id": 3496,
"id": 276,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
......@@ -1393,23 +1393,23 @@
"name": "name",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3492,
"id": 272,
"nodeType": "ParameterList",
"parameters": [],
"src": "704:2:45"
"src": "704:2:4"
},
"payable": false,
"returnParameters": {
"id": 3495,
"id": 275,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3494,
"id": 274,
"name": "_name",
"nodeType": "VariableDeclaration",
"scope": 3496,
"src": "728:12:45",
"scope": 276,
"src": "728:12:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -1417,10 +1417,10 @@
"typeString": "string"
},
"typeName": {
"id": 3493,
"id": 273,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "728:6:45",
"src": "728:6:4",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
......@@ -1430,10 +1430,10 @@
"visibility": "internal"
}
],
"src": "727:14:45"
"src": "727:14:4"
},
"scope": 3509,
"src": "691:51:45",
"scope": 289,
"src": "691:51:4",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
......@@ -1441,7 +1441,7 @@
{
"body": null,
"documentation": null,
"id": 3501,
"id": 281,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
......@@ -1449,23 +1449,23 @@
"name": "symbol",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3497,
"id": 277,
"nodeType": "ParameterList",
"parameters": [],
"src": "760:2:45"
"src": "760:2:4"
},
"payable": false,
"returnParameters": {
"id": 3500,
"id": 280,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3499,
"id": 279,
"name": "_symbol",
"nodeType": "VariableDeclaration",
"scope": 3501,
"src": "784:14:45",
"scope": 281,
"src": "784:14:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -1473,10 +1473,10 @@
"typeString": "string"
},
"typeName": {
"id": 3498,
"id": 278,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "784:6:45",
"src": "784:6:4",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
......@@ -1486,10 +1486,10 @@
"visibility": "internal"
}
],
"src": "783:16:45"
"src": "783:16:4"
},
"scope": 3509,
"src": "745:55:45",
"scope": 289,
"src": "745:55:4",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
......@@ -1497,7 +1497,7 @@
{
"body": null,
"documentation": null,
"id": 3508,
"id": 288,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
......@@ -1505,16 +1505,16 @@
"name": "tokenURI",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3504,
"id": 284,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3503,
"id": 283,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 3508,
"src": "821:16:45",
"scope": 288,
"src": "821:16:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -1522,10 +1522,10 @@
"typeString": "uint256"
},
"typeName": {
"id": 3502,
"id": 282,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "821:7:45",
"src": "821:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
......@@ -1535,20 +1535,20 @@
"visibility": "internal"
}
],
"src": "820:18:45"
"src": "820:18:4"
},
"payable": false,
"returnParameters": {
"id": 3507,
"id": 287,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3506,
"id": 286,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 3508,
"src": "860:6:45",
"scope": 288,
"src": "860:6:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -1556,10 +1556,10 @@
"typeString": "string"
},
"typeName": {
"id": 3505,
"id": 285,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "860:6:45",
"src": "860:6:4",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
......@@ -1569,17 +1569,17 @@
"visibility": "internal"
}
],
"src": "859:8:45"
"src": "859:8:4"
},
"scope": 3509,
"src": "803:65:45",
"scope": 289,
"src": "803:65:4",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
}
],
"scope": 3517,
"src": "648:222:45"
"scope": 297,
"src": "648:222:4"
},
{
"baseContracts": [
......@@ -1587,86 +1587,86 @@
"arguments": null,
"baseName": {
"contractScope": null,
"id": 3510,
"id": 290,
"name": "ERC721Basic",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 3623,
"src": "1050:11:45",
"referencedDeclaration": 403,
"src": "1050:11:4",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Basic_$3623",
"typeIdentifier": "t_contract$_ERC721Basic_$403",
"typeString": "contract ERC721Basic"
}
},
"id": 3511,
"id": 291,
"nodeType": "InheritanceSpecifier",
"src": "1050:11:45"
"src": "1050:11:4"
},
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 3512,
"id": 292,
"name": "ERC721Enumerable",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 3489,
"src": "1063:16:45",
"referencedDeclaration": 269,
"src": "1063:16:4",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Enumerable_$3489",
"typeIdentifier": "t_contract$_ERC721Enumerable_$269",
"typeString": "contract ERC721Enumerable"
}
},
"id": 3513,
"id": 293,
"nodeType": "InheritanceSpecifier",
"src": "1063:16:45"
"src": "1063:16:4"
},
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 3514,
"id": 294,
"name": "ERC721Metadata",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 3509,
"src": "1081:14:45",
"referencedDeclaration": 289,
"src": "1081:14:4",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Metadata_$3509",
"typeIdentifier": "t_contract$_ERC721Metadata_$289",
"typeString": "contract ERC721Metadata"
}
},
"id": 3515,
"id": 295,
"nodeType": "InheritanceSpecifier",
"src": "1081:14:45"
"src": "1081:14:4"
}
],
"contractDependencies": [
3489,
3509,
3623
269,
289,
403
],
"contractKind": "contract",
"documentation": "@title ERC-721 Non-Fungible Token Standard, full implementation interface\n@dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md",
"fullyImplemented": false,
"id": 3516,
"id": 296,
"linearizedBaseContracts": [
3516,
3509,
3489,
3623
296,
289,
269,
403
],
"name": "ERC721",
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 3517,
"src": "1031:68:45"
"scope": 297,
"src": "1031:68:4"
}
],
"src": "0:1100:45"
"src": "0:1100:4"
},
"compiler": {
"name": "solc",
"version": "0.4.24+commit.e67f0147.Emscripten.clang"
"version": "0.4.23+commit.124ca40d.Emscripten.clang"
},
"networks": {},
"schemaVersion": "2.0.1",
"updatedAt": "2018-08-23T14:35:50.644Z"
"schemaVersion": "2.0.0",
"updatedAt": "2018-08-23T17:26:04.157Z"
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -242,7 +242,7 @@
"type": "address"
},
{
"indexed": false,
"indexed": true,
"name": "_tokenId",
"type": "uint256"
}
......@@ -339,20 +339,20 @@
"absolutePath": "/home/spalladino/Projects/openzeppelin-zos/contracts/token/ERC721/ERC721.sol",
"exportedSymbols": {
"ERC721": [
3516
296
],
"ERC721Enumerable": [
3489
269
],
"ERC721Metadata": [
3509
289
]
},
"id": 3517,
"id": 297,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 3464,
"id": 244,
"literals": [
"solidity",
"^",
......@@ -360,16 +360,16 @@
".21"
],
"nodeType": "PragmaDirective",
"src": "0:24:45"
"src": "0:24:4"
},
{
"absolutePath": "/home/spalladino/Projects/openzeppelin-zos/contracts/token/ERC721/ERC721Basic.sol",
"file": "./ERC721Basic.sol",
"id": 3465,
"id": 245,
"nodeType": "ImportDirective",
"scope": 3517,
"sourceUnit": 3624,
"src": "26:27:45",
"scope": 297,
"sourceUnit": 404,
"src": "26:27:4",
"symbolAliases": [],
"unitAlias": ""
},
......@@ -379,31 +379,31 @@
"arguments": null,
"baseName": {
"contractScope": null,
"id": 3466,
"id": 246,
"name": "ERC721Basic",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 3623,
"src": "244:11:45",
"referencedDeclaration": 403,
"src": "244:11:4",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Basic_$3623",
"typeIdentifier": "t_contract$_ERC721Basic_$403",
"typeString": "contract ERC721Basic"
}
},
"id": 3467,
"id": 247,
"nodeType": "InheritanceSpecifier",
"src": "244:11:45"
"src": "244:11:4"
}
],
"contractDependencies": [
3623
403
],
"contractKind": "contract",
"documentation": "@title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n@dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md",
"fullyImplemented": false,
"id": 3489,
"id": 269,
"linearizedBaseContracts": [
3489,
3623
269,
403
],
"name": "ERC721Enumerable",
"nodeType": "ContractDefinition",
......@@ -411,7 +411,7 @@
{
"body": null,
"documentation": null,
"id": 3472,
"id": 252,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
......@@ -419,23 +419,23 @@
"name": "totalSupply",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3468,
"id": 248,
"nodeType": "ParameterList",
"parameters": [],
"src": "280:2:45"
"src": "280:2:4"
},
"payable": false,
"returnParameters": {
"id": 3471,
"id": 251,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3470,
"id": 250,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 3472,
"src": "304:7:45",
"scope": 252,
"src": "304:7:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -443,10 +443,10 @@
"typeString": "uint256"
},
"typeName": {
"id": 3469,
"id": 249,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "304:7:45",
"src": "304:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
......@@ -456,10 +456,10 @@
"visibility": "internal"
}
],
"src": "303:9:45"
"src": "303:9:4"
},
"scope": 3489,
"src": "260:53:45",
"scope": 269,
"src": "260:53:4",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
......@@ -467,7 +467,7 @@
{
"body": null,
"documentation": null,
"id": 3481,
"id": 261,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
......@@ -475,16 +475,16 @@
"name": "tokenOfOwnerByIndex",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3477,
"id": 257,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3474,
"id": 254,
"name": "_owner",
"nodeType": "VariableDeclaration",
"scope": 3481,
"src": "345:14:45",
"scope": 261,
"src": "345:14:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -492,10 +492,10 @@
"typeString": "address"
},
"typeName": {
"id": 3473,
"id": 253,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "345:7:45",
"src": "345:7:4",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
......@@ -506,11 +506,11 @@
},
{
"constant": false,
"id": 3476,
"id": 256,
"name": "_index",
"nodeType": "VariableDeclaration",
"scope": 3481,
"src": "361:14:45",
"scope": 261,
"src": "361:14:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -518,10 +518,10 @@
"typeString": "uint256"
},
"typeName": {
"id": 3475,
"id": 255,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "361:7:45",
"src": "361:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
......@@ -531,20 +531,20 @@
"visibility": "internal"
}
],
"src": "344:32:45"
"src": "344:32:4"
},
"payable": false,
"returnParameters": {
"id": 3480,
"id": 260,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3479,
"id": 259,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 3481,
"src": "398:16:45",
"scope": 261,
"src": "398:16:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -552,10 +552,10 @@
"typeString": "uint256"
},
"typeName": {
"id": 3478,
"id": 258,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "398:7:45",
"src": "398:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
......@@ -565,10 +565,10 @@
"visibility": "internal"
}
],
"src": "397:18:45"
"src": "397:18:4"
},
"scope": 3489,
"src": "316:100:45",
"scope": 269,
"src": "316:100:4",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
......@@ -576,7 +576,7 @@
{
"body": null,
"documentation": null,
"id": 3488,
"id": 268,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
......@@ -584,16 +584,16 @@
"name": "tokenByIndex",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3484,
"id": 264,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3483,
"id": 263,
"name": "_index",
"nodeType": "VariableDeclaration",
"scope": 3488,
"src": "441:14:45",
"scope": 268,
"src": "441:14:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -601,10 +601,10 @@
"typeString": "uint256"
},
"typeName": {
"id": 3482,
"id": 262,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "441:7:45",
"src": "441:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
......@@ -614,20 +614,20 @@
"visibility": "internal"
}
],
"src": "440:16:45"
"src": "440:16:4"
},
"payable": false,
"returnParameters": {
"id": 3487,
"id": 267,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3486,
"id": 266,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 3488,
"src": "478:7:45",
"scope": 268,
"src": "478:7:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -635,10 +635,10 @@
"typeString": "uint256"
},
"typeName": {
"id": 3485,
"id": 265,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "478:7:45",
"src": "478:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
......@@ -648,17 +648,17 @@
"visibility": "internal"
}
],
"src": "477:9:45"
"src": "477:9:4"
},
"scope": 3489,
"src": "419:68:45",
"scope": 269,
"src": "419:68:4",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
}
],
"scope": 3517,
"src": "215:274:45"
"scope": 297,
"src": "215:274:4"
},
{
"baseContracts": [
......@@ -666,31 +666,31 @@
"arguments": null,
"baseName": {
"contractScope": null,
"id": 3490,
"id": 270,
"name": "ERC721Basic",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 3623,
"src": "675:11:45",
"referencedDeclaration": 403,
"src": "675:11:4",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Basic_$3623",
"typeIdentifier": "t_contract$_ERC721Basic_$403",
"typeString": "contract ERC721Basic"
}
},
"id": 3491,
"id": 271,
"nodeType": "InheritanceSpecifier",
"src": "675:11:45"
"src": "675:11:4"
}
],
"contractDependencies": [
3623
403
],
"contractKind": "contract",
"documentation": "@title ERC-721 Non-Fungible Token Standard, optional metadata extension\n@dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md",
"fullyImplemented": false,
"id": 3509,
"id": 289,
"linearizedBaseContracts": [
3509,
3623
289,
403
],
"name": "ERC721Metadata",
"nodeType": "ContractDefinition",
......@@ -698,7 +698,7 @@
{
"body": null,
"documentation": null,
"id": 3496,
"id": 276,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
......@@ -706,23 +706,23 @@
"name": "name",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3492,
"id": 272,
"nodeType": "ParameterList",
"parameters": [],
"src": "704:2:45"
"src": "704:2:4"
},
"payable": false,
"returnParameters": {
"id": 3495,
"id": 275,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3494,
"id": 274,
"name": "_name",
"nodeType": "VariableDeclaration",
"scope": 3496,
"src": "728:12:45",
"scope": 276,
"src": "728:12:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -730,10 +730,10 @@
"typeString": "string"
},
"typeName": {
"id": 3493,
"id": 273,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "728:6:45",
"src": "728:6:4",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
......@@ -743,10 +743,10 @@
"visibility": "internal"
}
],
"src": "727:14:45"
"src": "727:14:4"
},
"scope": 3509,
"src": "691:51:45",
"scope": 289,
"src": "691:51:4",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
......@@ -754,7 +754,7 @@
{
"body": null,
"documentation": null,
"id": 3501,
"id": 281,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
......@@ -762,23 +762,23 @@
"name": "symbol",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3497,
"id": 277,
"nodeType": "ParameterList",
"parameters": [],
"src": "760:2:45"
"src": "760:2:4"
},
"payable": false,
"returnParameters": {
"id": 3500,
"id": 280,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3499,
"id": 279,
"name": "_symbol",
"nodeType": "VariableDeclaration",
"scope": 3501,
"src": "784:14:45",
"scope": 281,
"src": "784:14:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -786,10 +786,10 @@
"typeString": "string"
},
"typeName": {
"id": 3498,
"id": 278,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "784:6:45",
"src": "784:6:4",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
......@@ -799,10 +799,10 @@
"visibility": "internal"
}
],
"src": "783:16:45"
"src": "783:16:4"
},
"scope": 3509,
"src": "745:55:45",
"scope": 289,
"src": "745:55:4",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
......@@ -810,7 +810,7 @@
{
"body": null,
"documentation": null,
"id": 3508,
"id": 288,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
......@@ -818,16 +818,16 @@
"name": "tokenURI",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3504,
"id": 284,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3503,
"id": 283,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 3508,
"src": "821:16:45",
"scope": 288,
"src": "821:16:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -835,10 +835,10 @@
"typeString": "uint256"
},
"typeName": {
"id": 3502,
"id": 282,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "821:7:45",
"src": "821:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
......@@ -848,20 +848,20 @@
"visibility": "internal"
}
],
"src": "820:18:45"
"src": "820:18:4"
},
"payable": false,
"returnParameters": {
"id": 3507,
"id": 287,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3506,
"id": 286,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 3508,
"src": "860:6:45",
"scope": 288,
"src": "860:6:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -869,10 +869,10 @@
"typeString": "string"
},
"typeName": {
"id": 3505,
"id": 285,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "860:6:45",
"src": "860:6:4",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
......@@ -882,17 +882,17 @@
"visibility": "internal"
}
],
"src": "859:8:45"
"src": "859:8:4"
},
"scope": 3509,
"src": "803:65:45",
"scope": 289,
"src": "803:65:4",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
}
],
"scope": 3517,
"src": "648:222:45"
"scope": 297,
"src": "648:222:4"
},
{
"baseContracts": [
......@@ -900,99 +900,99 @@
"arguments": null,
"baseName": {
"contractScope": null,
"id": 3510,
"id": 290,
"name": "ERC721Basic",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 3623,
"src": "1050:11:45",
"referencedDeclaration": 403,
"src": "1050:11:4",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Basic_$3623",
"typeIdentifier": "t_contract$_ERC721Basic_$403",
"typeString": "contract ERC721Basic"
}
},
"id": 3511,
"id": 291,
"nodeType": "InheritanceSpecifier",
"src": "1050:11:45"
"src": "1050:11:4"
},
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 3512,
"id": 292,
"name": "ERC721Enumerable",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 3489,
"src": "1063:16:45",
"referencedDeclaration": 269,
"src": "1063:16:4",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Enumerable_$3489",
"typeIdentifier": "t_contract$_ERC721Enumerable_$269",
"typeString": "contract ERC721Enumerable"
}
},
"id": 3513,
"id": 293,
"nodeType": "InheritanceSpecifier",
"src": "1063:16:45"
"src": "1063:16:4"
},
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 3514,
"id": 294,
"name": "ERC721Metadata",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 3509,
"src": "1081:14:45",
"referencedDeclaration": 289,
"src": "1081:14:4",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Metadata_$3509",
"typeIdentifier": "t_contract$_ERC721Metadata_$289",
"typeString": "contract ERC721Metadata"
}
},
"id": 3515,
"id": 295,
"nodeType": "InheritanceSpecifier",
"src": "1081:14:45"
"src": "1081:14:4"
}
],
"contractDependencies": [
3489,
3509,
3623
269,
289,
403
],
"contractKind": "contract",
"documentation": "@title ERC-721 Non-Fungible Token Standard, full implementation interface\n@dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md",
"fullyImplemented": false,
"id": 3516,
"id": 296,
"linearizedBaseContracts": [
3516,
3509,
3489,
3623
296,
289,
269,
403
],
"name": "ERC721",
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 3517,
"src": "1031:68:45"
"scope": 297,
"src": "1031:68:4"
}
],
"src": "0:1100:45"
"src": "0:1100:4"
},
"legacyAST": {
"absolutePath": "/home/spalladino/Projects/openzeppelin-zos/contracts/token/ERC721/ERC721.sol",
"exportedSymbols": {
"ERC721": [
3516
296
],
"ERC721Enumerable": [
3489
269
],
"ERC721Metadata": [
3509
289
]
},
"id": 3517,
"id": 297,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 3464,
"id": 244,
"literals": [
"solidity",
"^",
......@@ -1000,16 +1000,16 @@
".21"
],
"nodeType": "PragmaDirective",
"src": "0:24:45"
"src": "0:24:4"
},
{
"absolutePath": "/home/spalladino/Projects/openzeppelin-zos/contracts/token/ERC721/ERC721Basic.sol",
"file": "./ERC721Basic.sol",
"id": 3465,
"id": 245,
"nodeType": "ImportDirective",
"scope": 3517,
"sourceUnit": 3624,
"src": "26:27:45",
"scope": 297,
"sourceUnit": 404,
"src": "26:27:4",
"symbolAliases": [],
"unitAlias": ""
},
......@@ -1019,31 +1019,31 @@
"arguments": null,
"baseName": {
"contractScope": null,
"id": 3466,
"id": 246,
"name": "ERC721Basic",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 3623,
"src": "244:11:45",
"referencedDeclaration": 403,
"src": "244:11:4",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Basic_$3623",
"typeIdentifier": "t_contract$_ERC721Basic_$403",
"typeString": "contract ERC721Basic"
}
},
"id": 3467,
"id": 247,
"nodeType": "InheritanceSpecifier",
"src": "244:11:45"
"src": "244:11:4"
}
],
"contractDependencies": [
3623
403
],
"contractKind": "contract",
"documentation": "@title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n@dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md",
"fullyImplemented": false,
"id": 3489,
"id": 269,
"linearizedBaseContracts": [
3489,
3623
269,
403
],
"name": "ERC721Enumerable",
"nodeType": "ContractDefinition",
......@@ -1051,7 +1051,7 @@
{
"body": null,
"documentation": null,
"id": 3472,
"id": 252,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
......@@ -1059,23 +1059,23 @@
"name": "totalSupply",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3468,
"id": 248,
"nodeType": "ParameterList",
"parameters": [],
"src": "280:2:45"
"src": "280:2:4"
},
"payable": false,
"returnParameters": {
"id": 3471,
"id": 251,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3470,
"id": 250,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 3472,
"src": "304:7:45",
"scope": 252,
"src": "304:7:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -1083,10 +1083,10 @@
"typeString": "uint256"
},
"typeName": {
"id": 3469,
"id": 249,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "304:7:45",
"src": "304:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
......@@ -1096,10 +1096,10 @@
"visibility": "internal"
}
],
"src": "303:9:45"
"src": "303:9:4"
},
"scope": 3489,
"src": "260:53:45",
"scope": 269,
"src": "260:53:4",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
......@@ -1107,7 +1107,7 @@
{
"body": null,
"documentation": null,
"id": 3481,
"id": 261,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
......@@ -1115,16 +1115,16 @@
"name": "tokenOfOwnerByIndex",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3477,
"id": 257,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3474,
"id": 254,
"name": "_owner",
"nodeType": "VariableDeclaration",
"scope": 3481,
"src": "345:14:45",
"scope": 261,
"src": "345:14:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -1132,10 +1132,10 @@
"typeString": "address"
},
"typeName": {
"id": 3473,
"id": 253,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "345:7:45",
"src": "345:7:4",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
......@@ -1146,11 +1146,11 @@
},
{
"constant": false,
"id": 3476,
"id": 256,
"name": "_index",
"nodeType": "VariableDeclaration",
"scope": 3481,
"src": "361:14:45",
"scope": 261,
"src": "361:14:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -1158,10 +1158,10 @@
"typeString": "uint256"
},
"typeName": {
"id": 3475,
"id": 255,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "361:7:45",
"src": "361:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
......@@ -1171,20 +1171,20 @@
"visibility": "internal"
}
],
"src": "344:32:45"
"src": "344:32:4"
},
"payable": false,
"returnParameters": {
"id": 3480,
"id": 260,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3479,
"id": 259,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 3481,
"src": "398:16:45",
"scope": 261,
"src": "398:16:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -1192,10 +1192,10 @@
"typeString": "uint256"
},
"typeName": {
"id": 3478,
"id": 258,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "398:7:45",
"src": "398:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
......@@ -1205,10 +1205,10 @@
"visibility": "internal"
}
],
"src": "397:18:45"
"src": "397:18:4"
},
"scope": 3489,
"src": "316:100:45",
"scope": 269,
"src": "316:100:4",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
......@@ -1216,7 +1216,7 @@
{
"body": null,
"documentation": null,
"id": 3488,
"id": 268,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
......@@ -1224,16 +1224,16 @@
"name": "tokenByIndex",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3484,
"id": 264,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3483,
"id": 263,
"name": "_index",
"nodeType": "VariableDeclaration",
"scope": 3488,
"src": "441:14:45",
"scope": 268,
"src": "441:14:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -1241,10 +1241,10 @@
"typeString": "uint256"
},
"typeName": {
"id": 3482,
"id": 262,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "441:7:45",
"src": "441:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
......@@ -1254,20 +1254,20 @@
"visibility": "internal"
}
],
"src": "440:16:45"
"src": "440:16:4"
},
"payable": false,
"returnParameters": {
"id": 3487,
"id": 267,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3486,
"id": 266,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 3488,
"src": "478:7:45",
"scope": 268,
"src": "478:7:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -1275,10 +1275,10 @@
"typeString": "uint256"
},
"typeName": {
"id": 3485,
"id": 265,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "478:7:45",
"src": "478:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
......@@ -1288,17 +1288,17 @@
"visibility": "internal"
}
],
"src": "477:9:45"
"src": "477:9:4"
},
"scope": 3489,
"src": "419:68:45",
"scope": 269,
"src": "419:68:4",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
}
],
"scope": 3517,
"src": "215:274:45"
"scope": 297,
"src": "215:274:4"
},
{
"baseContracts": [
......@@ -1306,31 +1306,31 @@
"arguments": null,
"baseName": {
"contractScope": null,
"id": 3490,
"id": 270,
"name": "ERC721Basic",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 3623,
"src": "675:11:45",
"referencedDeclaration": 403,
"src": "675:11:4",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Basic_$3623",
"typeIdentifier": "t_contract$_ERC721Basic_$403",
"typeString": "contract ERC721Basic"
}
},
"id": 3491,
"id": 271,
"nodeType": "InheritanceSpecifier",
"src": "675:11:45"
"src": "675:11:4"
}
],
"contractDependencies": [
3623
403
],
"contractKind": "contract",
"documentation": "@title ERC-721 Non-Fungible Token Standard, optional metadata extension\n@dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md",
"fullyImplemented": false,
"id": 3509,
"id": 289,
"linearizedBaseContracts": [
3509,
3623
289,
403
],
"name": "ERC721Metadata",
"nodeType": "ContractDefinition",
......@@ -1338,7 +1338,7 @@
{
"body": null,
"documentation": null,
"id": 3496,
"id": 276,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
......@@ -1346,23 +1346,23 @@
"name": "name",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3492,
"id": 272,
"nodeType": "ParameterList",
"parameters": [],
"src": "704:2:45"
"src": "704:2:4"
},
"payable": false,
"returnParameters": {
"id": 3495,
"id": 275,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3494,
"id": 274,
"name": "_name",
"nodeType": "VariableDeclaration",
"scope": 3496,
"src": "728:12:45",
"scope": 276,
"src": "728:12:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -1370,10 +1370,10 @@
"typeString": "string"
},
"typeName": {
"id": 3493,
"id": 273,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "728:6:45",
"src": "728:6:4",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
......@@ -1383,10 +1383,10 @@
"visibility": "internal"
}
],
"src": "727:14:45"
"src": "727:14:4"
},
"scope": 3509,
"src": "691:51:45",
"scope": 289,
"src": "691:51:4",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
......@@ -1394,7 +1394,7 @@
{
"body": null,
"documentation": null,
"id": 3501,
"id": 281,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
......@@ -1402,23 +1402,23 @@
"name": "symbol",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3497,
"id": 277,
"nodeType": "ParameterList",
"parameters": [],
"src": "760:2:45"
"src": "760:2:4"
},
"payable": false,
"returnParameters": {
"id": 3500,
"id": 280,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3499,
"id": 279,
"name": "_symbol",
"nodeType": "VariableDeclaration",
"scope": 3501,
"src": "784:14:45",
"scope": 281,
"src": "784:14:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -1426,10 +1426,10 @@
"typeString": "string"
},
"typeName": {
"id": 3498,
"id": 278,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "784:6:45",
"src": "784:6:4",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
......@@ -1439,10 +1439,10 @@
"visibility": "internal"
}
],
"src": "783:16:45"
"src": "783:16:4"
},
"scope": 3509,
"src": "745:55:45",
"scope": 289,
"src": "745:55:4",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
......@@ -1450,7 +1450,7 @@
{
"body": null,
"documentation": null,
"id": 3508,
"id": 288,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
......@@ -1458,16 +1458,16 @@
"name": "tokenURI",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3504,
"id": 284,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3503,
"id": 283,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 3508,
"src": "821:16:45",
"scope": 288,
"src": "821:16:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -1475,10 +1475,10 @@
"typeString": "uint256"
},
"typeName": {
"id": 3502,
"id": 282,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "821:7:45",
"src": "821:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
......@@ -1488,20 +1488,20 @@
"visibility": "internal"
}
],
"src": "820:18:45"
"src": "820:18:4"
},
"payable": false,
"returnParameters": {
"id": 3507,
"id": 287,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3506,
"id": 286,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 3508,
"src": "860:6:45",
"scope": 288,
"src": "860:6:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -1509,10 +1509,10 @@
"typeString": "string"
},
"typeName": {
"id": 3505,
"id": 285,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "860:6:45",
"src": "860:6:4",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
......@@ -1522,17 +1522,17 @@
"visibility": "internal"
}
],
"src": "859:8:45"
"src": "859:8:4"
},
"scope": 3509,
"src": "803:65:45",
"scope": 289,
"src": "803:65:4",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
}
],
"scope": 3517,
"src": "648:222:45"
"scope": 297,
"src": "648:222:4"
},
{
"baseContracts": [
......@@ -1540,86 +1540,86 @@
"arguments": null,
"baseName": {
"contractScope": null,
"id": 3510,
"id": 290,
"name": "ERC721Basic",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 3623,
"src": "1050:11:45",
"referencedDeclaration": 403,
"src": "1050:11:4",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Basic_$3623",
"typeIdentifier": "t_contract$_ERC721Basic_$403",
"typeString": "contract ERC721Basic"
}
},
"id": 3511,
"id": 291,
"nodeType": "InheritanceSpecifier",
"src": "1050:11:45"
"src": "1050:11:4"
},
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 3512,
"id": 292,
"name": "ERC721Enumerable",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 3489,
"src": "1063:16:45",
"referencedDeclaration": 269,
"src": "1063:16:4",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Enumerable_$3489",
"typeIdentifier": "t_contract$_ERC721Enumerable_$269",
"typeString": "contract ERC721Enumerable"
}
},
"id": 3513,
"id": 293,
"nodeType": "InheritanceSpecifier",
"src": "1063:16:45"
"src": "1063:16:4"
},
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 3514,
"id": 294,
"name": "ERC721Metadata",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 3509,
"src": "1081:14:45",
"referencedDeclaration": 289,
"src": "1081:14:4",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Metadata_$3509",
"typeIdentifier": "t_contract$_ERC721Metadata_$289",
"typeString": "contract ERC721Metadata"
}
},
"id": 3515,
"id": 295,
"nodeType": "InheritanceSpecifier",
"src": "1081:14:45"
"src": "1081:14:4"
}
],
"contractDependencies": [
3489,
3509,
3623
269,
289,
403
],
"contractKind": "contract",
"documentation": "@title ERC-721 Non-Fungible Token Standard, full implementation interface\n@dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md",
"fullyImplemented": false,
"id": 3516,
"id": 296,
"linearizedBaseContracts": [
3516,
3509,
3489,
3623
296,
289,
269,
403
],
"name": "ERC721",
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 3517,
"src": "1031:68:45"
"scope": 297,
"src": "1031:68:4"
}
],
"src": "0:1100:45"
"src": "0:1100:4"
},
"compiler": {
"name": "solc",
"version": "0.4.24+commit.e67f0147.Emscripten.clang"
"version": "0.4.23+commit.124ca40d.Emscripten.clang"
},
"networks": {},
"schemaVersion": "2.0.1",
"updatedAt": "2018-08-23T14:35:50.645Z"
"schemaVersion": "2.0.0",
"updatedAt": "2018-08-23T17:26:04.150Z"
}
\ No newline at end of file
......@@ -242,7 +242,7 @@
"type": "address"
},
{
"indexed": false,
"indexed": true,
"name": "_tokenId",
"type": "uint256"
}
......@@ -330,20 +330,20 @@
"absolutePath": "/home/spalladino/Projects/openzeppelin-zos/contracts/token/ERC721/ERC721.sol",
"exportedSymbols": {
"ERC721": [
3516
296
],
"ERC721Enumerable": [
3489
269
],
"ERC721Metadata": [
3509
289
]
},
"id": 3517,
"id": 297,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 3464,
"id": 244,
"literals": [
"solidity",
"^",
......@@ -351,16 +351,16 @@
".21"
],
"nodeType": "PragmaDirective",
"src": "0:24:45"
"src": "0:24:4"
},
{
"absolutePath": "/home/spalladino/Projects/openzeppelin-zos/contracts/token/ERC721/ERC721Basic.sol",
"file": "./ERC721Basic.sol",
"id": 3465,
"id": 245,
"nodeType": "ImportDirective",
"scope": 3517,
"sourceUnit": 3624,
"src": "26:27:45",
"scope": 297,
"sourceUnit": 404,
"src": "26:27:4",
"symbolAliases": [],
"unitAlias": ""
},
......@@ -370,31 +370,31 @@
"arguments": null,
"baseName": {
"contractScope": null,
"id": 3466,
"id": 246,
"name": "ERC721Basic",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 3623,
"src": "244:11:45",
"referencedDeclaration": 403,
"src": "244:11:4",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Basic_$3623",
"typeIdentifier": "t_contract$_ERC721Basic_$403",
"typeString": "contract ERC721Basic"
}
},
"id": 3467,
"id": 247,
"nodeType": "InheritanceSpecifier",
"src": "244:11:45"
"src": "244:11:4"
}
],
"contractDependencies": [
3623
403
],
"contractKind": "contract",
"documentation": "@title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n@dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md",
"fullyImplemented": false,
"id": 3489,
"id": 269,
"linearizedBaseContracts": [
3489,
3623
269,
403
],
"name": "ERC721Enumerable",
"nodeType": "ContractDefinition",
......@@ -402,7 +402,7 @@
{
"body": null,
"documentation": null,
"id": 3472,
"id": 252,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
......@@ -410,23 +410,23 @@
"name": "totalSupply",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3468,
"id": 248,
"nodeType": "ParameterList",
"parameters": [],
"src": "280:2:45"
"src": "280:2:4"
},
"payable": false,
"returnParameters": {
"id": 3471,
"id": 251,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3470,
"id": 250,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 3472,
"src": "304:7:45",
"scope": 252,
"src": "304:7:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -434,10 +434,10 @@
"typeString": "uint256"
},
"typeName": {
"id": 3469,
"id": 249,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "304:7:45",
"src": "304:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
......@@ -447,10 +447,10 @@
"visibility": "internal"
}
],
"src": "303:9:45"
"src": "303:9:4"
},
"scope": 3489,
"src": "260:53:45",
"scope": 269,
"src": "260:53:4",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
......@@ -458,7 +458,7 @@
{
"body": null,
"documentation": null,
"id": 3481,
"id": 261,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
......@@ -466,16 +466,16 @@
"name": "tokenOfOwnerByIndex",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3477,
"id": 257,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3474,
"id": 254,
"name": "_owner",
"nodeType": "VariableDeclaration",
"scope": 3481,
"src": "345:14:45",
"scope": 261,
"src": "345:14:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -483,10 +483,10 @@
"typeString": "address"
},
"typeName": {
"id": 3473,
"id": 253,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "345:7:45",
"src": "345:7:4",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
......@@ -497,11 +497,11 @@
},
{
"constant": false,
"id": 3476,
"id": 256,
"name": "_index",
"nodeType": "VariableDeclaration",
"scope": 3481,
"src": "361:14:45",
"scope": 261,
"src": "361:14:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -509,10 +509,10 @@
"typeString": "uint256"
},
"typeName": {
"id": 3475,
"id": 255,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "361:7:45",
"src": "361:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
......@@ -522,20 +522,20 @@
"visibility": "internal"
}
],
"src": "344:32:45"
"src": "344:32:4"
},
"payable": false,
"returnParameters": {
"id": 3480,
"id": 260,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3479,
"id": 259,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 3481,
"src": "398:16:45",
"scope": 261,
"src": "398:16:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -543,10 +543,10 @@
"typeString": "uint256"
},
"typeName": {
"id": 3478,
"id": 258,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "398:7:45",
"src": "398:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
......@@ -556,10 +556,10 @@
"visibility": "internal"
}
],
"src": "397:18:45"
"src": "397:18:4"
},
"scope": 3489,
"src": "316:100:45",
"scope": 269,
"src": "316:100:4",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
......@@ -567,7 +567,7 @@
{
"body": null,
"documentation": null,
"id": 3488,
"id": 268,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
......@@ -575,16 +575,16 @@
"name": "tokenByIndex",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3484,
"id": 264,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3483,
"id": 263,
"name": "_index",
"nodeType": "VariableDeclaration",
"scope": 3488,
"src": "441:14:45",
"scope": 268,
"src": "441:14:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -592,10 +592,10 @@
"typeString": "uint256"
},
"typeName": {
"id": 3482,
"id": 262,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "441:7:45",
"src": "441:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
......@@ -605,20 +605,20 @@
"visibility": "internal"
}
],
"src": "440:16:45"
"src": "440:16:4"
},
"payable": false,
"returnParameters": {
"id": 3487,
"id": 267,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3486,
"id": 266,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 3488,
"src": "478:7:45",
"scope": 268,
"src": "478:7:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -626,10 +626,10 @@
"typeString": "uint256"
},
"typeName": {
"id": 3485,
"id": 265,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "478:7:45",
"src": "478:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
......@@ -639,17 +639,17 @@
"visibility": "internal"
}
],
"src": "477:9:45"
"src": "477:9:4"
},
"scope": 3489,
"src": "419:68:45",
"scope": 269,
"src": "419:68:4",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
}
],
"scope": 3517,
"src": "215:274:45"
"scope": 297,
"src": "215:274:4"
},
{
"baseContracts": [
......@@ -657,31 +657,31 @@
"arguments": null,
"baseName": {
"contractScope": null,
"id": 3490,
"id": 270,
"name": "ERC721Basic",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 3623,
"src": "675:11:45",
"referencedDeclaration": 403,
"src": "675:11:4",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Basic_$3623",
"typeIdentifier": "t_contract$_ERC721Basic_$403",
"typeString": "contract ERC721Basic"
}
},
"id": 3491,
"id": 271,
"nodeType": "InheritanceSpecifier",
"src": "675:11:45"
"src": "675:11:4"
}
],
"contractDependencies": [
3623
403
],
"contractKind": "contract",
"documentation": "@title ERC-721 Non-Fungible Token Standard, optional metadata extension\n@dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md",
"fullyImplemented": false,
"id": 3509,
"id": 289,
"linearizedBaseContracts": [
3509,
3623
289,
403
],
"name": "ERC721Metadata",
"nodeType": "ContractDefinition",
......@@ -689,7 +689,7 @@
{
"body": null,
"documentation": null,
"id": 3496,
"id": 276,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
......@@ -697,23 +697,23 @@
"name": "name",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3492,
"id": 272,
"nodeType": "ParameterList",
"parameters": [],
"src": "704:2:45"
"src": "704:2:4"
},
"payable": false,
"returnParameters": {
"id": 3495,
"id": 275,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3494,
"id": 274,
"name": "_name",
"nodeType": "VariableDeclaration",
"scope": 3496,
"src": "728:12:45",
"scope": 276,
"src": "728:12:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -721,10 +721,10 @@
"typeString": "string"
},
"typeName": {
"id": 3493,
"id": 273,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "728:6:45",
"src": "728:6:4",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
......@@ -734,10 +734,10 @@
"visibility": "internal"
}
],
"src": "727:14:45"
"src": "727:14:4"
},
"scope": 3509,
"src": "691:51:45",
"scope": 289,
"src": "691:51:4",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
......@@ -745,7 +745,7 @@
{
"body": null,
"documentation": null,
"id": 3501,
"id": 281,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
......@@ -753,23 +753,23 @@
"name": "symbol",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3497,
"id": 277,
"nodeType": "ParameterList",
"parameters": [],
"src": "760:2:45"
"src": "760:2:4"
},
"payable": false,
"returnParameters": {
"id": 3500,
"id": 280,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3499,
"id": 279,
"name": "_symbol",
"nodeType": "VariableDeclaration",
"scope": 3501,
"src": "784:14:45",
"scope": 281,
"src": "784:14:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -777,10 +777,10 @@
"typeString": "string"
},
"typeName": {
"id": 3498,
"id": 278,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "784:6:45",
"src": "784:6:4",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
......@@ -790,10 +790,10 @@
"visibility": "internal"
}
],
"src": "783:16:45"
"src": "783:16:4"
},
"scope": 3509,
"src": "745:55:45",
"scope": 289,
"src": "745:55:4",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
......@@ -801,7 +801,7 @@
{
"body": null,
"documentation": null,
"id": 3508,
"id": 288,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
......@@ -809,16 +809,16 @@
"name": "tokenURI",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3504,
"id": 284,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3503,
"id": 283,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 3508,
"src": "821:16:45",
"scope": 288,
"src": "821:16:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -826,10 +826,10 @@
"typeString": "uint256"
},
"typeName": {
"id": 3502,
"id": 282,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "821:7:45",
"src": "821:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
......@@ -839,20 +839,20 @@
"visibility": "internal"
}
],
"src": "820:18:45"
"src": "820:18:4"
},
"payable": false,
"returnParameters": {
"id": 3507,
"id": 287,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3506,
"id": 286,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 3508,
"src": "860:6:45",
"scope": 288,
"src": "860:6:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -860,10 +860,10 @@
"typeString": "string"
},
"typeName": {
"id": 3505,
"id": 285,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "860:6:45",
"src": "860:6:4",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
......@@ -873,17 +873,17 @@
"visibility": "internal"
}
],
"src": "859:8:45"
"src": "859:8:4"
},
"scope": 3509,
"src": "803:65:45",
"scope": 289,
"src": "803:65:4",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
}
],
"scope": 3517,
"src": "648:222:45"
"scope": 297,
"src": "648:222:4"
},
{
"baseContracts": [
......@@ -891,99 +891,99 @@
"arguments": null,
"baseName": {
"contractScope": null,
"id": 3510,
"id": 290,
"name": "ERC721Basic",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 3623,
"src": "1050:11:45",
"referencedDeclaration": 403,
"src": "1050:11:4",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Basic_$3623",
"typeIdentifier": "t_contract$_ERC721Basic_$403",
"typeString": "contract ERC721Basic"
}
},
"id": 3511,
"id": 291,
"nodeType": "InheritanceSpecifier",
"src": "1050:11:45"
"src": "1050:11:4"
},
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 3512,
"id": 292,
"name": "ERC721Enumerable",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 3489,
"src": "1063:16:45",
"referencedDeclaration": 269,
"src": "1063:16:4",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Enumerable_$3489",
"typeIdentifier": "t_contract$_ERC721Enumerable_$269",
"typeString": "contract ERC721Enumerable"
}
},
"id": 3513,
"id": 293,
"nodeType": "InheritanceSpecifier",
"src": "1063:16:45"
"src": "1063:16:4"
},
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 3514,
"id": 294,
"name": "ERC721Metadata",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 3509,
"src": "1081:14:45",
"referencedDeclaration": 289,
"src": "1081:14:4",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Metadata_$3509",
"typeIdentifier": "t_contract$_ERC721Metadata_$289",
"typeString": "contract ERC721Metadata"
}
},
"id": 3515,
"id": 295,
"nodeType": "InheritanceSpecifier",
"src": "1081:14:45"
"src": "1081:14:4"
}
],
"contractDependencies": [
3489,
3509,
3623
269,
289,
403
],
"contractKind": "contract",
"documentation": "@title ERC-721 Non-Fungible Token Standard, full implementation interface\n@dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md",
"fullyImplemented": false,
"id": 3516,
"id": 296,
"linearizedBaseContracts": [
3516,
3509,
3489,
3623
296,
289,
269,
403
],
"name": "ERC721",
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 3517,
"src": "1031:68:45"
"scope": 297,
"src": "1031:68:4"
}
],
"src": "0:1100:45"
"src": "0:1100:4"
},
"legacyAST": {
"absolutePath": "/home/spalladino/Projects/openzeppelin-zos/contracts/token/ERC721/ERC721.sol",
"exportedSymbols": {
"ERC721": [
3516
296
],
"ERC721Enumerable": [
3489
269
],
"ERC721Metadata": [
3509
289
]
},
"id": 3517,
"id": 297,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 3464,
"id": 244,
"literals": [
"solidity",
"^",
......@@ -991,16 +991,16 @@
".21"
],
"nodeType": "PragmaDirective",
"src": "0:24:45"
"src": "0:24:4"
},
{
"absolutePath": "/home/spalladino/Projects/openzeppelin-zos/contracts/token/ERC721/ERC721Basic.sol",
"file": "./ERC721Basic.sol",
"id": 3465,
"id": 245,
"nodeType": "ImportDirective",
"scope": 3517,
"sourceUnit": 3624,
"src": "26:27:45",
"scope": 297,
"sourceUnit": 404,
"src": "26:27:4",
"symbolAliases": [],
"unitAlias": ""
},
......@@ -1010,31 +1010,31 @@
"arguments": null,
"baseName": {
"contractScope": null,
"id": 3466,
"id": 246,
"name": "ERC721Basic",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 3623,
"src": "244:11:45",
"referencedDeclaration": 403,
"src": "244:11:4",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Basic_$3623",
"typeIdentifier": "t_contract$_ERC721Basic_$403",
"typeString": "contract ERC721Basic"
}
},
"id": 3467,
"id": 247,
"nodeType": "InheritanceSpecifier",
"src": "244:11:45"
"src": "244:11:4"
}
],
"contractDependencies": [
3623
403
],
"contractKind": "contract",
"documentation": "@title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n@dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md",
"fullyImplemented": false,
"id": 3489,
"id": 269,
"linearizedBaseContracts": [
3489,
3623
269,
403
],
"name": "ERC721Enumerable",
"nodeType": "ContractDefinition",
......@@ -1042,7 +1042,7 @@
{
"body": null,
"documentation": null,
"id": 3472,
"id": 252,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
......@@ -1050,23 +1050,23 @@
"name": "totalSupply",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3468,
"id": 248,
"nodeType": "ParameterList",
"parameters": [],
"src": "280:2:45"
"src": "280:2:4"
},
"payable": false,
"returnParameters": {
"id": 3471,
"id": 251,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3470,
"id": 250,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 3472,
"src": "304:7:45",
"scope": 252,
"src": "304:7:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -1074,10 +1074,10 @@
"typeString": "uint256"
},
"typeName": {
"id": 3469,
"id": 249,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "304:7:45",
"src": "304:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
......@@ -1087,10 +1087,10 @@
"visibility": "internal"
}
],
"src": "303:9:45"
"src": "303:9:4"
},
"scope": 3489,
"src": "260:53:45",
"scope": 269,
"src": "260:53:4",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
......@@ -1098,7 +1098,7 @@
{
"body": null,
"documentation": null,
"id": 3481,
"id": 261,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
......@@ -1106,16 +1106,16 @@
"name": "tokenOfOwnerByIndex",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3477,
"id": 257,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3474,
"id": 254,
"name": "_owner",
"nodeType": "VariableDeclaration",
"scope": 3481,
"src": "345:14:45",
"scope": 261,
"src": "345:14:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -1123,10 +1123,10 @@
"typeString": "address"
},
"typeName": {
"id": 3473,
"id": 253,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "345:7:45",
"src": "345:7:4",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
......@@ -1137,11 +1137,11 @@
},
{
"constant": false,
"id": 3476,
"id": 256,
"name": "_index",
"nodeType": "VariableDeclaration",
"scope": 3481,
"src": "361:14:45",
"scope": 261,
"src": "361:14:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -1149,10 +1149,10 @@
"typeString": "uint256"
},
"typeName": {
"id": 3475,
"id": 255,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "361:7:45",
"src": "361:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
......@@ -1162,20 +1162,20 @@
"visibility": "internal"
}
],
"src": "344:32:45"
"src": "344:32:4"
},
"payable": false,
"returnParameters": {
"id": 3480,
"id": 260,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3479,
"id": 259,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 3481,
"src": "398:16:45",
"scope": 261,
"src": "398:16:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -1183,10 +1183,10 @@
"typeString": "uint256"
},
"typeName": {
"id": 3478,
"id": 258,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "398:7:45",
"src": "398:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
......@@ -1196,10 +1196,10 @@
"visibility": "internal"
}
],
"src": "397:18:45"
"src": "397:18:4"
},
"scope": 3489,
"src": "316:100:45",
"scope": 269,
"src": "316:100:4",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
......@@ -1207,7 +1207,7 @@
{
"body": null,
"documentation": null,
"id": 3488,
"id": 268,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
......@@ -1215,16 +1215,16 @@
"name": "tokenByIndex",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3484,
"id": 264,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3483,
"id": 263,
"name": "_index",
"nodeType": "VariableDeclaration",
"scope": 3488,
"src": "441:14:45",
"scope": 268,
"src": "441:14:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -1232,10 +1232,10 @@
"typeString": "uint256"
},
"typeName": {
"id": 3482,
"id": 262,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "441:7:45",
"src": "441:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
......@@ -1245,20 +1245,20 @@
"visibility": "internal"
}
],
"src": "440:16:45"
"src": "440:16:4"
},
"payable": false,
"returnParameters": {
"id": 3487,
"id": 267,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3486,
"id": 266,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 3488,
"src": "478:7:45",
"scope": 268,
"src": "478:7:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -1266,10 +1266,10 @@
"typeString": "uint256"
},
"typeName": {
"id": 3485,
"id": 265,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "478:7:45",
"src": "478:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
......@@ -1279,17 +1279,17 @@
"visibility": "internal"
}
],
"src": "477:9:45"
"src": "477:9:4"
},
"scope": 3489,
"src": "419:68:45",
"scope": 269,
"src": "419:68:4",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
}
],
"scope": 3517,
"src": "215:274:45"
"scope": 297,
"src": "215:274:4"
},
{
"baseContracts": [
......@@ -1297,31 +1297,31 @@
"arguments": null,
"baseName": {
"contractScope": null,
"id": 3490,
"id": 270,
"name": "ERC721Basic",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 3623,
"src": "675:11:45",
"referencedDeclaration": 403,
"src": "675:11:4",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Basic_$3623",
"typeIdentifier": "t_contract$_ERC721Basic_$403",
"typeString": "contract ERC721Basic"
}
},
"id": 3491,
"id": 271,
"nodeType": "InheritanceSpecifier",
"src": "675:11:45"
"src": "675:11:4"
}
],
"contractDependencies": [
3623
403
],
"contractKind": "contract",
"documentation": "@title ERC-721 Non-Fungible Token Standard, optional metadata extension\n@dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md",
"fullyImplemented": false,
"id": 3509,
"id": 289,
"linearizedBaseContracts": [
3509,
3623
289,
403
],
"name": "ERC721Metadata",
"nodeType": "ContractDefinition",
......@@ -1329,7 +1329,7 @@
{
"body": null,
"documentation": null,
"id": 3496,
"id": 276,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
......@@ -1337,23 +1337,23 @@
"name": "name",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3492,
"id": 272,
"nodeType": "ParameterList",
"parameters": [],
"src": "704:2:45"
"src": "704:2:4"
},
"payable": false,
"returnParameters": {
"id": 3495,
"id": 275,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3494,
"id": 274,
"name": "_name",
"nodeType": "VariableDeclaration",
"scope": 3496,
"src": "728:12:45",
"scope": 276,
"src": "728:12:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -1361,10 +1361,10 @@
"typeString": "string"
},
"typeName": {
"id": 3493,
"id": 273,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "728:6:45",
"src": "728:6:4",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
......@@ -1374,10 +1374,10 @@
"visibility": "internal"
}
],
"src": "727:14:45"
"src": "727:14:4"
},
"scope": 3509,
"src": "691:51:45",
"scope": 289,
"src": "691:51:4",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
......@@ -1385,7 +1385,7 @@
{
"body": null,
"documentation": null,
"id": 3501,
"id": 281,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
......@@ -1393,23 +1393,23 @@
"name": "symbol",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3497,
"id": 277,
"nodeType": "ParameterList",
"parameters": [],
"src": "760:2:45"
"src": "760:2:4"
},
"payable": false,
"returnParameters": {
"id": 3500,
"id": 280,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3499,
"id": 279,
"name": "_symbol",
"nodeType": "VariableDeclaration",
"scope": 3501,
"src": "784:14:45",
"scope": 281,
"src": "784:14:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -1417,10 +1417,10 @@
"typeString": "string"
},
"typeName": {
"id": 3498,
"id": 278,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "784:6:45",
"src": "784:6:4",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
......@@ -1430,10 +1430,10 @@
"visibility": "internal"
}
],
"src": "783:16:45"
"src": "783:16:4"
},
"scope": 3509,
"src": "745:55:45",
"scope": 289,
"src": "745:55:4",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
......@@ -1441,7 +1441,7 @@
{
"body": null,
"documentation": null,
"id": 3508,
"id": 288,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
......@@ -1449,16 +1449,16 @@
"name": "tokenURI",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 3504,
"id": 284,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3503,
"id": 283,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 3508,
"src": "821:16:45",
"scope": 288,
"src": "821:16:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -1466,10 +1466,10 @@
"typeString": "uint256"
},
"typeName": {
"id": 3502,
"id": 282,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "821:7:45",
"src": "821:7:4",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
......@@ -1479,20 +1479,20 @@
"visibility": "internal"
}
],
"src": "820:18:45"
"src": "820:18:4"
},
"payable": false,
"returnParameters": {
"id": 3507,
"id": 287,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3506,
"id": 286,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 3508,
"src": "860:6:45",
"scope": 288,
"src": "860:6:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -1500,10 +1500,10 @@
"typeString": "string"
},
"typeName": {
"id": 3505,
"id": 285,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "860:6:45",
"src": "860:6:4",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
......@@ -1513,17 +1513,17 @@
"visibility": "internal"
}
],
"src": "859:8:45"
"src": "859:8:4"
},
"scope": 3509,
"src": "803:65:45",
"scope": 289,
"src": "803:65:4",
"stateMutability": "view",
"superFunction": null,
"visibility": "public"
}
],
"scope": 3517,
"src": "648:222:45"
"scope": 297,
"src": "648:222:4"
},
{
"baseContracts": [
......@@ -1531,86 +1531,86 @@
"arguments": null,
"baseName": {
"contractScope": null,
"id": 3510,
"id": 290,
"name": "ERC721Basic",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 3623,
"src": "1050:11:45",
"referencedDeclaration": 403,
"src": "1050:11:4",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Basic_$3623",
"typeIdentifier": "t_contract$_ERC721Basic_$403",
"typeString": "contract ERC721Basic"
}
},
"id": 3511,
"id": 291,
"nodeType": "InheritanceSpecifier",
"src": "1050:11:45"
"src": "1050:11:4"
},
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 3512,
"id": 292,
"name": "ERC721Enumerable",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 3489,
"src": "1063:16:45",
"referencedDeclaration": 269,
"src": "1063:16:4",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Enumerable_$3489",
"typeIdentifier": "t_contract$_ERC721Enumerable_$269",
"typeString": "contract ERC721Enumerable"
}
},
"id": 3513,
"id": 293,
"nodeType": "InheritanceSpecifier",
"src": "1063:16:45"
"src": "1063:16:4"
},
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 3514,
"id": 294,
"name": "ERC721Metadata",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 3509,
"src": "1081:14:45",
"referencedDeclaration": 289,
"src": "1081:14:4",
"typeDescriptions": {
"typeIdentifier": "t_contract$_ERC721Metadata_$3509",
"typeIdentifier": "t_contract$_ERC721Metadata_$289",
"typeString": "contract ERC721Metadata"
}
},
"id": 3515,
"id": 295,
"nodeType": "InheritanceSpecifier",
"src": "1081:14:45"
"src": "1081:14:4"
}
],
"contractDependencies": [
3489,
3509,
3623
269,
289,
403
],
"contractKind": "contract",
"documentation": "@title ERC-721 Non-Fungible Token Standard, full implementation interface\n@dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md",
"fullyImplemented": false,
"id": 3516,
"id": 296,
"linearizedBaseContracts": [
3516,
3509,
3489,
3623
296,
289,
269,
403
],
"name": "ERC721",
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 3517,
"src": "1031:68:45"
"scope": 297,
"src": "1031:68:4"
}
],
"src": "0:1100:45"
"src": "0:1100:4"
},
"compiler": {
"name": "solc",
"version": "0.4.24+commit.e67f0147.Emscripten.clang"
"version": "0.4.23+commit.124ca40d.Emscripten.clang"
},
"networks": {},
"schemaVersion": "2.0.1",
"updatedAt": "2018-08-23T14:35:50.646Z"
"schemaVersion": "2.0.0",
"updatedAt": "2018-08-23T17:26:04.153Z"
}
\ No newline at end of file
......@@ -39,14 +39,14 @@
"absolutePath": "/home/spalladino/Projects/openzeppelin-zos/contracts/token/ERC721/ERC721Receiver.sol",
"exportedSymbols": {
"ERC721Receiver": [
4243
1003
]
},
"id": 4244,
"id": 1004,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 4228,
"id": 988,
"literals": [
"solidity",
"^",
......@@ -54,7 +54,7 @@
".21"
],
"nodeType": "PragmaDirective",
"src": "0:24:49"
"src": "0:24:7"
},
{
"baseContracts": [],
......@@ -62,20 +62,20 @@
"contractKind": "contract",
"documentation": "@title ERC721 token receiver interface\n@dev Interface for any contract that wants to support safeTransfers\n from ERC721 asset contracts.",
"fullyImplemented": false,
"id": 4243,
"id": 1003,
"linearizedBaseContracts": [
4243
1003
],
"name": "ERC721Receiver",
"nodeType": "ContractDefinition",
"nodes": [
{
"constant": true,
"id": 4231,
"id": 991,
"name": "ERC721_RECEIVED",
"nodeType": "VariableDeclaration",
"scope": 4243,
"src": "456:44:49",
"scope": 1003,
"src": "456:44:7",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
......@@ -83,10 +83,10 @@
"typeString": "bytes4"
},
"typeName": {
"id": 4229,
"id": 989,
"name": "bytes4",
"nodeType": "ElementaryTypeName",
"src": "456:6:49",
"src": "456:6:7",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
......@@ -95,14 +95,14 @@
"value": {
"argumentTypes": null,
"hexValue": "30786630623965356261",
"id": 4230,
"id": 990,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "490:10:49",
"src": "490:10:7",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_4038714810_by_1",
......@@ -115,7 +115,7 @@
{
"body": null,
"documentation": "@notice Handle the receipt of an NFT\n@dev The ERC721 smart contract calls this function on the recipient\n after a `safetransfer`. This function MAY throw to revert and reject the\n transfer. This function MUST use 50,000 gas or less. Return of other\n than the magic value MUST result in the transaction being reverted.\n Note: the contract address is always the message sender.\n@param _from The sending address\n@param _tokenId The NFT identifier which is being transfered\n@param _data Additional data with no specified format\n@return `bytes4(keccak256(\"onERC721Received(address,uint256,bytes)\"))`",
"id": 4242,
"id": 1002,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
......@@ -123,16 +123,16 @@
"name": "onERC721Received",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 4238,
"id": 998,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 4233,
"id": 993,
"name": "_from",
"nodeType": "VariableDeclaration",
"scope": 4242,
"src": "1188:13:49",
"scope": 1002,
"src": "1188:13:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -140,10 +140,10 @@
"typeString": "address"
},
"typeName": {
"id": 4232,
"id": 992,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1188:7:49",
"src": "1188:7:7",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
......@@ -154,11 +154,11 @@
},
{
"constant": false,
"id": 4235,
"id": 995,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 4242,
"src": "1203:16:49",
"scope": 1002,
"src": "1203:16:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -166,10 +166,10 @@
"typeString": "uint256"
},
"typeName": {
"id": 4234,
"id": 994,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1203:7:49",
"src": "1203:7:7",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
......@@ -180,11 +180,11 @@
},
{
"constant": false,
"id": 4237,
"id": 997,
"name": "_data",
"nodeType": "VariableDeclaration",
"scope": 4242,
"src": "1221:11:49",
"scope": 1002,
"src": "1221:11:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -192,10 +192,10 @@
"typeString": "bytes"
},
"typeName": {
"id": 4236,
"id": 996,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "1221:5:49",
"src": "1221:5:7",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
......@@ -205,20 +205,20 @@
"visibility": "internal"
}
],
"src": "1187:46:49"
"src": "1187:46:7"
},
"payable": false,
"returnParameters": {
"id": 4241,
"id": 1001,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 4240,
"id": 1000,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 4242,
"src": "1249:6:49",
"scope": 1002,
"src": "1249:6:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -226,10 +226,10 @@
"typeString": "bytes4"
},
"typeName": {
"id": 4239,
"id": 999,
"name": "bytes4",
"nodeType": "ElementaryTypeName",
"src": "1249:6:49",
"src": "1249:6:7",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
......@@ -239,33 +239,33 @@
"visibility": "internal"
}
],
"src": "1248:8:49"
"src": "1248:8:7"
},
"scope": 4243,
"src": "1162:95:49",
"scope": 1003,
"src": "1162:95:7",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
}
],
"scope": 4244,
"src": "181:1078:49"
"scope": 1004,
"src": "181:1078:7"
}
],
"src": "0:1260:49"
"src": "0:1260:7"
},
"legacyAST": {
"absolutePath": "/home/spalladino/Projects/openzeppelin-zos/contracts/token/ERC721/ERC721Receiver.sol",
"exportedSymbols": {
"ERC721Receiver": [
4243
1003
]
},
"id": 4244,
"id": 1004,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 4228,
"id": 988,
"literals": [
"solidity",
"^",
......@@ -273,7 +273,7 @@
".21"
],
"nodeType": "PragmaDirective",
"src": "0:24:49"
"src": "0:24:7"
},
{
"baseContracts": [],
......@@ -281,20 +281,20 @@
"contractKind": "contract",
"documentation": "@title ERC721 token receiver interface\n@dev Interface for any contract that wants to support safeTransfers\n from ERC721 asset contracts.",
"fullyImplemented": false,
"id": 4243,
"id": 1003,
"linearizedBaseContracts": [
4243
1003
],
"name": "ERC721Receiver",
"nodeType": "ContractDefinition",
"nodes": [
{
"constant": true,
"id": 4231,
"id": 991,
"name": "ERC721_RECEIVED",
"nodeType": "VariableDeclaration",
"scope": 4243,
"src": "456:44:49",
"scope": 1003,
"src": "456:44:7",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
......@@ -302,10 +302,10 @@
"typeString": "bytes4"
},
"typeName": {
"id": 4229,
"id": 989,
"name": "bytes4",
"nodeType": "ElementaryTypeName",
"src": "456:6:49",
"src": "456:6:7",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
......@@ -314,14 +314,14 @@
"value": {
"argumentTypes": null,
"hexValue": "30786630623965356261",
"id": 4230,
"id": 990,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "490:10:49",
"src": "490:10:7",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_4038714810_by_1",
......@@ -334,7 +334,7 @@
{
"body": null,
"documentation": "@notice Handle the receipt of an NFT\n@dev The ERC721 smart contract calls this function on the recipient\n after a `safetransfer`. This function MAY throw to revert and reject the\n transfer. This function MUST use 50,000 gas or less. Return of other\n than the magic value MUST result in the transaction being reverted.\n Note: the contract address is always the message sender.\n@param _from The sending address\n@param _tokenId The NFT identifier which is being transfered\n@param _data Additional data with no specified format\n@return `bytes4(keccak256(\"onERC721Received(address,uint256,bytes)\"))`",
"id": 4242,
"id": 1002,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": false,
......@@ -342,16 +342,16 @@
"name": "onERC721Received",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 4238,
"id": 998,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 4233,
"id": 993,
"name": "_from",
"nodeType": "VariableDeclaration",
"scope": 4242,
"src": "1188:13:49",
"scope": 1002,
"src": "1188:13:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -359,10 +359,10 @@
"typeString": "address"
},
"typeName": {
"id": 4232,
"id": 992,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1188:7:49",
"src": "1188:7:7",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
......@@ -373,11 +373,11 @@
},
{
"constant": false,
"id": 4235,
"id": 995,
"name": "_tokenId",
"nodeType": "VariableDeclaration",
"scope": 4242,
"src": "1203:16:49",
"scope": 1002,
"src": "1203:16:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -385,10 +385,10 @@
"typeString": "uint256"
},
"typeName": {
"id": 4234,
"id": 994,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1203:7:49",
"src": "1203:7:7",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
......@@ -399,11 +399,11 @@
},
{
"constant": false,
"id": 4237,
"id": 997,
"name": "_data",
"nodeType": "VariableDeclaration",
"scope": 4242,
"src": "1221:11:49",
"scope": 1002,
"src": "1221:11:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -411,10 +411,10 @@
"typeString": "bytes"
},
"typeName": {
"id": 4236,
"id": 996,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "1221:5:49",
"src": "1221:5:7",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
......@@ -424,20 +424,20 @@
"visibility": "internal"
}
],
"src": "1187:46:49"
"src": "1187:46:7"
},
"payable": false,
"returnParameters": {
"id": 4241,
"id": 1001,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 4240,
"id": 1000,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 4242,
"src": "1249:6:49",
"scope": 1002,
"src": "1249:6:7",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -445,10 +445,10 @@
"typeString": "bytes4"
},
"typeName": {
"id": 4239,
"id": 999,
"name": "bytes4",
"nodeType": "ElementaryTypeName",
"src": "1249:6:49",
"src": "1249:6:7",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
......@@ -458,26 +458,26 @@
"visibility": "internal"
}
],
"src": "1248:8:49"
"src": "1248:8:7"
},
"scope": 4243,
"src": "1162:95:49",
"scope": 1003,
"src": "1162:95:7",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
}
],
"scope": 4244,
"src": "181:1078:49"
"scope": 1004,
"src": "181:1078:7"
}
],
"src": "0:1260:49"
"src": "0:1260:7"
},
"compiler": {
"name": "solc",
"version": "0.4.24+commit.e67f0147.Emscripten.clang"
"version": "0.4.23+commit.124ca40d.Emscripten.clang"
},
"networks": {},
"schemaVersion": "2.0.1",
"updatedAt": "2018-08-23T14:35:50.651Z"
"schemaVersion": "2.0.0",
"updatedAt": "2018-08-23T17:26:04.154Z"
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -101,24 +101,24 @@
"type": "function"
}
],
"bytecode": "0x608060405234801561001057600080fd5b5061075e806100206000396000f300608060405260043610610062576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680638da5cb5b14610067578063c0bac1a8146100be578063c4d66de814610185578063f2fde38b146101c8575b600080fd5b34801561007357600080fd5b5061007c61020b565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156100ca57600080fd5b5061016b600480360381019080803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050610231565b604051808215151515815260200191505060405180910390f35b34801561019157600080fd5b506101c6600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061031c565b005b3480156101d457600080fd5b50610209600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506105da565b005b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080836040518082805190602001908083835b60208310151561026a5780518252602082019150602081019050602083039250610245565b6001836020036101000a0380198251168184511680821785525050505050509050019150509081526020016040518091039020826040518082805190602001908083835b6020831015156102d357805182526020820191506020810190506020830392506102ae565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060009054906101000a900460ff16905092915050565b6040805190810160405280600781526020017f4f776e61626c65000000000000000000000000000000000000000000000000008152506040805190810160405280600581526020017f312e392e300000000000000000000000000000000000000000000000000000008152506103928282610231565b15151561039e57600080fd5b82600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fdd117a11c22118c9dee4b5a67ce578bc44529dce21ee0ccc439588fbb9fb4ea38282604051808060200180602001838103835285818151815260200191508051906020019080838360005b8381101561044657808201518184015260208101905061042b565b50505050905090810190601f1680156104735780820380516001836020036101000a031916815260200191505b50838103825284818151815260200191508051906020019080838360005b838110156104ac578082015181840152602081019050610491565b50505050905090810190601f1680156104d95780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a160016000836040518082805190602001908083835b60208310151561052257805182526020820191506020810190506020830392506104fd565b6001836020036101000a0380198251168184511680821785525050505050509050019150509081526020016040518091039020826040518082805190602001908083835b60208310151561058b5780518252602082019150602081019050602083039250610566565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060006101000a81548160ff021916908315150217905550505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561063657600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561067257600080fd5b8073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505600a165627a7a72305820d1f7b77c0c6f6a3cd401dd8673958aaa1c473bce403cdecb2d826c8463c3bfcf0029",
"deployedBytecode": "0x608060405260043610610062576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680638da5cb5b14610067578063c0bac1a8146100be578063c4d66de814610185578063f2fde38b146101c8575b600080fd5b34801561007357600080fd5b5061007c61020b565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156100ca57600080fd5b5061016b600480360381019080803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050610231565b604051808215151515815260200191505060405180910390f35b34801561019157600080fd5b506101c6600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061031c565b005b3480156101d457600080fd5b50610209600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506105da565b005b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080836040518082805190602001908083835b60208310151561026a5780518252602082019150602081019050602083039250610245565b6001836020036101000a0380198251168184511680821785525050505050509050019150509081526020016040518091039020826040518082805190602001908083835b6020831015156102d357805182526020820191506020810190506020830392506102ae565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060009054906101000a900460ff16905092915050565b6040805190810160405280600781526020017f4f776e61626c65000000000000000000000000000000000000000000000000008152506040805190810160405280600581526020017f312e392e300000000000000000000000000000000000000000000000000000008152506103928282610231565b15151561039e57600080fd5b82600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fdd117a11c22118c9dee4b5a67ce578bc44529dce21ee0ccc439588fbb9fb4ea38282604051808060200180602001838103835285818151815260200191508051906020019080838360005b8381101561044657808201518184015260208101905061042b565b50505050905090810190601f1680156104735780820380516001836020036101000a031916815260200191505b50838103825284818151815260200191508051906020019080838360005b838110156104ac578082015181840152602081019050610491565b50505050905090810190601f1680156104d95780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a160016000836040518082805190602001908083835b60208310151561052257805182526020820191506020810190506020830392506104fd565b6001836020036101000a0380198251168184511680821785525050505050509050019150509081526020016040518091039020826040518082805190602001908083835b60208310151561058b5780518252602082019150602081019050602083039250610566565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060006101000a81548160ff021916908315150217905550505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561063657600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561067257600080fd5b8073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505600a165627a7a72305820d1f7b77c0c6f6a3cd401dd8673958aaa1c473bce403cdecb2d826c8463c3bfcf0029",
"sourceMap": "272:854:25:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;272:854:25;;;;;;;",
"deployedSourceMap": "272:854:25:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;307:20;;8:9:-1;5:2;;;30:1;27;20:12;5:2;307:20:25;;;;;;;;;;;;;;;;;;;;;;;;;;;1950:140:52;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1950:140:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;537:104:25;;8:9:-1;5:2;;;30:1;27;20:12;5:2;537:104:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;949:174;;8:9:-1;5:2;;;30:1;27;20:12;5:2;949:174:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;307:20;;;;;;;;;;;;;:::o;1950:140:52:-;2031:4;2050:8;2059:12;2050:22;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;51:19;36:153;;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;2050:22:52;;;;;;;;;;;;;;;;;;;;;2073:11;2050:35;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;51:19;36:153;;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;2050:35:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2043:42;;1950:140;;;;:::o;537:104:25:-;1004:223:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1083:37;1094:12;1108:11;1083:10;:37::i;:::-;1082:38;1074:47;;;;;;;;629:7:25;621:5;;:15;;;;;;;;;;;;;;;;;;1139:35:52;1148:12;1162:11;1139:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;1139:35:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;1139:35:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1218:4;1180:8;1189:12;1180:22;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;51:19;36:153;;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;1180:22:52;;;;;;;;;;;;;;;;;;;;;1203:11;1180:35;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;51:19;36:153;;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;1180:35:52;;;;;;;;;;;;;;;;;;;;;;:42;;;;;;;;;;;;;;;;;;537:104:25;;;:::o;949:174::-;770:5;;;;;;;;;;;756:19;;:10;:19;;;748:28;;;;;;;;1045:1;1025:22;;:8;:22;;;;1017:31;;;;;;;;1087:8;1059:37;;1080:5;;;;;;;;;;;1059:37;;;;;;;;;;;;1110:8;1102:5;;:16;;;;;;;;;;;;;;;;;;949:174;:::o",
"bytecode": "0x608060405234801561001057600080fd5b5061075e806100206000396000f300608060405260043610610062576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680638da5cb5b14610067578063c0bac1a8146100be578063c4d66de814610185578063f2fde38b146101c8575b600080fd5b34801561007357600080fd5b5061007c61020b565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156100ca57600080fd5b5061016b600480360381019080803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050610231565b604051808215151515815260200191505060405180910390f35b34801561019157600080fd5b506101c6600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061031c565b005b3480156101d457600080fd5b50610209600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506105da565b005b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080836040518082805190602001908083835b60208310151561026a5780518252602082019150602081019050602083039250610245565b6001836020036101000a0380198251168184511680821785525050505050509050019150509081526020016040518091039020826040518082805190602001908083835b6020831015156102d357805182526020820191506020810190506020830392506102ae565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060009054906101000a900460ff16905092915050565b6040805190810160405280600781526020017f4f776e61626c65000000000000000000000000000000000000000000000000008152506040805190810160405280600581526020017f312e392e300000000000000000000000000000000000000000000000000000008152506103928282610231565b15151561039e57600080fd5b82600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fdd117a11c22118c9dee4b5a67ce578bc44529dce21ee0ccc439588fbb9fb4ea38282604051808060200180602001838103835285818151815260200191508051906020019080838360005b8381101561044657808201518184015260208101905061042b565b50505050905090810190601f1680156104735780820380516001836020036101000a031916815260200191505b50838103825284818151815260200191508051906020019080838360005b838110156104ac578082015181840152602081019050610491565b50505050905090810190601f1680156104d95780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a160016000836040518082805190602001908083835b60208310151561052257805182526020820191506020810190506020830392506104fd565b6001836020036101000a0380198251168184511680821785525050505050509050019150509081526020016040518091039020826040518082805190602001908083835b60208310151561058b5780518252602082019150602081019050602083039250610566565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060006101000a81548160ff021916908315150217905550505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561063657600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561067257600080fd5b8073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505600a165627a7a723058208797960f790e2e1f2816a26ca0e13452088cc959baea15903d2a823255e2d5240029",
"deployedBytecode": "0x608060405260043610610062576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680638da5cb5b14610067578063c0bac1a8146100be578063c4d66de814610185578063f2fde38b146101c8575b600080fd5b34801561007357600080fd5b5061007c61020b565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156100ca57600080fd5b5061016b600480360381019080803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050610231565b604051808215151515815260200191505060405180910390f35b34801561019157600080fd5b506101c6600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061031c565b005b3480156101d457600080fd5b50610209600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506105da565b005b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080836040518082805190602001908083835b60208310151561026a5780518252602082019150602081019050602083039250610245565b6001836020036101000a0380198251168184511680821785525050505050509050019150509081526020016040518091039020826040518082805190602001908083835b6020831015156102d357805182526020820191506020810190506020830392506102ae565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060009054906101000a900460ff16905092915050565b6040805190810160405280600781526020017f4f776e61626c65000000000000000000000000000000000000000000000000008152506040805190810160405280600581526020017f312e392e300000000000000000000000000000000000000000000000000000008152506103928282610231565b15151561039e57600080fd5b82600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fdd117a11c22118c9dee4b5a67ce578bc44529dce21ee0ccc439588fbb9fb4ea38282604051808060200180602001838103835285818151815260200191508051906020019080838360005b8381101561044657808201518184015260208101905061042b565b50505050905090810190601f1680156104735780820380516001836020036101000a031916815260200191505b50838103825284818151815260200191508051906020019080838360005b838110156104ac578082015181840152602081019050610491565b50505050905090810190601f1680156104d95780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a160016000836040518082805190602001908083835b60208310151561052257805182526020820191506020810190506020830392506104fd565b6001836020036101000a0380198251168184511680821785525050505050509050019150509081526020016040518091039020826040518082805190602001908083835b60208310151561058b5780518252602082019150602081019050602083039250610566565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060006101000a81548160ff021916908315150217905550505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561063657600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561067257600080fd5b8073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505600a165627a7a723058208797960f790e2e1f2816a26ca0e13452088cc959baea15903d2a823255e2d5240029",
"sourceMap": "272:854:3:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;272:854:3;;;;;;;",
"deployedSourceMap": "272:854:3:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;307:20;;8:9:-1;5:2;;;30:1;27;20:12;5:2;307:20:3;;;;;;;;;;;;;;;;;;;;;;;;;;;1950:140:10;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1950:140:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;537:104:3;;8:9:-1;5:2;;;30:1;27;20:12;5:2;537:104:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;949:174;;8:9:-1;5:2;;;30:1;27;20:12;5:2;949:174:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;307:20;;;;;;;;;;;;;:::o;1950:140:10:-;2031:4;2050:8;2059:12;2050:22;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;51:19;36:153;;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;2050:22:10;;;;;;;;;;;;;;;;;;;;;2073:11;2050:35;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;51:19;36:153;;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;2050:35:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2043:42;;1950:140;;;;:::o;537:104:3:-;1004:223:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1083:37;1094:12;1108:11;1083:10;:37::i;:::-;1082:38;1074:47;;;;;;;;629:7:3;621:5;;:15;;;;;;;;;;;;;;;;;;1139:35:10;1148:12;1162:11;1139:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;1139:35:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;1139:35:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1218:4;1180:8;1189:12;1180:22;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;51:19;36:153;;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;1180:22:10;;;;;;;;;;;;;;;;;;;;;1203:11;1180:35;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;51:19;36:153;;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;1180:35:10;;;;;;;;;;;;;;;;;;;;;;:42;;;;;;;;;;;;;;;;;;537:104:3;;;:::o;949:174::-;770:5;;;;;;;;;;;756:19;;:10;:19;;;748:28;;;;;;;;1045:1;1025:22;;:8;:22;;;;1017:31;;;;;;;;1087:8;1059:37;;1080:5;;;;;;;;;;;1059:37;;;;;;;;;;;;1110:8;1102:5;;:16;;;;;;;;;;;;;;;;;;949:174;:::o",
"source": "pragma solidity ^0.4.21;\n\nimport \"zos-lib/contracts/migrations/Migratable.sol\";\n\n\n/**\n * @title Ownable\n * @dev The Ownable contract has an owner address, and provides basic authorization control\n * functions, this simplifies the implementation of \"user permissions\".\n */\ncontract Ownable is Migratable {\n address public owner;\n\n\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n /**\n * @dev The Ownable constructor sets the original `owner` of the contract to the sender\n * account.\n */\n function initialize(address _sender) public isInitializer(\"Ownable\", \"1.9.0\") {\n owner = _sender;\n }\n\n /**\n * @dev Throws if called by any account other than the owner.\n */\n modifier onlyOwner() {\n require(msg.sender == owner);\n _;\n }\n\n /**\n * @dev Allows the current owner to transfer control of the contract to a newOwner.\n * @param newOwner The address to transfer ownership to.\n */\n function transferOwnership(address newOwner) public onlyOwner {\n require(newOwner != address(0));\n emit OwnershipTransferred(owner, newOwner);\n owner = newOwner;\n }\n\n}\n",
"sourcePath": "/home/spalladino/Projects/openzeppelin-zos/contracts/ownership/Ownable.sol",
"ast": {
"absolutePath": "/home/spalladino/Projects/openzeppelin-zos/contracts/ownership/Ownable.sol",
"exportedSymbols": {
"Ownable": [
1580
242
]
},
"id": 1581,
"id": 243,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 1518,
"id": 180,
"literals": [
"solidity",
"^",
......@@ -126,16 +126,16 @@
".21"
],
"nodeType": "PragmaDirective",
"src": "0:24:25"
"src": "0:24:3"
},
{
"absolutePath": "zos-lib/contracts/migrations/Migratable.sol",
"file": "zos-lib/contracts/migrations/Migratable.sol",
"id": 1519,
"id": 181,
"nodeType": "ImportDirective",
"scope": 1581,
"sourceUnit": 4770,
"src": "26:53:25",
"scope": 243,
"sourceUnit": 1530,
"src": "26:53:3",
"symbolAliases": [],
"unitAlias": ""
},
......@@ -145,42 +145,42 @@
"arguments": null,
"baseName": {
"contractScope": null,
"id": 1520,
"id": 182,
"name": "Migratable",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 4769,
"src": "292:10:25",
"referencedDeclaration": 1529,
"src": "292:10:3",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Migratable_$4769",
"typeIdentifier": "t_contract$_Migratable_$1529",
"typeString": "contract Migratable"
}
},
"id": 1521,
"id": 183,
"nodeType": "InheritanceSpecifier",
"src": "292:10:25"
"src": "292:10:3"
}
],
"contractDependencies": [
4769
1529
],
"contractKind": "contract",
"documentation": "@title Ownable\n@dev The Ownable contract has an owner address, and provides basic authorization control\nfunctions, this simplifies the implementation of \"user permissions\".",
"fullyImplemented": true,
"id": 1580,
"id": 242,
"linearizedBaseContracts": [
1580,
4769
242,
1529
],
"name": "Ownable",
"nodeType": "ContractDefinition",
"nodes": [
{
"constant": false,
"id": 1523,
"id": 185,
"name": "owner",
"nodeType": "VariableDeclaration",
"scope": 1580,
"src": "307:20:25",
"scope": 242,
"src": "307:20:3",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
......@@ -188,10 +188,10 @@
"typeString": "address"
},
"typeName": {
"id": 1522,
"id": 184,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "307:7:25",
"src": "307:7:3",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
......@@ -203,21 +203,21 @@
{
"anonymous": false,
"documentation": null,
"id": 1529,
"id": 191,
"name": "OwnershipTransferred",
"nodeType": "EventDefinition",
"parameters": {
"id": 1528,
"id": 190,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1525,
"id": 187,
"indexed": true,
"name": "previousOwner",
"nodeType": "VariableDeclaration",
"scope": 1529,
"src": "360:29:25",
"scope": 191,
"src": "360:29:3",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -225,10 +225,10 @@
"typeString": "address"
},
"typeName": {
"id": 1524,
"id": 186,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "360:7:25",
"src": "360:7:3",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
......@@ -239,12 +239,12 @@
},
{
"constant": false,
"id": 1527,
"id": 189,
"indexed": true,
"name": "newOwner",
"nodeType": "VariableDeclaration",
"scope": 1529,
"src": "391:24:25",
"scope": 191,
"src": "391:24:3",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -252,10 +252,10 @@
"typeString": "address"
},
"typeName": {
"id": 1526,
"id": 188,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "391:7:25",
"src": "391:7:3",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
......@@ -265,32 +265,32 @@
"visibility": "internal"
}
],
"src": "359:57:25"
"src": "359:57:3"
},
"src": "333:84:25"
"src": "333:84:3"
},
{
"body": {
"id": 1542,
"id": 204,
"nodeType": "Block",
"src": "615:26:25",
"src": "615:26:3",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 1540,
"id": 202,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 1538,
"id": 200,
"name": "owner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 1523,
"src": "621:5:25",
"referencedDeclaration": 185,
"src": "621:5:3",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
......@@ -300,31 +300,31 @@
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"id": 1539,
"id": 201,
"name": "_sender",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 1531,
"src": "629:7:25",
"referencedDeclaration": 193,
"src": "629:7:3",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"src": "621:15:25",
"src": "621:15:3",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"id": 1541,
"id": 203,
"nodeType": "ExpressionStatement",
"src": "621:15:25"
"src": "621:15:3"
}
]
},
"documentation": "@dev The Ownable constructor sets the original `owner` of the contract to the sender\naccount.",
"id": 1543,
"id": 205,
"implemented": true,
"isConstructor": false,
"isDeclaredConst": false,
......@@ -334,14 +334,14 @@
{
"argumentTypes": null,
"hexValue": "4f776e61626c65",
"id": 1534,
"id": 196,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "595:9:25",
"src": "595:9:3",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_6df9baf4dc8c02086c72903e4bba587f1a261a8542aa45344809b4583161a59e",
......@@ -352,14 +352,14 @@
{
"argumentTypes": null,
"hexValue": "312e392e30",
"id": 1535,
"id": 197,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "606:7:25",
"src": "606:7:3",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_48b337767c221abef259fe87e655d8fa1026fb5e60ec68ad68fa7e00bb7f050c",
......@@ -368,37 +368,37 @@
"value": "1.9.0"
}
],
"id": 1536,
"id": 198,
"modifierName": {
"argumentTypes": null,
"id": 1533,
"id": 195,
"name": "isInitializer",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 4716,
"src": "581:13:25",
"referencedDeclaration": 1476,
"src": "581:13:3",
"typeDescriptions": {
"typeIdentifier": "t_modifier$_t_string_memory_ptr_$_t_string_memory_ptr_$",
"typeString": "modifier (string memory,string memory)"
}
},
"nodeType": "ModifierInvocation",
"src": "581:33:25"
"src": "581:33:3"
}
],
"name": "initialize",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1532,
"id": 194,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1531,
"id": 193,
"name": "_sender",
"nodeType": "VariableDeclaration",
"scope": 1543,
"src": "557:15:25",
"scope": 205,
"src": "557:15:3",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -406,10 +406,10 @@
"typeString": "address"
},
"typeName": {
"id": 1530,
"id": 192,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "557:7:25",
"src": "557:7:3",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
......@@ -419,26 +419,26 @@
"visibility": "internal"
}
],
"src": "556:17:25"
"src": "556:17:3"
},
"payable": false,
"returnParameters": {
"id": 1537,
"id": 199,
"nodeType": "ParameterList",
"parameters": [],
"src": "615:0:25"
"src": "615:0:3"
},
"scope": 1580,
"src": "537:104:25",
"scope": 242,
"src": "537:104:3",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
},
{
"body": {
"id": 1553,
"id": 215,
"nodeType": "Block",
"src": "742:46:25",
"src": "742:46:3",
"statements": [
{
"expression": {
......@@ -450,7 +450,7 @@
"typeIdentifier": "t_address",
"typeString": "address"
},
"id": 1549,
"id": 211,
"isConstant": false,
"isLValue": false,
"isPure": false,
......@@ -459,18 +459,18 @@
"argumentTypes": null,
"expression": {
"argumentTypes": null,
"id": 1546,
"id": 208,
"name": "msg",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 4784,
"src": "756:3:25",
"referencedDeclaration": 1544,
"src": "756:3:3",
"typeDescriptions": {
"typeIdentifier": "t_magic_message",
"typeString": "msg"
}
},
"id": 1547,
"id": 209,
"isConstant": false,
"isLValue": false,
"isPure": false,
......@@ -478,7 +478,7 @@
"memberName": "sender",
"nodeType": "MemberAccess",
"referencedDeclaration": null,
"src": "756:10:25",
"src": "756:10:3",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
......@@ -488,18 +488,18 @@
"operator": "==",
"rightExpression": {
"argumentTypes": null,
"id": 1548,
"id": 210,
"name": "owner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 1523,
"src": "770:5:25",
"referencedDeclaration": 185,
"src": "770:5:3",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"src": "756:19:25",
"src": "756:19:3",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
......@@ -513,21 +513,21 @@
"typeString": "bool"
}
],
"id": 1545,
"id": 207,
"name": "require",
"nodeType": "Identifier",
"overloadedDeclarations": [
4787,
4788
1547,
1548
],
"referencedDeclaration": 4787,
"src": "748:7:25",
"referencedDeclaration": 1547,
"src": "748:7:3",
"typeDescriptions": {
"typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
"typeString": "function (bool) pure"
}
},
"id": 1550,
"id": 212,
"isConstant": false,
"isLValue": false,
"isPure": false,
......@@ -535,41 +535,41 @@
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "748:28:25",
"src": "748:28:3",
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 1551,
"id": 213,
"nodeType": "ExpressionStatement",
"src": "748:28:25"
"src": "748:28:3"
},
{
"id": 1552,
"id": 214,
"nodeType": "PlaceholderStatement",
"src": "782:1:25"
"src": "782:1:3"
}
]
},
"documentation": "@dev Throws if called by any account other than the owner.",
"id": 1554,
"id": 216,
"name": "onlyOwner",
"nodeType": "ModifierDefinition",
"parameters": {
"id": 1544,
"id": 206,
"nodeType": "ParameterList",
"parameters": [],
"src": "739:2:25"
"src": "739:2:3"
},
"src": "721:67:25",
"src": "721:67:3",
"visibility": "internal"
},
{
"body": {
"id": 1578,
"id": 240,
"nodeType": "Block",
"src": "1011:112:25",
"src": "1011:112:3",
"statements": [
{
"expression": {
......@@ -581,19 +581,19 @@
"typeIdentifier": "t_address",
"typeString": "address"
},
"id": 1566,
"id": 228,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"argumentTypes": null,
"id": 1562,
"id": 224,
"name": "newOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 1556,
"src": "1025:8:25",
"referencedDeclaration": 218,
"src": "1025:8:3",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
......@@ -607,14 +607,14 @@
{
"argumentTypes": null,
"hexValue": "30",
"id": 1564,
"id": 226,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1045:1:25",
"src": "1045:1:3",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_0_by_1",
......@@ -630,20 +630,20 @@
"typeString": "int_const 0"
}
],
"id": 1563,
"id": 225,
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"nodeType": "ElementaryTypeNameExpression",
"src": "1037:7:25",
"src": "1037:7:3",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_address_$",
"typeString": "type(address)"
},
"typeName": "address"
},
"id": 1565,
"id": 227,
"isConstant": false,
"isLValue": false,
"isPure": true,
......@@ -651,13 +651,13 @@
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "1037:10:25",
"src": "1037:10:3",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"src": "1025:22:25",
"src": "1025:22:3",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
......@@ -671,21 +671,21 @@
"typeString": "bool"
}
],
"id": 1561,
"id": 223,
"name": "require",
"nodeType": "Identifier",
"overloadedDeclarations": [
4787,
4788
1547,
1548
],
"referencedDeclaration": 4787,
"src": "1017:7:25",
"referencedDeclaration": 1547,
"src": "1017:7:3",
"typeDescriptions": {
"typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
"typeString": "function (bool) pure"
}
},
"id": 1567,
"id": 229,
"isConstant": false,
"isLValue": false,
"isPure": false,
......@@ -693,15 +693,15 @@
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "1017:31:25",
"src": "1017:31:3",
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 1568,
"id": 230,
"nodeType": "ExpressionStatement",
"src": "1017:31:25"
"src": "1017:31:3"
},
{
"eventCall": {
......@@ -709,12 +709,12 @@
"arguments": [
{
"argumentTypes": null,
"id": 1570,
"id": 232,
"name": "owner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 1523,
"src": "1080:5:25",
"referencedDeclaration": 185,
"src": "1080:5:3",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
......@@ -722,12 +722,12 @@
},
{
"argumentTypes": null,
"id": 1571,
"id": 233,
"name": "newOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 1556,
"src": "1087:8:25",
"referencedDeclaration": 218,
"src": "1087:8:3",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
......@@ -745,18 +745,18 @@
"typeString": "address"
}
],
"id": 1569,
"id": 231,
"name": "OwnershipTransferred",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 1529,
"src": "1059:20:25",
"referencedDeclaration": 191,
"src": "1059:20:3",
"typeDescriptions": {
"typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$returns$__$",
"typeString": "function (address,address)"
}
},
"id": 1572,
"id": 234,
"isConstant": false,
"isLValue": false,
"isPure": false,
......@@ -764,32 +764,32 @@
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "1059:37:25",
"src": "1059:37:3",
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 1573,
"id": 235,
"nodeType": "EmitStatement",
"src": "1054:42:25"
"src": "1054:42:3"
},
{
"expression": {
"argumentTypes": null,
"id": 1576,
"id": 238,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 1574,
"id": 236,
"name": "owner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 1523,
"src": "1102:5:25",
"referencedDeclaration": 185,
"src": "1102:5:3",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
......@@ -799,68 +799,68 @@
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"id": 1575,
"id": 237,
"name": "newOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 1556,
"src": "1110:8:25",
"referencedDeclaration": 218,
"src": "1110:8:3",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"src": "1102:16:25",
"src": "1102:16:3",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"id": 1577,
"id": 239,
"nodeType": "ExpressionStatement",
"src": "1102:16:25"
"src": "1102:16:3"
}
]
},
"documentation": "@dev Allows the current owner to transfer control of the contract to a newOwner.\n@param newOwner The address to transfer ownership to.",
"id": 1579,
"id": 241,
"implemented": true,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [
{
"arguments": null,
"id": 1559,
"id": 221,
"modifierName": {
"argumentTypes": null,
"id": 1558,
"id": 220,
"name": "onlyOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 1554,
"src": "1001:9:25",
"referencedDeclaration": 216,
"src": "1001:9:3",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "1001:9:25"
"src": "1001:9:3"
}
],
"name": "transferOwnership",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1557,
"id": 219,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1556,
"id": 218,
"name": "newOwner",
"nodeType": "VariableDeclaration",
"scope": 1579,
"src": "976:16:25",
"scope": 241,
"src": "976:16:3",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -868,10 +868,10 @@
"typeString": "address"
},
"typeName": {
"id": 1555,
"id": 217,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "976:7:25",
"src": "976:7:3",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
......@@ -881,40 +881,40 @@
"visibility": "internal"
}
],
"src": "975:18:25"
"src": "975:18:3"
},
"payable": false,
"returnParameters": {
"id": 1560,
"id": 222,
"nodeType": "ParameterList",
"parameters": [],
"src": "1011:0:25"
"src": "1011:0:3"
},
"scope": 1580,
"src": "949:174:25",
"scope": 242,
"src": "949:174:3",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
}
],
"scope": 1581,
"src": "272:854:25"
"scope": 243,
"src": "272:854:3"
}
],
"src": "0:1127:25"
"src": "0:1127:3"
},
"legacyAST": {
"absolutePath": "/home/spalladino/Projects/openzeppelin-zos/contracts/ownership/Ownable.sol",
"exportedSymbols": {
"Ownable": [
1580
242
]
},
"id": 1581,
"id": 243,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 1518,
"id": 180,
"literals": [
"solidity",
"^",
......@@ -922,16 +922,16 @@
".21"
],
"nodeType": "PragmaDirective",
"src": "0:24:25"
"src": "0:24:3"
},
{
"absolutePath": "zos-lib/contracts/migrations/Migratable.sol",
"file": "zos-lib/contracts/migrations/Migratable.sol",
"id": 1519,
"id": 181,
"nodeType": "ImportDirective",
"scope": 1581,
"sourceUnit": 4770,
"src": "26:53:25",
"scope": 243,
"sourceUnit": 1530,
"src": "26:53:3",
"symbolAliases": [],
"unitAlias": ""
},
......@@ -941,42 +941,42 @@
"arguments": null,
"baseName": {
"contractScope": null,
"id": 1520,
"id": 182,
"name": "Migratable",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 4769,
"src": "292:10:25",
"referencedDeclaration": 1529,
"src": "292:10:3",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Migratable_$4769",
"typeIdentifier": "t_contract$_Migratable_$1529",
"typeString": "contract Migratable"
}
},
"id": 1521,
"id": 183,
"nodeType": "InheritanceSpecifier",
"src": "292:10:25"
"src": "292:10:3"
}
],
"contractDependencies": [
4769
1529
],
"contractKind": "contract",
"documentation": "@title Ownable\n@dev The Ownable contract has an owner address, and provides basic authorization control\nfunctions, this simplifies the implementation of \"user permissions\".",
"fullyImplemented": true,
"id": 1580,
"id": 242,
"linearizedBaseContracts": [
1580,
4769
242,
1529
],
"name": "Ownable",
"nodeType": "ContractDefinition",
"nodes": [
{
"constant": false,
"id": 1523,
"id": 185,
"name": "owner",
"nodeType": "VariableDeclaration",
"scope": 1580,
"src": "307:20:25",
"scope": 242,
"src": "307:20:3",
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
......@@ -984,10 +984,10 @@
"typeString": "address"
},
"typeName": {
"id": 1522,
"id": 184,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "307:7:25",
"src": "307:7:3",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
......@@ -999,21 +999,21 @@
{
"anonymous": false,
"documentation": null,
"id": 1529,
"id": 191,
"name": "OwnershipTransferred",
"nodeType": "EventDefinition",
"parameters": {
"id": 1528,
"id": 190,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1525,
"id": 187,
"indexed": true,
"name": "previousOwner",
"nodeType": "VariableDeclaration",
"scope": 1529,
"src": "360:29:25",
"scope": 191,
"src": "360:29:3",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -1021,10 +1021,10 @@
"typeString": "address"
},
"typeName": {
"id": 1524,
"id": 186,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "360:7:25",
"src": "360:7:3",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
......@@ -1035,12 +1035,12 @@
},
{
"constant": false,
"id": 1527,
"id": 189,
"indexed": true,
"name": "newOwner",
"nodeType": "VariableDeclaration",
"scope": 1529,
"src": "391:24:25",
"scope": 191,
"src": "391:24:3",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -1048,10 +1048,10 @@
"typeString": "address"
},
"typeName": {
"id": 1526,
"id": 188,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "391:7:25",
"src": "391:7:3",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
......@@ -1061,32 +1061,32 @@
"visibility": "internal"
}
],
"src": "359:57:25"
"src": "359:57:3"
},
"src": "333:84:25"
"src": "333:84:3"
},
{
"body": {
"id": 1542,
"id": 204,
"nodeType": "Block",
"src": "615:26:25",
"src": "615:26:3",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 1540,
"id": 202,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 1538,
"id": 200,
"name": "owner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 1523,
"src": "621:5:25",
"referencedDeclaration": 185,
"src": "621:5:3",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
......@@ -1096,31 +1096,31 @@
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"id": 1539,
"id": 201,
"name": "_sender",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 1531,
"src": "629:7:25",
"referencedDeclaration": 193,
"src": "629:7:3",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"src": "621:15:25",
"src": "621:15:3",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"id": 1541,
"id": 203,
"nodeType": "ExpressionStatement",
"src": "621:15:25"
"src": "621:15:3"
}
]
},
"documentation": "@dev The Ownable constructor sets the original `owner` of the contract to the sender\naccount.",
"id": 1543,
"id": 205,
"implemented": true,
"isConstructor": false,
"isDeclaredConst": false,
......@@ -1130,14 +1130,14 @@
{
"argumentTypes": null,
"hexValue": "4f776e61626c65",
"id": 1534,
"id": 196,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "595:9:25",
"src": "595:9:3",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_6df9baf4dc8c02086c72903e4bba587f1a261a8542aa45344809b4583161a59e",
......@@ -1148,14 +1148,14 @@
{
"argumentTypes": null,
"hexValue": "312e392e30",
"id": 1535,
"id": 197,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "606:7:25",
"src": "606:7:3",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_48b337767c221abef259fe87e655d8fa1026fb5e60ec68ad68fa7e00bb7f050c",
......@@ -1164,37 +1164,37 @@
"value": "1.9.0"
}
],
"id": 1536,
"id": 198,
"modifierName": {
"argumentTypes": null,
"id": 1533,
"id": 195,
"name": "isInitializer",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 4716,
"src": "581:13:25",
"referencedDeclaration": 1476,
"src": "581:13:3",
"typeDescriptions": {
"typeIdentifier": "t_modifier$_t_string_memory_ptr_$_t_string_memory_ptr_$",
"typeString": "modifier (string memory,string memory)"
}
},
"nodeType": "ModifierInvocation",
"src": "581:33:25"
"src": "581:33:3"
}
],
"name": "initialize",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1532,
"id": 194,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1531,
"id": 193,
"name": "_sender",
"nodeType": "VariableDeclaration",
"scope": 1543,
"src": "557:15:25",
"scope": 205,
"src": "557:15:3",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -1202,10 +1202,10 @@
"typeString": "address"
},
"typeName": {
"id": 1530,
"id": 192,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "557:7:25",
"src": "557:7:3",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
......@@ -1215,26 +1215,26 @@
"visibility": "internal"
}
],
"src": "556:17:25"
"src": "556:17:3"
},
"payable": false,
"returnParameters": {
"id": 1537,
"id": 199,
"nodeType": "ParameterList",
"parameters": [],
"src": "615:0:25"
"src": "615:0:3"
},
"scope": 1580,
"src": "537:104:25",
"scope": 242,
"src": "537:104:3",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
},
{
"body": {
"id": 1553,
"id": 215,
"nodeType": "Block",
"src": "742:46:25",
"src": "742:46:3",
"statements": [
{
"expression": {
......@@ -1246,7 +1246,7 @@
"typeIdentifier": "t_address",
"typeString": "address"
},
"id": 1549,
"id": 211,
"isConstant": false,
"isLValue": false,
"isPure": false,
......@@ -1255,18 +1255,18 @@
"argumentTypes": null,
"expression": {
"argumentTypes": null,
"id": 1546,
"id": 208,
"name": "msg",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 4784,
"src": "756:3:25",
"referencedDeclaration": 1544,
"src": "756:3:3",
"typeDescriptions": {
"typeIdentifier": "t_magic_message",
"typeString": "msg"
}
},
"id": 1547,
"id": 209,
"isConstant": false,
"isLValue": false,
"isPure": false,
......@@ -1274,7 +1274,7 @@
"memberName": "sender",
"nodeType": "MemberAccess",
"referencedDeclaration": null,
"src": "756:10:25",
"src": "756:10:3",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
......@@ -1284,18 +1284,18 @@
"operator": "==",
"rightExpression": {
"argumentTypes": null,
"id": 1548,
"id": 210,
"name": "owner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 1523,
"src": "770:5:25",
"referencedDeclaration": 185,
"src": "770:5:3",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"src": "756:19:25",
"src": "756:19:3",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
......@@ -1309,21 +1309,21 @@
"typeString": "bool"
}
],
"id": 1545,
"id": 207,
"name": "require",
"nodeType": "Identifier",
"overloadedDeclarations": [
4787,
4788
1547,
1548
],
"referencedDeclaration": 4787,
"src": "748:7:25",
"referencedDeclaration": 1547,
"src": "748:7:3",
"typeDescriptions": {
"typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
"typeString": "function (bool) pure"
}
},
"id": 1550,
"id": 212,
"isConstant": false,
"isLValue": false,
"isPure": false,
......@@ -1331,41 +1331,41 @@
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "748:28:25",
"src": "748:28:3",
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 1551,
"id": 213,
"nodeType": "ExpressionStatement",
"src": "748:28:25"
"src": "748:28:3"
},
{
"id": 1552,
"id": 214,
"nodeType": "PlaceholderStatement",
"src": "782:1:25"
"src": "782:1:3"
}
]
},
"documentation": "@dev Throws if called by any account other than the owner.",
"id": 1554,
"id": 216,
"name": "onlyOwner",
"nodeType": "ModifierDefinition",
"parameters": {
"id": 1544,
"id": 206,
"nodeType": "ParameterList",
"parameters": [],
"src": "739:2:25"
"src": "739:2:3"
},
"src": "721:67:25",
"src": "721:67:3",
"visibility": "internal"
},
{
"body": {
"id": 1578,
"id": 240,
"nodeType": "Block",
"src": "1011:112:25",
"src": "1011:112:3",
"statements": [
{
"expression": {
......@@ -1377,19 +1377,19 @@
"typeIdentifier": "t_address",
"typeString": "address"
},
"id": 1566,
"id": 228,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftExpression": {
"argumentTypes": null,
"id": 1562,
"id": 224,
"name": "newOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 1556,
"src": "1025:8:25",
"referencedDeclaration": 218,
"src": "1025:8:3",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
......@@ -1403,14 +1403,14 @@
{
"argumentTypes": null,
"hexValue": "30",
"id": 1564,
"id": 226,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "1045:1:25",
"src": "1045:1:3",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_rational_0_by_1",
......@@ -1426,20 +1426,20 @@
"typeString": "int_const 0"
}
],
"id": 1563,
"id": 225,
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"nodeType": "ElementaryTypeNameExpression",
"src": "1037:7:25",
"src": "1037:7:3",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_address_$",
"typeString": "type(address)"
},
"typeName": "address"
},
"id": 1565,
"id": 227,
"isConstant": false,
"isLValue": false,
"isPure": true,
......@@ -1447,13 +1447,13 @@
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "1037:10:25",
"src": "1037:10:3",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"src": "1025:22:25",
"src": "1025:22:3",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
......@@ -1467,21 +1467,21 @@
"typeString": "bool"
}
],
"id": 1561,
"id": 223,
"name": "require",
"nodeType": "Identifier",
"overloadedDeclarations": [
4787,
4788
1547,
1548
],
"referencedDeclaration": 4787,
"src": "1017:7:25",
"referencedDeclaration": 1547,
"src": "1017:7:3",
"typeDescriptions": {
"typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
"typeString": "function (bool) pure"
}
},
"id": 1567,
"id": 229,
"isConstant": false,
"isLValue": false,
"isPure": false,
......@@ -1489,15 +1489,15 @@
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "1017:31:25",
"src": "1017:31:3",
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 1568,
"id": 230,
"nodeType": "ExpressionStatement",
"src": "1017:31:25"
"src": "1017:31:3"
},
{
"eventCall": {
......@@ -1505,12 +1505,12 @@
"arguments": [
{
"argumentTypes": null,
"id": 1570,
"id": 232,
"name": "owner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 1523,
"src": "1080:5:25",
"referencedDeclaration": 185,
"src": "1080:5:3",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
......@@ -1518,12 +1518,12 @@
},
{
"argumentTypes": null,
"id": 1571,
"id": 233,
"name": "newOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 1556,
"src": "1087:8:25",
"referencedDeclaration": 218,
"src": "1087:8:3",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
......@@ -1541,18 +1541,18 @@
"typeString": "address"
}
],
"id": 1569,
"id": 231,
"name": "OwnershipTransferred",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 1529,
"src": "1059:20:25",
"referencedDeclaration": 191,
"src": "1059:20:3",
"typeDescriptions": {
"typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$returns$__$",
"typeString": "function (address,address)"
}
},
"id": 1572,
"id": 234,
"isConstant": false,
"isLValue": false,
"isPure": false,
......@@ -1560,32 +1560,32 @@
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "1059:37:25",
"src": "1059:37:3",
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 1573,
"id": 235,
"nodeType": "EmitStatement",
"src": "1054:42:25"
"src": "1054:42:3"
},
{
"expression": {
"argumentTypes": null,
"id": 1576,
"id": 238,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 1574,
"id": 236,
"name": "owner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 1523,
"src": "1102:5:25",
"referencedDeclaration": 185,
"src": "1102:5:3",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
......@@ -1595,68 +1595,68 @@
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"id": 1575,
"id": 237,
"name": "newOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 1556,
"src": "1110:8:25",
"referencedDeclaration": 218,
"src": "1110:8:3",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"src": "1102:16:25",
"src": "1102:16:3",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"id": 1577,
"id": 239,
"nodeType": "ExpressionStatement",
"src": "1102:16:25"
"src": "1102:16:3"
}
]
},
"documentation": "@dev Allows the current owner to transfer control of the contract to a newOwner.\n@param newOwner The address to transfer ownership to.",
"id": 1579,
"id": 241,
"implemented": true,
"isConstructor": false,
"isDeclaredConst": false,
"modifiers": [
{
"arguments": null,
"id": 1559,
"id": 221,
"modifierName": {
"argumentTypes": null,
"id": 1558,
"id": 220,
"name": "onlyOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 1554,
"src": "1001:9:25",
"referencedDeclaration": 216,
"src": "1001:9:3",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "1001:9:25"
"src": "1001:9:3"
}
],
"name": "transferOwnership",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 1557,
"id": 219,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 1556,
"id": 218,
"name": "newOwner",
"nodeType": "VariableDeclaration",
"scope": 1579,
"src": "976:16:25",
"scope": 241,
"src": "976:16:3",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
......@@ -1664,10 +1664,10 @@
"typeString": "address"
},
"typeName": {
"id": 1555,
"id": 217,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "976:7:25",
"src": "976:7:3",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
......@@ -1677,33 +1677,33 @@
"visibility": "internal"
}
],
"src": "975:18:25"
"src": "975:18:3"
},
"payable": false,
"returnParameters": {
"id": 1560,
"id": 222,
"nodeType": "ParameterList",
"parameters": [],
"src": "1011:0:25"
"src": "1011:0:3"
},
"scope": 1580,
"src": "949:174:25",
"scope": 242,
"src": "949:174:3",
"stateMutability": "nonpayable",
"superFunction": null,
"visibility": "public"
}
],
"scope": 1581,
"src": "272:854:25"
"scope": 243,
"src": "272:854:3"
}
],
"src": "0:1127:25"
"src": "0:1127:3"
},
"compiler": {
"name": "solc",
"version": "0.4.24+commit.e67f0147.Emscripten.clang"
"version": "0.4.23+commit.124ca40d.Emscripten.clang"
},
"networks": {},
"schemaVersion": "2.0.1",
"updatedAt": "2018-08-23T14:35:50.628Z"
"schemaVersion": "2.0.0",
"updatedAt": "2018-08-23T17:26:04.152Z"
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
{
"name": "openzeppelin-zos",
"version": "1.9.2",
"version": "1.9.3",
"contracts": {
"DetailedMintableToken": "DetailedMintableToken",
"DetailedPremintedToken": "DetailedPremintedToken",
......
{
"contracts": {
"DetailedMintableToken": {
"address": "0x2d0df0100c08aa62976d7ab4e2e820c3f9af4641",
"constructorCode": "60806040526000600860006101000a81548160ff02191690831515021790555034801561002b57600080fd5b506127d68061003b6000396000f300",
"bodyBytecodeHash": "f99213cde38d1e3182c7575f34f59dae30c6760b18ab11810111b68dd0f036c4",
"bytecodeHash": "99fcb4e401387a40b83c24e44a5786f1d8c7caa9b7ca582f4c774e08fd730cdc"
},
"DetailedPremintedToken": {
"address": "0xb112267e91a56b2f4588b1d0cd9b3e55a71a371b",
"address": "0x55a4d0a98a8df3bdc9e6ca3deb1d0019cbc257cd",
"constructorCode": "608060405234801561001057600080fd5b50611d2c806100206000396000f300",
"bodyBytecodeHash": "ed78bb86d973826f5292ac4c7a47969574047e2d6e28afdf2ed92f450409dc0e",
"bytecodeHash": "23db7c6068981c7090aeec3a1d566cdbf9e08d77d7cf62b312a50cc744e4eb61"
},
"TokenVesting": {
"address": "0x33d1434f0a70e5613c9febbca30e0c267da8c4e9",
"constructorCode": "608060405234801561001057600080fd5b506116e9806100206000396000f300",
"bodyBytecodeHash": "5ec5e029def2186b121a5bf8fdc074e6336933c6dcca18ef26da6a64f3a7e9b7",
"bytecodeHash": "6d216d72b05cd126eea42564d4c94c00284d3b60f3f50aa5c7ba2b7318071b63"
},
"MintableERC721Token": {
"address": "0x6e3771aa2a5808678e26b97dd1501ce504bd6a0d",
"constructorCode": "608060405234801561001057600080fd5b50612b5d806100206000396000f300",
"bodyBytecodeHash": "21ed76dc286f651bde28dd07cc1089f33de5ad1b3c2ab6eb6191bc597dbc3f75",
"bytecodeHash": "2037c50c42a482c4f5d4d971b5ee6245f711767a3ed47747f7f0220a74dae9ec"
},
"SplitPayment": {
"address": "0xc6e7fe05be2c121a994ee1ed5efa2c5566cde91b",
"address": "0x03c057c82358946cdc9c617a5e87c292f82a6c3f",
"constructorCode": "60806040526000600155600060025534801561001a57600080fd5b50610c448061002a6000396000f300",
"bodyBytecodeHash": "a0db0119626b513adea89bd2002afc671159c824d758118bbb0acecd578ce933",
"bytecodeHash": "7230f750f319bb7b38598a5330d9841a3bec04cbef4ed64c83320ab8a9c9664f"
},
"TokenTimelock": {
"address": "0xd9a62656f092b656b18ffa6fc07e8b8af682a47b",
"address": "0xf6efb09b65986d2a5a6ce0566260d18cb834bb52",
"constructorCode": "608060405234801561001057600080fd5b506109ba806100206000396000f300",
"bodyBytecodeHash": "32e666fcbd5cd6151e13b699b1d03c76974565f4fc004ec054116ea1f5506af5",
"bytecodeHash": "c7eaf6545e2ae07c7c974aeb97df74a3040cdd21991fa32e04d178c47e300456"
},
"DetailedMintableToken": {
"address": "0x87f8cf4efc125f4df41af488d9736879e9b559ab",
"constructorCode": "60806040526000600860006101000a81548160ff02191690831515021790555034801561002b57600080fd5b506127d68061003b6000396000f300",
"bodyBytecodeHash": "f99213cde38d1e3182c7575f34f59dae30c6760b18ab11810111b68dd0f036c4",
"bytecodeHash": "99fcb4e401387a40b83c24e44a5786f1d8c7caa9b7ca582f4c774e08fd730cdc"
"TokenVesting": {
"address": "0x7513fc8ddd710cbd54b0e383e9749d7d2fd7ec50",
"constructorCode": "608060405234801561001057600080fd5b506116e9806100206000396000f300",
"bodyBytecodeHash": "5ec5e029def2186b121a5bf8fdc074e6336933c6dcca18ef26da6a64f3a7e9b7",
"bytecodeHash": "6d216d72b05cd126eea42564d4c94c00284d3b60f3f50aa5c7ba2b7318071b63"
},
"MintableERC721Token": {
"address": "0xd1aa787859f5ec7afc5befb2062000e1c958d4ff",
"constructorCode": "608060405234801561001057600080fd5b50612b49806100206000396000f300",
"bodyBytecodeHash": "b9dbc2eaace5ae13e376b2e5cbbc10fdf70be49d6338a9ad622e8bb109e64d89",
"bytecodeHash": "6f76f8a40043f87afd01a906bf8d5a85aab7cc3d9985cc183f3199b2b3456821"
}
},
"lib": true,
......@@ -43,7 +43,7 @@
"address": "0x3bd95b5a003481b801010bcde4f7e0a32a925deb"
},
"provider": {
"address": "0xac50270363da99cc98d677f8ff5b63a70f68c9b8"
"address": "0xbbda6d3f3fc23f8fb81f8961a51b3125c07ceb59"
},
"version": "1.9.2"
"version": "1.9.3"
}
\ No newline at end of file
{
"contracts": {
"SplitPayment": {
"address": "0x8aeb1a4d34263e2e2e2c7736eb746a02cda79851",
"address": "0x762db91c67f7394606c8a636b5a55dba411347c6",
"constructorCode": "60806040526000600155600060025534801561001a57600080fd5b50610c448061002a6000396000f300",
"bodyBytecodeHash": "a0db0119626b513adea89bd2002afc671159c824d758118bbb0acecd578ce933",
"bytecodeHash": "7230f750f319bb7b38598a5330d9841a3bec04cbef4ed64c83320ab8a9c9664f"
},
"TokenTimelock": {
"address": "0x04030a686a817393233877599f1d6c771a7242f9",
"constructorCode": "608060405234801561001057600080fd5b506109ba806100206000396000f300",
"bodyBytecodeHash": "32e666fcbd5cd6151e13b699b1d03c76974565f4fc004ec054116ea1f5506af5",
"bytecodeHash": "c7eaf6545e2ae07c7c974aeb97df74a3040cdd21991fa32e04d178c47e300456"
"DetailedMintableToken": {
"address": "0x7060a86a164e0ee0e680f05e6068f62a446a0292",
"constructorCode": "60806040526000600860006101000a81548160ff02191690831515021790555034801561002b57600080fd5b506127d68061003b6000396000f300",
"bodyBytecodeHash": "f99213cde38d1e3182c7575f34f59dae30c6760b18ab11810111b68dd0f036c4",
"bytecodeHash": "99fcb4e401387a40b83c24e44a5786f1d8c7caa9b7ca582f4c774e08fd730cdc"
},
"DetailedPremintedToken": {
"address": "0x652eb81d7ac574ce0e164f933d9cca2360cf2e17",
"address": "0xc72471ba4dda500b9a5d11ff53998158a33ada7a",
"constructorCode": "608060405234801561001057600080fd5b50611d2c806100206000396000f300",
"bodyBytecodeHash": "ed78bb86d973826f5292ac4c7a47969574047e2d6e28afdf2ed92f450409dc0e",
"bytecodeHash": "23db7c6068981c7090aeec3a1d566cdbf9e08d77d7cf62b312a50cc744e4eb61"
},
"TokenVesting": {
"address": "0x83a14bd8712b29700c2e47d28f380e67e99a2e4c",
"address": "0xade104e68f5680939c72ab6da04b7158cfc09f06",
"constructorCode": "608060405234801561001057600080fd5b506116e9806100206000396000f300",
"bodyBytecodeHash": "5ec5e029def2186b121a5bf8fdc074e6336933c6dcca18ef26da6a64f3a7e9b7",
"bytecodeHash": "6d216d72b05cd126eea42564d4c94c00284d3b60f3f50aa5c7ba2b7318071b63"
},
"DetailedMintableToken": {
"address": "0xdcf3ef5764f6c20af020191243e0588521d8baae",
"constructorCode": "60806040526000600860006101000a81548160ff02191690831515021790555034801561002b57600080fd5b506127d68061003b6000396000f300",
"bodyBytecodeHash": "f99213cde38d1e3182c7575f34f59dae30c6760b18ab11810111b68dd0f036c4",
"bytecodeHash": "99fcb4e401387a40b83c24e44a5786f1d8c7caa9b7ca582f4c774e08fd730cdc"
"TokenTimelock": {
"address": "0x7000e0f2f5a389df14b50c6f84686123f19b27f6",
"constructorCode": "608060405234801561001057600080fd5b506109ba806100206000396000f300",
"bodyBytecodeHash": "32e666fcbd5cd6151e13b699b1d03c76974565f4fc004ec054116ea1f5506af5",
"bytecodeHash": "c7eaf6545e2ae07c7c974aeb97df74a3040cdd21991fa32e04d178c47e300456"
},
"MintableERC721Token": {
"address": "0x4ea9f391c6de33131fb4a213d01c68ffbae108e4",
"constructorCode": "608060405234801561001057600080fd5b50612b5d806100206000396000f300",
"bodyBytecodeHash": "21ed76dc286f651bde28dd07cc1089f33de5ad1b3c2ab6eb6191bc597dbc3f75",
"bytecodeHash": "2037c50c42a482c4f5d4d971b5ee6245f711767a3ed47747f7f0220a74dae9ec"
"address": "0x1353c5423d1d38fe6a8848166fe7a2a40f10e44c",
"constructorCode": "608060405234801561001057600080fd5b50612b49806100206000396000f300",
"bodyBytecodeHash": "b9dbc2eaace5ae13e376b2e5cbbc10fdf70be49d6338a9ad622e8bb109e64d89",
"bytecodeHash": "6f76f8a40043f87afd01a906bf8d5a85aab7cc3d9985cc183f3199b2b3456821"
}
},
"lib": true,
......@@ -43,7 +43,7 @@
"address": "0x22137ecc8483e4c2a86969d867c54babf5a6a184"
},
"provider": {
"address": "0x98b0efea303262ee1a6b9649f0e43fe9a4d43759"
"address": "0x771cadf42dd7dcd5a1660933de40f4f065a835a9"
},
"version": "1.9.2"
"version": "1.9.3"
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment