Skip to content

Commit

Permalink
Put feature in one place
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinciarka committed Sep 11, 2023
1 parent 7adf028 commit ee83dbc
Showing 1 changed file with 40 additions and 38 deletions.
78 changes: 40 additions & 38 deletions configs/oasis-borrow/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,43 +2,45 @@ import { ConfigHelperType } from "⌨️";

export default function ({ isProduction, notProduction }: ConfigHelperType) {
return {
"🌞": false, // or https://summer.fi/harheeharheeharhee to enable. https://summer.fi/<any vault ID> to disable.
AaveV3Arbitrum: false,
AaveV3Borrow: false,
AaveV3EarncbETHeth: false,
AaveV3EarnrETHeth: false,
AaveV3History: false,
AaveV3Multiply: 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,
ProxyCreationDisabled: false,
ProxyReveal: false,
ReadOnlyAutoTakeProfit: false,
ReadOnlyBasicBS: false,
Referrals: true,
Sillyness: false,
SparkProtocol: true,
SparkProtocolBorrow: true,
SparkProtocolEarn: true,
SparkProtocolMultiply: true,
SparkProtocolSDAIETH: false,
StopLossOpenFlow: false,
StopLossRead: true,
StopLossWrite: true,
TestFeature: false, // used in unit tests
UseNetworkSwitcher: true,
UseNetworkSwitcherArbitrum: false,
UseNetworkSwitcherForks: false,
UseNetworkSwitcherOptimism: true,
UseNetworkSwitcherTestnets: false,
features: {
"🌞": false, // or https://summer.fi/harheeharheeharhee to enable. https://summer.fi/<any vault ID> to disable.
AaveV3Arbitrum: false,
AaveV3Borrow: false,
AaveV3EarncbETHeth: false,
AaveV3EarnrETHeth: false,
AaveV3History: false,
AaveV3Multiply: 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,
ProxyCreationDisabled: false,
ProxyReveal: false,
ReadOnlyAutoTakeProfit: false,
ReadOnlyBasicBS: false,
Referrals: true,
Sillyness: false,
SparkProtocol: true,
SparkProtocolBorrow: true,
SparkProtocolEarn: true,
SparkProtocolMultiply: true,
SparkProtocolSDAIETH: false,
StopLossOpenFlow: false,
StopLossRead: true,
StopLossWrite: true,
TestFeature: false, // used in unit tests
UseNetworkSwitcher: true,
UseNetworkSwitcherArbitrum: false,
UseNetworkSwitcherForks: false,
UseNetworkSwitcherOptimism: true,
UseNetworkSwitcherTestnets: false,
},
};
}

0 comments on commit ee83dbc

Please sign in to comment.