Skip to content

Commit

Permalink
Merge pull request #102 from OasisDEX/jacob/sc-14247/min-net-value-of…
Browse files Browse the repository at this point in the history
…-the-position

[SC-14247] Configuration for the minimum value of the position
  • Loading branch information
jakubswierczek authored Feb 7, 2024
2 parents 0aca0b3 + 78c2a8d commit 66fc645
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion configs/oasis-borrow/getParameters.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ConfigHelperType } from "⌨️";
import { TokenSymbol } from "🤝";
import { LendingProtocol, Network, TokenSymbol } from "🤝";

export const getParameters = ({
notProduction,
Expand Down Expand Up @@ -51,6 +51,24 @@ export const getParameters = ({
ledger: false,
trezor: true
},
automation: {
minNetValueUSD: {
[Network.MAINNET]: {
[LendingProtocol.AaveV3]: 10_000,
[LendingProtocol.SparkV3]: 10_000,
},
[Network.ARBITRUM]: {
[LendingProtocol.AaveV3]: 100,
},
[Network.OPTIMISM]: {
[LendingProtocol.AaveV3]: 100,
},
[Network.BASE]: {
[LendingProtocol.AaveV3]: 100,
},
},
defaultMinValue: 10_000
},
walletRpc: {
8453: "https://mainnet.base.org/", // Base
10: "https://mainnet.optimism.io/", // Optimism
Expand Down

0 comments on commit 66fc645

Please sign in to comment.