-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #39 from OasisDEX/kk/sc-12016/backend-implement-su…
…mmer-config feat: add `UseRpcGateway`
- Loading branch information
Showing
1 changed file
with
37 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | ||
}); |