-
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.
'closeDisabledFor' collateral/strategytypes in aave like (#46)
- Loading branch information
1 parent
c5613a4
commit 28fb9b5
Showing
1 changed file
with
17 additions
and
11 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,14 +1,20 @@ | ||
import {ConfigHelperType} from "⌨️"; | ||
import { ConfigHelperType } from "⌨️"; | ||
|
||
export const getParameters = ({notProduction}: Pick<ConfigHelperType, 'notProduction'>) => ({ | ||
topBanner: { | ||
name: 'rebranding', | ||
url: 'https://blog.summer.fi/oasis-app-rebrands-to-summer-fi/', | ||
message: 'Oasis.app is now Summer.fi! Read the announcement', | ||
export const getParameters = ({ | ||
notProduction, | ||
}: Pick<ConfigHelperType, "notProduction">) => ({ | ||
topBanner: { | ||
name: "rebranding", | ||
url: "https://blog.summer.fi/oasis-app-rebrands-to-summer-fi/", | ||
message: "Oasis.app is now Summer.fi! Read the announcement", | ||
}, | ||
aaveLike: { | ||
orderInformation: { | ||
showFlashloanInformation: notProduction, | ||
}, | ||
aaveLike: { | ||
orderInformation: { | ||
showFlashloanInformation: notProduction, | ||
}, | ||
closeDisabledFor: { | ||
collateral: ["DAI", "USDC"], | ||
strategyTypes: ["short"], | ||
}, | ||
}) | ||
}, | ||
}); |