Skip to content

Commit

Permalink
chore: add new trigger IDs and spark SL address
Browse files Browse the repository at this point in the history
  • Loading branch information
zerotucks committed Sep 19, 2023
1 parent 9ceae3b commit 1e5bf44
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions packages/automation/src/mapping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,9 @@ export const commandAddressMapping: Record<
'0x9F47b484E921619028eF1c6F7fE73F9921B5AC6D': {
type: CommandContractType.SparkStopLossCommandV2,
},
'0x2af43189E85CEA21aa8FA5d61139b771328d8D30': {
type: CommandContractType.SparkStopLossCommandV2,
},
},
}).map(([network, mapping]) => [
network,
Expand Down
6 changes: 4 additions & 2 deletions packages/automation/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,10 @@ export enum TriggerType {
AaveStopLossToDebtV2 = 112,
// SparkStopLossToCollateralV2 = 113,
// SparkStopLossToDebtV2 = 114,
SparkStopLossToCollateralV2 = 115,
SparkStopLossToDebtV2 = 116,
// SparkStopLossToCollateralV2 = 115,
// SparkStopLossToDebtV2 = 116,
SparkStopLossToCollateralV2 = 117,
SparkStopLossToDebtV2 = 118,
}

export enum TriggerGroupType {
Expand Down

0 comments on commit 1e5bf44

Please sign in to comment.