Update for nftdapp
This commit is contained in:
@@ -1,24 +1,24 @@
|
||||
{
|
||||
"contractName": "AddressUtils",
|
||||
"abi": [],
|
||||
"bytecode": "0x604c602c600b82828239805160001a60731460008114601c57601e565bfe5b5030600052607381538281f30073000000000000000000000000000000000000000030146080604052600080fd00a165627a7a7230582057055433fd49bcd62bd59af54c3a75f9b5c81d9c70f5bb908838e055d5c8ece90029",
|
||||
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fd00a165627a7a7230582057055433fd49bcd62bd59af54c3a75f9b5c81d9c70f5bb908838e055d5c8ece90029",
|
||||
"sourceMap": "87:932:2:-;;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:932:2:-;;;;;;;;",
|
||||
"bytecode": "0x604c602c600b82828239805160001a60731460008114601c57601e565bfe5b5030600052607381538281f30073000000000000000000000000000000000000000030146080604052600080fd00a165627a7a72305820a33fcaee8adec8f4f199d47c1b3eb0309f78890ba1f229616f27f0a5aedbe8450029",
|
||||
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fd00a165627a7a72305820a33fcaee8adec8f4f199d47c1b3eb0309f78890ba1f229616f27f0a5aedbe8450029",
|
||||
"sourceMap": "87:932:3:-;;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:932:3:-;;;;;;;;",
|
||||
"source": "pragma solidity ^0.4.24;\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 // solium-disable-next-line security/no-inline-assembly\n assembly { size := extcodesize(_addr) }\n return size > 0;\n }\n\n}\n",
|
||||
"sourcePath": "/Users/willpark/Desktop/bookwork-blockchain/testcodes/9nftdapp-new/backend-nftdapp/node_modules/zeppelin-solidity/contracts/AddressUtils.sol",
|
||||
"sourcePath": "/Users/willpark/Desktop/bookwork-klaytn/project_codes/nftbapp/backend-nftdapp/node_modules/zeppelin-solidity/contracts/AddressUtils.sol",
|
||||
"ast": {
|
||||
"absolutePath": "/Users/willpark/Desktop/bookwork-blockchain/testcodes/9nftdapp-new/backend-nftdapp/node_modules/zeppelin-solidity/contracts/AddressUtils.sol",
|
||||
"absolutePath": "/Users/willpark/Desktop/bookwork-klaytn/project_codes/nftbapp/backend-nftdapp/node_modules/zeppelin-solidity/contracts/AddressUtils.sol",
|
||||
"exportedSymbols": {
|
||||
"AddressUtils": [
|
||||
413
|
||||
470
|
||||
]
|
||||
},
|
||||
"id": 414,
|
||||
"id": 471,
|
||||
"nodeType": "SourceUnit",
|
||||
"nodes": [
|
||||
{
|
||||
"id": 396,
|
||||
"id": 453,
|
||||
"literals": [
|
||||
"solidity",
|
||||
"^",
|
||||
@@ -26,7 +26,7 @@
|
||||
".24"
|
||||
],
|
||||
"nodeType": "PragmaDirective",
|
||||
"src": "0:24:2"
|
||||
"src": "0:24:3"
|
||||
},
|
||||
{
|
||||
"baseContracts": [],
|
||||
@@ -34,29 +34,29 @@
|
||||
"contractKind": "library",
|
||||
"documentation": "Utility library of inline functions on addresses",
|
||||
"fullyImplemented": true,
|
||||
"id": 413,
|
||||
"id": 470,
|
||||
"linearizedBaseContracts": [
|
||||
413
|
||||
470
|
||||
],
|
||||
"name": "AddressUtils",
|
||||
"nodeType": "ContractDefinition",
|
||||
"nodes": [
|
||||
{
|
||||
"body": {
|
||||
"id": 411,
|
||||
"id": 468,
|
||||
"nodeType": "Block",
|
||||
"src": "502:514:2",
|
||||
"src": "502:514:3",
|
||||
"statements": [
|
||||
{
|
||||
"assignments": [],
|
||||
"declarations": [
|
||||
{
|
||||
"constant": false,
|
||||
"id": 404,
|
||||
"id": 461,
|
||||
"name": "size",
|
||||
"nodeType": "VariableDeclaration",
|
||||
"scope": 412,
|
||||
"src": "508:12:2",
|
||||
"scope": 469,
|
||||
"src": "508:12:3",
|
||||
"stateVariable": false,
|
||||
"storageLocation": "default",
|
||||
"typeDescriptions": {
|
||||
@@ -64,10 +64,10 @@
|
||||
"typeString": "uint256"
|
||||
},
|
||||
"typeName": {
|
||||
"id": 403,
|
||||
"id": 460,
|
||||
"name": "uint256",
|
||||
"nodeType": "ElementaryTypeName",
|
||||
"src": "508:7:2",
|
||||
"src": "508:7:3",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_uint256",
|
||||
"typeString": "uint256"
|
||||
@@ -77,36 +77,36 @@
|
||||
"visibility": "internal"
|
||||
}
|
||||
],
|
||||
"id": 405,
|
||||
"id": 462,
|
||||
"initialValue": null,
|
||||
"nodeType": "VariableDeclarationStatement",
|
||||
"src": "508:12:2"
|
||||
"src": "508:12:3"
|
||||
},
|
||||
{
|
||||
"externalReferences": [
|
||||
{
|
||||
"size": {
|
||||
"declaration": 404,
|
||||
"declaration": 461,
|
||||
"isOffset": false,
|
||||
"isSlot": false,
|
||||
"src": "963:4:2",
|
||||
"src": "963:4:3",
|
||||
"valueSize": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"_addr": {
|
||||
"declaration": 398,
|
||||
"declaration": 455,
|
||||
"isOffset": false,
|
||||
"isSlot": false,
|
||||
"src": "983:5:2",
|
||||
"src": "983:5:3",
|
||||
"valueSize": 1
|
||||
}
|
||||
}
|
||||
],
|
||||
"id": 406,
|
||||
"id": 463,
|
||||
"nodeType": "InlineAssembly",
|
||||
"operations": "{\n size := extcodesize(_addr)\n}",
|
||||
"src": "952:50:2"
|
||||
"src": "952:50:3"
|
||||
},
|
||||
{
|
||||
"expression": {
|
||||
@@ -115,19 +115,19 @@
|
||||
"typeIdentifier": "t_uint256",
|
||||
"typeString": "uint256"
|
||||
},
|
||||
"id": 409,
|
||||
"id": 466,
|
||||
"isConstant": false,
|
||||
"isLValue": false,
|
||||
"isPure": false,
|
||||
"lValueRequested": false,
|
||||
"leftExpression": {
|
||||
"argumentTypes": null,
|
||||
"id": 407,
|
||||
"id": 464,
|
||||
"name": "size",
|
||||
"nodeType": "Identifier",
|
||||
"overloadedDeclarations": [],
|
||||
"referencedDeclaration": 404,
|
||||
"src": "1003:4:2",
|
||||
"referencedDeclaration": 461,
|
||||
"src": "1003:4:3",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_uint256",
|
||||
"typeString": "uint256"
|
||||
@@ -138,14 +138,14 @@
|
||||
"rightExpression": {
|
||||
"argumentTypes": null,
|
||||
"hexValue": "30",
|
||||
"id": 408,
|
||||
"id": 465,
|
||||
"isConstant": false,
|
||||
"isLValue": false,
|
||||
"isPure": true,
|
||||
"kind": "number",
|
||||
"lValueRequested": false,
|
||||
"nodeType": "Literal",
|
||||
"src": "1010:1:2",
|
||||
"src": "1010:1:3",
|
||||
"subdenomination": null,
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_rational_0_by_1",
|
||||
@@ -153,21 +153,21 @@
|
||||
},
|
||||
"value": "0"
|
||||
},
|
||||
"src": "1003:8:2",
|
||||
"src": "1003:8:3",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_bool",
|
||||
"typeString": "bool"
|
||||
}
|
||||
},
|
||||
"functionReturnParameters": 402,
|
||||
"id": 410,
|
||||
"functionReturnParameters": 459,
|
||||
"id": 467,
|
||||
"nodeType": "Return",
|
||||
"src": "996:15:2"
|
||||
"src": "996:15:3"
|
||||
}
|
||||
]
|
||||
},
|
||||
"documentation": "Returns whether the target address is a contract\n@dev This function will return false if invoked during the constructor of a contract,\nas 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",
|
||||
"id": 412,
|
||||
"id": 469,
|
||||
"implemented": true,
|
||||
"isConstructor": false,
|
||||
"isDeclaredConst": true,
|
||||
@@ -175,16 +175,16 @@
|
||||
"name": "isContract",
|
||||
"nodeType": "FunctionDefinition",
|
||||
"parameters": {
|
||||
"id": 399,
|
||||
"id": 456,
|
||||
"nodeType": "ParameterList",
|
||||
"parameters": [
|
||||
{
|
||||
"constant": false,
|
||||
"id": 398,
|
||||
"id": 455,
|
||||
"name": "_addr",
|
||||
"nodeType": "VariableDeclaration",
|
||||
"scope": 412,
|
||||
"src": "458:13:2",
|
||||
"scope": 469,
|
||||
"src": "458:13:3",
|
||||
"stateVariable": false,
|
||||
"storageLocation": "default",
|
||||
"typeDescriptions": {
|
||||
@@ -192,10 +192,10 @@
|
||||
"typeString": "address"
|
||||
},
|
||||
"typeName": {
|
||||
"id": 397,
|
||||
"id": 454,
|
||||
"name": "address",
|
||||
"nodeType": "ElementaryTypeName",
|
||||
"src": "458:7:2",
|
||||
"src": "458:7:3",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_address",
|
||||
"typeString": "address"
|
||||
@@ -205,20 +205,20 @@
|
||||
"visibility": "internal"
|
||||
}
|
||||
],
|
||||
"src": "457:15:2"
|
||||
"src": "457:15:3"
|
||||
},
|
||||
"payable": false,
|
||||
"returnParameters": {
|
||||
"id": 402,
|
||||
"id": 459,
|
||||
"nodeType": "ParameterList",
|
||||
"parameters": [
|
||||
{
|
||||
"constant": false,
|
||||
"id": 401,
|
||||
"id": 458,
|
||||
"name": "",
|
||||
"nodeType": "VariableDeclaration",
|
||||
"scope": 412,
|
||||
"src": "496:4:2",
|
||||
"scope": 469,
|
||||
"src": "496:4:3",
|
||||
"stateVariable": false,
|
||||
"storageLocation": "default",
|
||||
"typeDescriptions": {
|
||||
@@ -226,10 +226,10 @@
|
||||
"typeString": "bool"
|
||||
},
|
||||
"typeName": {
|
||||
"id": 400,
|
||||
"id": 457,
|
||||
"name": "bool",
|
||||
"nodeType": "ElementaryTypeName",
|
||||
"src": "496:4:2",
|
||||
"src": "496:4:3",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_bool",
|
||||
"typeString": "bool"
|
||||
@@ -239,33 +239,33 @@
|
||||
"visibility": "internal"
|
||||
}
|
||||
],
|
||||
"src": "495:6:2"
|
||||
"src": "495:6:3"
|
||||
},
|
||||
"scope": 413,
|
||||
"src": "438:578:2",
|
||||
"scope": 470,
|
||||
"src": "438:578:3",
|
||||
"stateMutability": "view",
|
||||
"superFunction": null,
|
||||
"visibility": "internal"
|
||||
}
|
||||
],
|
||||
"scope": 414,
|
||||
"src": "87:932:2"
|
||||
"scope": 471,
|
||||
"src": "87:932:3"
|
||||
}
|
||||
],
|
||||
"src": "0:1020:2"
|
||||
"src": "0:1020:3"
|
||||
},
|
||||
"legacyAST": {
|
||||
"absolutePath": "/Users/willpark/Desktop/bookwork-blockchain/testcodes/9nftdapp-new/backend-nftdapp/node_modules/zeppelin-solidity/contracts/AddressUtils.sol",
|
||||
"absolutePath": "/Users/willpark/Desktop/bookwork-klaytn/project_codes/nftbapp/backend-nftdapp/node_modules/zeppelin-solidity/contracts/AddressUtils.sol",
|
||||
"exportedSymbols": {
|
||||
"AddressUtils": [
|
||||
413
|
||||
470
|
||||
]
|
||||
},
|
||||
"id": 414,
|
||||
"id": 471,
|
||||
"nodeType": "SourceUnit",
|
||||
"nodes": [
|
||||
{
|
||||
"id": 396,
|
||||
"id": 453,
|
||||
"literals": [
|
||||
"solidity",
|
||||
"^",
|
||||
@@ -273,7 +273,7 @@
|
||||
".24"
|
||||
],
|
||||
"nodeType": "PragmaDirective",
|
||||
"src": "0:24:2"
|
||||
"src": "0:24:3"
|
||||
},
|
||||
{
|
||||
"baseContracts": [],
|
||||
@@ -281,29 +281,29 @@
|
||||
"contractKind": "library",
|
||||
"documentation": "Utility library of inline functions on addresses",
|
||||
"fullyImplemented": true,
|
||||
"id": 413,
|
||||
"id": 470,
|
||||
"linearizedBaseContracts": [
|
||||
413
|
||||
470
|
||||
],
|
||||
"name": "AddressUtils",
|
||||
"nodeType": "ContractDefinition",
|
||||
"nodes": [
|
||||
{
|
||||
"body": {
|
||||
"id": 411,
|
||||
"id": 468,
|
||||
"nodeType": "Block",
|
||||
"src": "502:514:2",
|
||||
"src": "502:514:3",
|
||||
"statements": [
|
||||
{
|
||||
"assignments": [],
|
||||
"declarations": [
|
||||
{
|
||||
"constant": false,
|
||||
"id": 404,
|
||||
"id": 461,
|
||||
"name": "size",
|
||||
"nodeType": "VariableDeclaration",
|
||||
"scope": 412,
|
||||
"src": "508:12:2",
|
||||
"scope": 469,
|
||||
"src": "508:12:3",
|
||||
"stateVariable": false,
|
||||
"storageLocation": "default",
|
||||
"typeDescriptions": {
|
||||
@@ -311,10 +311,10 @@
|
||||
"typeString": "uint256"
|
||||
},
|
||||
"typeName": {
|
||||
"id": 403,
|
||||
"id": 460,
|
||||
"name": "uint256",
|
||||
"nodeType": "ElementaryTypeName",
|
||||
"src": "508:7:2",
|
||||
"src": "508:7:3",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_uint256",
|
||||
"typeString": "uint256"
|
||||
@@ -324,36 +324,36 @@
|
||||
"visibility": "internal"
|
||||
}
|
||||
],
|
||||
"id": 405,
|
||||
"id": 462,
|
||||
"initialValue": null,
|
||||
"nodeType": "VariableDeclarationStatement",
|
||||
"src": "508:12:2"
|
||||
"src": "508:12:3"
|
||||
},
|
||||
{
|
||||
"externalReferences": [
|
||||
{
|
||||
"size": {
|
||||
"declaration": 404,
|
||||
"declaration": 461,
|
||||
"isOffset": false,
|
||||
"isSlot": false,
|
||||
"src": "963:4:2",
|
||||
"src": "963:4:3",
|
||||
"valueSize": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"_addr": {
|
||||
"declaration": 398,
|
||||
"declaration": 455,
|
||||
"isOffset": false,
|
||||
"isSlot": false,
|
||||
"src": "983:5:2",
|
||||
"src": "983:5:3",
|
||||
"valueSize": 1
|
||||
}
|
||||
}
|
||||
],
|
||||
"id": 406,
|
||||
"id": 463,
|
||||
"nodeType": "InlineAssembly",
|
||||
"operations": "{\n size := extcodesize(_addr)\n}",
|
||||
"src": "952:50:2"
|
||||
"src": "952:50:3"
|
||||
},
|
||||
{
|
||||
"expression": {
|
||||
@@ -362,19 +362,19 @@
|
||||
"typeIdentifier": "t_uint256",
|
||||
"typeString": "uint256"
|
||||
},
|
||||
"id": 409,
|
||||
"id": 466,
|
||||
"isConstant": false,
|
||||
"isLValue": false,
|
||||
"isPure": false,
|
||||
"lValueRequested": false,
|
||||
"leftExpression": {
|
||||
"argumentTypes": null,
|
||||
"id": 407,
|
||||
"id": 464,
|
||||
"name": "size",
|
||||
"nodeType": "Identifier",
|
||||
"overloadedDeclarations": [],
|
||||
"referencedDeclaration": 404,
|
||||
"src": "1003:4:2",
|
||||
"referencedDeclaration": 461,
|
||||
"src": "1003:4:3",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_uint256",
|
||||
"typeString": "uint256"
|
||||
@@ -385,14 +385,14 @@
|
||||
"rightExpression": {
|
||||
"argumentTypes": null,
|
||||
"hexValue": "30",
|
||||
"id": 408,
|
||||
"id": 465,
|
||||
"isConstant": false,
|
||||
"isLValue": false,
|
||||
"isPure": true,
|
||||
"kind": "number",
|
||||
"lValueRequested": false,
|
||||
"nodeType": "Literal",
|
||||
"src": "1010:1:2",
|
||||
"src": "1010:1:3",
|
||||
"subdenomination": null,
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_rational_0_by_1",
|
||||
@@ -400,21 +400,21 @@
|
||||
},
|
||||
"value": "0"
|
||||
},
|
||||
"src": "1003:8:2",
|
||||
"src": "1003:8:3",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_bool",
|
||||
"typeString": "bool"
|
||||
}
|
||||
},
|
||||
"functionReturnParameters": 402,
|
||||
"id": 410,
|
||||
"functionReturnParameters": 459,
|
||||
"id": 467,
|
||||
"nodeType": "Return",
|
||||
"src": "996:15:2"
|
||||
"src": "996:15:3"
|
||||
}
|
||||
]
|
||||
},
|
||||
"documentation": "Returns whether the target address is a contract\n@dev This function will return false if invoked during the constructor of a contract,\nas 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",
|
||||
"id": 412,
|
||||
"id": 469,
|
||||
"implemented": true,
|
||||
"isConstructor": false,
|
||||
"isDeclaredConst": true,
|
||||
@@ -422,16 +422,16 @@
|
||||
"name": "isContract",
|
||||
"nodeType": "FunctionDefinition",
|
||||
"parameters": {
|
||||
"id": 399,
|
||||
"id": 456,
|
||||
"nodeType": "ParameterList",
|
||||
"parameters": [
|
||||
{
|
||||
"constant": false,
|
||||
"id": 398,
|
||||
"id": 455,
|
||||
"name": "_addr",
|
||||
"nodeType": "VariableDeclaration",
|
||||
"scope": 412,
|
||||
"src": "458:13:2",
|
||||
"scope": 469,
|
||||
"src": "458:13:3",
|
||||
"stateVariable": false,
|
||||
"storageLocation": "default",
|
||||
"typeDescriptions": {
|
||||
@@ -439,10 +439,10 @@
|
||||
"typeString": "address"
|
||||
},
|
||||
"typeName": {
|
||||
"id": 397,
|
||||
"id": 454,
|
||||
"name": "address",
|
||||
"nodeType": "ElementaryTypeName",
|
||||
"src": "458:7:2",
|
||||
"src": "458:7:3",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_address",
|
||||
"typeString": "address"
|
||||
@@ -452,20 +452,20 @@
|
||||
"visibility": "internal"
|
||||
}
|
||||
],
|
||||
"src": "457:15:2"
|
||||
"src": "457:15:3"
|
||||
},
|
||||
"payable": false,
|
||||
"returnParameters": {
|
||||
"id": 402,
|
||||
"id": 459,
|
||||
"nodeType": "ParameterList",
|
||||
"parameters": [
|
||||
{
|
||||
"constant": false,
|
||||
"id": 401,
|
||||
"id": 458,
|
||||
"name": "",
|
||||
"nodeType": "VariableDeclaration",
|
||||
"scope": 412,
|
||||
"src": "496:4:2",
|
||||
"scope": 469,
|
||||
"src": "496:4:3",
|
||||
"stateVariable": false,
|
||||
"storageLocation": "default",
|
||||
"typeDescriptions": {
|
||||
@@ -473,10 +473,10 @@
|
||||
"typeString": "bool"
|
||||
},
|
||||
"typeName": {
|
||||
"id": 400,
|
||||
"id": 457,
|
||||
"name": "bool",
|
||||
"nodeType": "ElementaryTypeName",
|
||||
"src": "496:4:2",
|
||||
"src": "496:4:3",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_bool",
|
||||
"typeString": "bool"
|
||||
@@ -486,20 +486,20 @@
|
||||
"visibility": "internal"
|
||||
}
|
||||
],
|
||||
"src": "495:6:2"
|
||||
"src": "495:6:3"
|
||||
},
|
||||
"scope": 413,
|
||||
"src": "438:578:2",
|
||||
"scope": 470,
|
||||
"src": "438:578:3",
|
||||
"stateMutability": "view",
|
||||
"superFunction": null,
|
||||
"visibility": "internal"
|
||||
}
|
||||
],
|
||||
"scope": 414,
|
||||
"src": "87:932:2"
|
||||
"scope": 471,
|
||||
"src": "87:932:3"
|
||||
}
|
||||
],
|
||||
"src": "0:1020:2"
|
||||
"src": "0:1020:3"
|
||||
},
|
||||
"compiler": {
|
||||
"name": "solc",
|
||||
@@ -507,5 +507,5 @@
|
||||
},
|
||||
"networks": {},
|
||||
"schemaVersion": "2.0.2",
|
||||
"updatedAt": "2019-01-10T18:16:54.178Z"
|
||||
"updatedAt": "2020-03-25T02:14:16.713Z"
|
||||
}
|
||||
Reference in New Issue
Block a user