From b319fdb935551c604ec639d139a3b7f008b82cb1 Mon Sep 17 00:00:00 2001 From: Marcin Ciarka Date: Mon, 6 May 2024 13:25:11 +0200 Subject: [PATCH] Add LambdaAutomations (#130) --- configs/oasis-borrow/getFeatures.ts | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/configs/oasis-borrow/getFeatures.ts b/configs/oasis-borrow/getFeatures.ts index 9aba7fb..f708c0b 100644 --- a/configs/oasis-borrow/getFeatures.ts +++ b/configs/oasis-borrow/getFeatures.ts @@ -1,6 +1,6 @@ import { ConfigHelperType } from "⌨️"; -export const getFeatures = ({ isStaging: _isStaging }: ConfigHelperType) => ({ +export const getFeatures = ({ notProduction }: ConfigHelperType) => ({ AaveV3ArbitrumBorrow: true, AaveV3ArbitrumEarn: false, AaveV3EarncbETHeth: false, @@ -86,4 +86,21 @@ export const getFeatures = ({ isStaging: _isStaging }: ConfigHelperType) => ({ UseOmniKitLinks: false, OmniKitDebug: false, ProductHubDebug: false, + LambdaAutomations: { + // same as AutomationFeatures enum in OB + AaveV3: { + autoBuy: true, + autoSell: true, + partialTakeProfit: true, + stopLoss: true, + trailingStopLoss: true, + }, + MorphoBlue: { + autoBuy: notProduction, + autoSell: notProduction, + partialTakeProfit: notProduction, + stopLoss: notProduction, + trailingStopLoss: notProduction, + }, + }, });