@acala-network/contracts
Advanced tools
Comparing version 3.1.0 to 3.2.0
@@ -300,3 +300,3 @@ { | ||
"schemaVersion": "3.3.1", | ||
"updatedAt": "2022-03-04T09:59:45.524Z", | ||
"updatedAt": "2022-03-18T10:12:13.172Z", | ||
"devdoc": { | ||
@@ -303,0 +303,0 @@ "kind": "dev", |
@@ -1619,3 +1619,3 @@ { | ||
"schemaVersion": "3.3.1", | ||
"updatedAt": "2022-03-04T09:59:45.533Z", | ||
"updatedAt": "2022-03-18T10:12:13.173Z", | ||
"devdoc": { | ||
@@ -1622,0 +1622,0 @@ "kind": "dev", |
@@ -56,6 +56,6 @@ { | ||
"Migrations": [ | ||
2141 | ||
2135 | ||
] | ||
}, | ||
"id": 2142, | ||
"id": 2136, | ||
"license": "GPL-3.0-or-later", | ||
@@ -65,3 +65,3 @@ "nodeType": "SourceUnit", | ||
{ | ||
"id": 2110, | ||
"id": 2104, | ||
"literals": [ | ||
@@ -83,5 +83,5 @@ "solidity", | ||
"fullyImplemented": true, | ||
"id": 2141, | ||
"id": 2135, | ||
"linearizedBaseContracts": [ | ||
2141 | ||
2135 | ||
], | ||
@@ -94,3 +94,3 @@ "name": "Migrations", | ||
"functionSelector": "8da5cb5b", | ||
"id": 2114, | ||
"id": 2108, | ||
"mutability": "mutable", | ||
@@ -100,3 +100,3 @@ "name": "owner", | ||
"overrides": null, | ||
"scope": 2141, | ||
"scope": 2135, | ||
"src": "95:33:12", | ||
@@ -110,3 +110,3 @@ "stateVariable": true, | ||
"typeName": { | ||
"id": 2111, | ||
"id": 2105, | ||
"name": "address", | ||
@@ -125,3 +125,3 @@ "nodeType": "ElementaryTypeName", | ||
"argumentTypes": null, | ||
"id": 2112, | ||
"id": 2106, | ||
"name": "msg", | ||
@@ -137,3 +137,3 @@ "nodeType": "Identifier", | ||
}, | ||
"id": 2113, | ||
"id": 2107, | ||
"isConstant": false, | ||
@@ -157,3 +157,3 @@ "isLValue": false, | ||
"functionSelector": "445df0ac", | ||
"id": 2116, | ||
"id": 2110, | ||
"mutability": "mutable", | ||
@@ -163,3 +163,3 @@ "name": "last_completed_migration", | ||
"overrides": null, | ||
"scope": 2141, | ||
"scope": 2135, | ||
"src": "132:36:12", | ||
@@ -173,3 +173,3 @@ "stateVariable": true, | ||
"typeName": { | ||
"id": 2115, | ||
"id": 2109, | ||
"name": "uint", | ||
@@ -188,3 +188,3 @@ "nodeType": "ElementaryTypeName", | ||
"body": { | ||
"id": 2127, | ||
"id": 2121, | ||
"nodeType": "Block", | ||
@@ -203,3 +203,3 @@ "src": "195:119:12", | ||
}, | ||
"id": 2122, | ||
"id": 2116, | ||
"isConstant": false, | ||
@@ -213,3 +213,3 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 2119, | ||
"id": 2113, | ||
"name": "msg", | ||
@@ -225,3 +225,3 @@ "nodeType": "Identifier", | ||
}, | ||
"id": 2120, | ||
"id": 2114, | ||
"isConstant": false, | ||
@@ -244,7 +244,7 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 2121, | ||
"id": 2115, | ||
"name": "owner", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2114, | ||
"referencedDeclaration": 2108, | ||
"src": "230:5:12", | ||
@@ -265,3 +265,3 @@ "typeDescriptions": { | ||
"hexValue": "546869732066756e6374696f6e206973207265737472696374656420746f2074686520636f6e74726163742773206f776e6572", | ||
"id": 2123, | ||
"id": 2117, | ||
"isConstant": false, | ||
@@ -293,3 +293,3 @@ "isLValue": false, | ||
], | ||
"id": 2118, | ||
"id": 2112, | ||
"name": "require", | ||
@@ -308,3 +308,3 @@ "nodeType": "Identifier", | ||
}, | ||
"id": 2124, | ||
"id": 2118, | ||
"isConstant": false, | ||
@@ -324,3 +324,3 @@ "isLValue": false, | ||
}, | ||
"id": 2125, | ||
"id": 2119, | ||
"nodeType": "ExpressionStatement", | ||
@@ -330,3 +330,3 @@ "src": "201:101:12" | ||
{ | ||
"id": 2126, | ||
"id": 2120, | ||
"nodeType": "PlaceholderStatement", | ||
@@ -338,3 +338,3 @@ "src": "308:1:12" | ||
"documentation": null, | ||
"id": 2128, | ||
"id": 2122, | ||
"name": "restricted", | ||
@@ -344,3 +344,3 @@ "nodeType": "ModifierDefinition", | ||
"parameters": { | ||
"id": 2117, | ||
"id": 2111, | ||
"nodeType": "ParameterList", | ||
@@ -356,3 +356,3 @@ "parameters": [], | ||
"body": { | ||
"id": 2139, | ||
"id": 2133, | ||
"nodeType": "Block", | ||
@@ -364,3 +364,3 @@ "src": "374:47:12", | ||
"argumentTypes": null, | ||
"id": 2137, | ||
"id": 2131, | ||
"isConstant": false, | ||
@@ -372,7 +372,7 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 2135, | ||
"id": 2129, | ||
"name": "last_completed_migration", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2116, | ||
"referencedDeclaration": 2110, | ||
"src": "380:24:12", | ||
@@ -388,7 +388,7 @@ "typeDescriptions": { | ||
"argumentTypes": null, | ||
"id": 2136, | ||
"id": 2130, | ||
"name": "completed", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2130, | ||
"referencedDeclaration": 2124, | ||
"src": "407:9:12", | ||
@@ -406,3 +406,3 @@ "typeDescriptions": { | ||
}, | ||
"id": 2138, | ||
"id": 2132, | ||
"nodeType": "ExpressionStatement", | ||
@@ -415,3 +415,3 @@ "src": "380:36:12" | ||
"functionSelector": "fdacd576", | ||
"id": 2140, | ||
"id": 2134, | ||
"implemented": true, | ||
@@ -422,10 +422,10 @@ "kind": "function", | ||
"arguments": null, | ||
"id": 2133, | ||
"id": 2127, | ||
"modifierName": { | ||
"argumentTypes": null, | ||
"id": 2132, | ||
"id": 2126, | ||
"name": "restricted", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2128, | ||
"referencedDeclaration": 2122, | ||
"src": "363:10:12", | ||
@@ -445,3 +445,3 @@ "typeDescriptions": { | ||
"parameters": { | ||
"id": 2131, | ||
"id": 2125, | ||
"nodeType": "ParameterList", | ||
@@ -451,3 +451,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 2130, | ||
"id": 2124, | ||
"mutability": "mutable", | ||
@@ -457,3 +457,3 @@ "name": "completed", | ||
"overrides": null, | ||
"scope": 2140, | ||
"scope": 2134, | ||
"src": "340:14:12", | ||
@@ -467,3 +467,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2129, | ||
"id": 2123, | ||
"name": "uint", | ||
@@ -484,3 +484,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 2134, | ||
"id": 2128, | ||
"nodeType": "ParameterList", | ||
@@ -490,3 +490,3 @@ "parameters": [], | ||
}, | ||
"scope": 2141, | ||
"scope": 2135, | ||
"src": "318:103:12", | ||
@@ -498,3 +498,3 @@ "stateMutability": "nonpayable", | ||
], | ||
"scope": 2142, | ||
"scope": 2136, | ||
"src": "71:352:12" | ||
@@ -509,6 +509,6 @@ } | ||
"Migrations": [ | ||
2141 | ||
2135 | ||
] | ||
}, | ||
"id": 2142, | ||
"id": 2136, | ||
"license": "GPL-3.0-or-later", | ||
@@ -518,3 +518,3 @@ "nodeType": "SourceUnit", | ||
{ | ||
"id": 2110, | ||
"id": 2104, | ||
"literals": [ | ||
@@ -536,5 +536,5 @@ "solidity", | ||
"fullyImplemented": true, | ||
"id": 2141, | ||
"id": 2135, | ||
"linearizedBaseContracts": [ | ||
2141 | ||
2135 | ||
], | ||
@@ -547,3 +547,3 @@ "name": "Migrations", | ||
"functionSelector": "8da5cb5b", | ||
"id": 2114, | ||
"id": 2108, | ||
"mutability": "mutable", | ||
@@ -553,3 +553,3 @@ "name": "owner", | ||
"overrides": null, | ||
"scope": 2141, | ||
"scope": 2135, | ||
"src": "95:33:12", | ||
@@ -563,3 +563,3 @@ "stateVariable": true, | ||
"typeName": { | ||
"id": 2111, | ||
"id": 2105, | ||
"name": "address", | ||
@@ -578,3 +578,3 @@ "nodeType": "ElementaryTypeName", | ||
"argumentTypes": null, | ||
"id": 2112, | ||
"id": 2106, | ||
"name": "msg", | ||
@@ -590,3 +590,3 @@ "nodeType": "Identifier", | ||
}, | ||
"id": 2113, | ||
"id": 2107, | ||
"isConstant": false, | ||
@@ -610,3 +610,3 @@ "isLValue": false, | ||
"functionSelector": "445df0ac", | ||
"id": 2116, | ||
"id": 2110, | ||
"mutability": "mutable", | ||
@@ -616,3 +616,3 @@ "name": "last_completed_migration", | ||
"overrides": null, | ||
"scope": 2141, | ||
"scope": 2135, | ||
"src": "132:36:12", | ||
@@ -626,3 +626,3 @@ "stateVariable": true, | ||
"typeName": { | ||
"id": 2115, | ||
"id": 2109, | ||
"name": "uint", | ||
@@ -641,3 +641,3 @@ "nodeType": "ElementaryTypeName", | ||
"body": { | ||
"id": 2127, | ||
"id": 2121, | ||
"nodeType": "Block", | ||
@@ -656,3 +656,3 @@ "src": "195:119:12", | ||
}, | ||
"id": 2122, | ||
"id": 2116, | ||
"isConstant": false, | ||
@@ -666,3 +666,3 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 2119, | ||
"id": 2113, | ||
"name": "msg", | ||
@@ -678,3 +678,3 @@ "nodeType": "Identifier", | ||
}, | ||
"id": 2120, | ||
"id": 2114, | ||
"isConstant": false, | ||
@@ -697,7 +697,7 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 2121, | ||
"id": 2115, | ||
"name": "owner", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2114, | ||
"referencedDeclaration": 2108, | ||
"src": "230:5:12", | ||
@@ -718,3 +718,3 @@ "typeDescriptions": { | ||
"hexValue": "546869732066756e6374696f6e206973207265737472696374656420746f2074686520636f6e74726163742773206f776e6572", | ||
"id": 2123, | ||
"id": 2117, | ||
"isConstant": false, | ||
@@ -746,3 +746,3 @@ "isLValue": false, | ||
], | ||
"id": 2118, | ||
"id": 2112, | ||
"name": "require", | ||
@@ -761,3 +761,3 @@ "nodeType": "Identifier", | ||
}, | ||
"id": 2124, | ||
"id": 2118, | ||
"isConstant": false, | ||
@@ -777,3 +777,3 @@ "isLValue": false, | ||
}, | ||
"id": 2125, | ||
"id": 2119, | ||
"nodeType": "ExpressionStatement", | ||
@@ -783,3 +783,3 @@ "src": "201:101:12" | ||
{ | ||
"id": 2126, | ||
"id": 2120, | ||
"nodeType": "PlaceholderStatement", | ||
@@ -791,3 +791,3 @@ "src": "308:1:12" | ||
"documentation": null, | ||
"id": 2128, | ||
"id": 2122, | ||
"name": "restricted", | ||
@@ -797,3 +797,3 @@ "nodeType": "ModifierDefinition", | ||
"parameters": { | ||
"id": 2117, | ||
"id": 2111, | ||
"nodeType": "ParameterList", | ||
@@ -809,3 +809,3 @@ "parameters": [], | ||
"body": { | ||
"id": 2139, | ||
"id": 2133, | ||
"nodeType": "Block", | ||
@@ -817,3 +817,3 @@ "src": "374:47:12", | ||
"argumentTypes": null, | ||
"id": 2137, | ||
"id": 2131, | ||
"isConstant": false, | ||
@@ -825,7 +825,7 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 2135, | ||
"id": 2129, | ||
"name": "last_completed_migration", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2116, | ||
"referencedDeclaration": 2110, | ||
"src": "380:24:12", | ||
@@ -841,7 +841,7 @@ "typeDescriptions": { | ||
"argumentTypes": null, | ||
"id": 2136, | ||
"id": 2130, | ||
"name": "completed", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2130, | ||
"referencedDeclaration": 2124, | ||
"src": "407:9:12", | ||
@@ -859,3 +859,3 @@ "typeDescriptions": { | ||
}, | ||
"id": 2138, | ||
"id": 2132, | ||
"nodeType": "ExpressionStatement", | ||
@@ -868,3 +868,3 @@ "src": "380:36:12" | ||
"functionSelector": "fdacd576", | ||
"id": 2140, | ||
"id": 2134, | ||
"implemented": true, | ||
@@ -875,10 +875,10 @@ "kind": "function", | ||
"arguments": null, | ||
"id": 2133, | ||
"id": 2127, | ||
"modifierName": { | ||
"argumentTypes": null, | ||
"id": 2132, | ||
"id": 2126, | ||
"name": "restricted", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2128, | ||
"referencedDeclaration": 2122, | ||
"src": "363:10:12", | ||
@@ -898,3 +898,3 @@ "typeDescriptions": { | ||
"parameters": { | ||
"id": 2131, | ||
"id": 2125, | ||
"nodeType": "ParameterList", | ||
@@ -904,3 +904,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 2130, | ||
"id": 2124, | ||
"mutability": "mutable", | ||
@@ -910,3 +910,3 @@ "name": "completed", | ||
"overrides": null, | ||
"scope": 2140, | ||
"scope": 2134, | ||
"src": "340:14:12", | ||
@@ -920,3 +920,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2129, | ||
"id": 2123, | ||
"name": "uint", | ||
@@ -937,3 +937,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 2134, | ||
"id": 2128, | ||
"nodeType": "ParameterList", | ||
@@ -943,3 +943,3 @@ "parameters": [], | ||
}, | ||
"scope": 2141, | ||
"scope": 2135, | ||
"src": "318:103:12", | ||
@@ -951,3 +951,3 @@ "stateMutability": "nonpayable", | ||
], | ||
"scope": 2142, | ||
"scope": 2136, | ||
"src": "71:352:12" | ||
@@ -964,3 +964,3 @@ } | ||
"schemaVersion": "3.3.1", | ||
"updatedAt": "2022-03-04T09:59:45.554Z", | ||
"updatedAt": "2022-03-18T10:12:13.196Z", | ||
"devdoc": { | ||
@@ -967,0 +967,0 @@ "kind": "dev", |
{ | ||
"name": "@acala-network/contracts", | ||
"version": "3.1.0", | ||
"version": "3.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
3496967
32
81020