Skip to content

Commit

Permalink
Added types for new trigger and command
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrwitek committed Sep 7, 2023
1 parent 2f4ae85 commit 66303c3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/automation/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export enum CommandContractType {
MakerAutoTakeProfitCommandV2 = 'MakerAutoTakeProfitCommandV2',
MakerBasicBuyCommandV2 = 'MakerBasicBuyCommandV2',
MakerBasicSellCommandV2 = 'MakerBasicSellCommandV2',
SparkStopLossCommandV2 = 'SparkStopLossCommandV2',
}

export enum TriggerType {
Expand All @@ -42,6 +43,8 @@ export enum TriggerType {
// AaveStopLossToDebtV2 = 110,
AaveStopLossToCollateralV2 = 111,
AaveStopLossToDebtV2 = 112,
SparkStopLossToCollateralV2 = 113,
SparkStopLossToDebtV2 = 114,
}

export enum TriggerGroupType {
Expand Down

0 comments on commit 66303c3

Please sign in to comment.