From a6bd5b06acd9bbe40a8bc7a71ed8cb5370a389d3 Mon Sep 17 00:00:00 2001 From: halaprix Date: Mon, 26 Feb 2024 10:57:42 +0100 Subject: [PATCH] chore: add spark command addresses --- packages/automation/package.json | 2 +- packages/automation/src/mapping.ts | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/packages/automation/package.json b/packages/automation/package.json index 3021abf..90363f1 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.1", + "version": "1.6.2", "description": "The set of utilities for Oasis automation", "homepage": "https://github.com/OasisDEX/common#readme", "main": "lib/src/index.js", diff --git a/packages/automation/src/mapping.ts b/packages/automation/src/mapping.ts index a341123..ed2141d 100644 --- a/packages/automation/src/mapping.ts +++ b/packages/automation/src/mapping.ts @@ -295,6 +295,15 @@ export const commandAddressMapping: Record< '0xea0c35bd1c2fae4d540ce30d9738bc55147f2a9c': { type: CommandContractType.DmaAaveStopLossCommandV2, }, + '0x3b7701897fd930fEa5A67E60019742b0cdAdfecD': { + type: CommandContractType.DmaAaveTrailingStopLossCommandV2 + }, + '0x2d43E84567019D721F095CfD632291c3eE868D8F': { + type: CommandContractType.DmaSparkTrailingStopLossCommandV2 + }, + '0xAc728f8248F8CaD0E0f10A2a4e648981EdA095A4': { + type: CommandContractType.DmaSparkStopLossCommandV2 + } }, [EthereumNetwork.BASE]: { '0xb7CB13e4cD2D64e739b5746563978Ab7ee36B064': {