Skip to content

Commit

Permalink
Merge pull request #39 from OasisDEX/kk/sc-12016/backend-implement-su…
Browse files Browse the repository at this point in the history
…mmer-config

feat: add `UseRpcGateway`
  • Loading branch information
halaprix authored Sep 26, 2023
2 parents a69b302 + e8eff34 commit b1c049d
Showing 1 changed file with 37 additions and 34 deletions.
71 changes: 37 additions & 34 deletions configs/oasis-borrow/getFeatures.ts
Original file line number Diff line number Diff line change
@@ -1,36 +1,39 @@
import { ConfigHelperType } from "⌨️";

export const getFeatures = ({ isStaging }: Pick<ConfigHelperType, 'isStaging'>) => ({
AaveV3ArbitrumBorrow: true,
AaveV3ArbitrumEarn: false,
AaveV3EarncbETHeth: false,
AaveV3EarnrETHeth: false,
AaveV3History: false,
AaveV3OptimismBorrow: true,
AaveV3OptimismEarn: false,
AaveV3Protection: true,
AaveV3ProtectionWrite: true,
AjnaPoolFinder: true,
AjnaReusableDPM: false,
AjnaSafetySwitch: true,
AjnaSuppressValidation: false,
AnotherTestFeature: true, // used in unit tests
ConstantMultipleReadOnly: false,
DaiSavingsRate: true,
DisableSidebarScroll: false,
FollowAAVEVaults: false,
NewNavigation: false,
ProxyCreationDisabled: false,
ProxyReveal: false,
ReadOnlyAutoTakeProfit: false,
ReadOnlyBasicBS: false,
Referrals: true,
Sillyness: false,
StopLossOpenFlow: false,
StopLossRead: true,
StopLossWrite: true,
TestFeature: false, // used in unit tests
UseNetworkSwitcherForks: false,
UseNetworkSwitcherTestnets: false,
SparkProtocolStopLoss: isStaging,
})
export const getFeatures = ({
isStaging,
}: Pick<ConfigHelperType, "isStaging">) => ({
AaveV3ArbitrumBorrow: true,
AaveV3ArbitrumEarn: false,
AaveV3EarncbETHeth: false,
AaveV3EarnrETHeth: false,
AaveV3History: false,
AaveV3OptimismBorrow: true,
AaveV3OptimismEarn: false,
AaveV3Protection: true,
AaveV3ProtectionWrite: true,
AjnaPoolFinder: true,
AjnaReusableDPM: false,
AjnaSafetySwitch: true,
AjnaSuppressValidation: false,
AnotherTestFeature: true, // used in unit tests
ConstantMultipleReadOnly: false,
DaiSavingsRate: true,
DisableSidebarScroll: false,
FollowAAVEVaults: false,
NewNavigation: false,
ProxyCreationDisabled: false,
ProxyReveal: false,
ReadOnlyAutoTakeProfit: false,
ReadOnlyBasicBS: false,
Referrals: true,
Sillyness: false,
StopLossOpenFlow: false,
StopLossRead: true,
StopLossWrite: true,
TestFeature: false, // used in unit tests
UseNetworkSwitcherForks: false,
UseNetworkSwitcherTestnets: false,
SparkProtocolStopLoss: isStaging,
UseRpcGateway: false,
});

0 comments on commit b1c049d

Please sign in to comment.