@acala-network/contracts
Advanced tools
Comparing version 3.0.1 to 3.0.2
@@ -36,6 +36,6 @@ { | ||
"IOracle": [ | ||
822 | ||
1253 | ||
] | ||
}, | ||
"id": 823, | ||
"id": 1254, | ||
"license": "GPL-3.0-or-later", | ||
@@ -45,3 +45,3 @@ "nodeType": "SourceUnit", | ||
{ | ||
"id": 814, | ||
"id": 1245, | ||
"literals": [ | ||
@@ -54,3 +54,3 @@ "solidity", | ||
"nodeType": "PragmaDirective", | ||
"src": "46:23:3" | ||
"src": "46:23:5" | ||
}, | ||
@@ -64,5 +64,5 @@ { | ||
"fullyImplemented": false, | ||
"id": 822, | ||
"id": 1253, | ||
"linearizedBaseContracts": [ | ||
822 | ||
1253 | ||
], | ||
@@ -76,3 +76,3 @@ "name": "IOracle", | ||
"functionSelector": "41976e09", | ||
"id": 821, | ||
"id": 1252, | ||
"implemented": false, | ||
@@ -85,3 +85,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 817, | ||
"id": 1248, | ||
"nodeType": "ParameterList", | ||
@@ -91,3 +91,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 816, | ||
"id": 1247, | ||
"mutability": "mutable", | ||
@@ -97,4 +97,4 @@ "name": "token", | ||
"overrides": null, | ||
"scope": 821, | ||
"src": "180:13:3", | ||
"scope": 1252, | ||
"src": "180:13:5", | ||
"stateVariable": false, | ||
@@ -107,6 +107,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 815, | ||
"id": 1246, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "180:7:3", | ||
"src": "180:7:5", | ||
"stateMutability": "nonpayable", | ||
@@ -122,6 +122,6 @@ "typeDescriptions": { | ||
], | ||
"src": "179:15:3" | ||
"src": "179:15:5" | ||
}, | ||
"returnParameters": { | ||
"id": 820, | ||
"id": 1251, | ||
"nodeType": "ParameterList", | ||
@@ -131,3 +131,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 819, | ||
"id": 1250, | ||
"mutability": "mutable", | ||
@@ -137,4 +137,4 @@ "name": "", | ||
"overrides": null, | ||
"scope": 821, | ||
"src": "218:7:3", | ||
"scope": 1252, | ||
"src": "218:7:5", | ||
"stateVariable": false, | ||
@@ -147,6 +147,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 818, | ||
"id": 1249, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "218:7:3", | ||
"src": "218:7:5", | ||
"typeDescriptions": { | ||
@@ -161,6 +161,6 @@ "typeIdentifier": "t_uint256", | ||
], | ||
"src": "217:9:3" | ||
"src": "217:9:5" | ||
}, | ||
"scope": 822, | ||
"src": "162:65:3", | ||
"scope": 1253, | ||
"src": "162:65:5", | ||
"stateMutability": "view", | ||
@@ -171,7 +171,7 @@ "virtual": false, | ||
], | ||
"scope": 823, | ||
"src": "71:158:3" | ||
"scope": 1254, | ||
"src": "71:158:5" | ||
} | ||
], | ||
"src": "46:184:3" | ||
"src": "46:184:5" | ||
}, | ||
@@ -182,6 +182,6 @@ "legacyAST": { | ||
"IOracle": [ | ||
822 | ||
1253 | ||
] | ||
}, | ||
"id": 823, | ||
"id": 1254, | ||
"license": "GPL-3.0-or-later", | ||
@@ -191,3 +191,3 @@ "nodeType": "SourceUnit", | ||
{ | ||
"id": 814, | ||
"id": 1245, | ||
"literals": [ | ||
@@ -200,3 +200,3 @@ "solidity", | ||
"nodeType": "PragmaDirective", | ||
"src": "46:23:3" | ||
"src": "46:23:5" | ||
}, | ||
@@ -210,5 +210,5 @@ { | ||
"fullyImplemented": false, | ||
"id": 822, | ||
"id": 1253, | ||
"linearizedBaseContracts": [ | ||
822 | ||
1253 | ||
], | ||
@@ -222,3 +222,3 @@ "name": "IOracle", | ||
"functionSelector": "41976e09", | ||
"id": 821, | ||
"id": 1252, | ||
"implemented": false, | ||
@@ -231,3 +231,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 817, | ||
"id": 1248, | ||
"nodeType": "ParameterList", | ||
@@ -237,3 +237,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 816, | ||
"id": 1247, | ||
"mutability": "mutable", | ||
@@ -243,4 +243,4 @@ "name": "token", | ||
"overrides": null, | ||
"scope": 821, | ||
"src": "180:13:3", | ||
"scope": 1252, | ||
"src": "180:13:5", | ||
"stateVariable": false, | ||
@@ -253,6 +253,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 815, | ||
"id": 1246, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "180:7:3", | ||
"src": "180:7:5", | ||
"stateMutability": "nonpayable", | ||
@@ -268,6 +268,6 @@ "typeDescriptions": { | ||
], | ||
"src": "179:15:3" | ||
"src": "179:15:5" | ||
}, | ||
"returnParameters": { | ||
"id": 820, | ||
"id": 1251, | ||
"nodeType": "ParameterList", | ||
@@ -277,3 +277,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 819, | ||
"id": 1250, | ||
"mutability": "mutable", | ||
@@ -283,4 +283,4 @@ "name": "", | ||
"overrides": null, | ||
"scope": 821, | ||
"src": "218:7:3", | ||
"scope": 1252, | ||
"src": "218:7:5", | ||
"stateVariable": false, | ||
@@ -293,6 +293,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 818, | ||
"id": 1249, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "218:7:3", | ||
"src": "218:7:5", | ||
"typeDescriptions": { | ||
@@ -307,6 +307,6 @@ "typeIdentifier": "t_uint256", | ||
], | ||
"src": "217:9:3" | ||
"src": "217:9:5" | ||
}, | ||
"scope": 822, | ||
"src": "162:65:3", | ||
"scope": 1253, | ||
"src": "162:65:5", | ||
"stateMutability": "view", | ||
@@ -317,7 +317,7 @@ "virtual": false, | ||
], | ||
"scope": 823, | ||
"src": "71:158:3" | ||
"scope": 1254, | ||
"src": "71:158:5" | ||
} | ||
], | ||
"src": "46:184:3" | ||
"src": "46:184:5" | ||
}, | ||
@@ -330,3 +330,3 @@ "compiler": { | ||
"schemaVersion": "3.3.1", | ||
"updatedAt": "2022-01-22T00:38:16.763Z", | ||
"updatedAt": "2022-02-17T03:20:32.195Z", | ||
"devdoc": { | ||
@@ -333,0 +333,0 @@ "kind": "dev", |
@@ -167,6 +167,6 @@ { | ||
"ISchedule": [ | ||
932 | ||
1363 | ||
] | ||
}, | ||
"id": 933, | ||
"id": 1364, | ||
"license": "GPL-3.0-or-later", | ||
@@ -176,3 +176,3 @@ "nodeType": "SourceUnit", | ||
{ | ||
"id": 878, | ||
"id": 1309, | ||
"literals": [ | ||
@@ -185,3 +185,3 @@ "solidity", | ||
"nodeType": "PragmaDirective", | ||
"src": "46:23:5" | ||
"src": "46:23:7" | ||
}, | ||
@@ -195,5 +195,5 @@ { | ||
"fullyImplemented": false, | ||
"id": 932, | ||
"id": 1363, | ||
"linearizedBaseContracts": [ | ||
932 | ||
1363 | ||
], | ||
@@ -206,7 +206,7 @@ "name": "ISchedule", | ||
"documentation": null, | ||
"id": 886, | ||
"id": 1317, | ||
"name": "ScheduledCall", | ||
"nodeType": "EventDefinition", | ||
"parameters": { | ||
"id": 885, | ||
"id": 1316, | ||
"nodeType": "ParameterList", | ||
@@ -216,3 +216,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 880, | ||
"id": 1311, | ||
"indexed": true, | ||
@@ -223,4 +223,4 @@ "mutability": "mutable", | ||
"overrides": null, | ||
"scope": 886, | ||
"src": "117:22:5", | ||
"scope": 1317, | ||
"src": "117:22:7", | ||
"stateVariable": false, | ||
@@ -233,6 +233,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 879, | ||
"id": 1310, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "117:7:5", | ||
"src": "117:7:7", | ||
"stateMutability": "nonpayable", | ||
@@ -249,3 +249,3 @@ "typeDescriptions": { | ||
"constant": false, | ||
"id": 882, | ||
"id": 1313, | ||
"indexed": true, | ||
@@ -256,4 +256,4 @@ "mutability": "mutable", | ||
"overrides": null, | ||
"scope": 886, | ||
"src": "141:32:5", | ||
"scope": 1317, | ||
"src": "141:32:7", | ||
"stateVariable": false, | ||
@@ -266,6 +266,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 881, | ||
"id": 1312, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "141:7:5", | ||
"src": "141:7:7", | ||
"stateMutability": "nonpayable", | ||
@@ -282,3 +282,3 @@ "typeDescriptions": { | ||
"constant": false, | ||
"id": 884, | ||
"id": 1315, | ||
"indexed": false, | ||
@@ -289,4 +289,4 @@ "mutability": "mutable", | ||
"overrides": null, | ||
"scope": 886, | ||
"src": "175:13:5", | ||
"scope": 1317, | ||
"src": "175:13:7", | ||
"stateVariable": false, | ||
@@ -299,6 +299,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 883, | ||
"id": 1314, | ||
"name": "bytes", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "175:5:5", | ||
"src": "175:5:7", | ||
"typeDescriptions": { | ||
@@ -313,5 +313,5 @@ "typeIdentifier": "t_bytes_storage_ptr", | ||
], | ||
"src": "116:73:5" | ||
"src": "116:73:7" | ||
}, | ||
"src": "97:93:5" | ||
"src": "97:93:7" | ||
}, | ||
@@ -321,7 +321,7 @@ { | ||
"documentation": null, | ||
"id": 892, | ||
"id": 1323, | ||
"name": "CanceledCall", | ||
"nodeType": "EventDefinition", | ||
"parameters": { | ||
"id": 891, | ||
"id": 1322, | ||
"nodeType": "ParameterList", | ||
@@ -331,3 +331,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 888, | ||
"id": 1319, | ||
"indexed": true, | ||
@@ -338,4 +338,4 @@ "mutability": "mutable", | ||
"overrides": null, | ||
"scope": 892, | ||
"src": "214:22:5", | ||
"scope": 1323, | ||
"src": "214:22:7", | ||
"stateVariable": false, | ||
@@ -348,6 +348,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 887, | ||
"id": 1318, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "214:7:5", | ||
"src": "214:7:7", | ||
"stateMutability": "nonpayable", | ||
@@ -364,3 +364,3 @@ "typeDescriptions": { | ||
"constant": false, | ||
"id": 890, | ||
"id": 1321, | ||
"indexed": false, | ||
@@ -371,4 +371,4 @@ "mutability": "mutable", | ||
"overrides": null, | ||
"scope": 892, | ||
"src": "238:13:5", | ||
"scope": 1323, | ||
"src": "238:13:7", | ||
"stateVariable": false, | ||
@@ -381,6 +381,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 889, | ||
"id": 1320, | ||
"name": "bytes", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "238:5:5", | ||
"src": "238:5:7", | ||
"typeDescriptions": { | ||
@@ -395,5 +395,5 @@ "typeIdentifier": "t_bytes_storage_ptr", | ||
], | ||
"src": "213:39:5" | ||
"src": "213:39:7" | ||
}, | ||
"src": "195:58:5" | ||
"src": "195:58:7" | ||
}, | ||
@@ -403,7 +403,7 @@ { | ||
"documentation": null, | ||
"id": 898, | ||
"id": 1329, | ||
"name": "RescheduledCall", | ||
"nodeType": "EventDefinition", | ||
"parameters": { | ||
"id": 897, | ||
"id": 1328, | ||
"nodeType": "ParameterList", | ||
@@ -413,3 +413,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 894, | ||
"id": 1325, | ||
"indexed": true, | ||
@@ -420,4 +420,4 @@ "mutability": "mutable", | ||
"overrides": null, | ||
"scope": 898, | ||
"src": "280:22:5", | ||
"scope": 1329, | ||
"src": "280:22:7", | ||
"stateVariable": false, | ||
@@ -430,6 +430,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 893, | ||
"id": 1324, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "280:7:5", | ||
"src": "280:7:7", | ||
"stateMutability": "nonpayable", | ||
@@ -446,3 +446,3 @@ "typeDescriptions": { | ||
"constant": false, | ||
"id": 896, | ||
"id": 1327, | ||
"indexed": false, | ||
@@ -453,4 +453,4 @@ "mutability": "mutable", | ||
"overrides": null, | ||
"scope": 898, | ||
"src": "304:13:5", | ||
"scope": 1329, | ||
"src": "304:13:7", | ||
"stateVariable": false, | ||
@@ -463,6 +463,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 895, | ||
"id": 1326, | ||
"name": "bytes", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "304:5:5", | ||
"src": "304:5:7", | ||
"typeDescriptions": { | ||
@@ -477,5 +477,5 @@ "typeIdentifier": "t_bytes_storage_ptr", | ||
], | ||
"src": "279:39:5" | ||
"src": "279:39:7" | ||
}, | ||
"src": "258:61:5" | ||
"src": "258:61:7" | ||
}, | ||
@@ -486,3 +486,3 @@ { | ||
"functionSelector": "168d560d", | ||
"id": 915, | ||
"id": 1346, | ||
"implemented": false, | ||
@@ -495,3 +495,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 911, | ||
"id": 1342, | ||
"nodeType": "ParameterList", | ||
@@ -501,3 +501,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 900, | ||
"id": 1331, | ||
"mutability": "mutable", | ||
@@ -507,4 +507,4 @@ "name": "contract_address", | ||
"overrides": null, | ||
"scope": 915, | ||
"src": "466:24:5", | ||
"scope": 1346, | ||
"src": "466:24:7", | ||
"stateVariable": false, | ||
@@ -517,6 +517,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 899, | ||
"id": 1330, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "466:7:5", | ||
"src": "466:7:7", | ||
"stateMutability": "nonpayable", | ||
@@ -533,3 +533,3 @@ "typeDescriptions": { | ||
"constant": false, | ||
"id": 902, | ||
"id": 1333, | ||
"mutability": "mutable", | ||
@@ -539,4 +539,4 @@ "name": "value", | ||
"overrides": null, | ||
"scope": 915, | ||
"src": "548:13:5", | ||
"scope": 1346, | ||
"src": "548:13:7", | ||
"stateVariable": false, | ||
@@ -549,6 +549,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 901, | ||
"id": 1332, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "548:7:5", | ||
"src": "548:7:7", | ||
"typeDescriptions": { | ||
@@ -564,3 +564,3 @@ "typeIdentifier": "t_uint256", | ||
"constant": false, | ||
"id": 904, | ||
"id": 1335, | ||
"mutability": "mutable", | ||
@@ -570,4 +570,4 @@ "name": "gas_limit", | ||
"overrides": null, | ||
"scope": 915, | ||
"src": "625:17:5", | ||
"scope": 1346, | ||
"src": "625:17:7", | ||
"stateVariable": false, | ||
@@ -580,6 +580,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 903, | ||
"id": 1334, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "625:7:5", | ||
"src": "625:7:7", | ||
"typeDescriptions": { | ||
@@ -595,3 +595,3 @@ "typeIdentifier": "t_uint256", | ||
"constant": false, | ||
"id": 906, | ||
"id": 1337, | ||
"mutability": "mutable", | ||
@@ -601,4 +601,4 @@ "name": "storage_limit", | ||
"overrides": null, | ||
"scope": 915, | ||
"src": "751:21:5", | ||
"scope": 1346, | ||
"src": "751:21:7", | ||
"stateVariable": false, | ||
@@ -611,6 +611,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 905, | ||
"id": 1336, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "751:7:5", | ||
"src": "751:7:7", | ||
"typeDescriptions": { | ||
@@ -626,3 +626,3 @@ "typeIdentifier": "t_uint256", | ||
"constant": false, | ||
"id": 908, | ||
"id": 1339, | ||
"mutability": "mutable", | ||
@@ -632,4 +632,4 @@ "name": "min_delay", | ||
"overrides": null, | ||
"scope": 915, | ||
"src": "885:17:5", | ||
"scope": 1346, | ||
"src": "885:17:7", | ||
"stateVariable": false, | ||
@@ -642,6 +642,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 907, | ||
"id": 1338, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "885:7:5", | ||
"src": "885:7:7", | ||
"typeDescriptions": { | ||
@@ -657,3 +657,3 @@ "typeIdentifier": "t_uint256", | ||
"constant": false, | ||
"id": 910, | ||
"id": 1341, | ||
"mutability": "mutable", | ||
@@ -663,4 +663,4 @@ "name": "input_data", | ||
"overrides": null, | ||
"scope": 915, | ||
"src": "982:25:5", | ||
"scope": 1346, | ||
"src": "982:25:7", | ||
"stateVariable": false, | ||
@@ -673,6 +673,6 @@ "storageLocation": "calldata", | ||
"typeName": { | ||
"id": 909, | ||
"id": 1340, | ||
"name": "bytes", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "982:5:5", | ||
"src": "982:5:7", | ||
"typeDescriptions": { | ||
@@ -687,6 +687,6 @@ "typeIdentifier": "t_bytes_storage_ptr", | ||
], | ||
"src": "456:588:5" | ||
"src": "456:588:7" | ||
}, | ||
"returnParameters": { | ||
"id": 914, | ||
"id": 1345, | ||
"nodeType": "ParameterList", | ||
@@ -696,3 +696,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 913, | ||
"id": 1344, | ||
"mutability": "mutable", | ||
@@ -702,4 +702,4 @@ "name": "", | ||
"overrides": null, | ||
"scope": 915, | ||
"src": "1071:12:5", | ||
"scope": 1346, | ||
"src": "1071:12:7", | ||
"stateVariable": false, | ||
@@ -712,6 +712,6 @@ "storageLocation": "memory", | ||
"typeName": { | ||
"id": 912, | ||
"id": 1343, | ||
"name": "bytes", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "1071:5:5", | ||
"src": "1071:5:7", | ||
"typeDescriptions": { | ||
@@ -726,6 +726,6 @@ "typeIdentifier": "t_bytes_storage_ptr", | ||
], | ||
"src": "1070:14:5" | ||
"src": "1070:14:7" | ||
}, | ||
"scope": 932, | ||
"src": "435:650:5", | ||
"scope": 1363, | ||
"src": "435:650:7", | ||
"stateMutability": "nonpayable", | ||
@@ -739,3 +739,3 @@ "virtual": false, | ||
"functionSelector": "ed67982b", | ||
"id": 922, | ||
"id": 1353, | ||
"implemented": false, | ||
@@ -748,3 +748,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 918, | ||
"id": 1349, | ||
"nodeType": "ParameterList", | ||
@@ -754,3 +754,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 917, | ||
"id": 1348, | ||
"mutability": "mutable", | ||
@@ -760,4 +760,4 @@ "name": "task_id", | ||
"overrides": null, | ||
"scope": 922, | ||
"src": "1304:22:5", | ||
"scope": 1353, | ||
"src": "1304:22:7", | ||
"stateVariable": false, | ||
@@ -770,6 +770,6 @@ "storageLocation": "calldata", | ||
"typeName": { | ||
"id": 916, | ||
"id": 1347, | ||
"name": "bytes", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "1304:5:5", | ||
"src": "1304:5:7", | ||
"typeDescriptions": { | ||
@@ -784,6 +784,6 @@ "typeIdentifier": "t_bytes_storage_ptr", | ||
], | ||
"src": "1294:110:5" | ||
"src": "1294:110:7" | ||
}, | ||
"returnParameters": { | ||
"id": 921, | ||
"id": 1352, | ||
"nodeType": "ParameterList", | ||
@@ -793,3 +793,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 920, | ||
"id": 1351, | ||
"mutability": "mutable", | ||
@@ -799,4 +799,4 @@ "name": "", | ||
"overrides": null, | ||
"scope": 922, | ||
"src": "1431:4:5", | ||
"scope": 1353, | ||
"src": "1431:4:7", | ||
"stateVariable": false, | ||
@@ -809,6 +809,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 919, | ||
"id": 1350, | ||
"name": "bool", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "1431:4:5", | ||
"src": "1431:4:7", | ||
"typeDescriptions": { | ||
@@ -823,6 +823,6 @@ "typeIdentifier": "t_bool", | ||
], | ||
"src": "1430:6:5" | ||
"src": "1430:6:7" | ||
}, | ||
"scope": 932, | ||
"src": "1275:162:5", | ||
"scope": 1363, | ||
"src": "1275:162:7", | ||
"stateMutability": "nonpayable", | ||
@@ -836,3 +836,3 @@ "virtual": false, | ||
"functionSelector": "80770aa2", | ||
"id": 931, | ||
"id": 1362, | ||
"implemented": false, | ||
@@ -845,3 +845,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 927, | ||
"id": 1358, | ||
"nodeType": "ParameterList", | ||
@@ -851,3 +851,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 924, | ||
"id": 1355, | ||
"mutability": "mutable", | ||
@@ -857,4 +857,4 @@ "name": "min_delay", | ||
"overrides": null, | ||
"scope": 931, | ||
"src": "1659:17:5", | ||
"scope": 1362, | ||
"src": "1659:17:7", | ||
"stateVariable": false, | ||
@@ -867,6 +867,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 923, | ||
"id": 1354, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "1659:7:5", | ||
"src": "1659:7:7", | ||
"typeDescriptions": { | ||
@@ -882,3 +882,3 @@ "typeIdentifier": "t_uint256", | ||
"constant": false, | ||
"id": 926, | ||
"id": 1357, | ||
"mutability": "mutable", | ||
@@ -888,4 +888,4 @@ "name": "task_id", | ||
"overrides": null, | ||
"scope": 931, | ||
"src": "1756:22:5", | ||
"scope": 1362, | ||
"src": "1756:22:7", | ||
"stateVariable": false, | ||
@@ -898,6 +898,6 @@ "storageLocation": "calldata", | ||
"typeName": { | ||
"id": 925, | ||
"id": 1356, | ||
"name": "bytes", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "1756:5:5", | ||
"src": "1756:5:7", | ||
"typeDescriptions": { | ||
@@ -912,6 +912,6 @@ "typeIdentifier": "t_bytes_storage_ptr", | ||
], | ||
"src": "1649:207:5" | ||
"src": "1649:207:7" | ||
}, | ||
"returnParameters": { | ||
"id": 930, | ||
"id": 1361, | ||
"nodeType": "ParameterList", | ||
@@ -921,3 +921,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 929, | ||
"id": 1360, | ||
"mutability": "mutable", | ||
@@ -927,4 +927,4 @@ "name": "", | ||
"overrides": null, | ||
"scope": 931, | ||
"src": "1883:4:5", | ||
"scope": 1362, | ||
"src": "1883:4:7", | ||
"stateVariable": false, | ||
@@ -937,6 +937,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 928, | ||
"id": 1359, | ||
"name": "bool", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "1883:4:5", | ||
"src": "1883:4:7", | ||
"typeDescriptions": { | ||
@@ -951,6 +951,6 @@ "typeIdentifier": "t_bool", | ||
], | ||
"src": "1882:6:5" | ||
"src": "1882:6:7" | ||
}, | ||
"scope": 932, | ||
"src": "1626:263:5", | ||
"scope": 1363, | ||
"src": "1626:263:7", | ||
"stateMutability": "nonpayable", | ||
@@ -961,7 +961,7 @@ "virtual": false, | ||
], | ||
"scope": 933, | ||
"src": "71:1891:5" | ||
"scope": 1364, | ||
"src": "71:1891:7" | ||
} | ||
], | ||
"src": "46:1917:5" | ||
"src": "46:1917:7" | ||
}, | ||
@@ -972,6 +972,6 @@ "legacyAST": { | ||
"ISchedule": [ | ||
932 | ||
1363 | ||
] | ||
}, | ||
"id": 933, | ||
"id": 1364, | ||
"license": "GPL-3.0-or-later", | ||
@@ -981,3 +981,3 @@ "nodeType": "SourceUnit", | ||
{ | ||
"id": 878, | ||
"id": 1309, | ||
"literals": [ | ||
@@ -990,3 +990,3 @@ "solidity", | ||
"nodeType": "PragmaDirective", | ||
"src": "46:23:5" | ||
"src": "46:23:7" | ||
}, | ||
@@ -1000,5 +1000,5 @@ { | ||
"fullyImplemented": false, | ||
"id": 932, | ||
"id": 1363, | ||
"linearizedBaseContracts": [ | ||
932 | ||
1363 | ||
], | ||
@@ -1011,7 +1011,7 @@ "name": "ISchedule", | ||
"documentation": null, | ||
"id": 886, | ||
"id": 1317, | ||
"name": "ScheduledCall", | ||
"nodeType": "EventDefinition", | ||
"parameters": { | ||
"id": 885, | ||
"id": 1316, | ||
"nodeType": "ParameterList", | ||
@@ -1021,3 +1021,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 880, | ||
"id": 1311, | ||
"indexed": true, | ||
@@ -1028,4 +1028,4 @@ "mutability": "mutable", | ||
"overrides": null, | ||
"scope": 886, | ||
"src": "117:22:5", | ||
"scope": 1317, | ||
"src": "117:22:7", | ||
"stateVariable": false, | ||
@@ -1038,6 +1038,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 879, | ||
"id": 1310, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "117:7:5", | ||
"src": "117:7:7", | ||
"stateMutability": "nonpayable", | ||
@@ -1054,3 +1054,3 @@ "typeDescriptions": { | ||
"constant": false, | ||
"id": 882, | ||
"id": 1313, | ||
"indexed": true, | ||
@@ -1061,4 +1061,4 @@ "mutability": "mutable", | ||
"overrides": null, | ||
"scope": 886, | ||
"src": "141:32:5", | ||
"scope": 1317, | ||
"src": "141:32:7", | ||
"stateVariable": false, | ||
@@ -1071,6 +1071,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 881, | ||
"id": 1312, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "141:7:5", | ||
"src": "141:7:7", | ||
"stateMutability": "nonpayable", | ||
@@ -1087,3 +1087,3 @@ "typeDescriptions": { | ||
"constant": false, | ||
"id": 884, | ||
"id": 1315, | ||
"indexed": false, | ||
@@ -1094,4 +1094,4 @@ "mutability": "mutable", | ||
"overrides": null, | ||
"scope": 886, | ||
"src": "175:13:5", | ||
"scope": 1317, | ||
"src": "175:13:7", | ||
"stateVariable": false, | ||
@@ -1104,6 +1104,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 883, | ||
"id": 1314, | ||
"name": "bytes", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "175:5:5", | ||
"src": "175:5:7", | ||
"typeDescriptions": { | ||
@@ -1118,5 +1118,5 @@ "typeIdentifier": "t_bytes_storage_ptr", | ||
], | ||
"src": "116:73:5" | ||
"src": "116:73:7" | ||
}, | ||
"src": "97:93:5" | ||
"src": "97:93:7" | ||
}, | ||
@@ -1126,7 +1126,7 @@ { | ||
"documentation": null, | ||
"id": 892, | ||
"id": 1323, | ||
"name": "CanceledCall", | ||
"nodeType": "EventDefinition", | ||
"parameters": { | ||
"id": 891, | ||
"id": 1322, | ||
"nodeType": "ParameterList", | ||
@@ -1136,3 +1136,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 888, | ||
"id": 1319, | ||
"indexed": true, | ||
@@ -1143,4 +1143,4 @@ "mutability": "mutable", | ||
"overrides": null, | ||
"scope": 892, | ||
"src": "214:22:5", | ||
"scope": 1323, | ||
"src": "214:22:7", | ||
"stateVariable": false, | ||
@@ -1153,6 +1153,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 887, | ||
"id": 1318, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "214:7:5", | ||
"src": "214:7:7", | ||
"stateMutability": "nonpayable", | ||
@@ -1169,3 +1169,3 @@ "typeDescriptions": { | ||
"constant": false, | ||
"id": 890, | ||
"id": 1321, | ||
"indexed": false, | ||
@@ -1176,4 +1176,4 @@ "mutability": "mutable", | ||
"overrides": null, | ||
"scope": 892, | ||
"src": "238:13:5", | ||
"scope": 1323, | ||
"src": "238:13:7", | ||
"stateVariable": false, | ||
@@ -1186,6 +1186,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 889, | ||
"id": 1320, | ||
"name": "bytes", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "238:5:5", | ||
"src": "238:5:7", | ||
"typeDescriptions": { | ||
@@ -1200,5 +1200,5 @@ "typeIdentifier": "t_bytes_storage_ptr", | ||
], | ||
"src": "213:39:5" | ||
"src": "213:39:7" | ||
}, | ||
"src": "195:58:5" | ||
"src": "195:58:7" | ||
}, | ||
@@ -1208,7 +1208,7 @@ { | ||
"documentation": null, | ||
"id": 898, | ||
"id": 1329, | ||
"name": "RescheduledCall", | ||
"nodeType": "EventDefinition", | ||
"parameters": { | ||
"id": 897, | ||
"id": 1328, | ||
"nodeType": "ParameterList", | ||
@@ -1218,3 +1218,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 894, | ||
"id": 1325, | ||
"indexed": true, | ||
@@ -1225,4 +1225,4 @@ "mutability": "mutable", | ||
"overrides": null, | ||
"scope": 898, | ||
"src": "280:22:5", | ||
"scope": 1329, | ||
"src": "280:22:7", | ||
"stateVariable": false, | ||
@@ -1235,6 +1235,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 893, | ||
"id": 1324, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "280:7:5", | ||
"src": "280:7:7", | ||
"stateMutability": "nonpayable", | ||
@@ -1251,3 +1251,3 @@ "typeDescriptions": { | ||
"constant": false, | ||
"id": 896, | ||
"id": 1327, | ||
"indexed": false, | ||
@@ -1258,4 +1258,4 @@ "mutability": "mutable", | ||
"overrides": null, | ||
"scope": 898, | ||
"src": "304:13:5", | ||
"scope": 1329, | ||
"src": "304:13:7", | ||
"stateVariable": false, | ||
@@ -1268,6 +1268,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 895, | ||
"id": 1326, | ||
"name": "bytes", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "304:5:5", | ||
"src": "304:5:7", | ||
"typeDescriptions": { | ||
@@ -1282,5 +1282,5 @@ "typeIdentifier": "t_bytes_storage_ptr", | ||
], | ||
"src": "279:39:5" | ||
"src": "279:39:7" | ||
}, | ||
"src": "258:61:5" | ||
"src": "258:61:7" | ||
}, | ||
@@ -1291,3 +1291,3 @@ { | ||
"functionSelector": "168d560d", | ||
"id": 915, | ||
"id": 1346, | ||
"implemented": false, | ||
@@ -1300,3 +1300,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 911, | ||
"id": 1342, | ||
"nodeType": "ParameterList", | ||
@@ -1306,3 +1306,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 900, | ||
"id": 1331, | ||
"mutability": "mutable", | ||
@@ -1312,4 +1312,4 @@ "name": "contract_address", | ||
"overrides": null, | ||
"scope": 915, | ||
"src": "466:24:5", | ||
"scope": 1346, | ||
"src": "466:24:7", | ||
"stateVariable": false, | ||
@@ -1322,6 +1322,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 899, | ||
"id": 1330, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "466:7:5", | ||
"src": "466:7:7", | ||
"stateMutability": "nonpayable", | ||
@@ -1338,3 +1338,3 @@ "typeDescriptions": { | ||
"constant": false, | ||
"id": 902, | ||
"id": 1333, | ||
"mutability": "mutable", | ||
@@ -1344,4 +1344,4 @@ "name": "value", | ||
"overrides": null, | ||
"scope": 915, | ||
"src": "548:13:5", | ||
"scope": 1346, | ||
"src": "548:13:7", | ||
"stateVariable": false, | ||
@@ -1354,6 +1354,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 901, | ||
"id": 1332, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "548:7:5", | ||
"src": "548:7:7", | ||
"typeDescriptions": { | ||
@@ -1369,3 +1369,3 @@ "typeIdentifier": "t_uint256", | ||
"constant": false, | ||
"id": 904, | ||
"id": 1335, | ||
"mutability": "mutable", | ||
@@ -1375,4 +1375,4 @@ "name": "gas_limit", | ||
"overrides": null, | ||
"scope": 915, | ||
"src": "625:17:5", | ||
"scope": 1346, | ||
"src": "625:17:7", | ||
"stateVariable": false, | ||
@@ -1385,6 +1385,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 903, | ||
"id": 1334, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "625:7:5", | ||
"src": "625:7:7", | ||
"typeDescriptions": { | ||
@@ -1400,3 +1400,3 @@ "typeIdentifier": "t_uint256", | ||
"constant": false, | ||
"id": 906, | ||
"id": 1337, | ||
"mutability": "mutable", | ||
@@ -1406,4 +1406,4 @@ "name": "storage_limit", | ||
"overrides": null, | ||
"scope": 915, | ||
"src": "751:21:5", | ||
"scope": 1346, | ||
"src": "751:21:7", | ||
"stateVariable": false, | ||
@@ -1416,6 +1416,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 905, | ||
"id": 1336, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "751:7:5", | ||
"src": "751:7:7", | ||
"typeDescriptions": { | ||
@@ -1431,3 +1431,3 @@ "typeIdentifier": "t_uint256", | ||
"constant": false, | ||
"id": 908, | ||
"id": 1339, | ||
"mutability": "mutable", | ||
@@ -1437,4 +1437,4 @@ "name": "min_delay", | ||
"overrides": null, | ||
"scope": 915, | ||
"src": "885:17:5", | ||
"scope": 1346, | ||
"src": "885:17:7", | ||
"stateVariable": false, | ||
@@ -1447,6 +1447,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 907, | ||
"id": 1338, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "885:7:5", | ||
"src": "885:7:7", | ||
"typeDescriptions": { | ||
@@ -1462,3 +1462,3 @@ "typeIdentifier": "t_uint256", | ||
"constant": false, | ||
"id": 910, | ||
"id": 1341, | ||
"mutability": "mutable", | ||
@@ -1468,4 +1468,4 @@ "name": "input_data", | ||
"overrides": null, | ||
"scope": 915, | ||
"src": "982:25:5", | ||
"scope": 1346, | ||
"src": "982:25:7", | ||
"stateVariable": false, | ||
@@ -1478,6 +1478,6 @@ "storageLocation": "calldata", | ||
"typeName": { | ||
"id": 909, | ||
"id": 1340, | ||
"name": "bytes", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "982:5:5", | ||
"src": "982:5:7", | ||
"typeDescriptions": { | ||
@@ -1492,6 +1492,6 @@ "typeIdentifier": "t_bytes_storage_ptr", | ||
], | ||
"src": "456:588:5" | ||
"src": "456:588:7" | ||
}, | ||
"returnParameters": { | ||
"id": 914, | ||
"id": 1345, | ||
"nodeType": "ParameterList", | ||
@@ -1501,3 +1501,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 913, | ||
"id": 1344, | ||
"mutability": "mutable", | ||
@@ -1507,4 +1507,4 @@ "name": "", | ||
"overrides": null, | ||
"scope": 915, | ||
"src": "1071:12:5", | ||
"scope": 1346, | ||
"src": "1071:12:7", | ||
"stateVariable": false, | ||
@@ -1517,6 +1517,6 @@ "storageLocation": "memory", | ||
"typeName": { | ||
"id": 912, | ||
"id": 1343, | ||
"name": "bytes", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "1071:5:5", | ||
"src": "1071:5:7", | ||
"typeDescriptions": { | ||
@@ -1531,6 +1531,6 @@ "typeIdentifier": "t_bytes_storage_ptr", | ||
], | ||
"src": "1070:14:5" | ||
"src": "1070:14:7" | ||
}, | ||
"scope": 932, | ||
"src": "435:650:5", | ||
"scope": 1363, | ||
"src": "435:650:7", | ||
"stateMutability": "nonpayable", | ||
@@ -1544,3 +1544,3 @@ "virtual": false, | ||
"functionSelector": "ed67982b", | ||
"id": 922, | ||
"id": 1353, | ||
"implemented": false, | ||
@@ -1553,3 +1553,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 918, | ||
"id": 1349, | ||
"nodeType": "ParameterList", | ||
@@ -1559,3 +1559,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 917, | ||
"id": 1348, | ||
"mutability": "mutable", | ||
@@ -1565,4 +1565,4 @@ "name": "task_id", | ||
"overrides": null, | ||
"scope": 922, | ||
"src": "1304:22:5", | ||
"scope": 1353, | ||
"src": "1304:22:7", | ||
"stateVariable": false, | ||
@@ -1575,6 +1575,6 @@ "storageLocation": "calldata", | ||
"typeName": { | ||
"id": 916, | ||
"id": 1347, | ||
"name": "bytes", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "1304:5:5", | ||
"src": "1304:5:7", | ||
"typeDescriptions": { | ||
@@ -1589,6 +1589,6 @@ "typeIdentifier": "t_bytes_storage_ptr", | ||
], | ||
"src": "1294:110:5" | ||
"src": "1294:110:7" | ||
}, | ||
"returnParameters": { | ||
"id": 921, | ||
"id": 1352, | ||
"nodeType": "ParameterList", | ||
@@ -1598,3 +1598,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 920, | ||
"id": 1351, | ||
"mutability": "mutable", | ||
@@ -1604,4 +1604,4 @@ "name": "", | ||
"overrides": null, | ||
"scope": 922, | ||
"src": "1431:4:5", | ||
"scope": 1353, | ||
"src": "1431:4:7", | ||
"stateVariable": false, | ||
@@ -1614,6 +1614,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 919, | ||
"id": 1350, | ||
"name": "bool", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "1431:4:5", | ||
"src": "1431:4:7", | ||
"typeDescriptions": { | ||
@@ -1628,6 +1628,6 @@ "typeIdentifier": "t_bool", | ||
], | ||
"src": "1430:6:5" | ||
"src": "1430:6:7" | ||
}, | ||
"scope": 932, | ||
"src": "1275:162:5", | ||
"scope": 1363, | ||
"src": "1275:162:7", | ||
"stateMutability": "nonpayable", | ||
@@ -1641,3 +1641,3 @@ "virtual": false, | ||
"functionSelector": "80770aa2", | ||
"id": 931, | ||
"id": 1362, | ||
"implemented": false, | ||
@@ -1650,3 +1650,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 927, | ||
"id": 1358, | ||
"nodeType": "ParameterList", | ||
@@ -1656,3 +1656,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 924, | ||
"id": 1355, | ||
"mutability": "mutable", | ||
@@ -1662,4 +1662,4 @@ "name": "min_delay", | ||
"overrides": null, | ||
"scope": 931, | ||
"src": "1659:17:5", | ||
"scope": 1362, | ||
"src": "1659:17:7", | ||
"stateVariable": false, | ||
@@ -1672,6 +1672,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 923, | ||
"id": 1354, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "1659:7:5", | ||
"src": "1659:7:7", | ||
"typeDescriptions": { | ||
@@ -1687,3 +1687,3 @@ "typeIdentifier": "t_uint256", | ||
"constant": false, | ||
"id": 926, | ||
"id": 1357, | ||
"mutability": "mutable", | ||
@@ -1693,4 +1693,4 @@ "name": "task_id", | ||
"overrides": null, | ||
"scope": 931, | ||
"src": "1756:22:5", | ||
"scope": 1362, | ||
"src": "1756:22:7", | ||
"stateVariable": false, | ||
@@ -1703,6 +1703,6 @@ "storageLocation": "calldata", | ||
"typeName": { | ||
"id": 925, | ||
"id": 1356, | ||
"name": "bytes", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "1756:5:5", | ||
"src": "1756:5:7", | ||
"typeDescriptions": { | ||
@@ -1717,6 +1717,6 @@ "typeIdentifier": "t_bytes_storage_ptr", | ||
], | ||
"src": "1649:207:5" | ||
"src": "1649:207:7" | ||
}, | ||
"returnParameters": { | ||
"id": 930, | ||
"id": 1361, | ||
"nodeType": "ParameterList", | ||
@@ -1726,3 +1726,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 929, | ||
"id": 1360, | ||
"mutability": "mutable", | ||
@@ -1732,4 +1732,4 @@ "name": "", | ||
"overrides": null, | ||
"scope": 931, | ||
"src": "1883:4:5", | ||
"scope": 1362, | ||
"src": "1883:4:7", | ||
"stateVariable": false, | ||
@@ -1742,6 +1742,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 928, | ||
"id": 1359, | ||
"name": "bool", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "1883:4:5", | ||
"src": "1883:4:7", | ||
"typeDescriptions": { | ||
@@ -1756,6 +1756,6 @@ "typeIdentifier": "t_bool", | ||
], | ||
"src": "1882:6:5" | ||
"src": "1882:6:7" | ||
}, | ||
"scope": 932, | ||
"src": "1626:263:5", | ||
"scope": 1363, | ||
"src": "1626:263:7", | ||
"stateMutability": "nonpayable", | ||
@@ -1766,7 +1766,7 @@ "virtual": false, | ||
], | ||
"scope": 933, | ||
"src": "71:1891:5" | ||
"scope": 1364, | ||
"src": "71:1891:7" | ||
} | ||
], | ||
"src": "46:1917:5" | ||
"src": "46:1917:7" | ||
}, | ||
@@ -1779,3 +1779,3 @@ "compiler": { | ||
"schemaVersion": "3.3.1", | ||
"updatedAt": "2022-01-22T00:38:16.771Z", | ||
"updatedAt": "2022-02-17T03:20:32.197Z", | ||
"devdoc": { | ||
@@ -1782,0 +1782,0 @@ "kind": "dev", |
@@ -48,4 +48,4 @@ { | ||
"immutableReferences": {}, | ||
"sourceMap": "71:352:13:-:0;;;118:10;95:33;;;;;;;;;;;;;;;;;;;;71:352;;;;;;;;;;;;;;;;", | ||
"deployedSourceMap": "71:352:13:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;132:36;;;:::i;:::-;;;;;;;;;;;;;;;;;;;95:33;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;318:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;132:36;;;;:::o;95:33::-;;;;;;;;;;;;:::o;318:103::-;230:5;;;;;;;;;;216:19;;:10;:19;;;201:101;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;407:9:::1;380:24;:36;;;;318:103:::0;:::o", | ||
"sourceMap": "71:352:12:-:0;;;118:10;95:33;;;;;;;;;;;;;;;;;;;;71:352;;;;;;;;;;;;;;;;", | ||
"deployedSourceMap": "71:352:12:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;132:36;;;:::i;:::-;;;;;;;;;;;;;;;;;;;95:33;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;318:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;132:36;;;;:::o;95:33::-;;;;;;;;;;;;:::o;318:103::-;230:5;;;;;;;;;;216:19;;:10;:19;;;201:101;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;407:9:::1;380:24;:36;;;;318:103:::0;:::o", | ||
"source": "// SPDX-License-Identifier: GPL-3.0-or-later\n\npragma solidity ^0.7.0;\n\ncontract Migrations {\n address public owner = msg.sender;\n uint public last_completed_migration;\n\n modifier restricted() {\n require(\n msg.sender == owner,\n \"This function is restricted to the contract's owner\"\n );\n _;\n }\n\n function setCompleted(uint completed) public restricted {\n last_completed_migration = completed;\n }\n}\n", | ||
@@ -57,6 +57,6 @@ "sourcePath": "/home/runner/work/predeploy-contracts/predeploy-contracts/contracts/utils/Migrations.sol", | ||
"Migrations": [ | ||
2157 | ||
2127 | ||
] | ||
}, | ||
"id": 2158, | ||
"id": 2128, | ||
"license": "GPL-3.0-or-later", | ||
@@ -66,3 +66,3 @@ "nodeType": "SourceUnit", | ||
{ | ||
"id": 2126, | ||
"id": 2096, | ||
"literals": [ | ||
@@ -75,3 +75,3 @@ "solidity", | ||
"nodeType": "PragmaDirective", | ||
"src": "46:23:13" | ||
"src": "46:23:12" | ||
}, | ||
@@ -85,5 +85,5 @@ { | ||
"fullyImplemented": true, | ||
"id": 2157, | ||
"id": 2127, | ||
"linearizedBaseContracts": [ | ||
2157 | ||
2127 | ||
], | ||
@@ -96,3 +96,3 @@ "name": "Migrations", | ||
"functionSelector": "8da5cb5b", | ||
"id": 2130, | ||
"id": 2100, | ||
"mutability": "mutable", | ||
@@ -102,4 +102,4 @@ "name": "owner", | ||
"overrides": null, | ||
"scope": 2157, | ||
"src": "95:33:13", | ||
"scope": 2127, | ||
"src": "95:33:12", | ||
"stateVariable": true, | ||
@@ -112,6 +112,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 2127, | ||
"id": 2097, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "95:7:13", | ||
"src": "95:7:12", | ||
"stateMutability": "nonpayable", | ||
@@ -127,3 +127,3 @@ "typeDescriptions": { | ||
"argumentTypes": null, | ||
"id": 2128, | ||
"id": 2098, | ||
"name": "msg", | ||
@@ -133,3 +133,3 @@ "nodeType": "Identifier", | ||
"referencedDeclaration": -15, | ||
"src": "118:3:13", | ||
"src": "118:3:12", | ||
"typeDescriptions": { | ||
@@ -140,3 +140,3 @@ "typeIdentifier": "t_magic_message", | ||
}, | ||
"id": 2129, | ||
"id": 2099, | ||
"isConstant": false, | ||
@@ -149,3 +149,3 @@ "isLValue": false, | ||
"referencedDeclaration": null, | ||
"src": "118:10:13", | ||
"src": "118:10:12", | ||
"typeDescriptions": { | ||
@@ -161,3 +161,3 @@ "typeIdentifier": "t_address_payable", | ||
"functionSelector": "445df0ac", | ||
"id": 2132, | ||
"id": 2102, | ||
"mutability": "mutable", | ||
@@ -167,4 +167,4 @@ "name": "last_completed_migration", | ||
"overrides": null, | ||
"scope": 2157, | ||
"src": "132:36:13", | ||
"scope": 2127, | ||
"src": "132:36:12", | ||
"stateVariable": true, | ||
@@ -177,6 +177,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 2131, | ||
"id": 2101, | ||
"name": "uint", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "132:4:13", | ||
"src": "132:4:12", | ||
"typeDescriptions": { | ||
@@ -192,5 +192,5 @@ "typeIdentifier": "t_uint256", | ||
"body": { | ||
"id": 2143, | ||
"id": 2113, | ||
"nodeType": "Block", | ||
"src": "195:119:13", | ||
"src": "195:119:12", | ||
"statements": [ | ||
@@ -207,3 +207,3 @@ { | ||
}, | ||
"id": 2138, | ||
"id": 2108, | ||
"isConstant": false, | ||
@@ -217,3 +217,3 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 2135, | ||
"id": 2105, | ||
"name": "msg", | ||
@@ -223,3 +223,3 @@ "nodeType": "Identifier", | ||
"referencedDeclaration": -15, | ||
"src": "216:3:13", | ||
"src": "216:3:12", | ||
"typeDescriptions": { | ||
@@ -230,3 +230,3 @@ "typeIdentifier": "t_magic_message", | ||
}, | ||
"id": 2136, | ||
"id": 2106, | ||
"isConstant": false, | ||
@@ -239,3 +239,3 @@ "isLValue": false, | ||
"referencedDeclaration": null, | ||
"src": "216:10:13", | ||
"src": "216:10:12", | ||
"typeDescriptions": { | ||
@@ -250,8 +250,8 @@ "typeIdentifier": "t_address_payable", | ||
"argumentTypes": null, | ||
"id": 2137, | ||
"id": 2107, | ||
"name": "owner", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2130, | ||
"src": "230:5:13", | ||
"referencedDeclaration": 2100, | ||
"src": "230:5:12", | ||
"typeDescriptions": { | ||
@@ -262,3 +262,3 @@ "typeIdentifier": "t_address", | ||
}, | ||
"src": "216:19:13", | ||
"src": "216:19:12", | ||
"typeDescriptions": { | ||
@@ -272,3 +272,3 @@ "typeIdentifier": "t_bool", | ||
"hexValue": "546869732066756e6374696f6e206973207265737472696374656420746f2074686520636f6e74726163742773206f776e6572", | ||
"id": 2139, | ||
"id": 2109, | ||
"isConstant": false, | ||
@@ -280,3 +280,3 @@ "isLValue": false, | ||
"nodeType": "Literal", | ||
"src": "243:53:13", | ||
"src": "243:53:12", | ||
"subdenomination": null, | ||
@@ -301,3 +301,3 @@ "typeDescriptions": { | ||
], | ||
"id": 2134, | ||
"id": 2104, | ||
"name": "require", | ||
@@ -310,3 +310,3 @@ "nodeType": "Identifier", | ||
"referencedDeclaration": -18, | ||
"src": "201:7:13", | ||
"src": "201:7:12", | ||
"typeDescriptions": { | ||
@@ -317,3 +317,3 @@ "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", | ||
}, | ||
"id": 2140, | ||
"id": 2110, | ||
"isConstant": false, | ||
@@ -326,3 +326,3 @@ "isLValue": false, | ||
"nodeType": "FunctionCall", | ||
"src": "201:101:13", | ||
"src": "201:101:12", | ||
"tryCall": false, | ||
@@ -334,10 +334,10 @@ "typeDescriptions": { | ||
}, | ||
"id": 2141, | ||
"id": 2111, | ||
"nodeType": "ExpressionStatement", | ||
"src": "201:101:13" | ||
"src": "201:101:12" | ||
}, | ||
{ | ||
"id": 2142, | ||
"id": 2112, | ||
"nodeType": "PlaceholderStatement", | ||
"src": "308:1:13" | ||
"src": "308:1:12" | ||
} | ||
@@ -347,3 +347,3 @@ ] | ||
"documentation": null, | ||
"id": 2144, | ||
"id": 2114, | ||
"name": "restricted", | ||
@@ -353,8 +353,8 @@ "nodeType": "ModifierDefinition", | ||
"parameters": { | ||
"id": 2133, | ||
"id": 2103, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "192:2:13" | ||
"src": "192:2:12" | ||
}, | ||
"src": "173:141:13", | ||
"src": "173:141:12", | ||
"virtual": false, | ||
@@ -365,5 +365,5 @@ "visibility": "internal" | ||
"body": { | ||
"id": 2155, | ||
"id": 2125, | ||
"nodeType": "Block", | ||
"src": "374:47:13", | ||
"src": "374:47:12", | ||
"statements": [ | ||
@@ -373,3 +373,3 @@ { | ||
"argumentTypes": null, | ||
"id": 2153, | ||
"id": 2123, | ||
"isConstant": false, | ||
@@ -381,8 +381,8 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 2151, | ||
"id": 2121, | ||
"name": "last_completed_migration", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2132, | ||
"src": "380:24:13", | ||
"referencedDeclaration": 2102, | ||
"src": "380:24:12", | ||
"typeDescriptions": { | ||
@@ -397,8 +397,8 @@ "typeIdentifier": "t_uint256", | ||
"argumentTypes": null, | ||
"id": 2152, | ||
"id": 2122, | ||
"name": "completed", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2146, | ||
"src": "407:9:13", | ||
"referencedDeclaration": 2116, | ||
"src": "407:9:12", | ||
"typeDescriptions": { | ||
@@ -409,3 +409,3 @@ "typeIdentifier": "t_uint256", | ||
}, | ||
"src": "380:36:13", | ||
"src": "380:36:12", | ||
"typeDescriptions": { | ||
@@ -416,5 +416,5 @@ "typeIdentifier": "t_uint256", | ||
}, | ||
"id": 2154, | ||
"id": 2124, | ||
"nodeType": "ExpressionStatement", | ||
"src": "380:36:13" | ||
"src": "380:36:12" | ||
} | ||
@@ -425,3 +425,3 @@ ] | ||
"functionSelector": "fdacd576", | ||
"id": 2156, | ||
"id": 2126, | ||
"implemented": true, | ||
@@ -432,11 +432,11 @@ "kind": "function", | ||
"arguments": null, | ||
"id": 2149, | ||
"id": 2119, | ||
"modifierName": { | ||
"argumentTypes": null, | ||
"id": 2148, | ||
"id": 2118, | ||
"name": "restricted", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2144, | ||
"src": "363:10:13", | ||
"referencedDeclaration": 2114, | ||
"src": "363:10:12", | ||
"typeDescriptions": { | ||
@@ -448,3 +448,3 @@ "typeIdentifier": "t_modifier$__$", | ||
"nodeType": "ModifierInvocation", | ||
"src": "363:10:13" | ||
"src": "363:10:12" | ||
} | ||
@@ -456,3 +456,3 @@ ], | ||
"parameters": { | ||
"id": 2147, | ||
"id": 2117, | ||
"nodeType": "ParameterList", | ||
@@ -462,3 +462,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 2146, | ||
"id": 2116, | ||
"mutability": "mutable", | ||
@@ -468,4 +468,4 @@ "name": "completed", | ||
"overrides": null, | ||
"scope": 2156, | ||
"src": "340:14:13", | ||
"scope": 2126, | ||
"src": "340:14:12", | ||
"stateVariable": false, | ||
@@ -478,6 +478,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 2145, | ||
"id": 2115, | ||
"name": "uint", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "340:4:13", | ||
"src": "340:4:12", | ||
"typeDescriptions": { | ||
@@ -492,12 +492,12 @@ "typeIdentifier": "t_uint256", | ||
], | ||
"src": "339:16:13" | ||
"src": "339:16:12" | ||
}, | ||
"returnParameters": { | ||
"id": 2150, | ||
"id": 2120, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "374:0:13" | ||
"src": "374:0:12" | ||
}, | ||
"scope": 2157, | ||
"src": "318:103:13", | ||
"scope": 2127, | ||
"src": "318:103:12", | ||
"stateMutability": "nonpayable", | ||
@@ -508,7 +508,7 @@ "virtual": false, | ||
], | ||
"scope": 2158, | ||
"src": "71:352:13" | ||
"scope": 2128, | ||
"src": "71:352:12" | ||
} | ||
], | ||
"src": "46:378:13" | ||
"src": "46:378:12" | ||
}, | ||
@@ -519,6 +519,6 @@ "legacyAST": { | ||
"Migrations": [ | ||
2157 | ||
2127 | ||
] | ||
}, | ||
"id": 2158, | ||
"id": 2128, | ||
"license": "GPL-3.0-or-later", | ||
@@ -528,3 +528,3 @@ "nodeType": "SourceUnit", | ||
{ | ||
"id": 2126, | ||
"id": 2096, | ||
"literals": [ | ||
@@ -537,3 +537,3 @@ "solidity", | ||
"nodeType": "PragmaDirective", | ||
"src": "46:23:13" | ||
"src": "46:23:12" | ||
}, | ||
@@ -547,5 +547,5 @@ { | ||
"fullyImplemented": true, | ||
"id": 2157, | ||
"id": 2127, | ||
"linearizedBaseContracts": [ | ||
2157 | ||
2127 | ||
], | ||
@@ -558,3 +558,3 @@ "name": "Migrations", | ||
"functionSelector": "8da5cb5b", | ||
"id": 2130, | ||
"id": 2100, | ||
"mutability": "mutable", | ||
@@ -564,4 +564,4 @@ "name": "owner", | ||
"overrides": null, | ||
"scope": 2157, | ||
"src": "95:33:13", | ||
"scope": 2127, | ||
"src": "95:33:12", | ||
"stateVariable": true, | ||
@@ -574,6 +574,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 2127, | ||
"id": 2097, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "95:7:13", | ||
"src": "95:7:12", | ||
"stateMutability": "nonpayable", | ||
@@ -589,3 +589,3 @@ "typeDescriptions": { | ||
"argumentTypes": null, | ||
"id": 2128, | ||
"id": 2098, | ||
"name": "msg", | ||
@@ -595,3 +595,3 @@ "nodeType": "Identifier", | ||
"referencedDeclaration": -15, | ||
"src": "118:3:13", | ||
"src": "118:3:12", | ||
"typeDescriptions": { | ||
@@ -602,3 +602,3 @@ "typeIdentifier": "t_magic_message", | ||
}, | ||
"id": 2129, | ||
"id": 2099, | ||
"isConstant": false, | ||
@@ -611,3 +611,3 @@ "isLValue": false, | ||
"referencedDeclaration": null, | ||
"src": "118:10:13", | ||
"src": "118:10:12", | ||
"typeDescriptions": { | ||
@@ -623,3 +623,3 @@ "typeIdentifier": "t_address_payable", | ||
"functionSelector": "445df0ac", | ||
"id": 2132, | ||
"id": 2102, | ||
"mutability": "mutable", | ||
@@ -629,4 +629,4 @@ "name": "last_completed_migration", | ||
"overrides": null, | ||
"scope": 2157, | ||
"src": "132:36:13", | ||
"scope": 2127, | ||
"src": "132:36:12", | ||
"stateVariable": true, | ||
@@ -639,6 +639,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 2131, | ||
"id": 2101, | ||
"name": "uint", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "132:4:13", | ||
"src": "132:4:12", | ||
"typeDescriptions": { | ||
@@ -654,5 +654,5 @@ "typeIdentifier": "t_uint256", | ||
"body": { | ||
"id": 2143, | ||
"id": 2113, | ||
"nodeType": "Block", | ||
"src": "195:119:13", | ||
"src": "195:119:12", | ||
"statements": [ | ||
@@ -669,3 +669,3 @@ { | ||
}, | ||
"id": 2138, | ||
"id": 2108, | ||
"isConstant": false, | ||
@@ -679,3 +679,3 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 2135, | ||
"id": 2105, | ||
"name": "msg", | ||
@@ -685,3 +685,3 @@ "nodeType": "Identifier", | ||
"referencedDeclaration": -15, | ||
"src": "216:3:13", | ||
"src": "216:3:12", | ||
"typeDescriptions": { | ||
@@ -692,3 +692,3 @@ "typeIdentifier": "t_magic_message", | ||
}, | ||
"id": 2136, | ||
"id": 2106, | ||
"isConstant": false, | ||
@@ -701,3 +701,3 @@ "isLValue": false, | ||
"referencedDeclaration": null, | ||
"src": "216:10:13", | ||
"src": "216:10:12", | ||
"typeDescriptions": { | ||
@@ -712,8 +712,8 @@ "typeIdentifier": "t_address_payable", | ||
"argumentTypes": null, | ||
"id": 2137, | ||
"id": 2107, | ||
"name": "owner", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2130, | ||
"src": "230:5:13", | ||
"referencedDeclaration": 2100, | ||
"src": "230:5:12", | ||
"typeDescriptions": { | ||
@@ -724,3 +724,3 @@ "typeIdentifier": "t_address", | ||
}, | ||
"src": "216:19:13", | ||
"src": "216:19:12", | ||
"typeDescriptions": { | ||
@@ -734,3 +734,3 @@ "typeIdentifier": "t_bool", | ||
"hexValue": "546869732066756e6374696f6e206973207265737472696374656420746f2074686520636f6e74726163742773206f776e6572", | ||
"id": 2139, | ||
"id": 2109, | ||
"isConstant": false, | ||
@@ -742,3 +742,3 @@ "isLValue": false, | ||
"nodeType": "Literal", | ||
"src": "243:53:13", | ||
"src": "243:53:12", | ||
"subdenomination": null, | ||
@@ -763,3 +763,3 @@ "typeDescriptions": { | ||
], | ||
"id": 2134, | ||
"id": 2104, | ||
"name": "require", | ||
@@ -772,3 +772,3 @@ "nodeType": "Identifier", | ||
"referencedDeclaration": -18, | ||
"src": "201:7:13", | ||
"src": "201:7:12", | ||
"typeDescriptions": { | ||
@@ -779,3 +779,3 @@ "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", | ||
}, | ||
"id": 2140, | ||
"id": 2110, | ||
"isConstant": false, | ||
@@ -788,3 +788,3 @@ "isLValue": false, | ||
"nodeType": "FunctionCall", | ||
"src": "201:101:13", | ||
"src": "201:101:12", | ||
"tryCall": false, | ||
@@ -796,10 +796,10 @@ "typeDescriptions": { | ||
}, | ||
"id": 2141, | ||
"id": 2111, | ||
"nodeType": "ExpressionStatement", | ||
"src": "201:101:13" | ||
"src": "201:101:12" | ||
}, | ||
{ | ||
"id": 2142, | ||
"id": 2112, | ||
"nodeType": "PlaceholderStatement", | ||
"src": "308:1:13" | ||
"src": "308:1:12" | ||
} | ||
@@ -809,3 +809,3 @@ ] | ||
"documentation": null, | ||
"id": 2144, | ||
"id": 2114, | ||
"name": "restricted", | ||
@@ -815,8 +815,8 @@ "nodeType": "ModifierDefinition", | ||
"parameters": { | ||
"id": 2133, | ||
"id": 2103, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "192:2:13" | ||
"src": "192:2:12" | ||
}, | ||
"src": "173:141:13", | ||
"src": "173:141:12", | ||
"virtual": false, | ||
@@ -827,5 +827,5 @@ "visibility": "internal" | ||
"body": { | ||
"id": 2155, | ||
"id": 2125, | ||
"nodeType": "Block", | ||
"src": "374:47:13", | ||
"src": "374:47:12", | ||
"statements": [ | ||
@@ -835,3 +835,3 @@ { | ||
"argumentTypes": null, | ||
"id": 2153, | ||
"id": 2123, | ||
"isConstant": false, | ||
@@ -843,8 +843,8 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 2151, | ||
"id": 2121, | ||
"name": "last_completed_migration", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2132, | ||
"src": "380:24:13", | ||
"referencedDeclaration": 2102, | ||
"src": "380:24:12", | ||
"typeDescriptions": { | ||
@@ -859,8 +859,8 @@ "typeIdentifier": "t_uint256", | ||
"argumentTypes": null, | ||
"id": 2152, | ||
"id": 2122, | ||
"name": "completed", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2146, | ||
"src": "407:9:13", | ||
"referencedDeclaration": 2116, | ||
"src": "407:9:12", | ||
"typeDescriptions": { | ||
@@ -871,3 +871,3 @@ "typeIdentifier": "t_uint256", | ||
}, | ||
"src": "380:36:13", | ||
"src": "380:36:12", | ||
"typeDescriptions": { | ||
@@ -878,5 +878,5 @@ "typeIdentifier": "t_uint256", | ||
}, | ||
"id": 2154, | ||
"id": 2124, | ||
"nodeType": "ExpressionStatement", | ||
"src": "380:36:13" | ||
"src": "380:36:12" | ||
} | ||
@@ -887,3 +887,3 @@ ] | ||
"functionSelector": "fdacd576", | ||
"id": 2156, | ||
"id": 2126, | ||
"implemented": true, | ||
@@ -894,11 +894,11 @@ "kind": "function", | ||
"arguments": null, | ||
"id": 2149, | ||
"id": 2119, | ||
"modifierName": { | ||
"argumentTypes": null, | ||
"id": 2148, | ||
"id": 2118, | ||
"name": "restricted", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2144, | ||
"src": "363:10:13", | ||
"referencedDeclaration": 2114, | ||
"src": "363:10:12", | ||
"typeDescriptions": { | ||
@@ -910,3 +910,3 @@ "typeIdentifier": "t_modifier$__$", | ||
"nodeType": "ModifierInvocation", | ||
"src": "363:10:13" | ||
"src": "363:10:12" | ||
} | ||
@@ -918,3 +918,3 @@ ], | ||
"parameters": { | ||
"id": 2147, | ||
"id": 2117, | ||
"nodeType": "ParameterList", | ||
@@ -924,3 +924,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 2146, | ||
"id": 2116, | ||
"mutability": "mutable", | ||
@@ -930,4 +930,4 @@ "name": "completed", | ||
"overrides": null, | ||
"scope": 2156, | ||
"src": "340:14:13", | ||
"scope": 2126, | ||
"src": "340:14:12", | ||
"stateVariable": false, | ||
@@ -940,6 +940,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 2145, | ||
"id": 2115, | ||
"name": "uint", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "340:4:13", | ||
"src": "340:4:12", | ||
"typeDescriptions": { | ||
@@ -954,12 +954,12 @@ "typeIdentifier": "t_uint256", | ||
], | ||
"src": "339:16:13" | ||
"src": "339:16:12" | ||
}, | ||
"returnParameters": { | ||
"id": 2150, | ||
"id": 2120, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "374:0:13" | ||
"src": "374:0:12" | ||
}, | ||
"scope": 2157, | ||
"src": "318:103:13", | ||
"scope": 2127, | ||
"src": "318:103:12", | ||
"stateMutability": "nonpayable", | ||
@@ -970,7 +970,7 @@ "virtual": false, | ||
], | ||
"scope": 2158, | ||
"src": "71:352:13" | ||
"scope": 2128, | ||
"src": "71:352:12" | ||
} | ||
], | ||
"src": "46:378:13" | ||
"src": "46:378:12" | ||
}, | ||
@@ -983,3 +983,3 @@ "compiler": { | ||
"schemaVersion": "3.3.1", | ||
"updatedAt": "2022-01-22T00:38:16.803Z", | ||
"updatedAt": "2022-02-17T03:20:32.233Z", | ||
"devdoc": { | ||
@@ -986,0 +986,0 @@ "kind": "dev", |
{ | ||
"name": "@acala-network/contracts", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "AcalaNetwork Smart Contract library for Solidity", | ||
@@ -5,0 +5,0 @@ "files": [ |
@@ -22,5 +22,6 @@ # Predeploy-contracts | ||
"symbol": "ACA", | ||
"address": "0x0000000000000000000000000000000001000000" | ||
"address": "0x0000000000000000000100000000000000000000" | ||
} | ||
``` | ||
All of the tokens and predeployed system contracts have generated code in `./contracts/utils/Address.sol` and `./contracts/utils/Address.js`, we can use it directly. | ||
@@ -32,20 +33,3 @@ | ||
These ERC20 contracts make native and cross-chain tokens available inside Acala EVM. | ||
- ACA contract address: `0x0000000000000000000000000000000001000000`. | ||
- AUSD contract address: `0x0000000000000000000000000000000001000001`. | ||
- DOT contract address: `0x0000000000000000000000000000000001000002`. | ||
- LDOT contract address: `0x0000000000000000000000000000000001000003`. | ||
- RENBTC contract address: `0x0000000000000000000000000000000001000004`. | ||
- KAR contract address: `0x0000000000000000000000000000000001000080`. | ||
- KUSD contract address: `0x0000000000000000000000000000000001000081`. | ||
- KSM contract address: `0x0000000000000000000000000000000001000082`. | ||
- LKSM contract address: `0x0000000000000000000000000000000001000083`. | ||
- LP_ACA_AUSD contract address: `0x0000000000000000000000010000000000000001`. | ||
- LP_DOT_AUSD contract address: `0x0000000000000000000000010000000200000001`. | ||
- LP_LDOT_AUSD contract address: `0x0000000000000000000000010000000300000001`. | ||
- LP_RENBTC_AUSD contract address: `0x0000000000000000000000010000000400000001`. | ||
- LP_KAR_AUSD contract address: `0x0000000000000000000000010000008000000081`. | ||
- LP_KSM_AUSD contract address: `0x0000000000000000000000010000008200000081`. | ||
- LP_LKSM_AUSD contract address: `0x0000000000000000000000010000008300000081`. | ||
- Mirrored Token contract address: `ADDRESS.ACA`, `ADDRESS.AUSD`...(`./contracts/utils/Address.sol`) | ||
``` | ||
@@ -102,4 +86,4 @@ // Returns the currencyId of the token. | ||
### State Rent | ||
- StateRent contract address: `0x0000000000000000000000000000000000000801` | ||
### EVM | ||
- EVM contract address: `ADDRESS.EVM` | ||
``` | ||
@@ -124,6 +108,21 @@ // Returns the const of NewContractExtraBytes. | ||
function transferMaintainer(address contract_address, address new_maintainer) public returns (bool); | ||
// Publish contract | ||
// Returns a boolean value indicating whether the operation succeeded. | ||
function publishContract(address contract_address) external returns (bool); | ||
// Returns if the account is enabled for developer mode | ||
function developerStatus(address account) external view returns (bool); | ||
// Enables account for development mode, taking a deposit | ||
// Returns a boolean value indicating whether the operation succeeded. | ||
function developerEnable() external returns (bool); | ||
// Disables account for development mode, returns deposit | ||
// Returns a boolean value indicating whether the operation succeeded. | ||
function developerDisable() external returns (bool); | ||
``` | ||
### Oracle Price Feed | ||
- Oracle contract address: `0x0000000000000000000000000000000000000802` | ||
- Oracle contract address: `ADDRESS.Oracle` | ||
``` | ||
@@ -135,3 +134,3 @@ // Get the price of the currency_id. | ||
### On-chain Automatic Scheduler | ||
- ScheduleCall contract address: `0x0000000000000000000000000000000000000803` | ||
- ScheduleCall contract address: `ADDRESS.Schedule` | ||
``` | ||
@@ -152,3 +151,3 @@ // Schedule call the contract. | ||
### DEX | ||
- DEX contract address: `0x0000000000000000000000000000000000000804` | ||
- DEX contract address: `ADDRESS.DEX` | ||
``` | ||
@@ -155,0 +154,0 @@ // Get liquidity of the currency_id_a and currency_id_b. |
@@ -21,5 +21,5 @@ export const ACA: "0x0000000000000000000100000000000000000000"; | ||
export const Token: "0x0000000000000000000000000000000000000800"; | ||
export const StateRent: "0x0000000000000000000000000000000000000801"; | ||
export const EVM: "0x0000000000000000000000000000000000000801"; | ||
export const Oracle: "0x0000000000000000000000000000000000000802"; | ||
export const Schedule: "0x0000000000000000000000000000000000000803"; | ||
export const DEX: "0x0000000000000000000000000000000000000804"; |
@@ -21,3 +21,3 @@ const ACA = '0x0000000000000000000100000000000000000000'; | ||
const Token = '0x0000000000000000000000000000000000000800'; | ||
const StateRent = '0x0000000000000000000000000000000000000801'; | ||
const EVM = '0x0000000000000000000000000000000000000801'; | ||
const Oracle = '0x0000000000000000000000000000000000000802'; | ||
@@ -48,3 +48,3 @@ const Schedule = '0x0000000000000000000000000000000000000803'; | ||
Token, | ||
StateRent, | ||
EVM, | ||
Oracle, | ||
@@ -51,0 +51,0 @@ Schedule, |
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 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
3589684
34
83058
179