Skip to content

Commit

Permalink
Launch Sky Upgrade (#156)
Browse files Browse the repository at this point in the history
* Launch Sky Upgrade

* Refactor getParameters.ts for Sky Upgrade announcement and collateral tokens
  • Loading branch information
marcinciarka authored Sep 18, 2024
1 parent e6af9da commit 255438e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
2 changes: 1 addition & 1 deletion configs/oasis-borrow/getFeatures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const getFeatures = ({ notProduction }: ConfigHelperType) => ({
OmniKitDebug: false,
ProductHubDebug: false,
Newsletter: notProduction,
SkyUpgrade: notProduction,
SkyUpgrade: true,
LambdaAutomations: {
DisableNetValueCheck: notProduction,
// same as AutomationFeatures enum in OB
Expand Down
16 changes: 6 additions & 10 deletions configs/oasis-borrow/getParameters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,12 @@ export const getParameters = ({
url: "https://blog.summer.fi/oasis-app-rebrands-to-summer-fi/",
message: "Oasis.app is now Summer.fi! Read the announcement",
},
announcement: notProduction ? {
announcement: {
enabled: true,
message: "The Sky Ecosystem is here, Upgrade your $DAI to $USDS, your $MKR to $SKY, and deposit to start earning $SKY rewards.",
message:
"The Sky Ecosystem is here, Upgrade your $DAI to $USDS, your $MKR to $SKY, and deposit to start earning $SKY rewards.",
url: "https://summer.fi/ethereum/sky/upgrade",
icon: "sky",
} : {
enabled: true,
message: "Double your $RAYS with Spark and Summer.fi",
url: "https://blog.summer.fi/boost-rays-with-spark/",
icon: "rays",
},
locationBanner: {
GB: {
Expand Down Expand Up @@ -48,7 +44,7 @@ export const getParameters = ({
OPTIMISMMAINNET: "WETH",
BASEMAINNET: "WETH",
},
isolatedCollateralTokens: ['LDO', 'FRAX', 'MKR', 'SUSDE'],
isolatedCollateralTokens: ["LDO", "FRAX", "MKR", "SUSDE"],
riskRatios: {
// uses new RiskRatio(new BigNumber(5), RiskRatio.TYPE.COL_RATIO) so its one over the number here
minimum: 100,
Expand All @@ -61,7 +57,7 @@ export const getParameters = ({
walletLink: true,
gnosis: true,
ledger: false,
trezor: true
trezor: true,
},
automation: {
minNetValueUSD: {
Expand All @@ -79,7 +75,7 @@ export const getParameters = ({
[LendingProtocol.AaveV3]: 100,
},
},
defaultMinValue: 10_000
defaultMinValue: 10_000,
},
walletRpc: {
8453: "https://mainnet.base.org/", // Base
Expand Down

0 comments on commit 255438e

Please sign in to comment.