@oasisdex/automation
Advanced tools
Comparing version 1.0.12 to 1.1.0
@@ -11,4 +11,5 @@ "use strict"; | ||
'0x7c86781a95b7e55e6c2f7297ae6773e1dbceab13': { type: types_1.CommandContractType.BasicBuyCommand }, | ||
'0x000000000000000000000000000000000000dead': { type: types_1.CommandContractType.BasicSellCommand }, | ||
'0xe3ae7218d8e4a482e212ef1cbf2fcd0fb9882cc7': { type: types_1.CommandContractType.BasicBuyCommand }, | ||
'0xd4f94e013c7f47b989ea79c6527e065c027794c7': { type: types_1.CommandContractType.BasicSellCommand }, | ||
'0x6f878d8eb84e48da49900a6392b8f9ed262a50d7': { type: types_1.CommandContractType.BasicSellCommand }, | ||
}, | ||
@@ -60,4 +61,3 @@ [types_1.EthereumNetwork.MAINNET]: { | ||
if (!(lowercaseAddress in mappingForNetwork)) { | ||
console.log('mappingForNetwork', mappingForNetwork, lowercaseAddress); | ||
throw new Error(`Command address ${lowercaseAddress} for network ${network} not found.`); | ||
throw new Error(`Command address ${lowercaseAddress} for network ${network} not found. Supported Addresses: ${JSON.stringify(mappingForNetwork)}`); | ||
} | ||
@@ -64,0 +64,0 @@ return mappingForNetwork[lowercaseAddress]; |
{ | ||
"name": "@oasisdex/automation", | ||
"version": "1.0.12", | ||
"version": "1.1.0", | ||
"description": "The set of utilities for Oasis automation", | ||
@@ -27,3 +27,3 @@ "homepage": "https://github.com/OasisDEX/common#readme", | ||
}, | ||
"gitHead": "69cdcd8491e9c12f08c2c31f4abf55561e279e5d" | ||
"gitHead": "a4e434071abdd88b8af47bc3bad3f1d245e6b3f8" | ||
} |
@@ -14,4 +14,5 @@ import { | ||
'0x7c86781a95b7e55e6c2f7297ae6773e1dbceab13': { type: CommandContractType.BasicBuyCommand }, | ||
'0x000000000000000000000000000000000000dead': { type: CommandContractType.BasicSellCommand }, | ||
'0xe3ae7218d8e4a482e212ef1cbf2fcd0fb9882cc7': { type: CommandContractType.BasicBuyCommand }, | ||
'0xd4f94e013c7f47b989ea79c6527e065c027794c7': { type: CommandContractType.BasicSellCommand }, | ||
'0x6f878d8eb84e48da49900a6392b8f9ed262a50d7': { type: CommandContractType.BasicSellCommand }, | ||
}, | ||
@@ -74,4 +75,7 @@ [EthereumNetwork.MAINNET]: { | ||
if (!(lowercaseAddress in mappingForNetwork)) { | ||
console.log('mappingForNetwork', mappingForNetwork, lowercaseAddress); | ||
throw new Error(`Command address ${lowercaseAddress} for network ${network} not found.`); | ||
throw new Error( | ||
`Command address ${lowercaseAddress} for network ${network} not found. Supported Addresses: ${JSON.stringify( | ||
mappingForNetwork, | ||
)}`, | ||
); | ||
} | ||
@@ -78,0 +82,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
165219
497