@oasisdex/automation
Advanced tools
Comparing version 1.6.0-alpha.6 to 1.6.0-alpha.7
@@ -103,3 +103,3 @@ "use strict"; | ||
'operationName', | ||
'execLtv', | ||
'executionLtv', | ||
'targetLtv', | ||
@@ -117,3 +117,3 @@ 'minSellPrice', | ||
'operationName', | ||
'execLtv', | ||
'executionLtv', | ||
'targetLtv', | ||
@@ -131,3 +131,3 @@ 'maxBuyPrice', | ||
'operationName', | ||
'ltv', | ||
'executionLtv', | ||
], | ||
@@ -134,0 +134,0 @@ [types_1.CommandContractType.DmaSparkStopLossCommandV2]: [ |
{ | ||
"name": "@oasisdex/automation", | ||
"packageManager": "yarn@1.22.21", | ||
"version": "1.6.0-alpha.6", | ||
"version": "1.6.0-alpha.7", | ||
"description": "The set of utilities for Oasis automation", | ||
@@ -6,0 +6,0 @@ "homepage": "https://github.com/OasisDEX/common#readme", |
@@ -108,3 +108,3 @@ import { | ||
'operationName', | ||
'execLtv', | ||
'executionLtv', | ||
'targetLtv', | ||
@@ -122,3 +122,3 @@ 'minSellPrice', | ||
'operationName', | ||
'execLtv', | ||
'executionLtv', | ||
'targetLtv', | ||
@@ -136,3 +136,3 @@ 'maxBuyPrice', | ||
'operationName', | ||
'ltv', | ||
'executionLtv', | ||
], | ||
@@ -139,0 +139,0 @@ [CommandContractType.DmaSparkStopLossCommandV2]: [ |
@@ -30,29 +30,29 @@ import { ethers } from 'ethers'; | ||
export enum TriggerType { | ||
StopLossToCollateral = 1, | ||
StopLossToDai = 2, | ||
BasicBuy = 3, | ||
BasicSell = 4, | ||
AutoTakeProfitToCollateral = 7, | ||
AutoTakeProfitToDai = 8, | ||
SimpleAAVESell = 9, | ||
AaveStopLossToCollateral = 10, | ||
AaveStopLossToDebt = 11, | ||
MakerStopLossToCollateralV2 = 101, | ||
MakerStopLossToDaiV2 = 102, | ||
MakerBasicBuyV2 = 103, | ||
MakerBasicSellV2 = 104, | ||
MakerAutoTakeProfitToCollateralV2 = 105, | ||
MakerAutoTakeProfitToDaiV2 = 106, | ||
AaveStopLossToCollateralV2 = 111, | ||
AaveStopLossToDebtV2 = 112, | ||
SparkStopLossToCollateralV2 = 117, | ||
SparkStopLossToDebtV2 = 118, | ||
DmaAaveBasicBuyV2 = 121, | ||
DmaAaveBasicSellV2 = 122, | ||
DmaAaveStopLossToCollateralV2 = 123, | ||
DmaAaveStopLossToDebtV2 = 124, | ||
DmaSparkStopLossToCollateralV2 = 125, | ||
DmaSparkStopLossToDebtV2 = 126, | ||
} | ||
export enum TriggerType { | ||
StopLossToCollateral = 1, | ||
StopLossToDai = 2, | ||
BasicBuy = 3, | ||
BasicSell = 4, | ||
AutoTakeProfitToCollateral = 7, | ||
AutoTakeProfitToDai = 8, | ||
SimpleAAVESell = 9, | ||
AaveStopLossToCollateral = 10, | ||
AaveStopLossToDebt = 11, | ||
MakerStopLossToCollateralV2 = 101, | ||
MakerStopLossToDaiV2 = 102, | ||
MakerBasicBuyV2 = 103, | ||
MakerBasicSellV2 = 104, | ||
MakerAutoTakeProfitToCollateralV2 = 105, | ||
MakerAutoTakeProfitToDaiV2 = 106, | ||
AaveStopLossToCollateralV2 = 111, | ||
AaveStopLossToDebtV2 = 112, | ||
SparkStopLossToCollateralV2 = 117, | ||
SparkStopLossToDebtV2 = 118, | ||
DmaAaveBasicBuyV2 = 121, | ||
DmaAaveBasicSellV2 = 122, | ||
DmaAaveStopLossToCollateralV2 = 123, | ||
DmaAaveStopLossToDebtV2 = 124, | ||
DmaSparkStopLossToCollateralV2 = 125, | ||
DmaSparkStopLossToDebtV2 = 126, | ||
} | ||
@@ -59,0 +59,0 @@ export const triggerTypeToCommandContractTypeMap: Record<TriggerType, CommandContractType> = { |
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
136851