Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@acala-network/contracts

Package Overview
Dependencies
Maintainers
5
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@acala-network/contracts - npm Package Compare versions

Comparing version 3.0.2 to 3.1.0

66

build/contracts/IOracle.json

@@ -36,6 +36,6 @@ {

"IOracle": [
1253
1252
]
},
"id": 1254,
"id": 1253,
"license": "GPL-3.0-or-later",

@@ -45,3 +45,3 @@ "nodeType": "SourceUnit",

{
"id": 1245,
"id": 1244,
"literals": [

@@ -63,5 +63,5 @@ "solidity",

"fullyImplemented": false,
"id": 1253,
"id": 1252,
"linearizedBaseContracts": [
1253
1252
],

@@ -75,3 +75,3 @@ "name": "IOracle",

"functionSelector": "41976e09",
"id": 1252,
"id": 1251,
"implemented": false,

@@ -84,3 +84,3 @@ "kind": "function",

"parameters": {
"id": 1248,
"id": 1247,
"nodeType": "ParameterList",

@@ -90,3 +90,3 @@ "parameters": [

"constant": false,
"id": 1247,
"id": 1246,
"mutability": "mutable",

@@ -96,3 +96,3 @@ "name": "token",

"overrides": null,
"scope": 1252,
"scope": 1251,
"src": "180:13:5",

@@ -106,3 +106,3 @@ "stateVariable": false,

"typeName": {
"id": 1246,
"id": 1245,
"name": "address",

@@ -124,3 +124,3 @@ "nodeType": "ElementaryTypeName",

"returnParameters": {
"id": 1251,
"id": 1250,
"nodeType": "ParameterList",

@@ -130,3 +130,3 @@ "parameters": [

"constant": false,
"id": 1250,
"id": 1249,
"mutability": "mutable",

@@ -136,3 +136,3 @@ "name": "",

"overrides": null,
"scope": 1252,
"scope": 1251,
"src": "218:7:5",

@@ -146,3 +146,3 @@ "stateVariable": false,

"typeName": {
"id": 1249,
"id": 1248,
"name": "uint256",

@@ -162,3 +162,3 @@ "nodeType": "ElementaryTypeName",

},
"scope": 1253,
"scope": 1252,
"src": "162:65:5",

@@ -170,3 +170,3 @@ "stateMutability": "view",

],
"scope": 1254,
"scope": 1253,
"src": "71:158:5"

@@ -181,6 +181,6 @@ }

"IOracle": [
1253
1252
]
},
"id": 1254,
"id": 1253,
"license": "GPL-3.0-or-later",

@@ -190,3 +190,3 @@ "nodeType": "SourceUnit",

{
"id": 1245,
"id": 1244,
"literals": [

@@ -208,5 +208,5 @@ "solidity",

"fullyImplemented": false,
"id": 1253,
"id": 1252,
"linearizedBaseContracts": [
1253
1252
],

@@ -220,3 +220,3 @@ "name": "IOracle",

"functionSelector": "41976e09",
"id": 1252,
"id": 1251,
"implemented": false,

@@ -229,3 +229,3 @@ "kind": "function",

"parameters": {
"id": 1248,
"id": 1247,
"nodeType": "ParameterList",

@@ -235,3 +235,3 @@ "parameters": [

"constant": false,
"id": 1247,
"id": 1246,
"mutability": "mutable",

@@ -241,3 +241,3 @@ "name": "token",

"overrides": null,
"scope": 1252,
"scope": 1251,
"src": "180:13:5",

@@ -251,3 +251,3 @@ "stateVariable": false,

"typeName": {
"id": 1246,
"id": 1245,
"name": "address",

@@ -269,3 +269,3 @@ "nodeType": "ElementaryTypeName",

"returnParameters": {
"id": 1251,
"id": 1250,
"nodeType": "ParameterList",

@@ -275,3 +275,3 @@ "parameters": [

"constant": false,
"id": 1250,
"id": 1249,
"mutability": "mutable",

@@ -281,3 +281,3 @@ "name": "",

"overrides": null,
"scope": 1252,
"scope": 1251,
"src": "218:7:5",

@@ -291,3 +291,3 @@ "stateVariable": false,

"typeName": {
"id": 1249,
"id": 1248,
"name": "uint256",

@@ -307,3 +307,3 @@ "nodeType": "ElementaryTypeName",

},
"scope": 1253,
"scope": 1252,
"src": "162:65:5",

@@ -315,3 +315,3 @@ "stateMutability": "view",

],
"scope": 1254,
"scope": 1253,
"src": "71:158:5"

@@ -328,3 +328,3 @@ }

"schemaVersion": "3.3.1",
"updatedAt": "2022-02-17T03:20:32.195Z",
"updatedAt": "2022-03-04T09:59:45.524Z",
"devdoc": {

@@ -331,0 +331,0 @@ "kind": "dev",

@@ -167,6 +167,6 @@ {

"ISchedule": [
1363
1362
]
},
"id": 1364,
"id": 1363,
"license": "GPL-3.0-or-later",

@@ -176,3 +176,3 @@ "nodeType": "SourceUnit",

{
"id": 1309,
"id": 1308,
"literals": [

@@ -194,5 +194,5 @@ "solidity",

"fullyImplemented": false,
"id": 1363,
"id": 1362,
"linearizedBaseContracts": [
1363
1362
],

@@ -205,7 +205,7 @@ "name": "ISchedule",

"documentation": null,
"id": 1317,
"id": 1316,
"name": "ScheduledCall",
"nodeType": "EventDefinition",
"parameters": {
"id": 1316,
"id": 1315,
"nodeType": "ParameterList",

@@ -215,3 +215,3 @@ "parameters": [

"constant": false,
"id": 1311,
"id": 1310,
"indexed": true,

@@ -222,3 +222,3 @@ "mutability": "mutable",

"overrides": null,
"scope": 1317,
"scope": 1316,
"src": "117:22:7",

@@ -232,3 +232,3 @@ "stateVariable": false,

"typeName": {
"id": 1310,
"id": 1309,
"name": "address",

@@ -248,3 +248,3 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 1313,
"id": 1312,
"indexed": true,

@@ -255,3 +255,3 @@ "mutability": "mutable",

"overrides": null,
"scope": 1317,
"scope": 1316,
"src": "141:32:7",

@@ -265,3 +265,3 @@ "stateVariable": false,

"typeName": {
"id": 1312,
"id": 1311,
"name": "address",

@@ -281,3 +281,3 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 1315,
"id": 1314,
"indexed": false,

@@ -288,3 +288,3 @@ "mutability": "mutable",

"overrides": null,
"scope": 1317,
"scope": 1316,
"src": "175:13:7",

@@ -298,3 +298,3 @@ "stateVariable": false,

"typeName": {
"id": 1314,
"id": 1313,
"name": "bytes",

@@ -319,7 +319,7 @@ "nodeType": "ElementaryTypeName",

"documentation": null,
"id": 1323,
"id": 1322,
"name": "CanceledCall",
"nodeType": "EventDefinition",
"parameters": {
"id": 1322,
"id": 1321,
"nodeType": "ParameterList",

@@ -329,3 +329,3 @@ "parameters": [

"constant": false,
"id": 1319,
"id": 1318,
"indexed": true,

@@ -336,3 +336,3 @@ "mutability": "mutable",

"overrides": null,
"scope": 1323,
"scope": 1322,
"src": "214:22:7",

@@ -346,3 +346,3 @@ "stateVariable": false,

"typeName": {
"id": 1318,
"id": 1317,
"name": "address",

@@ -362,3 +362,3 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 1321,
"id": 1320,
"indexed": false,

@@ -369,3 +369,3 @@ "mutability": "mutable",

"overrides": null,
"scope": 1323,
"scope": 1322,
"src": "238:13:7",

@@ -379,3 +379,3 @@ "stateVariable": false,

"typeName": {
"id": 1320,
"id": 1319,
"name": "bytes",

@@ -400,7 +400,7 @@ "nodeType": "ElementaryTypeName",

"documentation": null,
"id": 1329,
"id": 1328,
"name": "RescheduledCall",
"nodeType": "EventDefinition",
"parameters": {
"id": 1328,
"id": 1327,
"nodeType": "ParameterList",

@@ -410,3 +410,3 @@ "parameters": [

"constant": false,
"id": 1325,
"id": 1324,
"indexed": true,

@@ -417,3 +417,3 @@ "mutability": "mutable",

"overrides": null,
"scope": 1329,
"scope": 1328,
"src": "280:22:7",

@@ -427,3 +427,3 @@ "stateVariable": false,

"typeName": {
"id": 1324,
"id": 1323,
"name": "address",

@@ -443,3 +443,3 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 1327,
"id": 1326,
"indexed": false,

@@ -450,3 +450,3 @@ "mutability": "mutable",

"overrides": null,
"scope": 1329,
"scope": 1328,
"src": "304:13:7",

@@ -460,3 +460,3 @@ "stateVariable": false,

"typeName": {
"id": 1326,
"id": 1325,
"name": "bytes",

@@ -482,3 +482,3 @@ "nodeType": "ElementaryTypeName",

"functionSelector": "168d560d",
"id": 1346,
"id": 1345,
"implemented": false,

@@ -491,3 +491,3 @@ "kind": "function",

"parameters": {
"id": 1342,
"id": 1341,
"nodeType": "ParameterList",

@@ -497,3 +497,3 @@ "parameters": [

"constant": false,
"id": 1331,
"id": 1330,
"mutability": "mutable",

@@ -503,3 +503,3 @@ "name": "contract_address",

"overrides": null,
"scope": 1346,
"scope": 1345,
"src": "466:24:7",

@@ -513,3 +513,3 @@ "stateVariable": false,

"typeName": {
"id": 1330,
"id": 1329,
"name": "address",

@@ -529,3 +529,3 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 1333,
"id": 1332,
"mutability": "mutable",

@@ -535,3 +535,3 @@ "name": "value",

"overrides": null,
"scope": 1346,
"scope": 1345,
"src": "548:13:7",

@@ -545,3 +545,3 @@ "stateVariable": false,

"typeName": {
"id": 1332,
"id": 1331,
"name": "uint256",

@@ -560,3 +560,3 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 1335,
"id": 1334,
"mutability": "mutable",

@@ -566,3 +566,3 @@ "name": "gas_limit",

"overrides": null,
"scope": 1346,
"scope": 1345,
"src": "625:17:7",

@@ -576,3 +576,3 @@ "stateVariable": false,

"typeName": {
"id": 1334,
"id": 1333,
"name": "uint256",

@@ -591,3 +591,3 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 1337,
"id": 1336,
"mutability": "mutable",

@@ -597,3 +597,3 @@ "name": "storage_limit",

"overrides": null,
"scope": 1346,
"scope": 1345,
"src": "751:21:7",

@@ -607,3 +607,3 @@ "stateVariable": false,

"typeName": {
"id": 1336,
"id": 1335,
"name": "uint256",

@@ -622,3 +622,3 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 1339,
"id": 1338,
"mutability": "mutable",

@@ -628,3 +628,3 @@ "name": "min_delay",

"overrides": null,
"scope": 1346,
"scope": 1345,
"src": "885:17:7",

@@ -638,3 +638,3 @@ "stateVariable": false,

"typeName": {
"id": 1338,
"id": 1337,
"name": "uint256",

@@ -653,3 +653,3 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 1341,
"id": 1340,
"mutability": "mutable",

@@ -659,3 +659,3 @@ "name": "input_data",

"overrides": null,
"scope": 1346,
"scope": 1345,
"src": "982:25:7",

@@ -669,3 +669,3 @@ "stateVariable": false,

"typeName": {
"id": 1340,
"id": 1339,
"name": "bytes",

@@ -686,3 +686,3 @@ "nodeType": "ElementaryTypeName",

"returnParameters": {
"id": 1345,
"id": 1344,
"nodeType": "ParameterList",

@@ -692,3 +692,3 @@ "parameters": [

"constant": false,
"id": 1344,
"id": 1343,
"mutability": "mutable",

@@ -698,3 +698,3 @@ "name": "",

"overrides": null,
"scope": 1346,
"scope": 1345,
"src": "1071:12:7",

@@ -708,3 +708,3 @@ "stateVariable": false,

"typeName": {
"id": 1343,
"id": 1342,
"name": "bytes",

@@ -724,3 +724,3 @@ "nodeType": "ElementaryTypeName",

},
"scope": 1363,
"scope": 1362,
"src": "435:650:7",

@@ -735,3 +735,3 @@ "stateMutability": "nonpayable",

"functionSelector": "ed67982b",
"id": 1353,
"id": 1352,
"implemented": false,

@@ -744,3 +744,3 @@ "kind": "function",

"parameters": {
"id": 1349,
"id": 1348,
"nodeType": "ParameterList",

@@ -750,3 +750,3 @@ "parameters": [

"constant": false,
"id": 1348,
"id": 1347,
"mutability": "mutable",

@@ -756,3 +756,3 @@ "name": "task_id",

"overrides": null,
"scope": 1353,
"scope": 1352,
"src": "1304:22:7",

@@ -766,3 +766,3 @@ "stateVariable": false,

"typeName": {
"id": 1347,
"id": 1346,
"name": "bytes",

@@ -783,3 +783,3 @@ "nodeType": "ElementaryTypeName",

"returnParameters": {
"id": 1352,
"id": 1351,
"nodeType": "ParameterList",

@@ -789,3 +789,3 @@ "parameters": [

"constant": false,
"id": 1351,
"id": 1350,
"mutability": "mutable",

@@ -795,3 +795,3 @@ "name": "",

"overrides": null,
"scope": 1353,
"scope": 1352,
"src": "1431:4:7",

@@ -805,3 +805,3 @@ "stateVariable": false,

"typeName": {
"id": 1350,
"id": 1349,
"name": "bool",

@@ -821,3 +821,3 @@ "nodeType": "ElementaryTypeName",

},
"scope": 1363,
"scope": 1362,
"src": "1275:162:7",

@@ -832,3 +832,3 @@ "stateMutability": "nonpayable",

"functionSelector": "80770aa2",
"id": 1362,
"id": 1361,
"implemented": false,

@@ -841,3 +841,3 @@ "kind": "function",

"parameters": {
"id": 1358,
"id": 1357,
"nodeType": "ParameterList",

@@ -847,3 +847,3 @@ "parameters": [

"constant": false,
"id": 1355,
"id": 1354,
"mutability": "mutable",

@@ -853,3 +853,3 @@ "name": "min_delay",

"overrides": null,
"scope": 1362,
"scope": 1361,
"src": "1659:17:7",

@@ -863,3 +863,3 @@ "stateVariable": false,

"typeName": {
"id": 1354,
"id": 1353,
"name": "uint256",

@@ -878,3 +878,3 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 1357,
"id": 1356,
"mutability": "mutable",

@@ -884,3 +884,3 @@ "name": "task_id",

"overrides": null,
"scope": 1362,
"scope": 1361,
"src": "1756:22:7",

@@ -894,3 +894,3 @@ "stateVariable": false,

"typeName": {
"id": 1356,
"id": 1355,
"name": "bytes",

@@ -911,3 +911,3 @@ "nodeType": "ElementaryTypeName",

"returnParameters": {
"id": 1361,
"id": 1360,
"nodeType": "ParameterList",

@@ -917,3 +917,3 @@ "parameters": [

"constant": false,
"id": 1360,
"id": 1359,
"mutability": "mutable",

@@ -923,3 +923,3 @@ "name": "",

"overrides": null,
"scope": 1362,
"scope": 1361,
"src": "1883:4:7",

@@ -933,3 +933,3 @@ "stateVariable": false,

"typeName": {
"id": 1359,
"id": 1358,
"name": "bool",

@@ -949,3 +949,3 @@ "nodeType": "ElementaryTypeName",

},
"scope": 1363,
"scope": 1362,
"src": "1626:263:7",

@@ -957,3 +957,3 @@ "stateMutability": "nonpayable",

],
"scope": 1364,
"scope": 1363,
"src": "71:1891:7"

@@ -968,6 +968,6 @@ }

"ISchedule": [
1363
1362
]
},
"id": 1364,
"id": 1363,
"license": "GPL-3.0-or-later",

@@ -977,3 +977,3 @@ "nodeType": "SourceUnit",

{
"id": 1309,
"id": 1308,
"literals": [

@@ -995,5 +995,5 @@ "solidity",

"fullyImplemented": false,
"id": 1363,
"id": 1362,
"linearizedBaseContracts": [
1363
1362
],

@@ -1006,7 +1006,7 @@ "name": "ISchedule",

"documentation": null,
"id": 1317,
"id": 1316,
"name": "ScheduledCall",
"nodeType": "EventDefinition",
"parameters": {
"id": 1316,
"id": 1315,
"nodeType": "ParameterList",

@@ -1016,3 +1016,3 @@ "parameters": [

"constant": false,
"id": 1311,
"id": 1310,
"indexed": true,

@@ -1023,3 +1023,3 @@ "mutability": "mutable",

"overrides": null,
"scope": 1317,
"scope": 1316,
"src": "117:22:7",

@@ -1033,3 +1033,3 @@ "stateVariable": false,

"typeName": {
"id": 1310,
"id": 1309,
"name": "address",

@@ -1049,3 +1049,3 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 1313,
"id": 1312,
"indexed": true,

@@ -1056,3 +1056,3 @@ "mutability": "mutable",

"overrides": null,
"scope": 1317,
"scope": 1316,
"src": "141:32:7",

@@ -1066,3 +1066,3 @@ "stateVariable": false,

"typeName": {
"id": 1312,
"id": 1311,
"name": "address",

@@ -1082,3 +1082,3 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 1315,
"id": 1314,
"indexed": false,

@@ -1089,3 +1089,3 @@ "mutability": "mutable",

"overrides": null,
"scope": 1317,
"scope": 1316,
"src": "175:13:7",

@@ -1099,3 +1099,3 @@ "stateVariable": false,

"typeName": {
"id": 1314,
"id": 1313,
"name": "bytes",

@@ -1120,7 +1120,7 @@ "nodeType": "ElementaryTypeName",

"documentation": null,
"id": 1323,
"id": 1322,
"name": "CanceledCall",
"nodeType": "EventDefinition",
"parameters": {
"id": 1322,
"id": 1321,
"nodeType": "ParameterList",

@@ -1130,3 +1130,3 @@ "parameters": [

"constant": false,
"id": 1319,
"id": 1318,
"indexed": true,

@@ -1137,3 +1137,3 @@ "mutability": "mutable",

"overrides": null,
"scope": 1323,
"scope": 1322,
"src": "214:22:7",

@@ -1147,3 +1147,3 @@ "stateVariable": false,

"typeName": {
"id": 1318,
"id": 1317,
"name": "address",

@@ -1163,3 +1163,3 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 1321,
"id": 1320,
"indexed": false,

@@ -1170,3 +1170,3 @@ "mutability": "mutable",

"overrides": null,
"scope": 1323,
"scope": 1322,
"src": "238:13:7",

@@ -1180,3 +1180,3 @@ "stateVariable": false,

"typeName": {
"id": 1320,
"id": 1319,
"name": "bytes",

@@ -1201,7 +1201,7 @@ "nodeType": "ElementaryTypeName",

"documentation": null,
"id": 1329,
"id": 1328,
"name": "RescheduledCall",
"nodeType": "EventDefinition",
"parameters": {
"id": 1328,
"id": 1327,
"nodeType": "ParameterList",

@@ -1211,3 +1211,3 @@ "parameters": [

"constant": false,
"id": 1325,
"id": 1324,
"indexed": true,

@@ -1218,3 +1218,3 @@ "mutability": "mutable",

"overrides": null,
"scope": 1329,
"scope": 1328,
"src": "280:22:7",

@@ -1228,3 +1228,3 @@ "stateVariable": false,

"typeName": {
"id": 1324,
"id": 1323,
"name": "address",

@@ -1244,3 +1244,3 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 1327,
"id": 1326,
"indexed": false,

@@ -1251,3 +1251,3 @@ "mutability": "mutable",

"overrides": null,
"scope": 1329,
"scope": 1328,
"src": "304:13:7",

@@ -1261,3 +1261,3 @@ "stateVariable": false,

"typeName": {
"id": 1326,
"id": 1325,
"name": "bytes",

@@ -1283,3 +1283,3 @@ "nodeType": "ElementaryTypeName",

"functionSelector": "168d560d",
"id": 1346,
"id": 1345,
"implemented": false,

@@ -1292,3 +1292,3 @@ "kind": "function",

"parameters": {
"id": 1342,
"id": 1341,
"nodeType": "ParameterList",

@@ -1298,3 +1298,3 @@ "parameters": [

"constant": false,
"id": 1331,
"id": 1330,
"mutability": "mutable",

@@ -1304,3 +1304,3 @@ "name": "contract_address",

"overrides": null,
"scope": 1346,
"scope": 1345,
"src": "466:24:7",

@@ -1314,3 +1314,3 @@ "stateVariable": false,

"typeName": {
"id": 1330,
"id": 1329,
"name": "address",

@@ -1330,3 +1330,3 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 1333,
"id": 1332,
"mutability": "mutable",

@@ -1336,3 +1336,3 @@ "name": "value",

"overrides": null,
"scope": 1346,
"scope": 1345,
"src": "548:13:7",

@@ -1346,3 +1346,3 @@ "stateVariable": false,

"typeName": {
"id": 1332,
"id": 1331,
"name": "uint256",

@@ -1361,3 +1361,3 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 1335,
"id": 1334,
"mutability": "mutable",

@@ -1367,3 +1367,3 @@ "name": "gas_limit",

"overrides": null,
"scope": 1346,
"scope": 1345,
"src": "625:17:7",

@@ -1377,3 +1377,3 @@ "stateVariable": false,

"typeName": {
"id": 1334,
"id": 1333,
"name": "uint256",

@@ -1392,3 +1392,3 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 1337,
"id": 1336,
"mutability": "mutable",

@@ -1398,3 +1398,3 @@ "name": "storage_limit",

"overrides": null,
"scope": 1346,
"scope": 1345,
"src": "751:21:7",

@@ -1408,3 +1408,3 @@ "stateVariable": false,

"typeName": {
"id": 1336,
"id": 1335,
"name": "uint256",

@@ -1423,3 +1423,3 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 1339,
"id": 1338,
"mutability": "mutable",

@@ -1429,3 +1429,3 @@ "name": "min_delay",

"overrides": null,
"scope": 1346,
"scope": 1345,
"src": "885:17:7",

@@ -1439,3 +1439,3 @@ "stateVariable": false,

"typeName": {
"id": 1338,
"id": 1337,
"name": "uint256",

@@ -1454,3 +1454,3 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 1341,
"id": 1340,
"mutability": "mutable",

@@ -1460,3 +1460,3 @@ "name": "input_data",

"overrides": null,
"scope": 1346,
"scope": 1345,
"src": "982:25:7",

@@ -1470,3 +1470,3 @@ "stateVariable": false,

"typeName": {
"id": 1340,
"id": 1339,
"name": "bytes",

@@ -1487,3 +1487,3 @@ "nodeType": "ElementaryTypeName",

"returnParameters": {
"id": 1345,
"id": 1344,
"nodeType": "ParameterList",

@@ -1493,3 +1493,3 @@ "parameters": [

"constant": false,
"id": 1344,
"id": 1343,
"mutability": "mutable",

@@ -1499,3 +1499,3 @@ "name": "",

"overrides": null,
"scope": 1346,
"scope": 1345,
"src": "1071:12:7",

@@ -1509,3 +1509,3 @@ "stateVariable": false,

"typeName": {
"id": 1343,
"id": 1342,
"name": "bytes",

@@ -1525,3 +1525,3 @@ "nodeType": "ElementaryTypeName",

},
"scope": 1363,
"scope": 1362,
"src": "435:650:7",

@@ -1536,3 +1536,3 @@ "stateMutability": "nonpayable",

"functionSelector": "ed67982b",
"id": 1353,
"id": 1352,
"implemented": false,

@@ -1545,3 +1545,3 @@ "kind": "function",

"parameters": {
"id": 1349,
"id": 1348,
"nodeType": "ParameterList",

@@ -1551,3 +1551,3 @@ "parameters": [

"constant": false,
"id": 1348,
"id": 1347,
"mutability": "mutable",

@@ -1557,3 +1557,3 @@ "name": "task_id",

"overrides": null,
"scope": 1353,
"scope": 1352,
"src": "1304:22:7",

@@ -1567,3 +1567,3 @@ "stateVariable": false,

"typeName": {
"id": 1347,
"id": 1346,
"name": "bytes",

@@ -1584,3 +1584,3 @@ "nodeType": "ElementaryTypeName",

"returnParameters": {
"id": 1352,
"id": 1351,
"nodeType": "ParameterList",

@@ -1590,3 +1590,3 @@ "parameters": [

"constant": false,
"id": 1351,
"id": 1350,
"mutability": "mutable",

@@ -1596,3 +1596,3 @@ "name": "",

"overrides": null,
"scope": 1353,
"scope": 1352,
"src": "1431:4:7",

@@ -1606,3 +1606,3 @@ "stateVariable": false,

"typeName": {
"id": 1350,
"id": 1349,
"name": "bool",

@@ -1622,3 +1622,3 @@ "nodeType": "ElementaryTypeName",

},
"scope": 1363,
"scope": 1362,
"src": "1275:162:7",

@@ -1633,3 +1633,3 @@ "stateMutability": "nonpayable",

"functionSelector": "80770aa2",
"id": 1362,
"id": 1361,
"implemented": false,

@@ -1642,3 +1642,3 @@ "kind": "function",

"parameters": {
"id": 1358,
"id": 1357,
"nodeType": "ParameterList",

@@ -1648,3 +1648,3 @@ "parameters": [

"constant": false,
"id": 1355,
"id": 1354,
"mutability": "mutable",

@@ -1654,3 +1654,3 @@ "name": "min_delay",

"overrides": null,
"scope": 1362,
"scope": 1361,
"src": "1659:17:7",

@@ -1664,3 +1664,3 @@ "stateVariable": false,

"typeName": {
"id": 1354,
"id": 1353,
"name": "uint256",

@@ -1679,3 +1679,3 @@ "nodeType": "ElementaryTypeName",

"constant": false,
"id": 1357,
"id": 1356,
"mutability": "mutable",

@@ -1685,3 +1685,3 @@ "name": "task_id",

"overrides": null,
"scope": 1362,
"scope": 1361,
"src": "1756:22:7",

@@ -1695,3 +1695,3 @@ "stateVariable": false,

"typeName": {
"id": 1356,
"id": 1355,
"name": "bytes",

@@ -1712,3 +1712,3 @@ "nodeType": "ElementaryTypeName",

"returnParameters": {
"id": 1361,
"id": 1360,
"nodeType": "ParameterList",

@@ -1718,3 +1718,3 @@ "parameters": [

"constant": false,
"id": 1360,
"id": 1359,
"mutability": "mutable",

@@ -1724,3 +1724,3 @@ "name": "",

"overrides": null,
"scope": 1362,
"scope": 1361,
"src": "1883:4:7",

@@ -1734,3 +1734,3 @@ "stateVariable": false,

"typeName": {
"id": 1359,
"id": 1358,
"name": "bool",

@@ -1750,3 +1750,3 @@ "nodeType": "ElementaryTypeName",

},
"scope": 1363,
"scope": 1362,
"src": "1626:263:7",

@@ -1758,3 +1758,3 @@ "stateMutability": "nonpayable",

],
"scope": 1364,
"scope": 1363,
"src": "71:1891:7"

@@ -1771,3 +1771,3 @@ }

"schemaVersion": "3.3.1",
"updatedAt": "2022-02-17T03:20:32.197Z",
"updatedAt": "2022-03-04T09:59:45.533Z",
"devdoc": {

@@ -1774,0 +1774,0 @@ "kind": "dev",

@@ -56,6 +56,6 @@ {

"Migrations": [
2127
2141
]
},
"id": 2128,
"id": 2142,
"license": "GPL-3.0-or-later",

@@ -65,3 +65,3 @@ "nodeType": "SourceUnit",

{
"id": 2096,
"id": 2110,
"literals": [

@@ -83,5 +83,5 @@ "solidity",

"fullyImplemented": true,
"id": 2127,
"id": 2141,
"linearizedBaseContracts": [
2127
2141
],

@@ -94,3 +94,3 @@ "name": "Migrations",

"functionSelector": "8da5cb5b",
"id": 2100,
"id": 2114,
"mutability": "mutable",

@@ -100,3 +100,3 @@ "name": "owner",

"overrides": null,
"scope": 2127,
"scope": 2141,
"src": "95:33:12",

@@ -110,3 +110,3 @@ "stateVariable": true,

"typeName": {
"id": 2097,
"id": 2111,
"name": "address",

@@ -125,3 +125,3 @@ "nodeType": "ElementaryTypeName",

"argumentTypes": null,
"id": 2098,
"id": 2112,
"name": "msg",

@@ -137,3 +137,3 @@ "nodeType": "Identifier",

},
"id": 2099,
"id": 2113,
"isConstant": false,

@@ -157,3 +157,3 @@ "isLValue": false,

"functionSelector": "445df0ac",
"id": 2102,
"id": 2116,
"mutability": "mutable",

@@ -163,3 +163,3 @@ "name": "last_completed_migration",

"overrides": null,
"scope": 2127,
"scope": 2141,
"src": "132:36:12",

@@ -173,3 +173,3 @@ "stateVariable": true,

"typeName": {
"id": 2101,
"id": 2115,
"name": "uint",

@@ -188,3 +188,3 @@ "nodeType": "ElementaryTypeName",

"body": {
"id": 2113,
"id": 2127,
"nodeType": "Block",

@@ -203,3 +203,3 @@ "src": "195:119:12",

},
"id": 2108,
"id": 2122,
"isConstant": false,

@@ -213,3 +213,3 @@ "isLValue": false,

"argumentTypes": null,
"id": 2105,
"id": 2119,
"name": "msg",

@@ -225,3 +225,3 @@ "nodeType": "Identifier",

},
"id": 2106,
"id": 2120,
"isConstant": false,

@@ -244,7 +244,7 @@ "isLValue": false,

"argumentTypes": null,
"id": 2107,
"id": 2121,
"name": "owner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 2100,
"referencedDeclaration": 2114,
"src": "230:5:12",

@@ -265,3 +265,3 @@ "typeDescriptions": {

"hexValue": "546869732066756e6374696f6e206973207265737472696374656420746f2074686520636f6e74726163742773206f776e6572",
"id": 2109,
"id": 2123,
"isConstant": false,

@@ -293,3 +293,3 @@ "isLValue": false,

],
"id": 2104,
"id": 2118,
"name": "require",

@@ -308,3 +308,3 @@ "nodeType": "Identifier",

},
"id": 2110,
"id": 2124,
"isConstant": false,

@@ -324,3 +324,3 @@ "isLValue": false,

},
"id": 2111,
"id": 2125,
"nodeType": "ExpressionStatement",

@@ -330,3 +330,3 @@ "src": "201:101:12"

{
"id": 2112,
"id": 2126,
"nodeType": "PlaceholderStatement",

@@ -338,3 +338,3 @@ "src": "308:1:12"

"documentation": null,
"id": 2114,
"id": 2128,
"name": "restricted",

@@ -344,3 +344,3 @@ "nodeType": "ModifierDefinition",

"parameters": {
"id": 2103,
"id": 2117,
"nodeType": "ParameterList",

@@ -356,3 +356,3 @@ "parameters": [],

"body": {
"id": 2125,
"id": 2139,
"nodeType": "Block",

@@ -364,3 +364,3 @@ "src": "374:47:12",

"argumentTypes": null,
"id": 2123,
"id": 2137,
"isConstant": false,

@@ -372,7 +372,7 @@ "isLValue": false,

"argumentTypes": null,
"id": 2121,
"id": 2135,
"name": "last_completed_migration",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 2102,
"referencedDeclaration": 2116,
"src": "380:24:12",

@@ -388,7 +388,7 @@ "typeDescriptions": {

"argumentTypes": null,
"id": 2122,
"id": 2136,
"name": "completed",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 2116,
"referencedDeclaration": 2130,
"src": "407:9:12",

@@ -406,3 +406,3 @@ "typeDescriptions": {

},
"id": 2124,
"id": 2138,
"nodeType": "ExpressionStatement",

@@ -415,3 +415,3 @@ "src": "380:36:12"

"functionSelector": "fdacd576",
"id": 2126,
"id": 2140,
"implemented": true,

@@ -422,10 +422,10 @@ "kind": "function",

"arguments": null,
"id": 2119,
"id": 2133,
"modifierName": {
"argumentTypes": null,
"id": 2118,
"id": 2132,
"name": "restricted",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 2114,
"referencedDeclaration": 2128,
"src": "363:10:12",

@@ -445,3 +445,3 @@ "typeDescriptions": {

"parameters": {
"id": 2117,
"id": 2131,
"nodeType": "ParameterList",

@@ -451,3 +451,3 @@ "parameters": [

"constant": false,
"id": 2116,
"id": 2130,
"mutability": "mutable",

@@ -457,3 +457,3 @@ "name": "completed",

"overrides": null,
"scope": 2126,
"scope": 2140,
"src": "340:14:12",

@@ -467,3 +467,3 @@ "stateVariable": false,

"typeName": {
"id": 2115,
"id": 2129,
"name": "uint",

@@ -484,3 +484,3 @@ "nodeType": "ElementaryTypeName",

"returnParameters": {
"id": 2120,
"id": 2134,
"nodeType": "ParameterList",

@@ -490,3 +490,3 @@ "parameters": [],

},
"scope": 2127,
"scope": 2141,
"src": "318:103:12",

@@ -498,3 +498,3 @@ "stateMutability": "nonpayable",

],
"scope": 2128,
"scope": 2142,
"src": "71:352:12"

@@ -509,6 +509,6 @@ }

"Migrations": [
2127
2141
]
},
"id": 2128,
"id": 2142,
"license": "GPL-3.0-or-later",

@@ -518,3 +518,3 @@ "nodeType": "SourceUnit",

{
"id": 2096,
"id": 2110,
"literals": [

@@ -536,5 +536,5 @@ "solidity",

"fullyImplemented": true,
"id": 2127,
"id": 2141,
"linearizedBaseContracts": [
2127
2141
],

@@ -547,3 +547,3 @@ "name": "Migrations",

"functionSelector": "8da5cb5b",
"id": 2100,
"id": 2114,
"mutability": "mutable",

@@ -553,3 +553,3 @@ "name": "owner",

"overrides": null,
"scope": 2127,
"scope": 2141,
"src": "95:33:12",

@@ -563,3 +563,3 @@ "stateVariable": true,

"typeName": {
"id": 2097,
"id": 2111,
"name": "address",

@@ -578,3 +578,3 @@ "nodeType": "ElementaryTypeName",

"argumentTypes": null,
"id": 2098,
"id": 2112,
"name": "msg",

@@ -590,3 +590,3 @@ "nodeType": "Identifier",

},
"id": 2099,
"id": 2113,
"isConstant": false,

@@ -610,3 +610,3 @@ "isLValue": false,

"functionSelector": "445df0ac",
"id": 2102,
"id": 2116,
"mutability": "mutable",

@@ -616,3 +616,3 @@ "name": "last_completed_migration",

"overrides": null,
"scope": 2127,
"scope": 2141,
"src": "132:36:12",

@@ -626,3 +626,3 @@ "stateVariable": true,

"typeName": {
"id": 2101,
"id": 2115,
"name": "uint",

@@ -641,3 +641,3 @@ "nodeType": "ElementaryTypeName",

"body": {
"id": 2113,
"id": 2127,
"nodeType": "Block",

@@ -656,3 +656,3 @@ "src": "195:119:12",

},
"id": 2108,
"id": 2122,
"isConstant": false,

@@ -666,3 +666,3 @@ "isLValue": false,

"argumentTypes": null,
"id": 2105,
"id": 2119,
"name": "msg",

@@ -678,3 +678,3 @@ "nodeType": "Identifier",

},
"id": 2106,
"id": 2120,
"isConstant": false,

@@ -697,7 +697,7 @@ "isLValue": false,

"argumentTypes": null,
"id": 2107,
"id": 2121,
"name": "owner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 2100,
"referencedDeclaration": 2114,
"src": "230:5:12",

@@ -718,3 +718,3 @@ "typeDescriptions": {

"hexValue": "546869732066756e6374696f6e206973207265737472696374656420746f2074686520636f6e74726163742773206f776e6572",
"id": 2109,
"id": 2123,
"isConstant": false,

@@ -746,3 +746,3 @@ "isLValue": false,

],
"id": 2104,
"id": 2118,
"name": "require",

@@ -761,3 +761,3 @@ "nodeType": "Identifier",

},
"id": 2110,
"id": 2124,
"isConstant": false,

@@ -777,3 +777,3 @@ "isLValue": false,

},
"id": 2111,
"id": 2125,
"nodeType": "ExpressionStatement",

@@ -783,3 +783,3 @@ "src": "201:101:12"

{
"id": 2112,
"id": 2126,
"nodeType": "PlaceholderStatement",

@@ -791,3 +791,3 @@ "src": "308:1:12"

"documentation": null,
"id": 2114,
"id": 2128,
"name": "restricted",

@@ -797,3 +797,3 @@ "nodeType": "ModifierDefinition",

"parameters": {
"id": 2103,
"id": 2117,
"nodeType": "ParameterList",

@@ -809,3 +809,3 @@ "parameters": [],

"body": {
"id": 2125,
"id": 2139,
"nodeType": "Block",

@@ -817,3 +817,3 @@ "src": "374:47:12",

"argumentTypes": null,
"id": 2123,
"id": 2137,
"isConstant": false,

@@ -825,7 +825,7 @@ "isLValue": false,

"argumentTypes": null,
"id": 2121,
"id": 2135,
"name": "last_completed_migration",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 2102,
"referencedDeclaration": 2116,
"src": "380:24:12",

@@ -841,7 +841,7 @@ "typeDescriptions": {

"argumentTypes": null,
"id": 2122,
"id": 2136,
"name": "completed",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 2116,
"referencedDeclaration": 2130,
"src": "407:9:12",

@@ -859,3 +859,3 @@ "typeDescriptions": {

},
"id": 2124,
"id": 2138,
"nodeType": "ExpressionStatement",

@@ -868,3 +868,3 @@ "src": "380:36:12"

"functionSelector": "fdacd576",
"id": 2126,
"id": 2140,
"implemented": true,

@@ -875,10 +875,10 @@ "kind": "function",

"arguments": null,
"id": 2119,
"id": 2133,
"modifierName": {
"argumentTypes": null,
"id": 2118,
"id": 2132,
"name": "restricted",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 2114,
"referencedDeclaration": 2128,
"src": "363:10:12",

@@ -898,3 +898,3 @@ "typeDescriptions": {

"parameters": {
"id": 2117,
"id": 2131,
"nodeType": "ParameterList",

@@ -904,3 +904,3 @@ "parameters": [

"constant": false,
"id": 2116,
"id": 2130,
"mutability": "mutable",

@@ -910,3 +910,3 @@ "name": "completed",

"overrides": null,
"scope": 2126,
"scope": 2140,
"src": "340:14:12",

@@ -920,3 +920,3 @@ "stateVariable": false,

"typeName": {
"id": 2115,
"id": 2129,
"name": "uint",

@@ -937,3 +937,3 @@ "nodeType": "ElementaryTypeName",

"returnParameters": {
"id": 2120,
"id": 2134,
"nodeType": "ParameterList",

@@ -943,3 +943,3 @@ "parameters": [],

},
"scope": 2127,
"scope": 2141,
"src": "318:103:12",

@@ -951,3 +951,3 @@ "stateMutability": "nonpayable",

],
"scope": 2128,
"scope": 2142,
"src": "71:352:12"

@@ -964,3 +964,3 @@ }

"schemaVersion": "3.3.1",
"updatedAt": "2022-02-17T03:20:32.233Z",
"updatedAt": "2022-03-04T09:59:45.554Z",
"devdoc": {

@@ -967,0 +967,0 @@ "kind": "dev",

{
"name": "@acala-network/contracts",
"version": "3.0.2",
"version": "3.1.0",
"description": "AcalaNetwork Smart Contract library for Solidity",

@@ -5,0 +5,0 @@ "files": [

@@ -11,4 +11,8 @@ export const ACA: "0x0000000000000000000100000000000000000000";

export const LKSM: "0x0000000000000000000100000000000000000083";
export const TAI: "0x0000000000000000000100000000000000000084";
export const BNC: "0x00000000000000000001000000000000000000a8";
export const VSKSM: "0x00000000000000000001000000000000000000A9";
export const PHA: "0x00000000000000000001000000000000000000Aa";
export const KINT: "0x00000000000000000001000000000000000000AB";
export const KBTC: "0x00000000000000000001000000000000000000aC";
export const LP_ACA_AUSD: "0x0000000000000000000200000000000000000001";

@@ -22,5 +26,6 @@ export const LP_DOT_AUSD: "0x0000000000000000000200000000020000000001";

export const Token: "0x0000000000000000000000000000000000000800";
export const EVM: "0x0000000000000000000000000000000000000801";
export const Oracle: "0x0000000000000000000000000000000000000802";
export const Schedule: "0x0000000000000000000000000000000000000803";
export const DEX: "0x0000000000000000000000000000000000000804";
export const NFT: "0x0000000000000000000000000000000000000801";
export const EVM: "0x0000000000000000000000000000000000000802";
export const Oracle: "0x0000000000000000000000000000000000000803";
export const Schedule: "0x0000000000000000000000000000000000000804";
export const DEX: "0x0000000000000000000000000000000000000805";

@@ -11,4 +11,8 @@ const ACA = '0x0000000000000000000100000000000000000000';

const LKSM = '0x0000000000000000000100000000000000000083';
const TAI = '0x0000000000000000000100000000000000000084';
const BNC = '0x00000000000000000001000000000000000000a8';
const VSKSM = '0x00000000000000000001000000000000000000A9';
const PHA = '0x00000000000000000001000000000000000000Aa';
const KINT = '0x00000000000000000001000000000000000000AB';
const KBTC = '0x00000000000000000001000000000000000000aC';
const LP_ACA_AUSD = '0x0000000000000000000200000000000000000001';

@@ -22,6 +26,7 @@ const LP_DOT_AUSD = '0x0000000000000000000200000000020000000001';

const Token = '0x0000000000000000000000000000000000000800';
const EVM = '0x0000000000000000000000000000000000000801';
const Oracle = '0x0000000000000000000000000000000000000802';
const Schedule = '0x0000000000000000000000000000000000000803';
const DEX = '0x0000000000000000000000000000000000000804';
const NFT = '0x0000000000000000000000000000000000000801';
const EVM = '0x0000000000000000000000000000000000000802';
const Oracle = '0x0000000000000000000000000000000000000803';
const Schedule = '0x0000000000000000000000000000000000000804';
const DEX = '0x0000000000000000000000000000000000000805';

@@ -39,4 +44,8 @@ module.exports = {

LKSM,
TAI,
BNC,
VSKSM,
PHA,
KINT,
KBTC,
LP_ACA_AUSD,

@@ -50,2 +59,3 @@ LP_DOT_AUSD,

Token,
NFT,
EVM,

@@ -52,0 +62,0 @@ Oracle,

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 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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc