@oasisdex/automation
Advanced tools
Comparing version 1.1.9 to 1.1.10
@@ -7,2 +7,4 @@ import { CommandContractInfo, CommandContractType, ParamDefinition } from './types'; | ||
readonly BasicSellCommand: readonly ["uint256", "uint16", "uint256", "uint256", "uint256", "bool", "uint64", "uint32"]; | ||
readonly CMBasicSellCommand: readonly ["uint256", "uint16", "uint256", "uint256", "uint256", "bool", "uint64", "uint32"]; | ||
readonly CMBasicBuyCommand: readonly ["uint256", "uint16", "uint256", "uint256", "uint256", "bool", "uint64", "uint32"]; | ||
}; | ||
@@ -9,0 +11,0 @@ export declare function getCommandAddresses(network: number): Record<CommandContractType, string[]>; |
@@ -16,2 +16,3 @@ "use strict"; | ||
'0x98b2b67795171380a4bfb5b8cd2f59aea768b3ed': { type: types_1.CommandContractType.BasicBuyCommand }, | ||
'0x2003dc19056ba986b7d10ab4704897d685dd62d9': { type: types_1.CommandContractType.BasicBuyCommand }, | ||
'0xd4f94e013c7f47b989ea79c6527e065c027794c7': { | ||
@@ -23,5 +24,14 @@ type: types_1.CommandContractType.BasicSellCommand, | ||
'0x3da3e38bbe1100de5247617b4554115c0e452416': { type: types_1.CommandContractType.BasicSellCommand }, | ||
'0xb52b1c61c667d570ff62745b19a0c58011a4b32c': { type: types_1.CommandContractType.BasicSellCommand }, | ||
'0x2ecc5086ce10194175607d0d082fc27c3416693d': { type: types_1.CommandContractType.BasicSellCommand }, | ||
'0x15c595ce24576924b2302bbcad552e3dadfa4469': { type: types_1.CommandContractType.CMBasicSellCommand }, | ||
'0xcbaaae60eeab8b3df33fa84f704c0c43cec29f73': { type: types_1.CommandContractType.CMBasicBuyCommand }, | ||
}, | ||
[types_1.EthereumNetwork.MAINNET]: { | ||
'0xa553c3f4e65a1fc951b236142c1f69c1bca5bf2b': { type: types_1.CommandContractType.CloseCommand }, | ||
'0x05fb55553e54afb33a5acc1f23b1f4fffd0d1af9': { type: types_1.CommandContractType.BasicBuyCommand }, | ||
'0xd36729c7cac24e47dc32ffd7d433f965caaeb912': { type: types_1.CommandContractType.BasicBuyCommand }, | ||
'0xa6bd41b821972e83d30598c5683efbbe6ad70fb8': { type: types_1.CommandContractType.BasicSellCommand }, | ||
'0xf9469da48f9d2ea87e195e3dd522226e876a1185': { type: types_1.CommandContractType.BasicSellCommand }, | ||
'0x5588d89a3c68e5a87cafe6b79ef8caa667a702f1': { type: types_1.CommandContractType.BasicSellCommand }, | ||
}, | ||
@@ -51,2 +61,22 @@ }; | ||
], | ||
[types_1.CommandContractType.CMBasicSellCommand]: [ | ||
'uint256', | ||
'uint16', | ||
'uint256', | ||
'uint256', | ||
'uint256', | ||
'bool', | ||
'uint64', | ||
'uint32', | ||
], | ||
[types_1.CommandContractType.CMBasicBuyCommand]: [ | ||
'uint256', | ||
'uint16', | ||
'uint256', | ||
'uint256', | ||
'uint256', | ||
'bool', | ||
'uint64', | ||
'uint32', | ||
], | ||
}; | ||
@@ -53,0 +83,0 @@ function getCommandAddresses(network) { |
@@ -9,3 +9,5 @@ import { ethers } from 'ethers'; | ||
BasicBuyCommand = "BasicBuyCommand", | ||
BasicSellCommand = "BasicSellCommand" | ||
BasicSellCommand = "BasicSellCommand", | ||
CMBasicBuyCommand = "CMBasicBuyCommand", | ||
CMBasicSellCommand = "CMBasicSellCommand" | ||
} | ||
@@ -16,3 +18,5 @@ export declare enum TriggerType { | ||
BasicBuy = 3, | ||
BasicSell = 4 | ||
BasicSell = 4, | ||
CMBasicBuy = 5, | ||
CMBasicSell = 6 | ||
} | ||
@@ -19,0 +23,0 @@ export declare type ParamDefinition = ReadonlyArray<string | ethers.utils.ParamType>; |
@@ -14,2 +14,4 @@ "use strict"; | ||
CommandContractType["BasicSellCommand"] = "BasicSellCommand"; | ||
CommandContractType["CMBasicBuyCommand"] = "CMBasicBuyCommand"; | ||
CommandContractType["CMBasicSellCommand"] = "CMBasicSellCommand"; | ||
})(CommandContractType = exports.CommandContractType || (exports.CommandContractType = {})); | ||
@@ -22,3 +24,5 @@ var TriggerType; | ||
TriggerType[TriggerType["BasicSell"] = 4] = "BasicSell"; | ||
TriggerType[TriggerType["CMBasicBuy"] = 5] = "CMBasicBuy"; | ||
TriggerType[TriggerType["CMBasicSell"] = 6] = "CMBasicSell"; | ||
})(TriggerType = exports.TriggerType || (exports.TriggerType = {})); | ||
//# sourceMappingURL=types.js.map |
{ | ||
"name": "@oasisdex/automation", | ||
"version": "1.1.9", | ||
"version": "1.1.10", | ||
"description": "The set of utilities for Oasis automation", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/OasisDEX/common#readme", |
@@ -28,4 +28,4 @@ import { | ||
'0x2ecc5086ce10194175607d0d082fc27c3416693d': { type: CommandContractType.BasicSellCommand }, | ||
'0x15c595cE24576924b2302BBcAD552E3dAdFA4469': { type: CommandContractType.CMBasicSellCommand }, | ||
'0xcbAAAe60EeAB8B3DF33fA84f704C0c43CEC29F73': { type: CommandContractType.CMBasicBuyCommand }, | ||
'0x15c595ce24576924b2302bbcad552e3dadfa4469': { type: CommandContractType.CMBasicSellCommand }, | ||
'0xcbaaae60eeab8b3df33fa84f704c0c43cec29f73': { type: CommandContractType.CMBasicBuyCommand }, | ||
}, | ||
@@ -32,0 +32,0 @@ [EthereumNetwork.MAINNET]: { |
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
162614
618