@strkfarm/sdk 1.0.63 → 1.0.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.browser.global.js +203 -64
- package/dist/index.browser.mjs +203 -64
- package/dist/index.d.ts +6 -1
- package/dist/index.js +206 -69
- package/dist/index.mjs +206 -69
- package/package.json +1 -1
- package/src/global.ts +19 -1
- package/src/interfaces/common.tsx +1 -0
- package/src/interfaces/risks.ts +175 -0
- package/src/notifs/telegram.ts +3 -3
- package/src/strategies/ekubo-cl-vault.tsx +201 -71
|
@@ -47435,7 +47435,7 @@ ${indent}}` : "}";
|
|
|
47435
47435
|
name: "WBTC",
|
|
47436
47436
|
symbol: "WBTC",
|
|
47437
47437
|
logo: "https://assets.troves.fi/integrations/tokens/wbtc.svg",
|
|
47438
|
-
address: ContractAddr.from("
|
|
47438
|
+
address: ContractAddr.from("0x03fe2b97c1fd336e750087d68b9b867997fd64a2661ff3ca5a7c771641e8e7ac"),
|
|
47439
47439
|
decimals: 8,
|
|
47440
47440
|
coingeckId: void 0,
|
|
47441
47441
|
displayDecimals: 6,
|
|
@@ -47451,6 +47451,26 @@ ${indent}}` : "}";
|
|
|
47451
47451
|
displayDecimals: 6,
|
|
47452
47452
|
priceCheckAmount: 1e-4
|
|
47453
47453
|
// 112000 * 0.0001 = $11.2
|
|
47454
|
+
}, {
|
|
47455
|
+
name: "solvBTC",
|
|
47456
|
+
symbol: "solvBTC",
|
|
47457
|
+
logo: "https://assets.strkfarm.com/integrations/tokens/solvbtc.svg",
|
|
47458
|
+
address: ContractAddr.from("0x0593e034dda23eea82d2ba9a30960ed42cf4a01502cc2351dc9b9881f9931a68"),
|
|
47459
|
+
decimals: 18,
|
|
47460
|
+
coingeckId: void 0,
|
|
47461
|
+
displayDecimals: 6,
|
|
47462
|
+
priceCheckAmount: 1e-4
|
|
47463
|
+
// 112000 * 0.0001 = $11.2
|
|
47464
|
+
}, {
|
|
47465
|
+
name: "LBTC",
|
|
47466
|
+
symbol: "LBTC",
|
|
47467
|
+
logo: "https://assets.strkfarm.com/integrations/tokens/lbtc.svg",
|
|
47468
|
+
address: ContractAddr.from("0x036834a40984312f7f7de8d31e3f6305b325389eaeea5b1c0664b2fb936461a4"),
|
|
47469
|
+
decimals: 8,
|
|
47470
|
+
coingeckId: void 0,
|
|
47471
|
+
displayDecimals: 6,
|
|
47472
|
+
priceCheckAmount: 1e-4
|
|
47473
|
+
// 112000 * 0.0001 = $11.2
|
|
47454
47474
|
}];
|
|
47455
47475
|
var tokens = defaultTokens;
|
|
47456
47476
|
var _Global = class _Global {
|
|
@@ -66149,14 +66169,31 @@ ${indent}}` : "}";
|
|
|
66149
66169
|
name: "Ekubo",
|
|
66150
66170
|
logo: "https://app.ekubo.org/favicon.ico"
|
|
66151
66171
|
};
|
|
66152
|
-
var
|
|
66153
|
-
{ type: "Smart Contract Risk" /* SMART_CONTRACT_RISK */, value:
|
|
66154
|
-
{ type: "Impermanent Loss Risk" /* IMPERMANENT_LOSS */, value:
|
|
66155
|
-
{ type: "Market Risk" /* MARKET_RISK */, value:
|
|
66172
|
+
var _corelatedPoolRiskFactors = [
|
|
66173
|
+
{ type: "Smart Contract Risk" /* SMART_CONTRACT_RISK */, value: 2 /* WELL_AUDITED */, weight: 34, reason: "Audited smart contracts" },
|
|
66174
|
+
{ type: "Impermanent Loss Risk" /* IMPERMANENT_LOSS */, value: 1 /* HIGHLY_CORRELATED */, weight: 33, reason: "Low risk due to co-related assets" },
|
|
66175
|
+
{ type: "Market Risk" /* MARKET_RISK */, value: 1 /* VERY_LOW_VOLATILITY */, weight: 33, reason: "Low risk due to co-related assets" }
|
|
66176
|
+
];
|
|
66177
|
+
var mediumVolatilityPoolRiskFactors = [
|
|
66178
|
+
{ type: "Smart Contract Risk" /* SMART_CONTRACT_RISK */, value: 2 /* WELL_AUDITED */, weight: 34, reason: "Audited smart contracts" },
|
|
66179
|
+
{ type: "Impermanent Loss Risk" /* IMPERMANENT_LOSS */, value: 3 /* NON_CORRELATED */, weight: 33, reason: "Low risk due to co-related assets" },
|
|
66180
|
+
{ type: "Market Risk" /* MARKET_RISK */, value: 3 /* MODERATE_VOLATILITY */, weight: 33, reason: "Low risk due to co-related assets" }
|
|
66156
66181
|
];
|
|
66157
|
-
var
|
|
66158
|
-
{ type: "Smart Contract Risk" /* SMART_CONTRACT_RISK */, value:
|
|
66182
|
+
var highVolatilityPoolRiskFactors = [
|
|
66183
|
+
{ type: "Smart Contract Risk" /* SMART_CONTRACT_RISK */, value: 2 /* WELL_AUDITED */, weight: 34, reason: "Audited smart contracts" },
|
|
66184
|
+
{ type: "Impermanent Loss Risk" /* IMPERMANENT_LOSS */, value: 3 /* NON_CORRELATED */, weight: 33, reason: "Low risk due to co-related assets" },
|
|
66185
|
+
{ type: "Market Risk" /* MARKET_RISK */, value: 4 /* HIGH_VOLATILITY */, weight: 33, reason: "Low risk due to co-related assets" }
|
|
66159
66186
|
];
|
|
66187
|
+
var mediumRisk = {
|
|
66188
|
+
riskFactor: mediumVolatilityPoolRiskFactors,
|
|
66189
|
+
netRisk: mediumVolatilityPoolRiskFactors.reduce((acc, curr) => acc + curr.value * curr.weight, 0) / mediumVolatilityPoolRiskFactors.reduce((acc, curr) => acc + curr.weight, 0),
|
|
66190
|
+
notARisks: getNoRiskTags(mediumVolatilityPoolRiskFactors)
|
|
66191
|
+
};
|
|
66192
|
+
var highRisk = {
|
|
66193
|
+
riskFactor: highVolatilityPoolRiskFactors,
|
|
66194
|
+
netRisk: highVolatilityPoolRiskFactors.reduce((acc, curr) => acc + curr.value * curr.weight, 0) / highVolatilityPoolRiskFactors.reduce((acc, curr) => acc + curr.weight, 0),
|
|
66195
|
+
notARisks: getNoRiskTags(highVolatilityPoolRiskFactors)
|
|
66196
|
+
};
|
|
66160
66197
|
var AUDIT_URL2 = "https://assets.troves.fi/strkfarm/audit_report_vesu_and_ekubo_strats.pdf";
|
|
66161
66198
|
var faqs2 = [
|
|
66162
66199
|
{
|
|
@@ -66171,6 +66208,10 @@ ${indent}}` : "}";
|
|
|
66171
66208
|
question: "What happens during withdrawal?",
|
|
66172
66209
|
answer: "During withdrawal, you may receive either or both tokens depending on market conditions and prevailing prices."
|
|
66173
66210
|
},
|
|
66211
|
+
{
|
|
66212
|
+
question: "Are there any deposit/withdrawal fees?",
|
|
66213
|
+
answer: "No, there are no deposit/withdrawal fees. However, there is a performance fee varying between 10-20% of the fees and rewards generated. The exact fee is determined by the strategy and the APY shown is net of this fee."
|
|
66214
|
+
},
|
|
66174
66215
|
{
|
|
66175
66216
|
question: "Is the strategy audited?",
|
|
66176
66217
|
answer: /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { children: [
|
|
@@ -66205,9 +66246,9 @@ ${indent}}` : "}";
|
|
|
66205
66246
|
auditUrl: AUDIT_URL2,
|
|
66206
66247
|
maxTVL: Web3Number.fromWei("0", 18),
|
|
66207
66248
|
risk: {
|
|
66208
|
-
riskFactor:
|
|
66209
|
-
netRisk:
|
|
66210
|
-
notARisks: getNoRiskTags(
|
|
66249
|
+
riskFactor: _corelatedPoolRiskFactors,
|
|
66250
|
+
netRisk: _corelatedPoolRiskFactors.reduce((acc, curr) => acc + curr.value * curr.weight, 0) / _corelatedPoolRiskFactors.reduce((acc, curr) => acc + curr.weight, 0),
|
|
66251
|
+
notARisks: getNoRiskTags(_corelatedPoolRiskFactors)
|
|
66211
66252
|
},
|
|
66212
66253
|
apyMethodology: "APY based on 7-day historical performance, including fees and rewards.",
|
|
66213
66254
|
additionalInfo: {
|
|
@@ -66223,7 +66264,8 @@ ${indent}}` : "}";
|
|
|
66223
66264
|
customShouldRebalance: async (currentPrice) => true,
|
|
66224
66265
|
minWaitHours: 24,
|
|
66225
66266
|
direction: "uponly"
|
|
66226
|
-
}
|
|
66267
|
+
},
|
|
66268
|
+
quoteAsset: Global.getDefaultTokens().find((t) => t.symbol === "STRK")
|
|
66227
66269
|
},
|
|
66228
66270
|
faqs: [
|
|
66229
66271
|
...faqs2,
|
|
@@ -66240,68 +66282,165 @@ ${indent}}` : "}";
|
|
|
66240
66282
|
contractDetails: [],
|
|
66241
66283
|
investmentSteps: []
|
|
66242
66284
|
};
|
|
66243
|
-
var
|
|
66244
|
-
xSTRKSTRK,
|
|
66285
|
+
var ETHUSDCRe7Strategy = {
|
|
66286
|
+
...xSTRKSTRK,
|
|
66287
|
+
name: "Ekubo ETH/USDC",
|
|
66288
|
+
description: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, {}),
|
|
66289
|
+
address: ContractAddr.from(
|
|
66290
|
+
"0x160d8fa4569ef6a12e6bf47cb943d7b5ebba8a41a69a14c1d943050ba5ff947"
|
|
66291
|
+
),
|
|
66292
|
+
launchBlock: 1501761,
|
|
66293
|
+
// must be same order as poolKey token0 and token1
|
|
66294
|
+
depositTokens: [
|
|
66295
|
+
Global.getDefaultTokens().find((t) => t.symbol === "ETH"),
|
|
66296
|
+
Global.getDefaultTokens().find((t) => t.symbol === "USDC")
|
|
66297
|
+
],
|
|
66298
|
+
additionalInfo: {
|
|
66299
|
+
newBounds: "Managed by Re7",
|
|
66300
|
+
truePrice: 1,
|
|
66301
|
+
feeBps: 1e3,
|
|
66302
|
+
rebalanceConditions: {
|
|
66303
|
+
customShouldRebalance: async (currentPrice) => currentPrice > 0.99 && currentPrice < 1.01,
|
|
66304
|
+
minWaitHours: 6,
|
|
66305
|
+
direction: "any"
|
|
66306
|
+
},
|
|
66307
|
+
quoteAsset: Global.getDefaultTokens().find((t) => t.symbol === "USDC")
|
|
66308
|
+
},
|
|
66309
|
+
faqs: [
|
|
66310
|
+
...faqs2,
|
|
66311
|
+
{
|
|
66312
|
+
question: "Who is the curator of this strategy?",
|
|
66313
|
+
answer: /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { children: [
|
|
66314
|
+
"Re7 Labs is the curator of this strategy. Re7 Labs is a well-known Web3 asset management firm. This strategy is completely managed by them, including ownership of the vault. Troves is developer of the smart contracts and maintains infrastructure to help users access these strategies. You can find more information about them on their website ",
|
|
66315
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("a", { href: "https://www.re7labs.xyz", style: { textDecoration: "underline", marginLeft: "2px" }, target: "_blank", children: "here" }),
|
|
66316
|
+
"."
|
|
66317
|
+
] })
|
|
66318
|
+
}
|
|
66319
|
+
],
|
|
66320
|
+
risk: highRisk,
|
|
66321
|
+
points: [],
|
|
66322
|
+
curator: { name: "Re7 Labs", logo: "https://www.re7labs.xyz/favicon.ico" }
|
|
66323
|
+
};
|
|
66324
|
+
var RE7Strategies = [
|
|
66325
|
+
ETHUSDCRe7Strategy,
|
|
66245
66326
|
{
|
|
66246
|
-
...
|
|
66327
|
+
...ETHUSDCRe7Strategy,
|
|
66247
66328
|
name: "Ekubo USDC/USDT",
|
|
66248
66329
|
description: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, {}),
|
|
66249
66330
|
address: ContractAddr.from(
|
|
66250
|
-
"
|
|
66331
|
+
"0x3a4f8debaf12af97bb911099bc011d63d6c208d4c5ba8e15d7f437785b0aaa2"
|
|
66251
66332
|
),
|
|
66252
|
-
launchBlock:
|
|
66333
|
+
launchBlock: 1501761,
|
|
66253
66334
|
// must be same order as poolKey token0 and token1
|
|
66254
66335
|
depositTokens: [
|
|
66255
66336
|
Global.getDefaultTokens().find((t) => t.symbol === "USDC"),
|
|
66256
66337
|
Global.getDefaultTokens().find((t) => t.symbol === "USDT")
|
|
66257
66338
|
],
|
|
66258
|
-
|
|
66259
|
-
newBounds: {
|
|
66260
|
-
lower: -1,
|
|
66261
|
-
upper: 1
|
|
66262
|
-
},
|
|
66263
|
-
truePrice: 1,
|
|
66264
|
-
feeBps: 1e3,
|
|
66265
|
-
rebalanceConditions: {
|
|
66266
|
-
customShouldRebalance: async (currentPrice) => currentPrice > 0.99 && currentPrice < 1.01,
|
|
66267
|
-
minWaitHours: 6,
|
|
66268
|
-
direction: "any"
|
|
66269
|
-
}
|
|
66270
|
-
}
|
|
66339
|
+
risk: xSTRKSTRK.risk
|
|
66271
66340
|
},
|
|
66272
66341
|
{
|
|
66273
|
-
...
|
|
66342
|
+
...ETHUSDCRe7Strategy,
|
|
66274
66343
|
name: "Ekubo STRK/USDC",
|
|
66275
66344
|
description: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, {}),
|
|
66276
66345
|
address: ContractAddr.from(
|
|
66277
|
-
"
|
|
66346
|
+
"0x351b36d0d9d8b40010658825adeeddb1397436cd41acd0ff6c6e23aaa8b5b30"
|
|
66278
66347
|
),
|
|
66279
|
-
launchBlock:
|
|
66348
|
+
launchBlock: 1501762,
|
|
66280
66349
|
// must be same order as poolKey token0 and token1
|
|
66281
66350
|
depositTokens: [
|
|
66282
66351
|
Global.getDefaultTokens().find((t) => t.symbol === "STRK"),
|
|
66283
66352
|
Global.getDefaultTokens().find((t) => t.symbol === "USDC")
|
|
66284
66353
|
],
|
|
66285
|
-
|
|
66286
|
-
|
|
66287
|
-
|
|
66288
|
-
|
|
66289
|
-
|
|
66290
|
-
|
|
66291
|
-
|
|
66292
|
-
|
|
66293
|
-
|
|
66294
|
-
|
|
66354
|
+
risk: highRisk
|
|
66355
|
+
},
|
|
66356
|
+
{
|
|
66357
|
+
...ETHUSDCRe7Strategy,
|
|
66358
|
+
name: "Ekubo STRK/ETH",
|
|
66359
|
+
description: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, {}),
|
|
66360
|
+
address: ContractAddr.from(
|
|
66361
|
+
"0x4ce3024b0ee879009112d7b0e073f8a87153dd35b029347d4247ffe48d28f51"
|
|
66362
|
+
),
|
|
66363
|
+
launchBlock: 1501763,
|
|
66364
|
+
// must be same order as poolKey token0 and token1
|
|
66365
|
+
depositTokens: [
|
|
66366
|
+
Global.getDefaultTokens().find((t) => t.symbol === "STRK"),
|
|
66367
|
+
Global.getDefaultTokens().find((t) => t.symbol === "ETH")
|
|
66368
|
+
],
|
|
66369
|
+
risk: highRisk
|
|
66370
|
+
},
|
|
66371
|
+
{
|
|
66372
|
+
...ETHUSDCRe7Strategy,
|
|
66373
|
+
name: "Ekubo WBTC/USDC",
|
|
66374
|
+
description: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, {}),
|
|
66375
|
+
address: ContractAddr.from(
|
|
66376
|
+
"0x2bcaef2eb7706875a5fdc6853dd961a0590f850bc3a031c59887189b5e84ba1"
|
|
66377
|
+
),
|
|
66378
|
+
launchBlock: 1501764,
|
|
66379
|
+
// must be same order as poolKey token0 and token1
|
|
66380
|
+
depositTokens: [
|
|
66381
|
+
Global.getDefaultTokens().find((t) => t.symbol === "WBTC"),
|
|
66382
|
+
Global.getDefaultTokens().find((t) => t.symbol === "USDC")
|
|
66383
|
+
],
|
|
66384
|
+
risk: mediumRisk
|
|
66385
|
+
},
|
|
66386
|
+
{
|
|
66387
|
+
...ETHUSDCRe7Strategy,
|
|
66388
|
+
name: "Ekubo tBTC/USDC",
|
|
66389
|
+
description: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, {}),
|
|
66390
|
+
address: ContractAddr.from(
|
|
66391
|
+
"0x4aad891a2d4432fba06b6558631bb13f6bbd7f6f33ab8c3111e344889ea4456"
|
|
66392
|
+
),
|
|
66393
|
+
launchBlock: 1501764,
|
|
66394
|
+
// must be same order as poolKey token0 and token1
|
|
66395
|
+
depositTokens: [
|
|
66396
|
+
Global.getDefaultTokens().find((t) => t.symbol === "tBTC"),
|
|
66397
|
+
Global.getDefaultTokens().find((t) => t.symbol === "USDC")
|
|
66398
|
+
],
|
|
66399
|
+
risk: mediumRisk
|
|
66400
|
+
},
|
|
66401
|
+
{
|
|
66402
|
+
...ETHUSDCRe7Strategy,
|
|
66403
|
+
name: "Ekubo WBTC/ETH",
|
|
66404
|
+
description: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, {}),
|
|
66405
|
+
address: ContractAddr.from(
|
|
66406
|
+
"0x1c9232b8186d9317652f05055615f18a120c2ad9e5ee96c39e031c257fb945b"
|
|
66407
|
+
),
|
|
66408
|
+
launchBlock: 1501765,
|
|
66409
|
+
// must be same order as poolKey token0 and token1
|
|
66410
|
+
depositTokens: [
|
|
66411
|
+
Global.getDefaultTokens().find((t) => t.symbol === "WBTC"),
|
|
66412
|
+
Global.getDefaultTokens().find((t) => t.symbol === "ETH")
|
|
66413
|
+
],
|
|
66414
|
+
risk: mediumRisk
|
|
66415
|
+
},
|
|
66416
|
+
{
|
|
66417
|
+
...ETHUSDCRe7Strategy,
|
|
66418
|
+
name: "Ekubo WBTC/STRK",
|
|
66419
|
+
description: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, {}),
|
|
66420
|
+
address: ContractAddr.from(
|
|
66421
|
+
"0x1248e385c23a929a015ec298a26560fa7745bbd6e41a886550e337b02714b1b"
|
|
66422
|
+
),
|
|
66423
|
+
launchBlock: 1501766,
|
|
66424
|
+
// must be same order as poolKey token0 and token1
|
|
66425
|
+
depositTokens: [
|
|
66426
|
+
Global.getDefaultTokens().find((t) => t.symbol === "WBTC"),
|
|
66427
|
+
Global.getDefaultTokens().find((t) => t.symbol === "STRK")
|
|
66428
|
+
],
|
|
66429
|
+
risk: highRisk
|
|
66295
66430
|
}
|
|
66296
66431
|
];
|
|
66432
|
+
var EkuboCLVaultStrategies = [
|
|
66433
|
+
xSTRKSTRK,
|
|
66434
|
+
...RE7Strategies
|
|
66435
|
+
];
|
|
66297
66436
|
EkuboCLVaultStrategies.forEach((s) => {
|
|
66298
66437
|
s.contractDetails = [
|
|
66299
66438
|
{
|
|
66300
66439
|
address: s.address,
|
|
66301
66440
|
name: "Vault",
|
|
66302
66441
|
sourceCodeUrl: "https://github.com/strkfarm/strkfarm-contracts/tree/main/src/strategies/cl_vault"
|
|
66303
|
-
}
|
|
66304
|
-
...COMMON_CONTRACTS
|
|
66442
|
+
}
|
|
66443
|
+
// ...COMMON_CONTRACTS
|
|
66305
66444
|
];
|
|
66306
66445
|
s.docs = "https://docs.troves.fi/p/ekubo-cl-vaults";
|
|
66307
66446
|
s.description = /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { children: [
|
|
@@ -68269,7 +68408,7 @@ ${indent}}` : "}";
|
|
|
68269
68408
|
name: "Endur",
|
|
68270
68409
|
logo: "https://app.endur.fi/logo.png"
|
|
68271
68410
|
};
|
|
68272
|
-
var
|
|
68411
|
+
var _riskFactor2 = [
|
|
68273
68412
|
{ type: "Smart Contract Risk" /* SMART_CONTRACT_RISK */, value: 0.5, weight: 25, reason: "Audited by CSC" },
|
|
68274
68413
|
{ type: "Depeg Risk" /* DEPEG_RISK */, value: 0.25, weight: 25, reason: "Depending on prevailing market conditions and trading activity, xSTRK may lose its peg to the underlying asset." },
|
|
68275
68414
|
{ type: "Liquidation Risk" /* LIQUIDATION_RISK */, value: 0.1, weight: 10, reason: "Liquidation risk is low due to the nature of the Re7 Pool on Vesu" },
|
|
@@ -68344,9 +68483,9 @@ ${indent}}` : "}";
|
|
|
68344
68483
|
protocols: [endurProtocol, vesuProtocol],
|
|
68345
68484
|
maxTVL: new Web3Number("1500000", 18),
|
|
68346
68485
|
risk: {
|
|
68347
|
-
riskFactor:
|
|
68348
|
-
netRisk:
|
|
68349
|
-
notARisks: getNoRiskTags(
|
|
68486
|
+
riskFactor: _riskFactor2,
|
|
68487
|
+
netRisk: _riskFactor2.reduce((acc, curr) => acc + curr.value * curr.weight, 0) / _riskFactor2.reduce((acc, curr) => acc + curr.weight, 0),
|
|
68488
|
+
notARisks: getNoRiskTags(_riskFactor2)
|
|
68350
68489
|
},
|
|
68351
68490
|
additionalInfo: {
|
|
68352
68491
|
mainToken: Global.getDefaultTokens().find((t) => t.symbol === "STRK"),
|
|
@@ -73950,7 +74089,7 @@ ${indent}}` : "}";
|
|
|
73950
74089
|
vaultSettings.leafAdapters.push(commonAdapter.getAvnuAdapter(STRKToken.address, USDCToken.address, "avnu_swap_rewards" /* AVNU_SWAP_REWARDS */).bind(commonAdapter));
|
|
73951
74090
|
return vaultSettings;
|
|
73952
74091
|
}
|
|
73953
|
-
var
|
|
74092
|
+
var _riskFactor3 = [
|
|
73954
74093
|
{ type: "Smart Contract Risk" /* SMART_CONTRACT_RISK */, value: 0.5, weight: 25, reason: "Audited by Zellic" },
|
|
73955
74094
|
{ type: "Liquidation Risk" /* LIQUIDATION_RISK */, value: 1.5, weight: 50, reason: "Liquidation risk is mitigated by stable price feed on Starknet" },
|
|
73956
74095
|
{ type: "Technical Risk" /* TECHNICAL_RISK */, value: 1, weight: 50, reason: "Technical failures like risk monitoring failures" }
|
|
@@ -74154,9 +74293,9 @@ ${indent}}` : "}";
|
|
|
74154
74293
|
depositTokens: [Global.getDefaultTokens().find((token) => token.symbol === "USDC")],
|
|
74155
74294
|
additionalInfo: getLooperSettings("USDC", "ETH", usdcVaultSettings, VesuPools.Genesis, VesuPools.Genesis),
|
|
74156
74295
|
risk: {
|
|
74157
|
-
riskFactor:
|
|
74158
|
-
netRisk:
|
|
74159
|
-
notARisks: getNoRiskTags(
|
|
74296
|
+
riskFactor: _riskFactor3,
|
|
74297
|
+
netRisk: _riskFactor3.reduce((acc, curr) => acc + curr.value * curr.weight, 0) / _riskFactor3.reduce((acc, curr) => acc + curr.weight, 0),
|
|
74298
|
+
notARisks: getNoRiskTags(_riskFactor3)
|
|
74160
74299
|
},
|
|
74161
74300
|
protocols: [Protocols.VESU],
|
|
74162
74301
|
maxTVL: Web3Number.fromWei(0, 6),
|
|
@@ -74173,9 +74312,9 @@ ${indent}}` : "}";
|
|
|
74173
74312
|
depositTokens: [Global.getDefaultTokens().find((token) => token.symbol === "WBTC")],
|
|
74174
74313
|
additionalInfo: getLooperSettings("WBTC", "ETH", wbtcVaultSettings, VesuPools.Genesis, VesuPools.Genesis),
|
|
74175
74314
|
risk: {
|
|
74176
|
-
riskFactor:
|
|
74177
|
-
netRisk:
|
|
74178
|
-
notARisks: getNoRiskTags(
|
|
74315
|
+
riskFactor: _riskFactor3,
|
|
74316
|
+
netRisk: _riskFactor3.reduce((acc, curr) => acc + curr.value * curr.weight, 0) / _riskFactor3.reduce((acc, curr) => acc + curr.weight, 0),
|
|
74317
|
+
notARisks: getNoRiskTags(_riskFactor3)
|
|
74179
74318
|
},
|
|
74180
74319
|
protocols: [Protocols.VESU],
|
|
74181
74320
|
maxTVL: Web3Number.fromWei(0, 8),
|
|
@@ -74192,9 +74331,9 @@ ${indent}}` : "}";
|
|
|
74192
74331
|
depositTokens: [Global.getDefaultTokens().find((token) => token.symbol === "ETH")],
|
|
74193
74332
|
additionalInfo: getLooperSettings("ETH", "WBTC", ethVaultSettings, VesuPools.Genesis, VesuPools.Genesis),
|
|
74194
74333
|
risk: {
|
|
74195
|
-
riskFactor:
|
|
74196
|
-
netRisk:
|
|
74197
|
-
notARisks: getNoRiskTags(
|
|
74334
|
+
riskFactor: _riskFactor3,
|
|
74335
|
+
netRisk: _riskFactor3.reduce((acc, curr) => acc + curr.value * curr.weight, 0) / _riskFactor3.reduce((acc, curr) => acc + curr.weight, 0),
|
|
74336
|
+
notARisks: getNoRiskTags(_riskFactor3)
|
|
74198
74337
|
},
|
|
74199
74338
|
protocols: [Protocols.VESU],
|
|
74200
74339
|
maxTVL: Web3Number.fromWei(0, 18),
|
|
@@ -74211,9 +74350,9 @@ ${indent}}` : "}";
|
|
|
74211
74350
|
depositTokens: [Global.getDefaultTokens().find((token) => token.symbol === "STRK")],
|
|
74212
74351
|
additionalInfo: getLooperSettings("STRK", "ETH", strkVaultSettings, VesuPools.Genesis, VesuPools.Genesis),
|
|
74213
74352
|
risk: {
|
|
74214
|
-
riskFactor:
|
|
74215
|
-
netRisk:
|
|
74216
|
-
notARisks: getNoRiskTags(
|
|
74353
|
+
riskFactor: _riskFactor3,
|
|
74354
|
+
netRisk: _riskFactor3.reduce((acc, curr) => acc + curr.value * curr.weight, 0) / _riskFactor3.reduce((acc, curr) => acc + curr.weight, 0),
|
|
74355
|
+
notARisks: getNoRiskTags(_riskFactor3)
|
|
74217
74356
|
},
|
|
74218
74357
|
protocols: [Protocols.VESU],
|
|
74219
74358
|
maxTVL: Web3Number.fromWei(0, 18),
|
|
@@ -74230,9 +74369,9 @@ ${indent}}` : "}";
|
|
|
74230
74369
|
depositTokens: [Global.getDefaultTokens().find((token) => token.symbol === "USDT")],
|
|
74231
74370
|
additionalInfo: getLooperSettings("USDT", "ETH", usdtVaultSettings, VesuPools.Genesis, VesuPools.Genesis),
|
|
74232
74371
|
risk: {
|
|
74233
|
-
riskFactor:
|
|
74234
|
-
netRisk:
|
|
74235
|
-
notARisks: getNoRiskTags(
|
|
74372
|
+
riskFactor: _riskFactor3,
|
|
74373
|
+
netRisk: _riskFactor3.reduce((acc, curr) => acc + curr.value * curr.weight, 0) / _riskFactor3.reduce((acc, curr) => acc + curr.weight, 0),
|
|
74374
|
+
notARisks: getNoRiskTags(_riskFactor3)
|
|
74236
74375
|
},
|
|
74237
74376
|
protocols: [Protocols.VESU],
|
|
74238
74377
|
maxTVL: Web3Number.fromWei(0, 6),
|