From c7999c6481189dad0fe2dca4eae1c3aef53341dd Mon Sep 17 00:00:00 2001 From: Marcin Ciarka Date: Tue, 3 Oct 2023 13:20:56 +0200 Subject: [PATCH] 'closeDisabledFor' collateral/strategytypes in aave like --- configs/oasis-borrow/getParameters.ts | 28 ++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/configs/oasis-borrow/getParameters.ts b/configs/oasis-borrow/getParameters.ts index a269b3b..5bc2ec3 100644 --- a/configs/oasis-borrow/getParameters.ts +++ b/configs/oasis-borrow/getParameters.ts @@ -1,14 +1,20 @@ -import {ConfigHelperType} from "⌨️"; +import { ConfigHelperType } from "⌨️"; -export const getParameters = ({notProduction}: Pick) => ({ - 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) => ({ + 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"], }, -}) \ No newline at end of file + }, +});