From 178a22fb8d07f398380922e6c8e1b7d2fcd222de Mon Sep 17 00:00:00 2001 From: James Tuckett Date: Tue, 14 May 2024 07:55:20 +0100 Subject: [PATCH 1/5] v1.6.5-morpho.6 --- packages/automation/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/automation/package.json b/packages/automation/package.json index 9791161..cd9a685 100644 --- a/packages/automation/package.json +++ b/packages/automation/package.json @@ -1,7 +1,7 @@ { "name": "@oasisdex/automation", "packageManager": "yarn@1.22.21", - "version": "1.6.5-morpho.5", + "version": "1.6.5-morpho.6", "description": "The set of utilities for Oasis automation", "homepage": "https://github.com/OasisDEX/common#readme", "main": "lib/src/index.js", From 07d187c6493d46682b2a4f6910cc7359beabadbd Mon Sep 17 00:00:00 2001 From: James Tuckett Date: Tue, 14 May 2024 14:46:19 +0100 Subject: [PATCH 2/5] chore: bump types file --- packages/automation/src/types.ts | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/packages/automation/src/types.ts b/packages/automation/src/types.ts index fa55a7b..f53fc23 100644 --- a/packages/automation/src/types.ts +++ b/packages/automation/src/types.ts @@ -71,11 +71,16 @@ export enum TriggerType { DmaSparkPartialTakeProfitV2 = 134, DmaAaveTrailingStopLossV2 = 10006, DmaSparkTrailingStopLossV2 = 10007, - DmaMorphoBlueBasicBuyV2 = 135, - DmaMorphoBlueBasicSellV2 = 136, - DmaMorphoBluePartialTakeProfitV2 = 137, - DmaMorphoBlueStopLossV2 = 138, - DmaMorphoBlueTrailingStopLossV2 = 10008, + // DmaMorphoBlueBasicBuyV2 = 135, + // DmaMorphoBlueBasicSellV2 = 136, + // DmaMorphoBluePartialTakeProfitV2 = 137, + // DmaMorphoBlueStopLossV2 = 138, + // DmaMorphoBlueTrailingStopLossV2 = 10008, + DmaMorphoBlueBasicBuyV2 = 139, + DmaMorphoBlueBasicSellV2 = 140, + DmaMorphoBluePartialTakeProfitV2 = 141, + DmaMorphoBlueStopLossV2 = 142, + DmaMorphoBlueTrailingStopLossV2 = 10009, } export const TrailingStopLossTriggers = [ From 3ca9375eff03526cab9eb56bc7ef1be8dd684b56 Mon Sep 17 00:00:00 2001 From: James Tuckett Date: Thu, 16 May 2024 15:28:18 +0100 Subject: [PATCH 3/5] fix: update mappings for MB commands --- packages/automation/src/mapping.ts | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/packages/automation/src/mapping.ts b/packages/automation/src/mapping.ts index 06bcc33..74f43ed 100644 --- a/packages/automation/src/mapping.ts +++ b/packages/automation/src/mapping.ts @@ -248,8 +248,6 @@ export const commandTypeJsonMapping: Record = { 'collateralToken', 'operationName', 'poolId', - 'quoteDecimals', - 'collateralDecimals', 'executionLtv', 'targetLtv', 'minSellPrice', @@ -264,8 +262,6 @@ export const commandTypeJsonMapping: Record = { 'collateralToken', 'operationName', 'poolId', - 'quoteDecimals', - 'collateralDecimals', 'executionLtv', 'closeToCollateral', ], @@ -277,8 +273,6 @@ export const commandTypeJsonMapping: Record = { 'collateralToken', 'operationName', 'poolId', - 'quoteDecimals', - 'collateralDecimals', 'executionLtv', 'targetLtv', 'executionPrice', @@ -293,8 +287,6 @@ export const commandTypeJsonMapping: Record = { 'collateralToken', 'operationName', 'poolId', - 'quoteDecimals', - 'collateralDecimals', 'collateralOracle', 'collateralAddedRoundId', 'debtOracle', @@ -729,8 +721,6 @@ export const defaultCommandTypeMapping: Record Date: Thu, 16 May 2024 15:28:57 +0100 Subject: [PATCH 4/5] v1.6.5-morpho.7 --- packages/automation/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/automation/package.json b/packages/automation/package.json index cd9a685..14c6637 100644 --- a/packages/automation/package.json +++ b/packages/automation/package.json @@ -1,7 +1,7 @@ { "name": "@oasisdex/automation", "packageManager": "yarn@1.22.21", - "version": "1.6.5-morpho.6", + "version": "1.6.5-morpho.7", "description": "The set of utilities for Oasis automation", "homepage": "https://github.com/OasisDEX/common#readme", "main": "lib/src/index.js", From d5c318b9470f42bd7fc754c407f79ed637be6a85 Mon Sep 17 00:00:00 2001 From: James Tuckett Date: Thu, 30 May 2024 13:17:40 +0100 Subject: [PATCH 5/5] chore: commit updated version --- packages/automation/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/automation/package.json b/packages/automation/package.json index 14c6637..3373c4e 100644 --- a/packages/automation/package.json +++ b/packages/automation/package.json @@ -1,7 +1,7 @@ { "name": "@oasisdex/automation", "packageManager": "yarn@1.22.21", - "version": "1.6.5-morpho.7", + "version": "1.6.6", "description": "The set of utilities for Oasis automation", "homepage": "https://github.com/OasisDEX/common#readme", "main": "lib/src/index.js",