@acala-network/contracts
Advanced tools
Comparing version 2.1.0 to 2.2.0
@@ -293,3 +293,3 @@ { | ||
"schemaVersion": "3.3.1", | ||
"updatedAt": "2022-03-04T10:01:43.141Z", | ||
"updatedAt": "2022-03-18T10:10:30.436Z", | ||
"devdoc": { | ||
@@ -296,0 +296,0 @@ "methods": {} |
@@ -1578,3 +1578,3 @@ { | ||
"schemaVersion": "3.3.1", | ||
"updatedAt": "2022-03-04T10:01:43.142Z", | ||
"updatedAt": "2022-03-18T10:10:30.437Z", | ||
"devdoc": { | ||
@@ -1581,0 +1581,0 @@ "methods": {} |
@@ -55,10 +55,10 @@ { | ||
"Migrations": [ | ||
2106 | ||
2100 | ||
] | ||
}, | ||
"id": 2107, | ||
"id": 2101, | ||
"nodeType": "SourceUnit", | ||
"nodes": [ | ||
{ | ||
"id": 2075, | ||
"id": 2069, | ||
"literals": [ | ||
@@ -80,5 +80,5 @@ "solidity", | ||
"fullyImplemented": true, | ||
"id": 2106, | ||
"id": 2100, | ||
"linearizedBaseContracts": [ | ||
2106 | ||
2100 | ||
], | ||
@@ -91,7 +91,7 @@ "name": "Migrations", | ||
"functionSelector": "8da5cb5b", | ||
"id": 2079, | ||
"id": 2073, | ||
"name": "owner", | ||
"nodeType": "VariableDeclaration", | ||
"overrides": null, | ||
"scope": 2106, | ||
"scope": 2100, | ||
"src": "95:33:12", | ||
@@ -105,3 +105,3 @@ "stateVariable": true, | ||
"typeName": { | ||
"id": 2076, | ||
"id": 2070, | ||
"name": "address", | ||
@@ -120,3 +120,3 @@ "nodeType": "ElementaryTypeName", | ||
"argumentTypes": null, | ||
"id": 2077, | ||
"id": 2071, | ||
"name": "msg", | ||
@@ -132,3 +132,3 @@ "nodeType": "Identifier", | ||
}, | ||
"id": 2078, | ||
"id": 2072, | ||
"isConstant": false, | ||
@@ -152,7 +152,7 @@ "isLValue": false, | ||
"functionSelector": "445df0ac", | ||
"id": 2081, | ||
"id": 2075, | ||
"name": "last_completed_migration", | ||
"nodeType": "VariableDeclaration", | ||
"overrides": null, | ||
"scope": 2106, | ||
"scope": 2100, | ||
"src": "132:36:12", | ||
@@ -166,3 +166,3 @@ "stateVariable": true, | ||
"typeName": { | ||
"id": 2080, | ||
"id": 2074, | ||
"name": "uint", | ||
@@ -181,3 +181,3 @@ "nodeType": "ElementaryTypeName", | ||
"body": { | ||
"id": 2092, | ||
"id": 2086, | ||
"nodeType": "Block", | ||
@@ -196,3 +196,3 @@ "src": "195:119:12", | ||
}, | ||
"id": 2087, | ||
"id": 2081, | ||
"isConstant": false, | ||
@@ -206,3 +206,3 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 2084, | ||
"id": 2078, | ||
"name": "msg", | ||
@@ -218,3 +218,3 @@ "nodeType": "Identifier", | ||
}, | ||
"id": 2085, | ||
"id": 2079, | ||
"isConstant": false, | ||
@@ -237,7 +237,7 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 2086, | ||
"id": 2080, | ||
"name": "owner", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2079, | ||
"referencedDeclaration": 2073, | ||
"src": "230:5:12", | ||
@@ -258,3 +258,3 @@ "typeDescriptions": { | ||
"hexValue": "546869732066756e6374696f6e206973207265737472696374656420746f2074686520636f6e74726163742773206f776e6572", | ||
"id": 2088, | ||
"id": 2082, | ||
"isConstant": false, | ||
@@ -286,3 +286,3 @@ "isLValue": false, | ||
], | ||
"id": 2083, | ||
"id": 2077, | ||
"name": "require", | ||
@@ -301,3 +301,3 @@ "nodeType": "Identifier", | ||
}, | ||
"id": 2089, | ||
"id": 2083, | ||
"isConstant": false, | ||
@@ -317,3 +317,3 @@ "isLValue": false, | ||
}, | ||
"id": 2090, | ||
"id": 2084, | ||
"nodeType": "ExpressionStatement", | ||
@@ -323,3 +323,3 @@ "src": "201:101:12" | ||
{ | ||
"id": 2091, | ||
"id": 2085, | ||
"nodeType": "PlaceholderStatement", | ||
@@ -331,3 +331,3 @@ "src": "308:1:12" | ||
"documentation": null, | ||
"id": 2093, | ||
"id": 2087, | ||
"name": "restricted", | ||
@@ -337,3 +337,3 @@ "nodeType": "ModifierDefinition", | ||
"parameters": { | ||
"id": 2082, | ||
"id": 2076, | ||
"nodeType": "ParameterList", | ||
@@ -349,3 +349,3 @@ "parameters": [], | ||
"body": { | ||
"id": 2104, | ||
"id": 2098, | ||
"nodeType": "Block", | ||
@@ -357,3 +357,3 @@ "src": "374:47:12", | ||
"argumentTypes": null, | ||
"id": 2102, | ||
"id": 2096, | ||
"isConstant": false, | ||
@@ -365,7 +365,7 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 2100, | ||
"id": 2094, | ||
"name": "last_completed_migration", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2081, | ||
"referencedDeclaration": 2075, | ||
"src": "380:24:12", | ||
@@ -381,7 +381,7 @@ "typeDescriptions": { | ||
"argumentTypes": null, | ||
"id": 2101, | ||
"id": 2095, | ||
"name": "completed", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2095, | ||
"referencedDeclaration": 2089, | ||
"src": "407:9:12", | ||
@@ -399,3 +399,3 @@ "typeDescriptions": { | ||
}, | ||
"id": 2103, | ||
"id": 2097, | ||
"nodeType": "ExpressionStatement", | ||
@@ -408,3 +408,3 @@ "src": "380:36:12" | ||
"functionSelector": "fdacd576", | ||
"id": 2105, | ||
"id": 2099, | ||
"implemented": true, | ||
@@ -415,10 +415,10 @@ "kind": "function", | ||
"arguments": null, | ||
"id": 2098, | ||
"id": 2092, | ||
"modifierName": { | ||
"argumentTypes": null, | ||
"id": 2097, | ||
"id": 2091, | ||
"name": "restricted", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2093, | ||
"referencedDeclaration": 2087, | ||
"src": "363:10:12", | ||
@@ -438,3 +438,3 @@ "typeDescriptions": { | ||
"parameters": { | ||
"id": 2096, | ||
"id": 2090, | ||
"nodeType": "ParameterList", | ||
@@ -444,7 +444,7 @@ "parameters": [ | ||
"constant": false, | ||
"id": 2095, | ||
"id": 2089, | ||
"name": "completed", | ||
"nodeType": "VariableDeclaration", | ||
"overrides": null, | ||
"scope": 2105, | ||
"scope": 2099, | ||
"src": "340:14:12", | ||
@@ -458,3 +458,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2094, | ||
"id": 2088, | ||
"name": "uint", | ||
@@ -475,3 +475,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 2099, | ||
"id": 2093, | ||
"nodeType": "ParameterList", | ||
@@ -481,3 +481,3 @@ "parameters": [], | ||
}, | ||
"scope": 2106, | ||
"scope": 2100, | ||
"src": "318:103:12", | ||
@@ -489,3 +489,3 @@ "stateMutability": "nonpayable", | ||
], | ||
"scope": 2107, | ||
"scope": 2101, | ||
"src": "71:352:12" | ||
@@ -500,10 +500,10 @@ } | ||
"Migrations": [ | ||
2106 | ||
2100 | ||
] | ||
}, | ||
"id": 2107, | ||
"id": 2101, | ||
"nodeType": "SourceUnit", | ||
"nodes": [ | ||
{ | ||
"id": 2075, | ||
"id": 2069, | ||
"literals": [ | ||
@@ -525,5 +525,5 @@ "solidity", | ||
"fullyImplemented": true, | ||
"id": 2106, | ||
"id": 2100, | ||
"linearizedBaseContracts": [ | ||
2106 | ||
2100 | ||
], | ||
@@ -536,7 +536,7 @@ "name": "Migrations", | ||
"functionSelector": "8da5cb5b", | ||
"id": 2079, | ||
"id": 2073, | ||
"name": "owner", | ||
"nodeType": "VariableDeclaration", | ||
"overrides": null, | ||
"scope": 2106, | ||
"scope": 2100, | ||
"src": "95:33:12", | ||
@@ -550,3 +550,3 @@ "stateVariable": true, | ||
"typeName": { | ||
"id": 2076, | ||
"id": 2070, | ||
"name": "address", | ||
@@ -565,3 +565,3 @@ "nodeType": "ElementaryTypeName", | ||
"argumentTypes": null, | ||
"id": 2077, | ||
"id": 2071, | ||
"name": "msg", | ||
@@ -577,3 +577,3 @@ "nodeType": "Identifier", | ||
}, | ||
"id": 2078, | ||
"id": 2072, | ||
"isConstant": false, | ||
@@ -597,7 +597,7 @@ "isLValue": false, | ||
"functionSelector": "445df0ac", | ||
"id": 2081, | ||
"id": 2075, | ||
"name": "last_completed_migration", | ||
"nodeType": "VariableDeclaration", | ||
"overrides": null, | ||
"scope": 2106, | ||
"scope": 2100, | ||
"src": "132:36:12", | ||
@@ -611,3 +611,3 @@ "stateVariable": true, | ||
"typeName": { | ||
"id": 2080, | ||
"id": 2074, | ||
"name": "uint", | ||
@@ -626,3 +626,3 @@ "nodeType": "ElementaryTypeName", | ||
"body": { | ||
"id": 2092, | ||
"id": 2086, | ||
"nodeType": "Block", | ||
@@ -641,3 +641,3 @@ "src": "195:119:12", | ||
}, | ||
"id": 2087, | ||
"id": 2081, | ||
"isConstant": false, | ||
@@ -651,3 +651,3 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 2084, | ||
"id": 2078, | ||
"name": "msg", | ||
@@ -663,3 +663,3 @@ "nodeType": "Identifier", | ||
}, | ||
"id": 2085, | ||
"id": 2079, | ||
"isConstant": false, | ||
@@ -682,7 +682,7 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 2086, | ||
"id": 2080, | ||
"name": "owner", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2079, | ||
"referencedDeclaration": 2073, | ||
"src": "230:5:12", | ||
@@ -703,3 +703,3 @@ "typeDescriptions": { | ||
"hexValue": "546869732066756e6374696f6e206973207265737472696374656420746f2074686520636f6e74726163742773206f776e6572", | ||
"id": 2088, | ||
"id": 2082, | ||
"isConstant": false, | ||
@@ -731,3 +731,3 @@ "isLValue": false, | ||
], | ||
"id": 2083, | ||
"id": 2077, | ||
"name": "require", | ||
@@ -746,3 +746,3 @@ "nodeType": "Identifier", | ||
}, | ||
"id": 2089, | ||
"id": 2083, | ||
"isConstant": false, | ||
@@ -762,3 +762,3 @@ "isLValue": false, | ||
}, | ||
"id": 2090, | ||
"id": 2084, | ||
"nodeType": "ExpressionStatement", | ||
@@ -768,3 +768,3 @@ "src": "201:101:12" | ||
{ | ||
"id": 2091, | ||
"id": 2085, | ||
"nodeType": "PlaceholderStatement", | ||
@@ -776,3 +776,3 @@ "src": "308:1:12" | ||
"documentation": null, | ||
"id": 2093, | ||
"id": 2087, | ||
"name": "restricted", | ||
@@ -782,3 +782,3 @@ "nodeType": "ModifierDefinition", | ||
"parameters": { | ||
"id": 2082, | ||
"id": 2076, | ||
"nodeType": "ParameterList", | ||
@@ -794,3 +794,3 @@ "parameters": [], | ||
"body": { | ||
"id": 2104, | ||
"id": 2098, | ||
"nodeType": "Block", | ||
@@ -802,3 +802,3 @@ "src": "374:47:12", | ||
"argumentTypes": null, | ||
"id": 2102, | ||
"id": 2096, | ||
"isConstant": false, | ||
@@ -810,7 +810,7 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 2100, | ||
"id": 2094, | ||
"name": "last_completed_migration", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2081, | ||
"referencedDeclaration": 2075, | ||
"src": "380:24:12", | ||
@@ -826,7 +826,7 @@ "typeDescriptions": { | ||
"argumentTypes": null, | ||
"id": 2101, | ||
"id": 2095, | ||
"name": "completed", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2095, | ||
"referencedDeclaration": 2089, | ||
"src": "407:9:12", | ||
@@ -844,3 +844,3 @@ "typeDescriptions": { | ||
}, | ||
"id": 2103, | ||
"id": 2097, | ||
"nodeType": "ExpressionStatement", | ||
@@ -853,3 +853,3 @@ "src": "380:36:12" | ||
"functionSelector": "fdacd576", | ||
"id": 2105, | ||
"id": 2099, | ||
"implemented": true, | ||
@@ -860,10 +860,10 @@ "kind": "function", | ||
"arguments": null, | ||
"id": 2098, | ||
"id": 2092, | ||
"modifierName": { | ||
"argumentTypes": null, | ||
"id": 2097, | ||
"id": 2091, | ||
"name": "restricted", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2093, | ||
"referencedDeclaration": 2087, | ||
"src": "363:10:12", | ||
@@ -883,3 +883,3 @@ "typeDescriptions": { | ||
"parameters": { | ||
"id": 2096, | ||
"id": 2090, | ||
"nodeType": "ParameterList", | ||
@@ -889,7 +889,7 @@ "parameters": [ | ||
"constant": false, | ||
"id": 2095, | ||
"id": 2089, | ||
"name": "completed", | ||
"nodeType": "VariableDeclaration", | ||
"overrides": null, | ||
"scope": 2105, | ||
"scope": 2099, | ||
"src": "340:14:12", | ||
@@ -903,3 +903,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2094, | ||
"id": 2088, | ||
"name": "uint", | ||
@@ -920,3 +920,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 2099, | ||
"id": 2093, | ||
"nodeType": "ParameterList", | ||
@@ -926,3 +926,3 @@ "parameters": [], | ||
}, | ||
"scope": 2106, | ||
"scope": 2100, | ||
"src": "318:103:12", | ||
@@ -934,3 +934,3 @@ "stateMutability": "nonpayable", | ||
], | ||
"scope": 2107, | ||
"scope": 2101, | ||
"src": "71:352:12" | ||
@@ -947,3 +947,3 @@ } | ||
"schemaVersion": "3.3.1", | ||
"updatedAt": "2022-03-04T10:01:43.163Z", | ||
"updatedAt": "2022-03-18T10:10:30.459Z", | ||
"devdoc": { | ||
@@ -950,0 +950,0 @@ "methods": {} |
{ | ||
"name": "@acala-network/contracts", | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"description": "AcalaNetwork Smart Contract library for Solidity", | ||
@@ -5,0 +5,0 @@ "files": [ |
@@ -24,7 +24,5 @@ export const ACA: "0x0000000000000000000100000000000000000000"; | ||
export const LP_LKSM_KUSD: "0x0000000000000000000200000000830000000081"; | ||
export const Token: "0x0000000000000000000000000000000000000800"; | ||
export const NFT: "0x0000000000000000000000000000000000000801"; | ||
export const EVM: "0x0000000000000000000000000000000000000802"; | ||
export const Oracle: "0x0000000000000000000000000000000000000803"; | ||
export const Schedule: "0x0000000000000000000000000000000000000804"; | ||
export const DEX: "0x0000000000000000000000000000000000000805"; | ||
export const EVM: "0x0000000000000000000000000000000000000800"; | ||
export const Oracle: "0x0000000000000000000000000000000000000801"; | ||
export const Schedule: "0x0000000000000000000000000000000000000802"; | ||
export const DEX: "0x0000000000000000000000000000000000000803"; |
@@ -24,8 +24,6 @@ const ACA = '0x0000000000000000000100000000000000000000'; | ||
const LP_LKSM_KUSD = '0x0000000000000000000200000000830000000081'; | ||
const Token = '0x0000000000000000000000000000000000000800'; | ||
const NFT = '0x0000000000000000000000000000000000000801'; | ||
const EVM = '0x0000000000000000000000000000000000000802'; | ||
const Oracle = '0x0000000000000000000000000000000000000803'; | ||
const Schedule = '0x0000000000000000000000000000000000000804'; | ||
const DEX = '0x0000000000000000000000000000000000000805'; | ||
const EVM = '0x0000000000000000000000000000000000000800'; | ||
const Oracle = '0x0000000000000000000000000000000000000801'; | ||
const Schedule = '0x0000000000000000000000000000000000000802'; | ||
const DEX = '0x0000000000000000000000000000000000000803'; | ||
@@ -56,4 +54,2 @@ module.exports = { | ||
LP_LKSM_KUSD, | ||
Token, | ||
NFT, | ||
EVM, | ||
@@ -60,0 +56,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 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
3307738
32
75566