Skip to content

Commit

Permalink
'closeDisabledFor' collateral/strategytypes in aave like (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinciarka authored Oct 3, 2023
1 parent c5613a4 commit 28fb9b5
Showing 1 changed file with 17 additions and 11 deletions.
28 changes: 17 additions & 11 deletions configs/oasis-borrow/getParameters.ts
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"],
},
})
},
});

0 comments on commit 28fb9b5

Please sign in to comment.