@xyo-network/solidity
Advanced tools
Comparing version 2.0.4 to 2.1.0
@@ -18,6 +18,6 @@ { | ||
"Context": [ | ||
1438 | ||
1474 | ||
] | ||
}, | ||
"id": 1439, | ||
"id": 1475, | ||
"license": "MIT", | ||
@@ -27,3 +27,3 @@ "nodeType": "SourceUnit", | ||
{ | ||
"id": 1418, | ||
"id": 1454, | ||
"literals": [ | ||
@@ -45,3 +45,3 @@ "solidity", | ||
"documentation": { | ||
"id": 1419, | ||
"id": 1455, | ||
"nodeType": "StructuredDocumentation", | ||
@@ -52,5 +52,5 @@ "src": "111:496:7", | ||
"fullyImplemented": true, | ||
"id": 1438, | ||
"id": 1474, | ||
"linearizedBaseContracts": [ | ||
1438 | ||
1474 | ||
], | ||
@@ -63,3 +63,3 @@ "name": "Context", | ||
"body": { | ||
"id": 1427, | ||
"id": 1463, | ||
"nodeType": "Block", | ||
@@ -71,3 +71,3 @@ "src": "702:34:7", | ||
"expression": { | ||
"id": 1424, | ||
"id": 1460, | ||
"name": "msg", | ||
@@ -83,3 +83,3 @@ "nodeType": "Identifier", | ||
}, | ||
"id": 1425, | ||
"id": 1461, | ||
"isConstant": false, | ||
@@ -98,4 +98,4 @@ "isLValue": false, | ||
}, | ||
"functionReturnParameters": 1423, | ||
"id": 1426, | ||
"functionReturnParameters": 1459, | ||
"id": 1462, | ||
"nodeType": "Return", | ||
@@ -106,3 +106,3 @@ "src": "712:17:7" | ||
}, | ||
"id": 1428, | ||
"id": 1464, | ||
"implemented": true, | ||
@@ -115,3 +115,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 1420, | ||
"id": 1456, | ||
"nodeType": "ParameterList", | ||
@@ -122,3 +122,3 @@ "parameters": [], | ||
"returnParameters": { | ||
"id": 1423, | ||
"id": 1459, | ||
"nodeType": "ParameterList", | ||
@@ -128,3 +128,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 1422, | ||
"id": 1458, | ||
"mutability": "mutable", | ||
@@ -134,3 +134,3 @@ "name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 1428, | ||
"scope": 1464, | ||
"src": "693:7:7", | ||
@@ -144,3 +144,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 1421, | ||
"id": 1457, | ||
"name": "address", | ||
@@ -160,3 +160,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 1438, | ||
"scope": 1474, | ||
"src": "640:96:7", | ||
@@ -169,3 +169,3 @@ "stateMutability": "view", | ||
"body": { | ||
"id": 1436, | ||
"id": 1472, | ||
"nodeType": "Block", | ||
@@ -177,3 +177,3 @@ "src": "809:32:7", | ||
"expression": { | ||
"id": 1433, | ||
"id": 1469, | ||
"name": "msg", | ||
@@ -189,3 +189,3 @@ "nodeType": "Identifier", | ||
}, | ||
"id": 1434, | ||
"id": 1470, | ||
"isConstant": false, | ||
@@ -204,4 +204,4 @@ "isLValue": false, | ||
}, | ||
"functionReturnParameters": 1432, | ||
"id": 1435, | ||
"functionReturnParameters": 1468, | ||
"id": 1471, | ||
"nodeType": "Return", | ||
@@ -212,3 +212,3 @@ "src": "819:15:7" | ||
}, | ||
"id": 1437, | ||
"id": 1473, | ||
"implemented": true, | ||
@@ -221,3 +221,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 1429, | ||
"id": 1465, | ||
"nodeType": "ParameterList", | ||
@@ -228,3 +228,3 @@ "parameters": [], | ||
"returnParameters": { | ||
"id": 1432, | ||
"id": 1468, | ||
"nodeType": "ParameterList", | ||
@@ -234,3 +234,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 1431, | ||
"id": 1467, | ||
"mutability": "mutable", | ||
@@ -240,3 +240,3 @@ "name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 1437, | ||
"scope": 1473, | ||
"src": "793:14:7", | ||
@@ -250,3 +250,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 1430, | ||
"id": 1466, | ||
"name": "bytes", | ||
@@ -265,3 +265,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 1438, | ||
"scope": 1474, | ||
"src": "742:99:7", | ||
@@ -273,3 +273,3 @@ "stateMutability": "view", | ||
], | ||
"scope": 1439, | ||
"scope": 1475, | ||
"src": "608:235:7", | ||
@@ -286,4 +286,4 @@ "usedErrors": [] | ||
"networks": {}, | ||
"schemaVersion": "3.4.10", | ||
"updatedAt": "2022-10-31T18:28:00.415Z", | ||
"schemaVersion": "3.4.11", | ||
"updatedAt": "2023-01-29T19:40:22.331Z", | ||
"devdoc": { | ||
@@ -290,0 +290,0 @@ "details": "Provides information about the current execution context, including the sender of the transaction and its data. While these are generally available via msg.sender and msg.data, they should not be accessed in such a direct manner, since when dealing with meta-transactions the account sending and paying for execution may not be the actual sender (as far as an application is concerned). This contract is only required for intermediate, library-like contracts.", |
@@ -50,6 +50,6 @@ { | ||
"DataStore": [ | ||
1874 | ||
1863 | ||
] | ||
}, | ||
"id": 1875, | ||
"id": 1864, | ||
"license": "GPL-3.0", | ||
@@ -59,3 +59,3 @@ "nodeType": "SourceUnit", | ||
{ | ||
"id": 1811, | ||
"id": 1800, | ||
"literals": [ | ||
@@ -68,3 +68,3 @@ "solidity", | ||
"nodeType": "PragmaDirective", | ||
"src": "36:23:11" | ||
"src": "36:23:10" | ||
}, | ||
@@ -78,8 +78,8 @@ { | ||
"fullyImplemented": true, | ||
"id": 1874, | ||
"id": 1863, | ||
"linearizedBaseContracts": [ | ||
1874 | ||
1863 | ||
], | ||
"name": "DataStore", | ||
"nameLocation": "79:9:11", | ||
"nameLocation": "79:9:10", | ||
"nodeType": "ContractDefinition", | ||
@@ -89,9 +89,9 @@ "nodes": [ | ||
"constant": false, | ||
"id": 1817, | ||
"id": 1806, | ||
"mutability": "mutable", | ||
"name": "_data", | ||
"nameLocation": "151:5:11", | ||
"nameLocation": "151:5:10", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 1874, | ||
"src": "95:61:11", | ||
"scope": 1863, | ||
"src": "95:61:10", | ||
"stateVariable": true, | ||
@@ -104,8 +104,8 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1816, | ||
"id": 1805, | ||
"keyType": { | ||
"id": 1812, | ||
"id": 1801, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "103:7:11", | ||
"src": "103:7:10", | ||
"typeDescriptions": { | ||
@@ -117,3 +117,3 @@ "typeIdentifier": "t_uint256", | ||
"nodeType": "Mapping", | ||
"src": "95:47:11", | ||
"src": "95:47:10", | ||
"typeDescriptions": { | ||
@@ -124,8 +124,8 @@ "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_uint256_$_t_uint256_$_$", | ||
"valueType": { | ||
"id": 1815, | ||
"id": 1804, | ||
"keyType": { | ||
"id": 1813, | ||
"id": 1802, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "122:7:11", | ||
"src": "122:7:10", | ||
"typeDescriptions": { | ||
@@ -137,3 +137,3 @@ "typeIdentifier": "t_uint256", | ||
"nodeType": "Mapping", | ||
"src": "114:27:11", | ||
"src": "114:27:10", | ||
"typeDescriptions": { | ||
@@ -144,6 +144,6 @@ "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", | ||
"valueType": { | ||
"id": 1814, | ||
"id": 1803, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "133:7:11", | ||
"src": "133:7:10", | ||
"typeDescriptions": { | ||
@@ -160,5 +160,5 @@ "typeIdentifier": "t_uint256", | ||
"body": { | ||
"id": 1832, | ||
"id": 1821, | ||
"nodeType": "Block", | ||
"src": "267:39:11", | ||
"src": "267:39:10", | ||
"statements": [ | ||
@@ -169,8 +169,8 @@ { | ||
"baseExpression": { | ||
"id": 1826, | ||
"id": 1815, | ||
"name": "_data", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1817, | ||
"src": "284:5:11", | ||
"referencedDeclaration": 1806, | ||
"src": "284:5:10", | ||
"typeDescriptions": { | ||
@@ -181,10 +181,10 @@ "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_uint256_$_t_uint256_$_$", | ||
}, | ||
"id": 1828, | ||
"id": 1817, | ||
"indexExpression": { | ||
"id": 1827, | ||
"id": 1816, | ||
"name": "id", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1819, | ||
"src": "290:2:11", | ||
"referencedDeclaration": 1808, | ||
"src": "290:2:10", | ||
"typeDescriptions": { | ||
@@ -200,3 +200,3 @@ "typeIdentifier": "t_uint256", | ||
"nodeType": "IndexAccess", | ||
"src": "284:9:11", | ||
"src": "284:9:10", | ||
"typeDescriptions": { | ||
@@ -207,10 +207,10 @@ "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", | ||
}, | ||
"id": 1830, | ||
"id": 1819, | ||
"indexExpression": { | ||
"id": 1829, | ||
"id": 1818, | ||
"name": "slot", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1821, | ||
"src": "294:4:11", | ||
"referencedDeclaration": 1810, | ||
"src": "294:4:10", | ||
"typeDescriptions": { | ||
@@ -226,3 +226,3 @@ "typeIdentifier": "t_uint256", | ||
"nodeType": "IndexAccess", | ||
"src": "284:15:11", | ||
"src": "284:15:10", | ||
"typeDescriptions": { | ||
@@ -233,10 +233,10 @@ "typeIdentifier": "t_uint256", | ||
}, | ||
"functionReturnParameters": 1825, | ||
"id": 1831, | ||
"functionReturnParameters": 1814, | ||
"id": 1820, | ||
"nodeType": "Return", | ||
"src": "277:22:11" | ||
"src": "277:22:10" | ||
} | ||
] | ||
}, | ||
"id": 1833, | ||
"id": 1822, | ||
"implemented": true, | ||
@@ -246,6 +246,6 @@ "kind": "function", | ||
"name": "_getData", | ||
"nameLocation": "172:8:11", | ||
"nameLocation": "172:8:10", | ||
"nodeType": "FunctionDefinition", | ||
"parameters": { | ||
"id": 1822, | ||
"id": 1811, | ||
"nodeType": "ParameterList", | ||
@@ -255,9 +255,9 @@ "parameters": [ | ||
"constant": false, | ||
"id": 1819, | ||
"id": 1808, | ||
"mutability": "mutable", | ||
"name": "id", | ||
"nameLocation": "189:2:11", | ||
"nameLocation": "189:2:10", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 1833, | ||
"src": "181:10:11", | ||
"scope": 1822, | ||
"src": "181:10:10", | ||
"stateVariable": false, | ||
@@ -270,6 +270,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1818, | ||
"id": 1807, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "181:7:11", | ||
"src": "181:7:10", | ||
"typeDescriptions": { | ||
@@ -284,9 +284,9 @@ "typeIdentifier": "t_uint256", | ||
"constant": false, | ||
"id": 1821, | ||
"id": 1810, | ||
"mutability": "mutable", | ||
"name": "slot", | ||
"nameLocation": "201:4:11", | ||
"nameLocation": "201:4:10", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 1833, | ||
"src": "193:12:11", | ||
"scope": 1822, | ||
"src": "193:12:10", | ||
"stateVariable": false, | ||
@@ -299,6 +299,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1820, | ||
"id": 1809, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "193:7:11", | ||
"src": "193:7:10", | ||
"typeDescriptions": { | ||
@@ -312,6 +312,6 @@ "typeIdentifier": "t_uint256", | ||
], | ||
"src": "180:26:11" | ||
"src": "180:26:10" | ||
}, | ||
"returnParameters": { | ||
"id": 1825, | ||
"id": 1814, | ||
"nodeType": "ParameterList", | ||
@@ -321,3 +321,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 1824, | ||
"id": 1813, | ||
"mutability": "mutable", | ||
@@ -327,4 +327,4 @@ "name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 1833, | ||
"src": "254:7:11", | ||
"scope": 1822, | ||
"src": "254:7:10", | ||
"stateVariable": false, | ||
@@ -337,6 +337,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1823, | ||
"id": 1812, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "254:7:11", | ||
"src": "254:7:10", | ||
"typeDescriptions": { | ||
@@ -350,6 +350,6 @@ "typeIdentifier": "t_uint256", | ||
], | ||
"src": "253:9:11" | ||
"src": "253:9:10" | ||
}, | ||
"scope": 1874, | ||
"src": "163:143:11", | ||
"scope": 1863, | ||
"src": "163:143:10", | ||
"stateMutability": "view", | ||
@@ -362,8 +362,8 @@ "virtual": false, | ||
"eventSelector": "91c51378108a32c94a7a206cd1e68deeb791b7e05c013442933b92b71401011c", | ||
"id": 1843, | ||
"id": 1832, | ||
"name": "DataSet", | ||
"nameLocation": "318:7:11", | ||
"nameLocation": "318:7:10", | ||
"nodeType": "EventDefinition", | ||
"parameters": { | ||
"id": 1842, | ||
"id": 1831, | ||
"nodeType": "ParameterList", | ||
@@ -373,10 +373,10 @@ "parameters": [ | ||
"constant": false, | ||
"id": 1835, | ||
"id": 1824, | ||
"indexed": true, | ||
"mutability": "mutable", | ||
"name": "by", | ||
"nameLocation": "351:2:11", | ||
"nameLocation": "351:2:10", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 1843, | ||
"src": "335:18:11", | ||
"scope": 1832, | ||
"src": "335:18:10", | ||
"stateVariable": false, | ||
@@ -389,6 +389,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1834, | ||
"id": 1823, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "335:7:11", | ||
"src": "335:7:10", | ||
"stateMutability": "nonpayable", | ||
@@ -404,10 +404,10 @@ "typeDescriptions": { | ||
"constant": false, | ||
"id": 1837, | ||
"id": 1826, | ||
"indexed": true, | ||
"mutability": "mutable", | ||
"name": "id", | ||
"nameLocation": "379:2:11", | ||
"nameLocation": "379:2:10", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 1843, | ||
"src": "363:18:11", | ||
"scope": 1832, | ||
"src": "363:18:10", | ||
"stateVariable": false, | ||
@@ -420,6 +420,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1836, | ||
"id": 1825, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "363:7:11", | ||
"src": "363:7:10", | ||
"typeDescriptions": { | ||
@@ -434,10 +434,10 @@ "typeIdentifier": "t_uint256", | ||
"constant": false, | ||
"id": 1839, | ||
"id": 1828, | ||
"indexed": true, | ||
"mutability": "mutable", | ||
"name": "slot", | ||
"nameLocation": "407:4:11", | ||
"nameLocation": "407:4:10", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 1843, | ||
"src": "391:20:11", | ||
"scope": 1832, | ||
"src": "391:20:10", | ||
"stateVariable": false, | ||
@@ -450,6 +450,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1838, | ||
"id": 1827, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "391:7:11", | ||
"src": "391:7:10", | ||
"typeDescriptions": { | ||
@@ -464,10 +464,10 @@ "typeIdentifier": "t_uint256", | ||
"constant": false, | ||
"id": 1841, | ||
"id": 1830, | ||
"indexed": false, | ||
"mutability": "mutable", | ||
"name": "value", | ||
"nameLocation": "429:5:11", | ||
"nameLocation": "429:5:10", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 1843, | ||
"src": "421:13:11", | ||
"scope": 1832, | ||
"src": "421:13:10", | ||
"stateVariable": false, | ||
@@ -480,6 +480,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1840, | ||
"id": 1829, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "421:7:11", | ||
"src": "421:7:10", | ||
"typeDescriptions": { | ||
@@ -493,15 +493,15 @@ "typeIdentifier": "t_uint256", | ||
], | ||
"src": "325:115:11" | ||
"src": "325:115:10" | ||
}, | ||
"src": "312:129:11" | ||
"src": "312:129:10" | ||
}, | ||
{ | ||
"body": { | ||
"id": 1872, | ||
"id": 1861, | ||
"nodeType": "Block", | ||
"src": "560:112:11", | ||
"src": "560:112:10", | ||
"statements": [ | ||
{ | ||
"expression": { | ||
"id": 1860, | ||
"id": 1849, | ||
"isConstant": false, | ||
@@ -514,8 +514,8 @@ "isLValue": false, | ||
"baseExpression": { | ||
"id": 1854, | ||
"id": 1843, | ||
"name": "_data", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1817, | ||
"src": "570:5:11", | ||
"referencedDeclaration": 1806, | ||
"src": "570:5:10", | ||
"typeDescriptions": { | ||
@@ -526,10 +526,10 @@ "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_uint256_$_t_uint256_$_$", | ||
}, | ||
"id": 1857, | ||
"id": 1846, | ||
"indexExpression": { | ||
"id": 1855, | ||
"id": 1844, | ||
"name": "id", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1845, | ||
"src": "576:2:11", | ||
"referencedDeclaration": 1834, | ||
"src": "576:2:10", | ||
"typeDescriptions": { | ||
@@ -545,3 +545,3 @@ "typeIdentifier": "t_uint256", | ||
"nodeType": "IndexAccess", | ||
"src": "570:9:11", | ||
"src": "570:9:10", | ||
"typeDescriptions": { | ||
@@ -552,10 +552,10 @@ "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", | ||
}, | ||
"id": 1858, | ||
"id": 1847, | ||
"indexExpression": { | ||
"id": 1856, | ||
"id": 1845, | ||
"name": "slot", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1847, | ||
"src": "580:4:11", | ||
"referencedDeclaration": 1836, | ||
"src": "580:4:10", | ||
"typeDescriptions": { | ||
@@ -571,3 +571,3 @@ "typeIdentifier": "t_uint256", | ||
"nodeType": "IndexAccess", | ||
"src": "570:15:11", | ||
"src": "570:15:10", | ||
"typeDescriptions": { | ||
@@ -581,8 +581,8 @@ "typeIdentifier": "t_uint256", | ||
"rightHandSide": { | ||
"id": 1859, | ||
"id": 1848, | ||
"name": "value", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1849, | ||
"src": "588:5:11", | ||
"referencedDeclaration": 1838, | ||
"src": "588:5:10", | ||
"typeDescriptions": { | ||
@@ -593,3 +593,3 @@ "typeIdentifier": "t_uint256", | ||
}, | ||
"src": "570:23:11", | ||
"src": "570:23:10", | ||
"typeDescriptions": { | ||
@@ -600,5 +600,5 @@ "typeIdentifier": "t_uint256", | ||
}, | ||
"id": 1861, | ||
"id": 1850, | ||
"nodeType": "ExpressionStatement", | ||
"src": "570:23:11" | ||
"src": "570:23:10" | ||
}, | ||
@@ -610,3 +610,3 @@ { | ||
"expression": { | ||
"id": 1863, | ||
"id": 1852, | ||
"name": "msg", | ||
@@ -616,3 +616,3 @@ "nodeType": "Identifier", | ||
"referencedDeclaration": 4294967281, | ||
"src": "616:3:11", | ||
"src": "616:3:10", | ||
"typeDescriptions": { | ||
@@ -623,3 +623,3 @@ "typeIdentifier": "t_magic_message", | ||
}, | ||
"id": 1864, | ||
"id": 1853, | ||
"isConstant": false, | ||
@@ -629,6 +629,6 @@ "isLValue": false, | ||
"lValueRequested": false, | ||
"memberLocation": "620:6:11", | ||
"memberLocation": "620:6:10", | ||
"memberName": "sender", | ||
"nodeType": "MemberAccess", | ||
"src": "616:10:11", | ||
"src": "616:10:10", | ||
"typeDescriptions": { | ||
@@ -640,8 +640,8 @@ "typeIdentifier": "t_address", | ||
{ | ||
"id": 1865, | ||
"id": 1854, | ||
"name": "id", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1845, | ||
"src": "628:2:11", | ||
"referencedDeclaration": 1834, | ||
"src": "628:2:10", | ||
"typeDescriptions": { | ||
@@ -653,8 +653,8 @@ "typeIdentifier": "t_uint256", | ||
{ | ||
"id": 1866, | ||
"id": 1855, | ||
"name": "slot", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1847, | ||
"src": "632:4:11", | ||
"referencedDeclaration": 1836, | ||
"src": "632:4:10", | ||
"typeDescriptions": { | ||
@@ -666,8 +666,8 @@ "typeIdentifier": "t_uint256", | ||
{ | ||
"id": 1867, | ||
"id": 1856, | ||
"name": "value", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1849, | ||
"src": "638:5:11", | ||
"referencedDeclaration": 1838, | ||
"src": "638:5:10", | ||
"typeDescriptions": { | ||
@@ -698,8 +698,8 @@ "typeIdentifier": "t_uint256", | ||
], | ||
"id": 1862, | ||
"id": 1851, | ||
"name": "DataSet", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1843, | ||
"src": "608:7:11", | ||
"referencedDeclaration": 1832, | ||
"src": "608:7:10", | ||
"typeDescriptions": { | ||
@@ -710,3 +710,3 @@ "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$_t_uint256_$_t_uint256_$returns$__$", | ||
}, | ||
"id": 1868, | ||
"id": 1857, | ||
"isConstant": false, | ||
@@ -720,3 +720,3 @@ "isLValue": false, | ||
"nodeType": "FunctionCall", | ||
"src": "608:36:11", | ||
"src": "608:36:10", | ||
"tryCall": false, | ||
@@ -728,5 +728,5 @@ "typeDescriptions": { | ||
}, | ||
"id": 1869, | ||
"id": 1858, | ||
"nodeType": "EmitStatement", | ||
"src": "603:41:11" | ||
"src": "603:41:10" | ||
}, | ||
@@ -736,3 +736,3 @@ { | ||
"hexValue": "74727565", | ||
"id": 1870, | ||
"id": 1859, | ||
"isConstant": false, | ||
@@ -744,3 +744,3 @@ "isLValue": false, | ||
"nodeType": "Literal", | ||
"src": "661:4:11", | ||
"src": "661:4:10", | ||
"typeDescriptions": { | ||
@@ -752,10 +752,10 @@ "typeIdentifier": "t_bool", | ||
}, | ||
"functionReturnParameters": 1853, | ||
"id": 1871, | ||
"functionReturnParameters": 1842, | ||
"id": 1860, | ||
"nodeType": "Return", | ||
"src": "654:11:11" | ||
"src": "654:11:10" | ||
} | ||
] | ||
}, | ||
"id": 1873, | ||
"id": 1862, | ||
"implemented": true, | ||
@@ -765,6 +765,6 @@ "kind": "function", | ||
"name": "_setData", | ||
"nameLocation": "456:8:11", | ||
"nameLocation": "456:8:10", | ||
"nodeType": "FunctionDefinition", | ||
"parameters": { | ||
"id": 1850, | ||
"id": 1839, | ||
"nodeType": "ParameterList", | ||
@@ -774,9 +774,9 @@ "parameters": [ | ||
"constant": false, | ||
"id": 1845, | ||
"id": 1834, | ||
"mutability": "mutable", | ||
"name": "id", | ||
"nameLocation": "482:2:11", | ||
"nameLocation": "482:2:10", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 1873, | ||
"src": "474:10:11", | ||
"scope": 1862, | ||
"src": "474:10:10", | ||
"stateVariable": false, | ||
@@ -789,6 +789,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1844, | ||
"id": 1833, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "474:7:11", | ||
"src": "474:7:10", | ||
"typeDescriptions": { | ||
@@ -803,9 +803,9 @@ "typeIdentifier": "t_uint256", | ||
"constant": false, | ||
"id": 1847, | ||
"id": 1836, | ||
"mutability": "mutable", | ||
"name": "slot", | ||
"nameLocation": "502:4:11", | ||
"nameLocation": "502:4:10", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 1873, | ||
"src": "494:12:11", | ||
"scope": 1862, | ||
"src": "494:12:10", | ||
"stateVariable": false, | ||
@@ -818,6 +818,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1846, | ||
"id": 1835, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "494:7:11", | ||
"src": "494:7:10", | ||
"typeDescriptions": { | ||
@@ -832,9 +832,9 @@ "typeIdentifier": "t_uint256", | ||
"constant": false, | ||
"id": 1849, | ||
"id": 1838, | ||
"mutability": "mutable", | ||
"name": "value", | ||
"nameLocation": "524:5:11", | ||
"nameLocation": "524:5:10", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 1873, | ||
"src": "516:13:11", | ||
"scope": 1862, | ||
"src": "516:13:10", | ||
"stateVariable": false, | ||
@@ -847,6 +847,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1848, | ||
"id": 1837, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "516:7:11", | ||
"src": "516:7:10", | ||
"typeDescriptions": { | ||
@@ -860,6 +860,6 @@ "typeIdentifier": "t_uint256", | ||
], | ||
"src": "464:71:11" | ||
"src": "464:71:10" | ||
}, | ||
"returnParameters": { | ||
"id": 1853, | ||
"id": 1842, | ||
"nodeType": "ParameterList", | ||
@@ -869,3 +869,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 1852, | ||
"id": 1841, | ||
"mutability": "mutable", | ||
@@ -875,4 +875,4 @@ "name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 1873, | ||
"src": "554:4:11", | ||
"scope": 1862, | ||
"src": "554:4:10", | ||
"stateVariable": false, | ||
@@ -885,6 +885,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1851, | ||
"id": 1840, | ||
"name": "bool", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "554:4:11", | ||
"src": "554:4:10", | ||
"typeDescriptions": { | ||
@@ -898,6 +898,6 @@ "typeIdentifier": "t_bool", | ||
], | ||
"src": "553:6:11" | ||
"src": "553:6:10" | ||
}, | ||
"scope": 1874, | ||
"src": "447:225:11", | ||
"scope": 1863, | ||
"src": "447:225:10", | ||
"stateMutability": "nonpayable", | ||
@@ -908,8 +908,8 @@ "virtual": false, | ||
], | ||
"scope": 1875, | ||
"src": "61:613:11", | ||
"scope": 1864, | ||
"src": "61:613:10", | ||
"usedErrors": [] | ||
} | ||
], | ||
"src": "36:639:11" | ||
"src": "36:639:10" | ||
}, | ||
@@ -921,4 +921,4 @@ "compiler": { | ||
"networks": {}, | ||
"schemaVersion": "3.4.10", | ||
"updatedAt": "2022-10-31T18:28:00.419Z", | ||
"schemaVersion": "3.4.11", | ||
"updatedAt": "2023-01-29T19:40:22.333Z", | ||
"devdoc": { | ||
@@ -925,0 +925,0 @@ "kind": "dev", |
{ | ||
"contractName": "Erc721Store", | ||
"abi": [], | ||
"metadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/src/contracts/Erc721Store.sol\":\"Erc721Store\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0xed6a749c5373af398105ce6ee3ac4763aa450ea7285d268c85d9eeca809cdb1f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://20a97f891d06f0fe91560ea1a142aaa26fdd22bed1b51606b7d48f670deeb50f\",\"dweb:/ipfs/QmTbCtZKChpaX5H2iRiTDMcSz29GSLCpTCDgJpcMR4wg8x\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]},\"project:/src/contracts/Erc721Store.sol\":{\"keccak256\":\"0xb30d2e6599a3e73a96f7ce609cbcc6577249e5591f2087ee2bb86b39627852c7\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://141b871ad678fcc4ef8ed221ab1980eaef88c75d30f462217c97124da69cccd9\",\"dweb:/ipfs/QmTHfHe3b9p7rAumuiDnbRKeoN84rxj62wRSZgYCDAoK7n\"]}},\"version\":1}", | ||
"metadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/src/erc721/contracts/Erc721Store.sol\":\"Erc721Store\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0xab28a56179c1db258c9bf5235b382698cb650debecb51b23d12be9e241374b68\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://daae589a9d6fa7e55f99f86c0a16796ca490f243fb3693632c3711c0646c1d56\",\"dweb:/ipfs/QmR3zpd7wNw3rcUdekwiv6FYHJqksuTCXLVioTxu6Fbxk3\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]},\"project:/src/erc721/contracts/Erc721Store.sol\":{\"keccak256\":\"0xb30d2e6599a3e73a96f7ce609cbcc6577249e5591f2087ee2bb86b39627852c7\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://141b871ad678fcc4ef8ed221ab1980eaef88c75d30f462217c97124da69cccd9\",\"dweb:/ipfs/QmTHfHe3b9p7rAumuiDnbRKeoN84rxj62wRSZgYCDAoK7n\"]}},\"version\":1}", | ||
"bytecode": "0x", | ||
@@ -13,17 +13,17 @@ "deployedBytecode": "0x", | ||
"source": "// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/token/ERC721/IERC721.sol\";\n\nabstract contract Erc721Store {\n mapping(uint256 => mapping(IERC721 => mapping(uint256 => bool)))\n private _erc721tokenStore;\n\n function _depositErc721(\n uint256 id,\n IERC721 token,\n uint256 tokenId\n ) internal returns (bool) {\n token.safeTransferFrom(msg.sender, address(this), tokenId);\n _erc721tokenStore[id][token][tokenId] = true;\n return true;\n }\n\n function _withdrawErc721(\n uint256 id,\n IERC721 token,\n uint256 tokenId\n ) internal returns (bool) {\n _erc721tokenStore[id][token][tokenId] = false;\n token.safeTransferFrom(address(this), msg.sender, tokenId);\n return true;\n }\n\n function _containsErc721(\n uint256 id,\n IERC721 token,\n uint256 tokenId\n ) internal view returns (bool) {\n return _erc721tokenStore[id][token][tokenId];\n }\n}\n", | ||
"sourcePath": "/Users/arietrouw/GitHub/XYOracleNetwork/sdk-xyo-typechain/packages/solidity/src/contracts/Erc721Store.sol", | ||
"sourcePath": "/Users/arietrouw/GitHub/XYOracleNetwork/sdk-xyo-typechain/packages/solidity/src/erc721/contracts/Erc721Store.sol", | ||
"ast": { | ||
"absolutePath": "project:/src/contracts/Erc721Store.sol", | ||
"absolutePath": "project:/src/erc721/contracts/Erc721Store.sol", | ||
"exportedSymbols": { | ||
"Erc721Store": [ | ||
2127 | ||
2210 | ||
], | ||
"IERC165": [ | ||
1450 | ||
1486 | ||
], | ||
"IERC721": [ | ||
1121 | ||
1122 | ||
] | ||
}, | ||
"id": 2128, | ||
"id": 2211, | ||
"license": "GPL-3.0", | ||
@@ -33,3 +33,3 @@ "nodeType": "SourceUnit", | ||
{ | ||
"id": 2021, | ||
"id": 2104, | ||
"literals": [ | ||
@@ -42,3 +42,3 @@ "solidity", | ||
"nodeType": "PragmaDirective", | ||
"src": "36:23:13" | ||
"src": "36:23:15" | ||
}, | ||
@@ -48,8 +48,8 @@ { | ||
"file": "@openzeppelin/contracts/token/ERC721/IERC721.sol", | ||
"id": 2022, | ||
"id": 2105, | ||
"nameLocation": "-1:-1:-1", | ||
"nodeType": "ImportDirective", | ||
"scope": 2128, | ||
"sourceUnit": 1122, | ||
"src": "61:58:13", | ||
"scope": 2211, | ||
"sourceUnit": 1123, | ||
"src": "61:58:15", | ||
"symbolAliases": [], | ||
@@ -65,8 +65,8 @@ "unitAlias": "" | ||
"fullyImplemented": true, | ||
"id": 2127, | ||
"id": 2210, | ||
"linearizedBaseContracts": [ | ||
2127 | ||
2210 | ||
], | ||
"name": "Erc721Store", | ||
"nameLocation": "139:11:13", | ||
"nameLocation": "139:11:15", | ||
"nodeType": "ContractDefinition", | ||
@@ -76,22 +76,22 @@ "nodes": [ | ||
"constant": false, | ||
"id": 2031, | ||
"id": 2114, | ||
"mutability": "mutable", | ||
"name": "_erc721tokenStore", | ||
"nameLocation": "238:17:13", | ||
"nameLocation": "238:17:15", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2127, | ||
"src": "157:98:13", | ||
"scope": 2210, | ||
"src": "157:98:15", | ||
"stateVariable": true, | ||
"storageLocation": "default", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_contract$_IERC721_$1121_$_t_mapping$_t_uint256_$_t_bool_$_$_$", | ||
"typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_contract$_IERC721_$1122_$_t_mapping$_t_uint256_$_t_bool_$_$_$", | ||
"typeString": "mapping(uint256 => mapping(contract IERC721 => mapping(uint256 => bool)))" | ||
}, | ||
"typeName": { | ||
"id": 2030, | ||
"id": 2113, | ||
"keyType": { | ||
"id": 2023, | ||
"id": 2106, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "165:7:13", | ||
"src": "165:7:15", | ||
"typeDescriptions": { | ||
@@ -103,26 +103,26 @@ "typeIdentifier": "t_uint256", | ||
"nodeType": "Mapping", | ||
"src": "157:64:13", | ||
"src": "157:64:15", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_contract$_IERC721_$1121_$_t_mapping$_t_uint256_$_t_bool_$_$_$", | ||
"typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_contract$_IERC721_$1122_$_t_mapping$_t_uint256_$_t_bool_$_$_$", | ||
"typeString": "mapping(uint256 => mapping(contract IERC721 => mapping(uint256 => bool)))" | ||
}, | ||
"valueType": { | ||
"id": 2029, | ||
"id": 2112, | ||
"keyType": { | ||
"id": 2025, | ||
"id": 2108, | ||
"nodeType": "UserDefinedTypeName", | ||
"pathNode": { | ||
"id": 2024, | ||
"id": 2107, | ||
"name": "IERC721", | ||
"nameLocations": [ | ||
"184:7:13" | ||
"184:7:15" | ||
], | ||
"nodeType": "IdentifierPath", | ||
"referencedDeclaration": 1121, | ||
"src": "184:7:13" | ||
"referencedDeclaration": 1122, | ||
"src": "184:7:15" | ||
}, | ||
"referencedDeclaration": 1121, | ||
"src": "184:7:13", | ||
"referencedDeclaration": 1122, | ||
"src": "184:7:15", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_IERC721_$1121", | ||
"typeIdentifier": "t_contract$_IERC721_$1122", | ||
"typeString": "contract IERC721" | ||
@@ -132,14 +132,14 @@ } | ||
"nodeType": "Mapping", | ||
"src": "176:44:13", | ||
"src": "176:44:15", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_mapping$_t_contract$_IERC721_$1121_$_t_mapping$_t_uint256_$_t_bool_$_$", | ||
"typeIdentifier": "t_mapping$_t_contract$_IERC721_$1122_$_t_mapping$_t_uint256_$_t_bool_$_$", | ||
"typeString": "mapping(contract IERC721 => mapping(uint256 => bool))" | ||
}, | ||
"valueType": { | ||
"id": 2028, | ||
"id": 2111, | ||
"keyType": { | ||
"id": 2026, | ||
"id": 2109, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "203:7:13", | ||
"src": "203:7:15", | ||
"typeDescriptions": { | ||
@@ -151,3 +151,3 @@ "typeIdentifier": "t_uint256", | ||
"nodeType": "Mapping", | ||
"src": "195:24:13", | ||
"src": "195:24:15", | ||
"typeDescriptions": { | ||
@@ -158,6 +158,6 @@ "typeIdentifier": "t_mapping$_t_uint256_$_t_bool_$", | ||
"valueType": { | ||
"id": 2027, | ||
"id": 2110, | ||
"name": "bool", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "214:4:13", | ||
"src": "214:4:15", | ||
"typeDescriptions": { | ||
@@ -175,5 +175,5 @@ "typeIdentifier": "t_bool", | ||
"body": { | ||
"id": 2067, | ||
"id": 2150, | ||
"nodeType": "Block", | ||
"src": "384:150:13", | ||
"src": "384:150:15", | ||
"statements": [ | ||
@@ -185,3 +185,3 @@ { | ||
"expression": { | ||
"id": 2046, | ||
"id": 2129, | ||
"name": "msg", | ||
@@ -191,3 +191,3 @@ "nodeType": "Identifier", | ||
"referencedDeclaration": 4294967281, | ||
"src": "417:3:13", | ||
"src": "417:3:15", | ||
"typeDescriptions": { | ||
@@ -198,3 +198,3 @@ "typeIdentifier": "t_magic_message", | ||
}, | ||
"id": 2047, | ||
"id": 2130, | ||
"isConstant": false, | ||
@@ -204,6 +204,6 @@ "isLValue": false, | ||
"lValueRequested": false, | ||
"memberLocation": "421:6:13", | ||
"memberLocation": "421:6:15", | ||
"memberName": "sender", | ||
"nodeType": "MemberAccess", | ||
"src": "417:10:13", | ||
"src": "417:10:15", | ||
"typeDescriptions": { | ||
@@ -217,3 +217,3 @@ "typeIdentifier": "t_address", | ||
{ | ||
"id": 2050, | ||
"id": 2133, | ||
"name": "this", | ||
@@ -223,5 +223,5 @@ "nodeType": "Identifier", | ||
"referencedDeclaration": 4294967268, | ||
"src": "437:4:13", | ||
"src": "437:4:15", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_Erc721Store_$2127", | ||
"typeIdentifier": "t_contract$_Erc721Store_$2210", | ||
"typeString": "contract Erc721Store" | ||
@@ -234,7 +234,7 @@ } | ||
{ | ||
"typeIdentifier": "t_contract$_Erc721Store_$2127", | ||
"typeIdentifier": "t_contract$_Erc721Store_$2210", | ||
"typeString": "contract Erc721Store" | ||
} | ||
], | ||
"id": 2049, | ||
"id": 2132, | ||
"isConstant": false, | ||
@@ -245,3 +245,3 @@ "isLValue": false, | ||
"nodeType": "ElementaryTypeNameExpression", | ||
"src": "429:7:13", | ||
"src": "429:7:15", | ||
"typeDescriptions": { | ||
@@ -252,10 +252,10 @@ "typeIdentifier": "t_type$_t_address_$", | ||
"typeName": { | ||
"id": 2048, | ||
"id": 2131, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "429:7:13", | ||
"src": "429:7:15", | ||
"typeDescriptions": {} | ||
} | ||
}, | ||
"id": 2051, | ||
"id": 2134, | ||
"isConstant": false, | ||
@@ -269,3 +269,3 @@ "isLValue": false, | ||
"nodeType": "FunctionCall", | ||
"src": "429:13:13", | ||
"src": "429:13:15", | ||
"tryCall": false, | ||
@@ -278,8 +278,8 @@ "typeDescriptions": { | ||
{ | ||
"id": 2052, | ||
"id": 2135, | ||
"name": "tokenId", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2038, | ||
"src": "444:7:13", | ||
"referencedDeclaration": 2121, | ||
"src": "444:7:15", | ||
"typeDescriptions": { | ||
@@ -307,14 +307,14 @@ "typeIdentifier": "t_uint256", | ||
"expression": { | ||
"id": 2043, | ||
"id": 2126, | ||
"name": "token", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2036, | ||
"src": "394:5:13", | ||
"referencedDeclaration": 2119, | ||
"src": "394:5:15", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_IERC721_$1121", | ||
"typeIdentifier": "t_contract$_IERC721_$1122", | ||
"typeString": "contract IERC721" | ||
} | ||
}, | ||
"id": 2045, | ||
"id": 2128, | ||
"isConstant": false, | ||
@@ -324,7 +324,7 @@ "isLValue": false, | ||
"lValueRequested": false, | ||
"memberLocation": "400:16:13", | ||
"memberLocation": "400:16:15", | ||
"memberName": "safeTransferFrom", | ||
"nodeType": "MemberAccess", | ||
"referencedDeclaration": 1076, | ||
"src": "394:22:13", | ||
"referencedDeclaration": 1077, | ||
"src": "394:22:15", | ||
"typeDescriptions": { | ||
@@ -335,3 +335,3 @@ "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", | ||
}, | ||
"id": 2053, | ||
"id": 2136, | ||
"isConstant": false, | ||
@@ -345,3 +345,3 @@ "isLValue": false, | ||
"nodeType": "FunctionCall", | ||
"src": "394:58:13", | ||
"src": "394:58:15", | ||
"tryCall": false, | ||
@@ -353,9 +353,9 @@ "typeDescriptions": { | ||
}, | ||
"id": 2054, | ||
"id": 2137, | ||
"nodeType": "ExpressionStatement", | ||
"src": "394:58:13" | ||
"src": "394:58:15" | ||
}, | ||
{ | ||
"expression": { | ||
"id": 2063, | ||
"id": 2146, | ||
"isConstant": false, | ||
@@ -369,21 +369,21 @@ "isLValue": false, | ||
"baseExpression": { | ||
"id": 2055, | ||
"id": 2138, | ||
"name": "_erc721tokenStore", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2031, | ||
"src": "462:17:13", | ||
"referencedDeclaration": 2114, | ||
"src": "462:17:15", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_contract$_IERC721_$1121_$_t_mapping$_t_uint256_$_t_bool_$_$_$", | ||
"typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_contract$_IERC721_$1122_$_t_mapping$_t_uint256_$_t_bool_$_$_$", | ||
"typeString": "mapping(uint256 => mapping(contract IERC721 => mapping(uint256 => bool)))" | ||
} | ||
}, | ||
"id": 2059, | ||
"id": 2142, | ||
"indexExpression": { | ||
"id": 2056, | ||
"id": 2139, | ||
"name": "id", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2033, | ||
"src": "480:2:13", | ||
"referencedDeclaration": 2116, | ||
"src": "480:2:15", | ||
"typeDescriptions": { | ||
@@ -399,18 +399,18 @@ "typeIdentifier": "t_uint256", | ||
"nodeType": "IndexAccess", | ||
"src": "462:21:13", | ||
"src": "462:21:15", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_mapping$_t_contract$_IERC721_$1121_$_t_mapping$_t_uint256_$_t_bool_$_$", | ||
"typeIdentifier": "t_mapping$_t_contract$_IERC721_$1122_$_t_mapping$_t_uint256_$_t_bool_$_$", | ||
"typeString": "mapping(contract IERC721 => mapping(uint256 => bool))" | ||
} | ||
}, | ||
"id": 2060, | ||
"id": 2143, | ||
"indexExpression": { | ||
"id": 2057, | ||
"id": 2140, | ||
"name": "token", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2036, | ||
"src": "484:5:13", | ||
"referencedDeclaration": 2119, | ||
"src": "484:5:15", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_IERC721_$1121", | ||
"typeIdentifier": "t_contract$_IERC721_$1122", | ||
"typeString": "contract IERC721" | ||
@@ -424,3 +424,3 @@ } | ||
"nodeType": "IndexAccess", | ||
"src": "462:28:13", | ||
"src": "462:28:15", | ||
"typeDescriptions": { | ||
@@ -431,10 +431,10 @@ "typeIdentifier": "t_mapping$_t_uint256_$_t_bool_$", | ||
}, | ||
"id": 2061, | ||
"id": 2144, | ||
"indexExpression": { | ||
"id": 2058, | ||
"id": 2141, | ||
"name": "tokenId", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2038, | ||
"src": "491:7:13", | ||
"referencedDeclaration": 2121, | ||
"src": "491:7:15", | ||
"typeDescriptions": { | ||
@@ -450,3 +450,3 @@ "typeIdentifier": "t_uint256", | ||
"nodeType": "IndexAccess", | ||
"src": "462:37:13", | ||
"src": "462:37:15", | ||
"typeDescriptions": { | ||
@@ -461,3 +461,3 @@ "typeIdentifier": "t_bool", | ||
"hexValue": "74727565", | ||
"id": 2062, | ||
"id": 2145, | ||
"isConstant": false, | ||
@@ -469,3 +469,3 @@ "isLValue": false, | ||
"nodeType": "Literal", | ||
"src": "502:4:13", | ||
"src": "502:4:15", | ||
"typeDescriptions": { | ||
@@ -477,3 +477,3 @@ "typeIdentifier": "t_bool", | ||
}, | ||
"src": "462:44:13", | ||
"src": "462:44:15", | ||
"typeDescriptions": { | ||
@@ -484,5 +484,5 @@ "typeIdentifier": "t_bool", | ||
}, | ||
"id": 2064, | ||
"id": 2147, | ||
"nodeType": "ExpressionStatement", | ||
"src": "462:44:13" | ||
"src": "462:44:15" | ||
}, | ||
@@ -492,3 +492,3 @@ { | ||
"hexValue": "74727565", | ||
"id": 2065, | ||
"id": 2148, | ||
"isConstant": false, | ||
@@ -500,3 +500,3 @@ "isLValue": false, | ||
"nodeType": "Literal", | ||
"src": "523:4:13", | ||
"src": "523:4:15", | ||
"typeDescriptions": { | ||
@@ -508,10 +508,10 @@ "typeIdentifier": "t_bool", | ||
}, | ||
"functionReturnParameters": 2042, | ||
"id": 2066, | ||
"functionReturnParameters": 2125, | ||
"id": 2149, | ||
"nodeType": "Return", | ||
"src": "516:11:13" | ||
"src": "516:11:15" | ||
} | ||
] | ||
}, | ||
"id": 2068, | ||
"id": 2151, | ||
"implemented": true, | ||
@@ -521,6 +521,6 @@ "kind": "function", | ||
"name": "_depositErc721", | ||
"nameLocation": "271:14:13", | ||
"nameLocation": "271:14:15", | ||
"nodeType": "FunctionDefinition", | ||
"parameters": { | ||
"id": 2039, | ||
"id": 2122, | ||
"nodeType": "ParameterList", | ||
@@ -530,9 +530,9 @@ "parameters": [ | ||
"constant": false, | ||
"id": 2033, | ||
"id": 2116, | ||
"mutability": "mutable", | ||
"name": "id", | ||
"nameLocation": "303:2:13", | ||
"nameLocation": "303:2:15", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2068, | ||
"src": "295:10:13", | ||
"scope": 2151, | ||
"src": "295:10:15", | ||
"stateVariable": false, | ||
@@ -545,6 +545,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 2032, | ||
"id": 2115, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "295:7:13", | ||
"src": "295:7:15", | ||
"typeDescriptions": { | ||
@@ -559,32 +559,32 @@ "typeIdentifier": "t_uint256", | ||
"constant": false, | ||
"id": 2036, | ||
"id": 2119, | ||
"mutability": "mutable", | ||
"name": "token", | ||
"nameLocation": "323:5:13", | ||
"nameLocation": "323:5:15", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2068, | ||
"src": "315:13:13", | ||
"scope": 2151, | ||
"src": "315:13:15", | ||
"stateVariable": false, | ||
"storageLocation": "default", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_IERC721_$1121", | ||
"typeIdentifier": "t_contract$_IERC721_$1122", | ||
"typeString": "contract IERC721" | ||
}, | ||
"typeName": { | ||
"id": 2035, | ||
"id": 2118, | ||
"nodeType": "UserDefinedTypeName", | ||
"pathNode": { | ||
"id": 2034, | ||
"id": 2117, | ||
"name": "IERC721", | ||
"nameLocations": [ | ||
"315:7:13" | ||
"315:7:15" | ||
], | ||
"nodeType": "IdentifierPath", | ||
"referencedDeclaration": 1121, | ||
"src": "315:7:13" | ||
"referencedDeclaration": 1122, | ||
"src": "315:7:15" | ||
}, | ||
"referencedDeclaration": 1121, | ||
"src": "315:7:13", | ||
"referencedDeclaration": 1122, | ||
"src": "315:7:15", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_IERC721_$1121", | ||
"typeIdentifier": "t_contract$_IERC721_$1122", | ||
"typeString": "contract IERC721" | ||
@@ -597,9 +597,9 @@ } | ||
"constant": false, | ||
"id": 2038, | ||
"id": 2121, | ||
"mutability": "mutable", | ||
"name": "tokenId", | ||
"nameLocation": "346:7:13", | ||
"nameLocation": "346:7:15", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2068, | ||
"src": "338:15:13", | ||
"scope": 2151, | ||
"src": "338:15:15", | ||
"stateVariable": false, | ||
@@ -612,6 +612,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 2037, | ||
"id": 2120, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "338:7:13", | ||
"src": "338:7:15", | ||
"typeDescriptions": { | ||
@@ -625,6 +625,6 @@ "typeIdentifier": "t_uint256", | ||
], | ||
"src": "285:74:13" | ||
"src": "285:74:15" | ||
}, | ||
"returnParameters": { | ||
"id": 2042, | ||
"id": 2125, | ||
"nodeType": "ParameterList", | ||
@@ -634,3 +634,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 2041, | ||
"id": 2124, | ||
"mutability": "mutable", | ||
@@ -640,4 +640,4 @@ "name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2068, | ||
"src": "378:4:13", | ||
"scope": 2151, | ||
"src": "378:4:15", | ||
"stateVariable": false, | ||
@@ -650,6 +650,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 2040, | ||
"id": 2123, | ||
"name": "bool", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "378:4:13", | ||
"src": "378:4:15", | ||
"typeDescriptions": { | ||
@@ -663,6 +663,6 @@ "typeIdentifier": "t_bool", | ||
], | ||
"src": "377:6:13" | ||
"src": "377:6:15" | ||
}, | ||
"scope": 2127, | ||
"src": "262:272:13", | ||
"scope": 2210, | ||
"src": "262:272:15", | ||
"stateMutability": "nonpayable", | ||
@@ -674,9 +674,9 @@ "virtual": false, | ||
"body": { | ||
"id": 2104, | ||
"id": 2187, | ||
"nodeType": "Block", | ||
"src": "663:151:13", | ||
"src": "663:151:15", | ||
"statements": [ | ||
{ | ||
"expression": { | ||
"id": 2088, | ||
"id": 2171, | ||
"isConstant": false, | ||
@@ -690,21 +690,21 @@ "isLValue": false, | ||
"baseExpression": { | ||
"id": 2080, | ||
"id": 2163, | ||
"name": "_erc721tokenStore", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2031, | ||
"src": "673:17:13", | ||
"referencedDeclaration": 2114, | ||
"src": "673:17:15", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_contract$_IERC721_$1121_$_t_mapping$_t_uint256_$_t_bool_$_$_$", | ||
"typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_contract$_IERC721_$1122_$_t_mapping$_t_uint256_$_t_bool_$_$_$", | ||
"typeString": "mapping(uint256 => mapping(contract IERC721 => mapping(uint256 => bool)))" | ||
} | ||
}, | ||
"id": 2084, | ||
"id": 2167, | ||
"indexExpression": { | ||
"id": 2081, | ||
"id": 2164, | ||
"name": "id", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2070, | ||
"src": "691:2:13", | ||
"referencedDeclaration": 2153, | ||
"src": "691:2:15", | ||
"typeDescriptions": { | ||
@@ -720,18 +720,18 @@ "typeIdentifier": "t_uint256", | ||
"nodeType": "IndexAccess", | ||
"src": "673:21:13", | ||
"src": "673:21:15", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_mapping$_t_contract$_IERC721_$1121_$_t_mapping$_t_uint256_$_t_bool_$_$", | ||
"typeIdentifier": "t_mapping$_t_contract$_IERC721_$1122_$_t_mapping$_t_uint256_$_t_bool_$_$", | ||
"typeString": "mapping(contract IERC721 => mapping(uint256 => bool))" | ||
} | ||
}, | ||
"id": 2085, | ||
"id": 2168, | ||
"indexExpression": { | ||
"id": 2082, | ||
"id": 2165, | ||
"name": "token", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2073, | ||
"src": "695:5:13", | ||
"referencedDeclaration": 2156, | ||
"src": "695:5:15", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_IERC721_$1121", | ||
"typeIdentifier": "t_contract$_IERC721_$1122", | ||
"typeString": "contract IERC721" | ||
@@ -745,3 +745,3 @@ } | ||
"nodeType": "IndexAccess", | ||
"src": "673:28:13", | ||
"src": "673:28:15", | ||
"typeDescriptions": { | ||
@@ -752,10 +752,10 @@ "typeIdentifier": "t_mapping$_t_uint256_$_t_bool_$", | ||
}, | ||
"id": 2086, | ||
"id": 2169, | ||
"indexExpression": { | ||
"id": 2083, | ||
"id": 2166, | ||
"name": "tokenId", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2075, | ||
"src": "702:7:13", | ||
"referencedDeclaration": 2158, | ||
"src": "702:7:15", | ||
"typeDescriptions": { | ||
@@ -771,3 +771,3 @@ "typeIdentifier": "t_uint256", | ||
"nodeType": "IndexAccess", | ||
"src": "673:37:13", | ||
"src": "673:37:15", | ||
"typeDescriptions": { | ||
@@ -782,3 +782,3 @@ "typeIdentifier": "t_bool", | ||
"hexValue": "66616c7365", | ||
"id": 2087, | ||
"id": 2170, | ||
"isConstant": false, | ||
@@ -790,3 +790,3 @@ "isLValue": false, | ||
"nodeType": "Literal", | ||
"src": "713:5:13", | ||
"src": "713:5:15", | ||
"typeDescriptions": { | ||
@@ -798,3 +798,3 @@ "typeIdentifier": "t_bool", | ||
}, | ||
"src": "673:45:13", | ||
"src": "673:45:15", | ||
"typeDescriptions": { | ||
@@ -805,5 +805,5 @@ "typeIdentifier": "t_bool", | ||
}, | ||
"id": 2089, | ||
"id": 2172, | ||
"nodeType": "ExpressionStatement", | ||
"src": "673:45:13" | ||
"src": "673:45:15" | ||
}, | ||
@@ -816,3 +816,3 @@ { | ||
{ | ||
"id": 2095, | ||
"id": 2178, | ||
"name": "this", | ||
@@ -822,5 +822,5 @@ "nodeType": "Identifier", | ||
"referencedDeclaration": 4294967268, | ||
"src": "759:4:13", | ||
"src": "759:4:15", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_Erc721Store_$2127", | ||
"typeIdentifier": "t_contract$_Erc721Store_$2210", | ||
"typeString": "contract Erc721Store" | ||
@@ -833,7 +833,7 @@ } | ||
{ | ||
"typeIdentifier": "t_contract$_Erc721Store_$2127", | ||
"typeIdentifier": "t_contract$_Erc721Store_$2210", | ||
"typeString": "contract Erc721Store" | ||
} | ||
], | ||
"id": 2094, | ||
"id": 2177, | ||
"isConstant": false, | ||
@@ -844,3 +844,3 @@ "isLValue": false, | ||
"nodeType": "ElementaryTypeNameExpression", | ||
"src": "751:7:13", | ||
"src": "751:7:15", | ||
"typeDescriptions": { | ||
@@ -851,10 +851,10 @@ "typeIdentifier": "t_type$_t_address_$", | ||
"typeName": { | ||
"id": 2093, | ||
"id": 2176, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "751:7:13", | ||
"src": "751:7:15", | ||
"typeDescriptions": {} | ||
} | ||
}, | ||
"id": 2096, | ||
"id": 2179, | ||
"isConstant": false, | ||
@@ -868,3 +868,3 @@ "isLValue": false, | ||
"nodeType": "FunctionCall", | ||
"src": "751:13:13", | ||
"src": "751:13:15", | ||
"tryCall": false, | ||
@@ -878,3 +878,3 @@ "typeDescriptions": { | ||
"expression": { | ||
"id": 2097, | ||
"id": 2180, | ||
"name": "msg", | ||
@@ -884,3 +884,3 @@ "nodeType": "Identifier", | ||
"referencedDeclaration": 4294967281, | ||
"src": "766:3:13", | ||
"src": "766:3:15", | ||
"typeDescriptions": { | ||
@@ -891,3 +891,3 @@ "typeIdentifier": "t_magic_message", | ||
}, | ||
"id": 2098, | ||
"id": 2181, | ||
"isConstant": false, | ||
@@ -897,6 +897,6 @@ "isLValue": false, | ||
"lValueRequested": false, | ||
"memberLocation": "770:6:13", | ||
"memberLocation": "770:6:15", | ||
"memberName": "sender", | ||
"nodeType": "MemberAccess", | ||
"src": "766:10:13", | ||
"src": "766:10:15", | ||
"typeDescriptions": { | ||
@@ -908,8 +908,8 @@ "typeIdentifier": "t_address", | ||
{ | ||
"id": 2099, | ||
"id": 2182, | ||
"name": "tokenId", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2075, | ||
"src": "778:7:13", | ||
"referencedDeclaration": 2158, | ||
"src": "778:7:15", | ||
"typeDescriptions": { | ||
@@ -937,14 +937,14 @@ "typeIdentifier": "t_uint256", | ||
"expression": { | ||
"id": 2090, | ||
"id": 2173, | ||
"name": "token", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2073, | ||
"src": "728:5:13", | ||
"referencedDeclaration": 2156, | ||
"src": "728:5:15", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_IERC721_$1121", | ||
"typeIdentifier": "t_contract$_IERC721_$1122", | ||
"typeString": "contract IERC721" | ||
} | ||
}, | ||
"id": 2092, | ||
"id": 2175, | ||
"isConstant": false, | ||
@@ -954,7 +954,7 @@ "isLValue": false, | ||
"lValueRequested": false, | ||
"memberLocation": "734:16:13", | ||
"memberLocation": "734:16:15", | ||
"memberName": "safeTransferFrom", | ||
"nodeType": "MemberAccess", | ||
"referencedDeclaration": 1076, | ||
"src": "728:22:13", | ||
"referencedDeclaration": 1077, | ||
"src": "728:22:15", | ||
"typeDescriptions": { | ||
@@ -965,3 +965,3 @@ "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", | ||
}, | ||
"id": 2100, | ||
"id": 2183, | ||
"isConstant": false, | ||
@@ -975,3 +975,3 @@ "isLValue": false, | ||
"nodeType": "FunctionCall", | ||
"src": "728:58:13", | ||
"src": "728:58:15", | ||
"tryCall": false, | ||
@@ -983,5 +983,5 @@ "typeDescriptions": { | ||
}, | ||
"id": 2101, | ||
"id": 2184, | ||
"nodeType": "ExpressionStatement", | ||
"src": "728:58:13" | ||
"src": "728:58:15" | ||
}, | ||
@@ -991,3 +991,3 @@ { | ||
"hexValue": "74727565", | ||
"id": 2102, | ||
"id": 2185, | ||
"isConstant": false, | ||
@@ -999,3 +999,3 @@ "isLValue": false, | ||
"nodeType": "Literal", | ||
"src": "803:4:13", | ||
"src": "803:4:15", | ||
"typeDescriptions": { | ||
@@ -1007,10 +1007,10 @@ "typeIdentifier": "t_bool", | ||
}, | ||
"functionReturnParameters": 2079, | ||
"id": 2103, | ||
"functionReturnParameters": 2162, | ||
"id": 2186, | ||
"nodeType": "Return", | ||
"src": "796:11:13" | ||
"src": "796:11:15" | ||
} | ||
] | ||
}, | ||
"id": 2105, | ||
"id": 2188, | ||
"implemented": true, | ||
@@ -1020,6 +1020,6 @@ "kind": "function", | ||
"name": "_withdrawErc721", | ||
"nameLocation": "549:15:13", | ||
"nameLocation": "549:15:15", | ||
"nodeType": "FunctionDefinition", | ||
"parameters": { | ||
"id": 2076, | ||
"id": 2159, | ||
"nodeType": "ParameterList", | ||
@@ -1029,9 +1029,9 @@ "parameters": [ | ||
"constant": false, | ||
"id": 2070, | ||
"id": 2153, | ||
"mutability": "mutable", | ||
"name": "id", | ||
"nameLocation": "582:2:13", | ||
"nameLocation": "582:2:15", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2105, | ||
"src": "574:10:13", | ||
"scope": 2188, | ||
"src": "574:10:15", | ||
"stateVariable": false, | ||
@@ -1044,6 +1044,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 2069, | ||
"id": 2152, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "574:7:13", | ||
"src": "574:7:15", | ||
"typeDescriptions": { | ||
@@ -1058,32 +1058,32 @@ "typeIdentifier": "t_uint256", | ||
"constant": false, | ||
"id": 2073, | ||
"id": 2156, | ||
"mutability": "mutable", | ||
"name": "token", | ||
"nameLocation": "602:5:13", | ||
"nameLocation": "602:5:15", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2105, | ||
"src": "594:13:13", | ||
"scope": 2188, | ||
"src": "594:13:15", | ||
"stateVariable": false, | ||
"storageLocation": "default", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_IERC721_$1121", | ||
"typeIdentifier": "t_contract$_IERC721_$1122", | ||
"typeString": "contract IERC721" | ||
}, | ||
"typeName": { | ||
"id": 2072, | ||
"id": 2155, | ||
"nodeType": "UserDefinedTypeName", | ||
"pathNode": { | ||
"id": 2071, | ||
"id": 2154, | ||
"name": "IERC721", | ||
"nameLocations": [ | ||
"594:7:13" | ||
"594:7:15" | ||
], | ||
"nodeType": "IdentifierPath", | ||
"referencedDeclaration": 1121, | ||
"src": "594:7:13" | ||
"referencedDeclaration": 1122, | ||
"src": "594:7:15" | ||
}, | ||
"referencedDeclaration": 1121, | ||
"src": "594:7:13", | ||
"referencedDeclaration": 1122, | ||
"src": "594:7:15", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_IERC721_$1121", | ||
"typeIdentifier": "t_contract$_IERC721_$1122", | ||
"typeString": "contract IERC721" | ||
@@ -1096,9 +1096,9 @@ } | ||
"constant": false, | ||
"id": 2075, | ||
"id": 2158, | ||
"mutability": "mutable", | ||
"name": "tokenId", | ||
"nameLocation": "625:7:13", | ||
"nameLocation": "625:7:15", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2105, | ||
"src": "617:15:13", | ||
"scope": 2188, | ||
"src": "617:15:15", | ||
"stateVariable": false, | ||
@@ -1111,6 +1111,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 2074, | ||
"id": 2157, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "617:7:13", | ||
"src": "617:7:15", | ||
"typeDescriptions": { | ||
@@ -1124,6 +1124,6 @@ "typeIdentifier": "t_uint256", | ||
], | ||
"src": "564:74:13" | ||
"src": "564:74:15" | ||
}, | ||
"returnParameters": { | ||
"id": 2079, | ||
"id": 2162, | ||
"nodeType": "ParameterList", | ||
@@ -1133,3 +1133,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 2078, | ||
"id": 2161, | ||
"mutability": "mutable", | ||
@@ -1139,4 +1139,4 @@ "name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2105, | ||
"src": "657:4:13", | ||
"scope": 2188, | ||
"src": "657:4:15", | ||
"stateVariable": false, | ||
@@ -1149,6 +1149,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 2077, | ||
"id": 2160, | ||
"name": "bool", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "657:4:13", | ||
"src": "657:4:15", | ||
"typeDescriptions": { | ||
@@ -1162,6 +1162,6 @@ "typeIdentifier": "t_bool", | ||
], | ||
"src": "656:6:13" | ||
"src": "656:6:15" | ||
}, | ||
"scope": 2127, | ||
"src": "540:274:13", | ||
"scope": 2210, | ||
"src": "540:274:15", | ||
"stateMutability": "nonpayable", | ||
@@ -1173,5 +1173,5 @@ "virtual": false, | ||
"body": { | ||
"id": 2125, | ||
"id": 2208, | ||
"nodeType": "Block", | ||
"src": "948:61:13", | ||
"src": "948:61:15", | ||
"statements": [ | ||
@@ -1183,21 +1183,21 @@ { | ||
"baseExpression": { | ||
"id": 2117, | ||
"id": 2200, | ||
"name": "_erc721tokenStore", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2031, | ||
"src": "965:17:13", | ||
"referencedDeclaration": 2114, | ||
"src": "965:17:15", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_contract$_IERC721_$1121_$_t_mapping$_t_uint256_$_t_bool_$_$_$", | ||
"typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_contract$_IERC721_$1122_$_t_mapping$_t_uint256_$_t_bool_$_$_$", | ||
"typeString": "mapping(uint256 => mapping(contract IERC721 => mapping(uint256 => bool)))" | ||
} | ||
}, | ||
"id": 2119, | ||
"id": 2202, | ||
"indexExpression": { | ||
"id": 2118, | ||
"id": 2201, | ||
"name": "id", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2107, | ||
"src": "983:2:13", | ||
"referencedDeclaration": 2190, | ||
"src": "983:2:15", | ||
"typeDescriptions": { | ||
@@ -1213,18 +1213,18 @@ "typeIdentifier": "t_uint256", | ||
"nodeType": "IndexAccess", | ||
"src": "965:21:13", | ||
"src": "965:21:15", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_mapping$_t_contract$_IERC721_$1121_$_t_mapping$_t_uint256_$_t_bool_$_$", | ||
"typeIdentifier": "t_mapping$_t_contract$_IERC721_$1122_$_t_mapping$_t_uint256_$_t_bool_$_$", | ||
"typeString": "mapping(contract IERC721 => mapping(uint256 => bool))" | ||
} | ||
}, | ||
"id": 2121, | ||
"id": 2204, | ||
"indexExpression": { | ||
"id": 2120, | ||
"id": 2203, | ||
"name": "token", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2110, | ||
"src": "987:5:13", | ||
"referencedDeclaration": 2193, | ||
"src": "987:5:15", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_IERC721_$1121", | ||
"typeIdentifier": "t_contract$_IERC721_$1122", | ||
"typeString": "contract IERC721" | ||
@@ -1238,3 +1238,3 @@ } | ||
"nodeType": "IndexAccess", | ||
"src": "965:28:13", | ||
"src": "965:28:15", | ||
"typeDescriptions": { | ||
@@ -1245,10 +1245,10 @@ "typeIdentifier": "t_mapping$_t_uint256_$_t_bool_$", | ||
}, | ||
"id": 2123, | ||
"id": 2206, | ||
"indexExpression": { | ||
"id": 2122, | ||
"id": 2205, | ||
"name": "tokenId", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2112, | ||
"src": "994:7:13", | ||
"referencedDeclaration": 2195, | ||
"src": "994:7:15", | ||
"typeDescriptions": { | ||
@@ -1264,3 +1264,3 @@ "typeIdentifier": "t_uint256", | ||
"nodeType": "IndexAccess", | ||
"src": "965:37:13", | ||
"src": "965:37:15", | ||
"typeDescriptions": { | ||
@@ -1271,10 +1271,10 @@ "typeIdentifier": "t_bool", | ||
}, | ||
"functionReturnParameters": 2116, | ||
"id": 2124, | ||
"functionReturnParameters": 2199, | ||
"id": 2207, | ||
"nodeType": "Return", | ||
"src": "958:44:13" | ||
"src": "958:44:15" | ||
} | ||
] | ||
}, | ||
"id": 2126, | ||
"id": 2209, | ||
"implemented": true, | ||
@@ -1284,6 +1284,6 @@ "kind": "function", | ||
"name": "_containsErc721", | ||
"nameLocation": "829:15:13", | ||
"nameLocation": "829:15:15", | ||
"nodeType": "FunctionDefinition", | ||
"parameters": { | ||
"id": 2113, | ||
"id": 2196, | ||
"nodeType": "ParameterList", | ||
@@ -1293,9 +1293,9 @@ "parameters": [ | ||
"constant": false, | ||
"id": 2107, | ||
"id": 2190, | ||
"mutability": "mutable", | ||
"name": "id", | ||
"nameLocation": "862:2:13", | ||
"nameLocation": "862:2:15", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2126, | ||
"src": "854:10:13", | ||
"scope": 2209, | ||
"src": "854:10:15", | ||
"stateVariable": false, | ||
@@ -1308,6 +1308,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 2106, | ||
"id": 2189, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "854:7:13", | ||
"src": "854:7:15", | ||
"typeDescriptions": { | ||
@@ -1322,32 +1322,32 @@ "typeIdentifier": "t_uint256", | ||
"constant": false, | ||
"id": 2110, | ||
"id": 2193, | ||
"mutability": "mutable", | ||
"name": "token", | ||
"nameLocation": "882:5:13", | ||
"nameLocation": "882:5:15", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2126, | ||
"src": "874:13:13", | ||
"scope": 2209, | ||
"src": "874:13:15", | ||
"stateVariable": false, | ||
"storageLocation": "default", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_IERC721_$1121", | ||
"typeIdentifier": "t_contract$_IERC721_$1122", | ||
"typeString": "contract IERC721" | ||
}, | ||
"typeName": { | ||
"id": 2109, | ||
"id": 2192, | ||
"nodeType": "UserDefinedTypeName", | ||
"pathNode": { | ||
"id": 2108, | ||
"id": 2191, | ||
"name": "IERC721", | ||
"nameLocations": [ | ||
"874:7:13" | ||
"874:7:15" | ||
], | ||
"nodeType": "IdentifierPath", | ||
"referencedDeclaration": 1121, | ||
"src": "874:7:13" | ||
"referencedDeclaration": 1122, | ||
"src": "874:7:15" | ||
}, | ||
"referencedDeclaration": 1121, | ||
"src": "874:7:13", | ||
"referencedDeclaration": 1122, | ||
"src": "874:7:15", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_IERC721_$1121", | ||
"typeIdentifier": "t_contract$_IERC721_$1122", | ||
"typeString": "contract IERC721" | ||
@@ -1360,9 +1360,9 @@ } | ||
"constant": false, | ||
"id": 2112, | ||
"id": 2195, | ||
"mutability": "mutable", | ||
"name": "tokenId", | ||
"nameLocation": "905:7:13", | ||
"nameLocation": "905:7:15", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2126, | ||
"src": "897:15:13", | ||
"scope": 2209, | ||
"src": "897:15:15", | ||
"stateVariable": false, | ||
@@ -1375,6 +1375,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 2111, | ||
"id": 2194, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "897:7:13", | ||
"src": "897:7:15", | ||
"typeDescriptions": { | ||
@@ -1388,6 +1388,6 @@ "typeIdentifier": "t_uint256", | ||
], | ||
"src": "844:74:13" | ||
"src": "844:74:15" | ||
}, | ||
"returnParameters": { | ||
"id": 2116, | ||
"id": 2199, | ||
"nodeType": "ParameterList", | ||
@@ -1397,3 +1397,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 2115, | ||
"id": 2198, | ||
"mutability": "mutable", | ||
@@ -1403,4 +1403,4 @@ "name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2126, | ||
"src": "942:4:13", | ||
"scope": 2209, | ||
"src": "942:4:15", | ||
"stateVariable": false, | ||
@@ -1413,6 +1413,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 2114, | ||
"id": 2197, | ||
"name": "bool", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "942:4:13", | ||
"src": "942:4:15", | ||
"typeDescriptions": { | ||
@@ -1426,6 +1426,6 @@ "typeIdentifier": "t_bool", | ||
], | ||
"src": "941:6:13" | ||
"src": "941:6:15" | ||
}, | ||
"scope": 2127, | ||
"src": "820:189:13", | ||
"scope": 2210, | ||
"src": "820:189:15", | ||
"stateMutability": "view", | ||
@@ -1436,8 +1436,8 @@ "virtual": false, | ||
], | ||
"scope": 2128, | ||
"src": "121:890:13", | ||
"scope": 2211, | ||
"src": "121:890:15", | ||
"usedErrors": [] | ||
} | ||
], | ||
"src": "36:976:13" | ||
"src": "36:976:15" | ||
}, | ||
@@ -1449,4 +1449,4 @@ "compiler": { | ||
"networks": {}, | ||
"schemaVersion": "3.4.10", | ||
"updatedAt": "2022-10-31T18:28:00.420Z", | ||
"schemaVersion": "3.4.11", | ||
"updatedAt": "2023-01-29T19:40:22.338Z", | ||
"devdoc": { | ||
@@ -1453,0 +1453,0 @@ "kind": "dev", |
@@ -32,6 +32,6 @@ { | ||
"IBurnable": [ | ||
2135 | ||
2267 | ||
] | ||
}, | ||
"id": 2136, | ||
"id": 2268, | ||
"license": "GPL-3.0", | ||
@@ -41,3 +41,3 @@ "nodeType": "SourceUnit", | ||
{ | ||
"id": 2129, | ||
"id": 2261, | ||
"literals": [ | ||
@@ -50,3 +50,3 @@ "solidity", | ||
"nodeType": "PragmaDirective", | ||
"src": "36:23:14" | ||
"src": "36:23:18" | ||
}, | ||
@@ -60,8 +60,8 @@ { | ||
"fullyImplemented": false, | ||
"id": 2135, | ||
"id": 2267, | ||
"linearizedBaseContracts": [ | ||
2135 | ||
2267 | ||
], | ||
"name": "IBurnable", | ||
"nameLocation": "71:9:14", | ||
"nameLocation": "71:9:18", | ||
"nodeType": "ContractDefinition", | ||
@@ -71,3 +71,3 @@ "nodes": [ | ||
"functionSelector": "42966c68", | ||
"id": 2134, | ||
"id": 2266, | ||
"implemented": false, | ||
@@ -77,6 +77,6 @@ "kind": "function", | ||
"name": "burn", | ||
"nameLocation": "96:4:14", | ||
"nameLocation": "96:4:18", | ||
"nodeType": "FunctionDefinition", | ||
"parameters": { | ||
"id": 2132, | ||
"id": 2264, | ||
"nodeType": "ParameterList", | ||
@@ -86,9 +86,9 @@ "parameters": [ | ||
"constant": false, | ||
"id": 2131, | ||
"id": 2263, | ||
"mutability": "mutable", | ||
"name": "amount", | ||
"nameLocation": "109:6:14", | ||
"nameLocation": "109:6:18", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2134, | ||
"src": "101:14:14", | ||
"scope": 2266, | ||
"src": "101:14:18", | ||
"stateVariable": false, | ||
@@ -101,6 +101,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 2130, | ||
"id": 2262, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "101:7:14", | ||
"src": "101:7:18", | ||
"typeDescriptions": { | ||
@@ -114,12 +114,12 @@ "typeIdentifier": "t_uint256", | ||
], | ||
"src": "100:16:14" | ||
"src": "100:16:18" | ||
}, | ||
"returnParameters": { | ||
"id": 2133, | ||
"id": 2265, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "125:0:14" | ||
"src": "125:0:18" | ||
}, | ||
"scope": 2135, | ||
"src": "87:39:14", | ||
"scope": 2267, | ||
"src": "87:39:18", | ||
"stateMutability": "nonpayable", | ||
@@ -130,8 +130,8 @@ "virtual": false, | ||
], | ||
"scope": 2136, | ||
"src": "61:67:14", | ||
"scope": 2268, | ||
"src": "61:67:18", | ||
"usedErrors": [] | ||
} | ||
], | ||
"src": "36:93:14" | ||
"src": "36:93:18" | ||
}, | ||
@@ -143,4 +143,4 @@ "compiler": { | ||
"networks": {}, | ||
"schemaVersion": "3.4.10", | ||
"updatedAt": "2022-10-31T18:28:00.421Z", | ||
"schemaVersion": "3.4.11", | ||
"updatedAt": "2023-01-29T19:40:22.339Z", | ||
"devdoc": { | ||
@@ -147,0 +147,0 @@ "kind": "dev", |
@@ -38,6 +38,6 @@ { | ||
"IERC165": [ | ||
1450 | ||
1486 | ||
] | ||
}, | ||
"id": 1451, | ||
"id": 1487, | ||
"license": "MIT", | ||
@@ -47,3 +47,3 @@ "nodeType": "SourceUnit", | ||
{ | ||
"id": 1440, | ||
"id": 1476, | ||
"literals": [ | ||
@@ -65,3 +65,3 @@ "solidity", | ||
"documentation": { | ||
"id": 1441, | ||
"id": 1477, | ||
"nodeType": "StructuredDocumentation", | ||
@@ -72,5 +72,5 @@ "src": "125:279:8", | ||
"fullyImplemented": false, | ||
"id": 1450, | ||
"id": 1486, | ||
"linearizedBaseContracts": [ | ||
1450 | ||
1486 | ||
], | ||
@@ -83,3 +83,3 @@ "name": "IERC165", | ||
"documentation": { | ||
"id": 1442, | ||
"id": 1478, | ||
"nodeType": "StructuredDocumentation", | ||
@@ -90,3 +90,3 @@ "src": "429:340:8", | ||
"functionSelector": "01ffc9a7", | ||
"id": 1449, | ||
"id": 1485, | ||
"implemented": false, | ||
@@ -99,3 +99,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 1445, | ||
"id": 1481, | ||
"nodeType": "ParameterList", | ||
@@ -105,3 +105,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 1444, | ||
"id": 1480, | ||
"mutability": "mutable", | ||
@@ -111,3 +111,3 @@ "name": "interfaceId", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 1449, | ||
"scope": 1485, | ||
"src": "801:18:8", | ||
@@ -121,3 +121,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 1443, | ||
"id": 1479, | ||
"name": "bytes4", | ||
@@ -137,3 +137,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 1448, | ||
"id": 1484, | ||
"nodeType": "ParameterList", | ||
@@ -143,3 +143,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 1447, | ||
"id": 1483, | ||
"mutability": "mutable", | ||
@@ -149,3 +149,3 @@ "name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 1449, | ||
"scope": 1485, | ||
"src": "844:4:8", | ||
@@ -159,3 +159,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 1446, | ||
"id": 1482, | ||
"name": "bool", | ||
@@ -174,3 +174,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 1450, | ||
"scope": 1486, | ||
"src": "774:76:8", | ||
@@ -182,3 +182,3 @@ "stateMutability": "view", | ||
], | ||
"scope": 1451, | ||
"scope": 1487, | ||
"src": "405:447:8", | ||
@@ -195,4 +195,4 @@ "usedErrors": [] | ||
"networks": {}, | ||
"schemaVersion": "3.4.10", | ||
"updatedAt": "2022-10-31T18:28:00.415Z", | ||
"schemaVersion": "3.4.11", | ||
"updatedAt": "2023-01-29T19:40:22.332Z", | ||
"devdoc": { | ||
@@ -199,0 +199,0 @@ "details": "Interface of the ERC165 standard, as defined in the https://eips.ethereum.org/EIPS/eip-165[EIP]. Implementers can declare support of contract interfaces, which can then be queried by others ({ERC165Checker}). For an implementation, see {ERC165}.", |
@@ -202,6 +202,6 @@ { | ||
"IERC20": [ | ||
663 | ||
664 | ||
] | ||
}, | ||
"id": 664, | ||
"id": 665, | ||
"license": "MIT", | ||
@@ -211,3 +211,3 @@ "nodeType": "SourceUnit", | ||
{ | ||
"id": 587, | ||
"id": 588, | ||
"literals": [ | ||
@@ -229,3 +229,3 @@ "solidity", | ||
"documentation": { | ||
"id": 588, | ||
"id": 589, | ||
"nodeType": "StructuredDocumentation", | ||
@@ -236,5 +236,5 @@ "src": "131:70:1", | ||
"fullyImplemented": false, | ||
"id": 663, | ||
"id": 664, | ||
"linearizedBaseContracts": [ | ||
663 | ||
664 | ||
], | ||
@@ -248,3 +248,3 @@ "name": "IERC20", | ||
"documentation": { | ||
"id": 589, | ||
"id": 590, | ||
"nodeType": "StructuredDocumentation", | ||
@@ -255,3 +255,3 @@ "src": "225:158:1", | ||
"eventSelector": "ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef", | ||
"id": 597, | ||
"id": 598, | ||
"name": "Transfer", | ||
@@ -261,3 +261,3 @@ "nameLocation": "394:8:1", | ||
"parameters": { | ||
"id": 596, | ||
"id": 597, | ||
"nodeType": "ParameterList", | ||
@@ -267,3 +267,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 591, | ||
"id": 592, | ||
"indexed": true, | ||
@@ -274,3 +274,3 @@ "mutability": "mutable", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 597, | ||
"scope": 598, | ||
"src": "403:20:1", | ||
@@ -284,3 +284,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 590, | ||
"id": 591, | ||
"name": "address", | ||
@@ -299,3 +299,3 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 593, | ||
"id": 594, | ||
"indexed": true, | ||
@@ -306,3 +306,3 @@ "mutability": "mutable", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 597, | ||
"scope": 598, | ||
"src": "425:18:1", | ||
@@ -316,3 +316,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 592, | ||
"id": 593, | ||
"name": "address", | ||
@@ -331,3 +331,3 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 595, | ||
"id": 596, | ||
"indexed": false, | ||
@@ -338,3 +338,3 @@ "mutability": "mutable", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 597, | ||
"scope": 598, | ||
"src": "445:13:1", | ||
@@ -348,3 +348,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 594, | ||
"id": 595, | ||
"name": "uint256", | ||
@@ -368,3 +368,3 @@ "nodeType": "ElementaryTypeName", | ||
"documentation": { | ||
"id": 598, | ||
"id": 599, | ||
"nodeType": "StructuredDocumentation", | ||
@@ -375,3 +375,3 @@ "src": "466:148:1", | ||
"eventSelector": "8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925", | ||
"id": 606, | ||
"id": 607, | ||
"name": "Approval", | ||
@@ -381,3 +381,3 @@ "nameLocation": "625:8:1", | ||
"parameters": { | ||
"id": 605, | ||
"id": 606, | ||
"nodeType": "ParameterList", | ||
@@ -387,3 +387,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 600, | ||
"id": 601, | ||
"indexed": true, | ||
@@ -394,3 +394,3 @@ "mutability": "mutable", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 606, | ||
"scope": 607, | ||
"src": "634:21:1", | ||
@@ -404,3 +404,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 599, | ||
"id": 600, | ||
"name": "address", | ||
@@ -419,3 +419,3 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 602, | ||
"id": 603, | ||
"indexed": true, | ||
@@ -426,3 +426,3 @@ "mutability": "mutable", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 606, | ||
"scope": 607, | ||
"src": "657:23:1", | ||
@@ -436,3 +436,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 601, | ||
"id": 602, | ||
"name": "address", | ||
@@ -451,3 +451,3 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 604, | ||
"id": 605, | ||
"indexed": false, | ||
@@ -458,3 +458,3 @@ "mutability": "mutable", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 606, | ||
"scope": 607, | ||
"src": "682:13:1", | ||
@@ -468,3 +468,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 603, | ||
"id": 604, | ||
"name": "uint256", | ||
@@ -487,3 +487,3 @@ "nodeType": "ElementaryTypeName", | ||
"documentation": { | ||
"id": 607, | ||
"id": 608, | ||
"nodeType": "StructuredDocumentation", | ||
@@ -494,3 +494,3 @@ "src": "703:66:1", | ||
"functionSelector": "18160ddd", | ||
"id": 612, | ||
"id": 613, | ||
"implemented": false, | ||
@@ -503,3 +503,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 608, | ||
"id": 609, | ||
"nodeType": "ParameterList", | ||
@@ -510,3 +510,3 @@ "parameters": [], | ||
"returnParameters": { | ||
"id": 611, | ||
"id": 612, | ||
"nodeType": "ParameterList", | ||
@@ -516,3 +516,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 610, | ||
"id": 611, | ||
"mutability": "mutable", | ||
@@ -522,3 +522,3 @@ "name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 612, | ||
"scope": 613, | ||
"src": "820:7:1", | ||
@@ -532,3 +532,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 609, | ||
"id": 610, | ||
"name": "uint256", | ||
@@ -547,3 +547,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 663, | ||
"scope": 664, | ||
"src": "774:55:1", | ||
@@ -556,3 +556,3 @@ "stateMutability": "view", | ||
"documentation": { | ||
"id": 613, | ||
"id": 614, | ||
"nodeType": "StructuredDocumentation", | ||
@@ -563,3 +563,3 @@ "src": "835:72:1", | ||
"functionSelector": "70a08231", | ||
"id": 620, | ||
"id": 621, | ||
"implemented": false, | ||
@@ -572,3 +572,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 616, | ||
"id": 617, | ||
"nodeType": "ParameterList", | ||
@@ -578,3 +578,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 615, | ||
"id": 616, | ||
"mutability": "mutable", | ||
@@ -584,3 +584,3 @@ "name": "account", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 620, | ||
"scope": 621, | ||
"src": "931:15:1", | ||
@@ -594,3 +594,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 614, | ||
"id": 615, | ||
"name": "address", | ||
@@ -611,3 +611,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 619, | ||
"id": 620, | ||
"nodeType": "ParameterList", | ||
@@ -617,3 +617,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 618, | ||
"id": 619, | ||
"mutability": "mutable", | ||
@@ -623,3 +623,3 @@ "name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 620, | ||
"scope": 621, | ||
"src": "971:7:1", | ||
@@ -633,3 +633,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 617, | ||
"id": 618, | ||
"name": "uint256", | ||
@@ -648,3 +648,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 663, | ||
"scope": 664, | ||
"src": "912:68:1", | ||
@@ -657,3 +657,3 @@ "stateMutability": "view", | ||
"documentation": { | ||
"id": 621, | ||
"id": 622, | ||
"nodeType": "StructuredDocumentation", | ||
@@ -664,3 +664,3 @@ "src": "986:202:1", | ||
"functionSelector": "a9059cbb", | ||
"id": 630, | ||
"id": 631, | ||
"implemented": false, | ||
@@ -673,3 +673,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 626, | ||
"id": 627, | ||
"nodeType": "ParameterList", | ||
@@ -679,3 +679,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 623, | ||
"id": 624, | ||
"mutability": "mutable", | ||
@@ -685,3 +685,3 @@ "name": "to", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 630, | ||
"scope": 631, | ||
"src": "1211:10:1", | ||
@@ -695,3 +695,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 622, | ||
"id": 623, | ||
"name": "address", | ||
@@ -710,3 +710,3 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 625, | ||
"id": 626, | ||
"mutability": "mutable", | ||
@@ -716,3 +716,3 @@ "name": "amount", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 630, | ||
"scope": 631, | ||
"src": "1223:14:1", | ||
@@ -726,3 +726,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 624, | ||
"id": 625, | ||
"name": "uint256", | ||
@@ -742,3 +742,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 629, | ||
"id": 630, | ||
"nodeType": "ParameterList", | ||
@@ -748,3 +748,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 628, | ||
"id": 629, | ||
"mutability": "mutable", | ||
@@ -754,3 +754,3 @@ "name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 630, | ||
"scope": 631, | ||
"src": "1257:4:1", | ||
@@ -764,3 +764,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 627, | ||
"id": 628, | ||
"name": "bool", | ||
@@ -779,3 +779,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 663, | ||
"scope": 664, | ||
"src": "1193:70:1", | ||
@@ -788,3 +788,3 @@ "stateMutability": "nonpayable", | ||
"documentation": { | ||
"id": 631, | ||
"id": 632, | ||
"nodeType": "StructuredDocumentation", | ||
@@ -795,3 +795,3 @@ "src": "1269:264:1", | ||
"functionSelector": "dd62ed3e", | ||
"id": 640, | ||
"id": 641, | ||
"implemented": false, | ||
@@ -804,3 +804,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 636, | ||
"id": 637, | ||
"nodeType": "ParameterList", | ||
@@ -810,3 +810,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 633, | ||
"id": 634, | ||
"mutability": "mutable", | ||
@@ -816,3 +816,3 @@ "name": "owner", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 640, | ||
"scope": 641, | ||
"src": "1557:13:1", | ||
@@ -826,3 +826,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 632, | ||
"id": 633, | ||
"name": "address", | ||
@@ -841,3 +841,3 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 635, | ||
"id": 636, | ||
"mutability": "mutable", | ||
@@ -847,3 +847,3 @@ "name": "spender", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 640, | ||
"scope": 641, | ||
"src": "1572:15:1", | ||
@@ -857,3 +857,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 634, | ||
"id": 635, | ||
"name": "address", | ||
@@ -874,3 +874,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 639, | ||
"id": 640, | ||
"nodeType": "ParameterList", | ||
@@ -880,3 +880,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 638, | ||
"id": 639, | ||
"mutability": "mutable", | ||
@@ -886,3 +886,3 @@ "name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 640, | ||
"scope": 641, | ||
"src": "1612:7:1", | ||
@@ -896,3 +896,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 637, | ||
"id": 638, | ||
"name": "uint256", | ||
@@ -911,3 +911,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 663, | ||
"scope": 664, | ||
"src": "1538:83:1", | ||
@@ -920,3 +920,3 @@ "stateMutability": "view", | ||
"documentation": { | ||
"id": 641, | ||
"id": 642, | ||
"nodeType": "StructuredDocumentation", | ||
@@ -927,3 +927,3 @@ "src": "1627:642:1", | ||
"functionSelector": "095ea7b3", | ||
"id": 650, | ||
"id": 651, | ||
"implemented": false, | ||
@@ -936,3 +936,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 646, | ||
"id": 647, | ||
"nodeType": "ParameterList", | ||
@@ -942,3 +942,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 643, | ||
"id": 644, | ||
"mutability": "mutable", | ||
@@ -948,3 +948,3 @@ "name": "spender", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 650, | ||
"scope": 651, | ||
"src": "2291:15:1", | ||
@@ -958,3 +958,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 642, | ||
"id": 643, | ||
"name": "address", | ||
@@ -973,3 +973,3 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 645, | ||
"id": 646, | ||
"mutability": "mutable", | ||
@@ -979,3 +979,3 @@ "name": "amount", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 650, | ||
"scope": 651, | ||
"src": "2308:14:1", | ||
@@ -989,3 +989,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 644, | ||
"id": 645, | ||
"name": "uint256", | ||
@@ -1005,3 +1005,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 649, | ||
"id": 650, | ||
"nodeType": "ParameterList", | ||
@@ -1011,3 +1011,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 648, | ||
"id": 649, | ||
"mutability": "mutable", | ||
@@ -1017,3 +1017,3 @@ "name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 650, | ||
"scope": 651, | ||
"src": "2342:4:1", | ||
@@ -1027,3 +1027,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 647, | ||
"id": 648, | ||
"name": "bool", | ||
@@ -1042,3 +1042,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 663, | ||
"scope": 664, | ||
"src": "2274:74:1", | ||
@@ -1051,3 +1051,3 @@ "stateMutability": "nonpayable", | ||
"documentation": { | ||
"id": 651, | ||
"id": 652, | ||
"nodeType": "StructuredDocumentation", | ||
@@ -1058,3 +1058,3 @@ "src": "2354:287:1", | ||
"functionSelector": "23b872dd", | ||
"id": 662, | ||
"id": 663, | ||
"implemented": false, | ||
@@ -1067,3 +1067,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 658, | ||
"id": 659, | ||
"nodeType": "ParameterList", | ||
@@ -1073,3 +1073,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 653, | ||
"id": 654, | ||
"mutability": "mutable", | ||
@@ -1079,3 +1079,3 @@ "name": "from", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 662, | ||
"scope": 663, | ||
"src": "2677:12:1", | ||
@@ -1089,3 +1089,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 652, | ||
"id": 653, | ||
"name": "address", | ||
@@ -1104,3 +1104,3 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 655, | ||
"id": 656, | ||
"mutability": "mutable", | ||
@@ -1110,3 +1110,3 @@ "name": "to", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 662, | ||
"scope": 663, | ||
"src": "2699:10:1", | ||
@@ -1120,3 +1120,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 654, | ||
"id": 655, | ||
"name": "address", | ||
@@ -1135,3 +1135,3 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 657, | ||
"id": 658, | ||
"mutability": "mutable", | ||
@@ -1141,3 +1141,3 @@ "name": "amount", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 662, | ||
"scope": 663, | ||
"src": "2719:14:1", | ||
@@ -1151,3 +1151,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 656, | ||
"id": 657, | ||
"name": "uint256", | ||
@@ -1167,3 +1167,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 661, | ||
"id": 662, | ||
"nodeType": "ParameterList", | ||
@@ -1173,3 +1173,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 660, | ||
"id": 661, | ||
"mutability": "mutable", | ||
@@ -1179,3 +1179,3 @@ "name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 662, | ||
"scope": 663, | ||
"src": "2758:4:1", | ||
@@ -1189,3 +1189,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 659, | ||
"id": 660, | ||
"name": "bool", | ||
@@ -1204,3 +1204,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 663, | ||
"scope": 664, | ||
"src": "2646:118:1", | ||
@@ -1212,3 +1212,3 @@ "stateMutability": "nonpayable", | ||
], | ||
"scope": 664, | ||
"scope": 665, | ||
"src": "202:2564:1", | ||
@@ -1225,4 +1225,4 @@ "usedErrors": [] | ||
"networks": {}, | ||
"schemaVersion": "3.4.10", | ||
"updatedAt": "2022-10-31T18:28:00.411Z", | ||
"schemaVersion": "3.4.11", | ||
"updatedAt": "2023-01-29T19:40:22.328Z", | ||
"devdoc": { | ||
@@ -1229,0 +1229,0 @@ "details": "Interface of the ERC20 standard as defined in the EIP.", |
@@ -241,9 +241,9 @@ { | ||
"IERC20": [ | ||
663 | ||
664 | ||
], | ||
"IERC20Metadata": [ | ||
688 | ||
689 | ||
] | ||
}, | ||
"id": 689, | ||
"id": 690, | ||
"license": "MIT", | ||
@@ -253,3 +253,3 @@ "nodeType": "SourceUnit", | ||
{ | ||
"id": 665, | ||
"id": 666, | ||
"literals": [ | ||
@@ -267,7 +267,7 @@ "solidity", | ||
"file": "../IERC20.sol", | ||
"id": 666, | ||
"id": 667, | ||
"nameLocation": "-1:-1:-1", | ||
"nodeType": "ImportDirective", | ||
"scope": 689, | ||
"sourceUnit": 664, | ||
"scope": 690, | ||
"sourceUnit": 665, | ||
"src": "135:23:2", | ||
@@ -282,3 +282,3 @@ "symbolAliases": [], | ||
"baseName": { | ||
"id": 668, | ||
"id": 669, | ||
"name": "IERC20", | ||
@@ -289,6 +289,6 @@ "nameLocations": [ | ||
"nodeType": "IdentifierPath", | ||
"referencedDeclaration": 663, | ||
"referencedDeclaration": 664, | ||
"src": "305:6:2" | ||
}, | ||
"id": 669, | ||
"id": 670, | ||
"nodeType": "InheritanceSpecifier", | ||
@@ -302,3 +302,3 @@ "src": "305:6:2" | ||
"documentation": { | ||
"id": 667, | ||
"id": 668, | ||
"nodeType": "StructuredDocumentation", | ||
@@ -309,6 +309,6 @@ "src": "160:116:2", | ||
"fullyImplemented": false, | ||
"id": 688, | ||
"id": 689, | ||
"linearizedBaseContracts": [ | ||
688, | ||
663 | ||
689, | ||
664 | ||
], | ||
@@ -321,3 +321,3 @@ "name": "IERC20Metadata", | ||
"documentation": { | ||
"id": 670, | ||
"id": 671, | ||
"nodeType": "StructuredDocumentation", | ||
@@ -328,3 +328,3 @@ "src": "318:54:2", | ||
"functionSelector": "06fdde03", | ||
"id": 675, | ||
"id": 676, | ||
"implemented": false, | ||
@@ -337,3 +337,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 671, | ||
"id": 672, | ||
"nodeType": "ParameterList", | ||
@@ -344,3 +344,3 @@ "parameters": [], | ||
"returnParameters": { | ||
"id": 674, | ||
"id": 675, | ||
"nodeType": "ParameterList", | ||
@@ -350,3 +350,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 673, | ||
"id": 674, | ||
"mutability": "mutable", | ||
@@ -356,3 +356,3 @@ "name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 675, | ||
"scope": 676, | ||
"src": "416:13:2", | ||
@@ -366,3 +366,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 672, | ||
"id": 673, | ||
"name": "string", | ||
@@ -381,3 +381,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 688, | ||
"scope": 689, | ||
"src": "377:54:2", | ||
@@ -390,3 +390,3 @@ "stateMutability": "view", | ||
"documentation": { | ||
"id": 676, | ||
"id": 677, | ||
"nodeType": "StructuredDocumentation", | ||
@@ -397,3 +397,3 @@ "src": "437:56:2", | ||
"functionSelector": "95d89b41", | ||
"id": 681, | ||
"id": 682, | ||
"implemented": false, | ||
@@ -406,3 +406,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 677, | ||
"id": 678, | ||
"nodeType": "ParameterList", | ||
@@ -413,3 +413,3 @@ "parameters": [], | ||
"returnParameters": { | ||
"id": 680, | ||
"id": 681, | ||
"nodeType": "ParameterList", | ||
@@ -419,3 +419,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 679, | ||
"id": 680, | ||
"mutability": "mutable", | ||
@@ -425,3 +425,3 @@ "name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 681, | ||
"scope": 682, | ||
"src": "539:13:2", | ||
@@ -435,3 +435,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 678, | ||
"id": 679, | ||
"name": "string", | ||
@@ -450,3 +450,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 688, | ||
"scope": 689, | ||
"src": "498:56:2", | ||
@@ -459,3 +459,3 @@ "stateMutability": "view", | ||
"documentation": { | ||
"id": 682, | ||
"id": 683, | ||
"nodeType": "StructuredDocumentation", | ||
@@ -466,3 +466,3 @@ "src": "560:65:2", | ||
"functionSelector": "313ce567", | ||
"id": 687, | ||
"id": 688, | ||
"implemented": false, | ||
@@ -475,3 +475,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 683, | ||
"id": 684, | ||
"nodeType": "ParameterList", | ||
@@ -482,3 +482,3 @@ "parameters": [], | ||
"returnParameters": { | ||
"id": 686, | ||
"id": 687, | ||
"nodeType": "ParameterList", | ||
@@ -488,3 +488,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 685, | ||
"id": 686, | ||
"mutability": "mutable", | ||
@@ -494,3 +494,3 @@ "name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 687, | ||
"scope": 688, | ||
"src": "673:5:2", | ||
@@ -504,3 +504,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 684, | ||
"id": 685, | ||
"name": "uint8", | ||
@@ -519,3 +519,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 688, | ||
"scope": 689, | ||
"src": "630:50:2", | ||
@@ -527,3 +527,3 @@ "stateMutability": "view", | ||
], | ||
"scope": 689, | ||
"scope": 690, | ||
"src": "277:405:2", | ||
@@ -540,4 +540,4 @@ "usedErrors": [] | ||
"networks": {}, | ||
"schemaVersion": "3.4.10", | ||
"updatedAt": "2022-10-31T18:28:00.411Z", | ||
"schemaVersion": "3.4.11", | ||
"updatedAt": "2023-01-29T19:40:22.328Z", | ||
"devdoc": { | ||
@@ -544,0 +544,0 @@ "details": "Interface for the optional metadata functions from the ERC20 standard. _Available since v4.1._", |
@@ -94,6 +94,6 @@ { | ||
"IERC20Permit": [ | ||
724 | ||
725 | ||
] | ||
}, | ||
"id": 725, | ||
"id": 726, | ||
"license": "MIT", | ||
@@ -103,3 +103,3 @@ "nodeType": "SourceUnit", | ||
{ | ||
"id": 690, | ||
"id": 691, | ||
"literals": [ | ||
@@ -121,3 +121,3 @@ "solidity", | ||
"documentation": { | ||
"id": 691, | ||
"id": 692, | ||
"nodeType": "StructuredDocumentation", | ||
@@ -128,5 +128,5 @@ "src": "139:480:3", | ||
"fullyImplemented": false, | ||
"id": 724, | ||
"id": 725, | ||
"linearizedBaseContracts": [ | ||
724 | ||
725 | ||
], | ||
@@ -139,3 +139,3 @@ "name": "IERC20Permit", | ||
"documentation": { | ||
"id": 692, | ||
"id": 693, | ||
"nodeType": "StructuredDocumentation", | ||
@@ -146,3 +146,3 @@ "src": "649:792:3", | ||
"functionSelector": "d505accf", | ||
"id": 709, | ||
"id": 710, | ||
"implemented": false, | ||
@@ -155,3 +155,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 707, | ||
"id": 708, | ||
"nodeType": "ParameterList", | ||
@@ -161,3 +161,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 694, | ||
"id": 695, | ||
"mutability": "mutable", | ||
@@ -167,3 +167,3 @@ "name": "owner", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 709, | ||
"scope": 710, | ||
"src": "1471:13:3", | ||
@@ -177,3 +177,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 693, | ||
"id": 694, | ||
"name": "address", | ||
@@ -192,3 +192,3 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 696, | ||
"id": 697, | ||
"mutability": "mutable", | ||
@@ -198,3 +198,3 @@ "name": "spender", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 709, | ||
"scope": 710, | ||
"src": "1494:15:3", | ||
@@ -208,3 +208,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 695, | ||
"id": 696, | ||
"name": "address", | ||
@@ -223,3 +223,3 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 698, | ||
"id": 699, | ||
"mutability": "mutable", | ||
@@ -229,3 +229,3 @@ "name": "value", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 709, | ||
"scope": 710, | ||
"src": "1519:13:3", | ||
@@ -239,3 +239,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 697, | ||
"id": 698, | ||
"name": "uint256", | ||
@@ -253,3 +253,3 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 700, | ||
"id": 701, | ||
"mutability": "mutable", | ||
@@ -259,3 +259,3 @@ "name": "deadline", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 709, | ||
"scope": 710, | ||
"src": "1542:16:3", | ||
@@ -269,3 +269,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 699, | ||
"id": 700, | ||
"name": "uint256", | ||
@@ -283,3 +283,3 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 702, | ||
"id": 703, | ||
"mutability": "mutable", | ||
@@ -289,3 +289,3 @@ "name": "v", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 709, | ||
"scope": 710, | ||
"src": "1568:7:3", | ||
@@ -299,3 +299,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 701, | ||
"id": 702, | ||
"name": "uint8", | ||
@@ -313,3 +313,3 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 704, | ||
"id": 705, | ||
"mutability": "mutable", | ||
@@ -319,3 +319,3 @@ "name": "r", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 709, | ||
"scope": 710, | ||
"src": "1585:9:3", | ||
@@ -329,3 +329,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 703, | ||
"id": 704, | ||
"name": "bytes32", | ||
@@ -343,3 +343,3 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 706, | ||
"id": 707, | ||
"mutability": "mutable", | ||
@@ -349,3 +349,3 @@ "name": "s", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 709, | ||
"scope": 710, | ||
"src": "1604:9:3", | ||
@@ -359,3 +359,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 705, | ||
"id": 706, | ||
"name": "bytes32", | ||
@@ -375,3 +375,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 708, | ||
"id": 709, | ||
"nodeType": "ParameterList", | ||
@@ -381,3 +381,3 @@ "parameters": [], | ||
}, | ||
"scope": 724, | ||
"scope": 725, | ||
"src": "1446:183:3", | ||
@@ -390,3 +390,3 @@ "stateMutability": "nonpayable", | ||
"documentation": { | ||
"id": 710, | ||
"id": 711, | ||
"nodeType": "StructuredDocumentation", | ||
@@ -397,3 +397,3 @@ "src": "1635:294:3", | ||
"functionSelector": "7ecebe00", | ||
"id": 717, | ||
"id": 718, | ||
"implemented": false, | ||
@@ -406,3 +406,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 713, | ||
"id": 714, | ||
"nodeType": "ParameterList", | ||
@@ -412,3 +412,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 712, | ||
"id": 713, | ||
"mutability": "mutable", | ||
@@ -418,3 +418,3 @@ "name": "owner", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 717, | ||
"scope": 718, | ||
"src": "1950:13:3", | ||
@@ -428,3 +428,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 711, | ||
"id": 712, | ||
"name": "address", | ||
@@ -445,3 +445,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 716, | ||
"id": 717, | ||
"nodeType": "ParameterList", | ||
@@ -451,3 +451,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 715, | ||
"id": 716, | ||
"mutability": "mutable", | ||
@@ -457,3 +457,3 @@ "name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 717, | ||
"scope": 718, | ||
"src": "1988:7:3", | ||
@@ -467,3 +467,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 714, | ||
"id": 715, | ||
"name": "uint256", | ||
@@ -482,3 +482,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 724, | ||
"scope": 725, | ||
"src": "1934:63:3", | ||
@@ -491,3 +491,3 @@ "stateMutability": "view", | ||
"documentation": { | ||
"id": 718, | ||
"id": 719, | ||
"nodeType": "StructuredDocumentation", | ||
@@ -498,3 +498,3 @@ "src": "2003:128:3", | ||
"functionSelector": "3644e515", | ||
"id": 723, | ||
"id": 724, | ||
"implemented": false, | ||
@@ -507,3 +507,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 719, | ||
"id": 720, | ||
"nodeType": "ParameterList", | ||
@@ -514,3 +514,3 @@ "parameters": [], | ||
"returnParameters": { | ||
"id": 722, | ||
"id": 723, | ||
"nodeType": "ParameterList", | ||
@@ -520,3 +520,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 721, | ||
"id": 722, | ||
"mutability": "mutable", | ||
@@ -526,3 +526,3 @@ "name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 723, | ||
"scope": 724, | ||
"src": "2240:7:3", | ||
@@ -536,3 +536,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 720, | ||
"id": 721, | ||
"name": "bytes32", | ||
@@ -551,3 +551,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 724, | ||
"scope": 725, | ||
"src": "2189:60:3", | ||
@@ -559,3 +559,3 @@ "stateMutability": "view", | ||
], | ||
"scope": 725, | ||
"scope": 726, | ||
"src": "620:1631:3", | ||
@@ -572,4 +572,4 @@ "usedErrors": [] | ||
"networks": {}, | ||
"schemaVersion": "3.4.10", | ||
"updatedAt": "2022-10-31T18:28:00.412Z", | ||
"schemaVersion": "3.4.11", | ||
"updatedAt": "2023-01-29T19:40:22.328Z", | ||
"devdoc": { | ||
@@ -576,0 +576,0 @@ "details": "Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't need to send a transaction, and thus is not required to hold Ether at all.", |
{ | ||
"name": "@xyo-network/solidity", | ||
"dependencies": { | ||
"@openzeppelin/contracts": "^4.7.3", | ||
"@openzeppelin/contracts": "^4.8.1", | ||
"@uniswap/v3-core": "^1.0.1", | ||
@@ -28,25 +28,25 @@ "ethers": "^5.7.2" | ||
"@ethersproject/providers": "^5.7.2", | ||
"@typechain/ethers-v5": "^10.1.0", | ||
"@types/jest": "^29.2.0", | ||
"@xylabs/eslint-config": "2.7.24", | ||
"@xylabs/ts-scripts-yarn3": "^2.7.24", | ||
"@xylabs/tsconfig": "^2.7.24", | ||
"@typechain/ethers-v5": "^10.2.0", | ||
"@types/jest": "^29.4.0", | ||
"@xylabs/eslint-config": "2.12.29", | ||
"@xylabs/ts-scripts-yarn3": "^2.12.29", | ||
"@xylabs/tsconfig": "^2.12.29", | ||
"abort-controller": "^3.0.0", | ||
"abstract-leveldown": "^7.2.0", | ||
"copyfiles": "^2.4.1", | ||
"eslint": "^8.26.0", | ||
"eslint": "^8.33.0", | ||
"google-protobuf": "^3.21.2", | ||
"graphql": "^16.6.0", | ||
"jest": "^29.2.2", | ||
"jest": "^29.4.1", | ||
"jest-sorted": "^1.0.14", | ||
"node-fetch": "^3.2.10", | ||
"npm-package-json-lint": "^6.3.0", | ||
"node-fetch": "^3.3.0", | ||
"npm-package-json-lint": "^6.4.0", | ||
"npm-package-json-lint-config-default": "^5.0.0", | ||
"prettier": "^2.7.1", | ||
"rimraf": "^3.0.2", | ||
"prettier": "^2.8.3", | ||
"rimraf": "^4.1.2", | ||
"subscriptions-transport-ws": "^0.11.0", | ||
"truffle": "^5.6.3", | ||
"tslib": "^2.4.0", | ||
"typechain": "^8.1.0", | ||
"typescript": "^4.8.4" | ||
"truffle": "^5.7.4", | ||
"tslib": "^2.5.0", | ||
"typechain": "^8.1.1", | ||
"typescript": "^4.9.4" | ||
}, | ||
@@ -57,9 +57,7 @@ "publishConfig": { | ||
"scripts": { | ||
"build": "rimraf src && rm -r -f build && yarn compile", | ||
"clean": "rm -r -f ./build && rm -r -f ./dist && rm -r -f ./src && rm -r -f ./node_modules && rm -r -f ./lib", | ||
"compile": "rimraf build && truffle compile --config truffle-config.cjs", | ||
"lint-pkg": "npmPkgJsonLint ." | ||
"package-clean": "rimraf ./build && rimraf ./node_modules && rimraf ./lib", | ||
"package-compile": "rimraf build && truffle compile --config truffle-config.cjs" | ||
}, | ||
"sideEffects": false, | ||
"version": "2.0.4" | ||
"version": "2.1.0" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3471534
53
84064