Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Launch Sky Upgrade #156

Merged
merged 3 commits into from
Sep 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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