diff --git a/packages/automation/src/types.ts b/packages/automation/src/types.ts index e18229f..fa55a7b 100644 --- a/packages/automation/src/types.ts +++ b/packages/automation/src/types.ts @@ -75,10 +75,14 @@ export enum TriggerType { DmaMorphoBlueBasicSellV2 = 136, DmaMorphoBluePartialTakeProfitV2 = 137, DmaMorphoBlueStopLossV2 = 138, - DmaMorphoBlueTrailingStopLossV2 = 10008 + DmaMorphoBlueTrailingStopLossV2 = 10008, } -export const TrailingStopLossTriggers = [TriggerType.DmaAaveTrailingStopLossV2, TriggerType.DmaSparkTrailingStopLossV2, TriggerType.DmaMorphoBlueTrailingStopLossV2]; +export const TrailingStopLossTriggers = [ + TriggerType.DmaAaveTrailingStopLossV2, + TriggerType.DmaSparkTrailingStopLossV2, + TriggerType.DmaMorphoBlueTrailingStopLossV2, +]; export const triggerTypeToCommandContractTypeMap: Record = { [TriggerType.StopLossToCollateral]: CommandContractType.CloseCommand, @@ -115,9 +119,11 @@ export const triggerTypeToCommandContractTypeMap: Record