Skip to content

Commit

Permalink
Add LambdaAutomations (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinciarka authored May 6, 2024
1 parent bf7f8e6 commit b319fdb
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion configs/oasis-borrow/getFeatures.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ConfigHelperType } from "⌨️";

export const getFeatures = ({ isStaging: _isStaging }: ConfigHelperType) => ({
export const getFeatures = ({ notProduction }: ConfigHelperType) => ({
AaveV3ArbitrumBorrow: true,
AaveV3ArbitrumEarn: false,
AaveV3EarncbETHeth: false,
Expand Down Expand Up @@ -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,
},
},
});

0 comments on commit b319fdb

Please sign in to comment.