Skip to content

Commit

Permalink
Added SparkProtocolStopLoss (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrwitek authored Sep 20, 2023
1 parent 50ee4b7 commit 314ad8c
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions configs/oasis-borrow/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import { ConfigHelperType } from "⌨️";

export default function ({ isDevelopment: _isDevelopment, notProduction }: ConfigHelperType) {
export default function ({
isDevelopment: _isDevelopment,
notProduction,
isStaging,
}: ConfigHelperType) {
return {
features: {
AaveV3ArbitrumBorrow: true,
Expand Down Expand Up @@ -33,6 +37,7 @@ export default function ({ isDevelopment: _isDevelopment, notProduction }: Confi
TestFeature: false, // used in unit tests
UseNetworkSwitcherForks: false,
UseNetworkSwitcherTestnets: false,
SparkProtocolStopLoss: isStaging,
},
parameters: {
topBanner: {
Expand All @@ -43,8 +48,8 @@ export default function ({ isDevelopment: _isDevelopment, notProduction }: Confi
aaveLike: {
orderInformation: {
showFlashloanInformation: notProduction,
}
}
},
},
},
};
}

0 comments on commit 314ad8c

Please sign in to comment.