From a0545bd1f701753f7cfb4e1acf83a0b6ffdc20a5 Mon Sep 17 00:00:00 2001 From: halaprix Date: Wed, 2 Aug 2023 13:16:42 +0200 Subject: [PATCH 1/2] chore: update aave-sl --- packages/automation/src/mapping.ts | 4 +++- packages/automation/src/types.ts | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/packages/automation/src/mapping.ts b/packages/automation/src/mapping.ts index 8233fb3..8b064e9 100644 --- a/packages/automation/src/mapping.ts +++ b/packages/automation/src/mapping.ts @@ -149,7 +149,9 @@ export const commandAddressMapping: Record< '0x65127d52aaeb356b45c6dcb3da36f4fc6ff738ef': { type: CommandContractType.AaveStopLossCommandV2, }, - + '0x52a9bC9a904B9eE6A4714eF883cCf14cb7283B0F': { + type: CommandContractType.AaveStopLossCommandV2, + }, }, }).map(([network, mapping]) => [ network, diff --git a/packages/automation/src/types.ts b/packages/automation/src/types.ts index 1a088c4..fde29ae 100644 --- a/packages/automation/src/types.ts +++ b/packages/automation/src/types.ts @@ -36,8 +36,10 @@ export enum TriggerType { MakerBasicSellV2 = 104, MakerAutoTakeProfitToCollateralV2 = 105, MakerAutoTakeProfitToDaiV2 = 106, - AaveStopLossToCollateralV2 = 107, - AaveStopLossToDebtV2 = 108, + // AaveStopLossToCollateralV2 = 107, + // AaveStopLossToDebtV2 = 108, + AaveStopLossToCollateralV2 = 109, + AaveStopLossToDebtV2 = 110, } export enum TriggerGroupType { From a79da943bca71723cfd1a5f1f0fb806416ea5c4b Mon Sep 17 00:00:00 2001 From: halaprix Date: Wed, 2 Aug 2023 13:18:21 +0200 Subject: [PATCH 2/2] Publish - @oasisdex/automation@1.5.0 - @oasisdex/connectors@0.1.1-alpha.38 - @oasisdex/multiply@0.2.14 - @oasisdex/transactions@0.1.4-alpha.1 - @oasisdex/web3-context@0.1.1-alpha.40 --- packages/automation/package.json | 2 +- packages/multiply/package-lock.json | 2 +- packages/multiply/package.json | 2 +- packages/transactions/package.json | 2 +- packages/web3-context/package.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/automation/package.json b/packages/automation/package.json index 5ae9583..6e258aa 100644 --- a/packages/automation/package.json +++ b/packages/automation/package.json @@ -1,6 +1,6 @@ { "name": "@oasisdex/automation", - "version": "1.5.0-alpha.9", + "version": "1.5.0", "description": "The set of utilities for Oasis automation", "homepage": "https://github.com/OasisDEX/common#readme", "main": "lib/src/index.js", diff --git a/packages/multiply/package-lock.json b/packages/multiply/package-lock.json index c649a38..9fb2143 100644 --- a/packages/multiply/package-lock.json +++ b/packages/multiply/package-lock.json @@ -1,6 +1,6 @@ { "name": "@oasisdex/multiply", - "version": "0.2.13", + "version": "0.2.14", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/multiply/package.json b/packages/multiply/package.json index c410e1d..a1c7e2d 100644 --- a/packages/multiply/package.json +++ b/packages/multiply/package.json @@ -1,6 +1,6 @@ { "name": "@oasisdex/multiply", - "version": "0.2.13", + "version": "0.2.14", "description": "Functions calculating multiply parameters", "homepage": "https://github.com/OasisDEX/common#readme", "main": "lib/src/index.js", diff --git a/packages/transactions/package.json b/packages/transactions/package.json index d46519a..6070c00 100644 --- a/packages/transactions/package.json +++ b/packages/transactions/package.json @@ -1,6 +1,6 @@ { "name": "@oasisdex/transactions", - "version": "0.1.4-alpha.0", + "version": "0.1.4-alpha.1", "description": "Utilities for sending and monitoring transactions", "homepage": "https://github.com/OasisDEX/common#readme", "main": "lib/src/index.js", diff --git a/packages/web3-context/package.json b/packages/web3-context/package.json index e3a9724..486033c 100644 --- a/packages/web3-context/package.json +++ b/packages/web3-context/package.json @@ -1,6 +1,6 @@ { "name": "@oasisdex/web3-context", - "version": "0.1.1-alpha.39", + "version": "0.1.1-alpha.40", "description": "Web3 Context", "homepage": "https://github.com/OasisDEX/common#readme", "main": "lib/src/index.js",