@strkfarm/sdk 2.0.0-staging.7 → 2.0.0-staging.9
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 +105 -82
- package/dist/index.browser.mjs +105 -82
- package/dist/index.d.ts +11 -17
- package/dist/index.js +107 -83
- package/dist/index.mjs +105 -82
- package/package.json +1 -1
- package/src/interfaces/common.tsx +23 -16
- package/src/strategies/base-strategy.ts +7 -0
- package/src/strategies/ekubo-cl-vault.tsx +29 -37
- package/src/strategies/registry.ts +1 -25
- package/src/strategies/sensei.ts +7 -4
- package/src/strategies/universal-lst-muliplier-strategy.tsx +6 -3
- package/src/strategies/universal-strategy.tsx +10 -8
- package/src/strategies/vesu-rebalance.tsx +11 -4
|
@@ -27948,7 +27948,6 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
27948
27948
|
SenseiVault: () => SenseiVault,
|
|
27949
27949
|
SourceCodeType: () => SourceCodeType,
|
|
27950
27950
|
StandardMerkleTree: () => StandardMerkleTree,
|
|
27951
|
-
StrategyCategory: () => StrategyCategory,
|
|
27952
27951
|
StrategyLiveStatus: () => StrategyLiveStatus,
|
|
27953
27952
|
StrategyTag: () => StrategyTag,
|
|
27954
27953
|
StrategyType: () => StrategyType,
|
|
@@ -27979,6 +27978,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
27979
27978
|
detectCapabilities: () => detectCapabilities,
|
|
27980
27979
|
extensionMap: () => extensionMap,
|
|
27981
27980
|
getAllStrategyMetadata: () => getAllStrategyMetadata,
|
|
27981
|
+
getAllStrategyTags: () => getAllStrategyTags,
|
|
27982
27982
|
getContractDetails: () => getContractDetails,
|
|
27983
27983
|
getFilterMetadata: () => getFilterMetadata,
|
|
27984
27984
|
getLiveStrategies: () => getLiveStrategies,
|
|
@@ -27987,6 +27987,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
27987
27987
|
getRiskColor: () => getRiskColor,
|
|
27988
27988
|
getRiskExplaination: () => getRiskExplaination,
|
|
27989
27989
|
getStrategiesByType: () => getStrategiesByType,
|
|
27990
|
+
getStrategyTagDesciption: () => getStrategyTagDesciption,
|
|
27990
27991
|
getStrategyTypeFromMetadata: () => getStrategyTypeFromMetadata,
|
|
27991
27992
|
getTrovesEndpoint: () => getTrovesEndpoint,
|
|
27992
27993
|
getVesuSingletonAddress: () => getVesuSingletonAddress,
|
|
@@ -90515,21 +90516,12 @@ spurious results.`);
|
|
|
90515
90516
|
Network3["devnet"] = "devnet";
|
|
90516
90517
|
return Network3;
|
|
90517
90518
|
})(Network2 || {});
|
|
90518
|
-
var
|
|
90519
|
-
|
|
90520
|
-
|
|
90521
|
-
|
|
90522
|
-
|
|
90523
|
-
|
|
90524
|
-
var StrategyTag = /* @__PURE__ */ ((StrategyTag2) => {
|
|
90525
|
-
StrategyTag2["EKUBO"] = "Ekubo";
|
|
90526
|
-
StrategyTag2["EVERGREEN"] = "Evergreen";
|
|
90527
|
-
StrategyTag2["HYPER_LST"] = "Hyper-LST";
|
|
90528
|
-
StrategyTag2["VESU"] = "Vesu";
|
|
90529
|
-
StrategyTag2["SENSEI"] = "Sensei";
|
|
90530
|
-
StrategyTag2["ENDUR"] = "Endur";
|
|
90531
|
-
StrategyTag2["BTC"] = "BTC";
|
|
90532
|
-
return StrategyTag2;
|
|
90519
|
+
var StrategyTag = /* @__PURE__ */ ((StrategyTag3) => {
|
|
90520
|
+
StrategyTag3["META_VAULT"] = "Meta Vault";
|
|
90521
|
+
StrategyTag3["LEVERED"] = "Maxx";
|
|
90522
|
+
StrategyTag3["AUTOMATED_LP"] = "Auto LP";
|
|
90523
|
+
StrategyTag3["BTC"] = "BTC";
|
|
90524
|
+
return StrategyTag3;
|
|
90533
90525
|
})(StrategyTag || {});
|
|
90534
90526
|
var VaultType = /* @__PURE__ */ ((VaultType2) => {
|
|
90535
90527
|
VaultType2["FARMING"] = "farming";
|
|
@@ -90565,6 +90557,7 @@ spurious results.`);
|
|
|
90565
90557
|
StrategyLiveStatus2["ACTIVE"] = "Active";
|
|
90566
90558
|
StrategyLiveStatus2["NEW"] = "New";
|
|
90567
90559
|
StrategyLiveStatus2["COMING_SOON"] = "Coming Soon";
|
|
90560
|
+
StrategyLiveStatus2["DEPRECATED"] = "Deprecated";
|
|
90568
90561
|
StrategyLiveStatus2["RETIRED"] = "Retired";
|
|
90569
90562
|
StrategyLiveStatus2["HOT"] = "Hot & New \u{1F525}";
|
|
90570
90563
|
return StrategyLiveStatus2;
|
|
@@ -90580,6 +90573,21 @@ spurious results.`);
|
|
|
90580
90573
|
network: "mainnet" /* mainnet */
|
|
90581
90574
|
};
|
|
90582
90575
|
}
|
|
90576
|
+
var getStrategyTagDesciption = (tag) => {
|
|
90577
|
+
switch (tag) {
|
|
90578
|
+
case "Meta Vault" /* META_VAULT */:
|
|
90579
|
+
return "A meta vault is a vault that auto allocates funds to multiple vaults based on optimal yield opportunities";
|
|
90580
|
+
case "Maxx" /* LEVERED */:
|
|
90581
|
+
return "Looping vaults on Endur LSTs with leveraged borrowing of STRK or BTC to increase yield (2-4x higher yield than simply staking)";
|
|
90582
|
+
case "Auto LP" /* AUTOMATED_LP */:
|
|
90583
|
+
return "Automated LP vaults on Ekubo that rebalance position automatically, ensuring you earn fees efficiently";
|
|
90584
|
+
case "BTC" /* BTC */:
|
|
90585
|
+
return "BTC linked vaults";
|
|
90586
|
+
}
|
|
90587
|
+
};
|
|
90588
|
+
var getAllStrategyTags = () => {
|
|
90589
|
+
return Object.values(StrategyTag);
|
|
90590
|
+
};
|
|
90583
90591
|
var getRiskExplaination = (riskType) => {
|
|
90584
90592
|
switch (riskType) {
|
|
90585
90593
|
case "Market Risk" /* MARKET_RISK */:
|
|
@@ -92250,6 +92258,9 @@ spurious results.`);
|
|
|
92250
92258
|
async getPendingRewards() {
|
|
92251
92259
|
return [];
|
|
92252
92260
|
}
|
|
92261
|
+
async getUserRealizedAPY(blockIdentifier, sinceBlocks) {
|
|
92262
|
+
throw new Error("Not implemented");
|
|
92263
|
+
}
|
|
92253
92264
|
};
|
|
92254
92265
|
|
|
92255
92266
|
// src/node/headless.browser.ts
|
|
@@ -98557,8 +98568,8 @@ spurious results.`);
|
|
|
98557
98568
|
alerts: []
|
|
98558
98569
|
};
|
|
98559
98570
|
};
|
|
98560
|
-
var createVesuRebalanceStrategy = (name, tokenSymbol, address) => ({
|
|
98561
|
-
id: `vesu_fusion_${
|
|
98571
|
+
var createVesuRebalanceStrategy = (idSymbol, name, tokenSymbol, address) => ({
|
|
98572
|
+
id: `vesu_fusion_${idSymbol.toLowerCase()}`,
|
|
98562
98573
|
name,
|
|
98563
98574
|
description: _description.replace("{{TOKEN}}", tokenSymbol),
|
|
98564
98575
|
address: ContractAddr.from(address),
|
|
@@ -98573,6 +98584,10 @@ spurious results.`);
|
|
|
98573
98584
|
],
|
|
98574
98585
|
protocols: [_protocol],
|
|
98575
98586
|
auditUrl: AUDIT_URL,
|
|
98587
|
+
curator: {
|
|
98588
|
+
name: "Unwrap Labs",
|
|
98589
|
+
logo: "https://assets.troves.fi/integrations/unwraplabs/white.png"
|
|
98590
|
+
},
|
|
98576
98591
|
settings: createVesuRebalanceSettings(tokenSymbol),
|
|
98577
98592
|
risk: getVesuRebalanceRisk(),
|
|
98578
98593
|
additionalInfo: {
|
|
@@ -98581,8 +98596,7 @@ spurious results.`);
|
|
|
98581
98596
|
faqs,
|
|
98582
98597
|
contractDetails: [],
|
|
98583
98598
|
investmentSteps: [],
|
|
98584
|
-
tags: [
|
|
98585
|
-
category: "all" /* ALL */,
|
|
98599
|
+
tags: [],
|
|
98586
98600
|
security: VESU_SECURITY,
|
|
98587
98601
|
redemptionInfo: VESU_REDEMPTION_INFO
|
|
98588
98602
|
});
|
|
@@ -98645,21 +98659,25 @@ spurious results.`);
|
|
|
98645
98659
|
];
|
|
98646
98660
|
var VesuRebalanceStrategies = [
|
|
98647
98661
|
createVesuRebalanceStrategy(
|
|
98662
|
+
"strk",
|
|
98648
98663
|
"Vesu Fusion STRK",
|
|
98649
98664
|
"STRK",
|
|
98650
98665
|
"0x7fb5bcb8525954a60fde4e8fb8220477696ce7117ef264775a1770e23571929"
|
|
98651
98666
|
),
|
|
98652
98667
|
createVesuRebalanceStrategy(
|
|
98668
|
+
"eth",
|
|
98653
98669
|
"Vesu Fusion ETH",
|
|
98654
98670
|
"ETH",
|
|
98655
98671
|
"0x5eaf5ee75231cecf79921ff8ded4b5ffe96be718bcb3daf206690ad1a9ad0ca"
|
|
98656
98672
|
),
|
|
98657
98673
|
createVesuRebalanceStrategy(
|
|
98674
|
+
"usdc",
|
|
98658
98675
|
"Vesu Fusion USDC.e",
|
|
98659
98676
|
"USDC.e",
|
|
98660
98677
|
"0xa858c97e9454f407d1bd7c57472fc8d8d8449a777c822b41d18e387816f29c"
|
|
98661
98678
|
),
|
|
98662
98679
|
createVesuRebalanceStrategy(
|
|
98680
|
+
"usdt",
|
|
98663
98681
|
"Vesu Fusion USDT",
|
|
98664
98682
|
"USDT",
|
|
98665
98683
|
"0x115e94e722cfc4c77a2f15c4aefb0928c1c0029e5a57570df24c650cb7cec2c"
|
|
@@ -105256,6 +105274,10 @@ spurious results.`);
|
|
|
105256
105274
|
],
|
|
105257
105275
|
protocols: [_protocol2],
|
|
105258
105276
|
auditUrl: AUDIT_URL2,
|
|
105277
|
+
curator: {
|
|
105278
|
+
name: "Unwrap Labs",
|
|
105279
|
+
logo: "https://assets.troves.fi/integrations/unwraplabs/white.png"
|
|
105280
|
+
},
|
|
105259
105281
|
risk: {
|
|
105260
105282
|
riskFactor: _lstPoolRiskFactors,
|
|
105261
105283
|
netRisk: _lstPoolRiskFactors.reduce((acc, curr) => acc + curr.value * curr.weight, 0) / _lstPoolRiskFactors.reduce((acc, curr) => acc + curr.weight, 0),
|
|
@@ -105311,7 +105333,7 @@ spurious results.`);
|
|
|
105311
105333
|
tab: "withdraw"
|
|
105312
105334
|
}
|
|
105313
105335
|
],
|
|
105314
|
-
tags: ["
|
|
105336
|
+
tags: ["Auto LP" /* AUTOMATED_LP */]
|
|
105315
105337
|
},
|
|
105316
105338
|
faqs: getLSTFAQs("xSTRK"),
|
|
105317
105339
|
points: [{
|
|
@@ -105321,8 +105343,7 @@ spurious results.`);
|
|
|
105321
105343
|
}],
|
|
105322
105344
|
contractDetails: [],
|
|
105323
105345
|
investmentSteps: [],
|
|
105324
|
-
|
|
105325
|
-
tags: ["Ekubo" /* EKUBO */],
|
|
105346
|
+
tags: ["Auto LP" /* AUTOMATED_LP */],
|
|
105326
105347
|
security: {
|
|
105327
105348
|
auditStatus: "Audited" /* AUDITED */,
|
|
105328
105349
|
sourceCode: {
|
|
@@ -105380,7 +105401,7 @@ spurious results.`);
|
|
|
105380
105401
|
tab: "withdraw"
|
|
105381
105402
|
}
|
|
105382
105403
|
];
|
|
105383
|
-
var createLSTSettings = (quoteTokenSymbol
|
|
105404
|
+
var createLSTSettings = (quoteTokenSymbol) => ({
|
|
105384
105405
|
...xSTRKSTRK.settings,
|
|
105385
105406
|
isAudited: true,
|
|
105386
105407
|
liveStatus: "Active" /* ACTIVE */,
|
|
@@ -105391,8 +105412,7 @@ spurious results.`);
|
|
|
105391
105412
|
(t) => t.symbol === quoteTokenSymbol
|
|
105392
105413
|
),
|
|
105393
105414
|
alerts: getLSTAlerts(),
|
|
105394
|
-
tags: ["
|
|
105395
|
-
category
|
|
105415
|
+
tags: ["Auto LP" /* AUTOMATED_LP */]
|
|
105396
105416
|
});
|
|
105397
105417
|
var createLSTStrategy = (params) => ({
|
|
105398
105418
|
...xSTRKSTRK,
|
|
@@ -105419,13 +105439,12 @@ spurious results.`);
|
|
|
105419
105439
|
),
|
|
105420
105440
|
lstContract: params.lstContractAddress ? ContractAddr.from(params.lstContractAddress) : Global.getDefaultTokens().find((t) => t.symbol === params.lstSymbol).address
|
|
105421
105441
|
},
|
|
105422
|
-
settings: createLSTSettings(params.quoteTokenSymbol
|
|
105442
|
+
settings: createLSTSettings(params.quoteTokenSymbol),
|
|
105423
105443
|
faqs: getLSTFAQs(params.lstSymbol),
|
|
105424
105444
|
points: [],
|
|
105425
105445
|
contractDetails: [],
|
|
105426
105446
|
investmentSteps: [],
|
|
105427
|
-
|
|
105428
|
-
tags: ["Ekubo" /* EKUBO */]
|
|
105447
|
+
tags: params.id.toLowerCase().includes("btc") ? ["BTC" /* BTC */, "Auto LP" /* AUTOMATED_LP */] : ["Auto LP" /* AUTOMATED_LP */]
|
|
105429
105448
|
});
|
|
105430
105449
|
var lstStrategies = [
|
|
105431
105450
|
xSTRKSTRK,
|
|
@@ -105437,19 +105456,17 @@ spurious results.`);
|
|
|
105437
105456
|
depositToken0Symbol: "WBTC",
|
|
105438
105457
|
depositToken1Symbol: "xWBTC",
|
|
105439
105458
|
quoteTokenSymbol: "WBTC",
|
|
105440
|
-
lstSymbol: "xWBTC"
|
|
105441
|
-
category: "btc" /* BTC */
|
|
105459
|
+
lstSymbol: "xWBTC"
|
|
105442
105460
|
}),
|
|
105443
105461
|
createLSTStrategy({
|
|
105444
|
-
id: "
|
|
105462
|
+
id: "ekubo_cl_xtbtctbtc",
|
|
105445
105463
|
name: "Ekubo xtBTC/tBTC",
|
|
105446
105464
|
address: "0x785dc3dfc4e80ef2690a99512481e3ed3a5266180adda5a47e856245d68a4af",
|
|
105447
105465
|
launchBlock: 2415667,
|
|
105448
105466
|
depositToken0Symbol: "xtBTC",
|
|
105449
105467
|
depositToken1Symbol: "tBTC",
|
|
105450
105468
|
quoteTokenSymbol: "tBTC",
|
|
105451
|
-
lstSymbol: "xtBTC"
|
|
105452
|
-
category: "btc" /* BTC */
|
|
105469
|
+
lstSymbol: "xtBTC"
|
|
105453
105470
|
}),
|
|
105454
105471
|
createLSTStrategy({
|
|
105455
105472
|
id: "ekubo_cl_xsbtcsolvbtc",
|
|
@@ -105459,19 +105476,17 @@ spurious results.`);
|
|
|
105459
105476
|
depositToken0Symbol: "xsBTC",
|
|
105460
105477
|
depositToken1Symbol: "solvBTC",
|
|
105461
105478
|
quoteTokenSymbol: "solvBTC",
|
|
105462
|
-
lstSymbol: "xsBTC"
|
|
105463
|
-
category: "btc" /* BTC */
|
|
105479
|
+
lstSymbol: "xsBTC"
|
|
105464
105480
|
}),
|
|
105465
105481
|
createLSTStrategy({
|
|
105466
|
-
id: "
|
|
105482
|
+
id: "ekubo_cl_xlbtclbtc",
|
|
105467
105483
|
name: "Ekubo xLBTC/LBTC",
|
|
105468
105484
|
address: "0x314c4653ab1aa01f5465773cb879f525d7e369a137bc3ae084761aee99a1712",
|
|
105469
105485
|
launchBlock: 2412442,
|
|
105470
105486
|
depositToken0Symbol: "LBTC",
|
|
105471
105487
|
depositToken1Symbol: "xLBTC",
|
|
105472
105488
|
quoteTokenSymbol: "LBTC",
|
|
105473
|
-
lstSymbol: "xLBTC"
|
|
105474
|
-
category: "btc" /* BTC */
|
|
105489
|
+
lstSymbol: "xLBTC"
|
|
105475
105490
|
})
|
|
105476
105491
|
];
|
|
105477
105492
|
var getRe7Alerts = () => [
|
|
@@ -105498,10 +105513,10 @@ spurious results.`);
|
|
|
105498
105513
|
tab: "withdraw"
|
|
105499
105514
|
}
|
|
105500
105515
|
];
|
|
105501
|
-
var createRe7Settings = (quoteTokenSymbol,
|
|
105516
|
+
var createRe7Settings = (quoteTokenSymbol, isBTC, isDeprecated) => ({
|
|
105502
105517
|
...xSTRKSTRK.settings,
|
|
105503
105518
|
isAudited: true,
|
|
105504
|
-
liveStatus: "
|
|
105519
|
+
liveStatus: isDeprecated ? "Deprecated" /* DEPRECATED */ : "Active" /* ACTIVE */,
|
|
105505
105520
|
isInstantWithdrawal: true,
|
|
105506
105521
|
hideNetEarnings: true,
|
|
105507
105522
|
isTransactionHistDisabled: false,
|
|
@@ -105509,8 +105524,7 @@ spurious results.`);
|
|
|
105509
105524
|
(t) => t.symbol === quoteTokenSymbol
|
|
105510
105525
|
),
|
|
105511
105526
|
alerts: getRe7Alerts(),
|
|
105512
|
-
tags: ["
|
|
105513
|
-
category
|
|
105527
|
+
tags: isBTC ? ["BTC" /* BTC */, "Auto LP" /* AUTOMATED_LP */] : ["Auto LP" /* AUTOMATED_LP */]
|
|
105514
105528
|
});
|
|
105515
105529
|
var getRe7FAQs = () => [
|
|
105516
105530
|
...faqs2,
|
|
@@ -105539,7 +105553,7 @@ spurious results.`);
|
|
|
105539
105553
|
answer: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { children: "It's an annualized fee APY, calculated as fees earned in the last 24h divided by TVL. Factors like impermanent loss are not considered." })
|
|
105540
105554
|
}
|
|
105541
105555
|
];
|
|
105542
|
-
var createRe7Strategy = (id2, name, address, launchBlock, depositToken0Symbol, depositToken1Symbol, quoteTokenSymbol, risk,
|
|
105556
|
+
var createRe7Strategy = (id2, name, address, launchBlock, depositToken0Symbol, depositToken1Symbol, quoteTokenSymbol, risk, isBTC) => ({
|
|
105543
105557
|
...xSTRKSTRK,
|
|
105544
105558
|
id: id2,
|
|
105545
105559
|
name,
|
|
@@ -105570,13 +105584,12 @@ spurious results.`);
|
|
|
105570
105584
|
(t) => t.symbol === quoteTokenSymbol
|
|
105571
105585
|
)
|
|
105572
105586
|
},
|
|
105573
|
-
settings: createRe7Settings(quoteTokenSymbol,
|
|
105587
|
+
settings: createRe7Settings(quoteTokenSymbol, isBTC, name.toLowerCase().includes("usdc.e")),
|
|
105574
105588
|
faqs: getRe7FAQs(),
|
|
105575
105589
|
risk,
|
|
105576
105590
|
points: [],
|
|
105577
105591
|
curator: { name: "Re7 Labs", logo: "https://www.re7labs.xyz/favicon.ico" },
|
|
105578
|
-
tags: ["
|
|
105579
|
-
category
|
|
105592
|
+
tags: isBTC ? ["BTC" /* BTC */, "Auto LP" /* AUTOMATED_LP */] : ["Auto LP" /* AUTOMATED_LP */]
|
|
105580
105593
|
});
|
|
105581
105594
|
var ETHUSDCRe7Strategy = createRe7Strategy(
|
|
105582
105595
|
"ekubo_cl_ethusdc",
|
|
@@ -105587,7 +105600,8 @@ spurious results.`);
|
|
|
105587
105600
|
"USDC.e",
|
|
105588
105601
|
"USDC.e",
|
|
105589
105602
|
highRisk,
|
|
105590
|
-
|
|
105603
|
+
false
|
|
105604
|
+
// isBTC
|
|
105591
105605
|
);
|
|
105592
105606
|
var stableCoinRisk = {
|
|
105593
105607
|
riskFactor: _stableCoinPoolRiskFactors,
|
|
@@ -105608,7 +105622,8 @@ spurious results.`);
|
|
|
105608
105622
|
"USDT",
|
|
105609
105623
|
"USDC.e",
|
|
105610
105624
|
stableCoinRisk,
|
|
105611
|
-
|
|
105625
|
+
false
|
|
105626
|
+
// isBTC
|
|
105612
105627
|
),
|
|
105613
105628
|
createRe7Strategy(
|
|
105614
105629
|
"ekubo_cl_strkusdc",
|
|
@@ -105619,7 +105634,8 @@ spurious results.`);
|
|
|
105619
105634
|
"USDC.e",
|
|
105620
105635
|
"USDC.e",
|
|
105621
105636
|
highRisk,
|
|
105622
|
-
|
|
105637
|
+
false
|
|
105638
|
+
// isBTC
|
|
105623
105639
|
),
|
|
105624
105640
|
createRe7Strategy(
|
|
105625
105641
|
"ekubo_cl_strketh",
|
|
@@ -105630,7 +105646,8 @@ spurious results.`);
|
|
|
105630
105646
|
"ETH",
|
|
105631
105647
|
"USDC",
|
|
105632
105648
|
highRisk,
|
|
105633
|
-
|
|
105649
|
+
false
|
|
105650
|
+
// isBTC
|
|
105634
105651
|
),
|
|
105635
105652
|
createRe7Strategy(
|
|
105636
105653
|
"ekubo_cl_wbtcusdc",
|
|
@@ -105641,7 +105658,8 @@ spurious results.`);
|
|
|
105641
105658
|
"USDC.e",
|
|
105642
105659
|
"USDC.e",
|
|
105643
105660
|
mediumRisk,
|
|
105644
|
-
|
|
105661
|
+
true
|
|
105662
|
+
// isBTC
|
|
105645
105663
|
),
|
|
105646
105664
|
// createRe7Strategy(
|
|
105647
105665
|
// "ekubo_cl_tbtcusdce",
|
|
@@ -105652,7 +105670,6 @@ spurious results.`);
|
|
|
105652
105670
|
// "USDC.e",
|
|
105653
105671
|
// "USDC.e",
|
|
105654
105672
|
// mediumRisk,
|
|
105655
|
-
// StrategyCategory.BTC
|
|
105656
105673
|
// ),
|
|
105657
105674
|
createRe7Strategy(
|
|
105658
105675
|
"ekubo_cl_wbtceth",
|
|
@@ -105663,7 +105680,8 @@ spurious results.`);
|
|
|
105663
105680
|
"ETH",
|
|
105664
105681
|
"USDC",
|
|
105665
105682
|
mediumRisk,
|
|
105666
|
-
|
|
105683
|
+
false
|
|
105684
|
+
// isBTC
|
|
105667
105685
|
),
|
|
105668
105686
|
createRe7Strategy(
|
|
105669
105687
|
"ekubo_cl_wbtcstrk",
|
|
@@ -105674,7 +105692,8 @@ spurious results.`);
|
|
|
105674
105692
|
"STRK",
|
|
105675
105693
|
"USDC",
|
|
105676
105694
|
highRisk,
|
|
105677
|
-
|
|
105695
|
+
false
|
|
105696
|
+
// isBTC
|
|
105678
105697
|
),
|
|
105679
105698
|
createRe7Strategy(
|
|
105680
105699
|
"ekubo_cl_usdc_v2usdt",
|
|
@@ -105685,7 +105704,8 @@ spurious results.`);
|
|
|
105685
105704
|
"USDT",
|
|
105686
105705
|
"USDC",
|
|
105687
105706
|
stableCoinRisk,
|
|
105688
|
-
|
|
105707
|
+
false
|
|
105708
|
+
// isBTC
|
|
105689
105709
|
),
|
|
105690
105710
|
createRe7Strategy(
|
|
105691
105711
|
"ekubo_cl_ethusdc_v2",
|
|
@@ -105696,7 +105716,8 @@ spurious results.`);
|
|
|
105696
105716
|
"ETH",
|
|
105697
105717
|
"USDC",
|
|
105698
105718
|
highRisk,
|
|
105699
|
-
|
|
105719
|
+
false
|
|
105720
|
+
// isBTC
|
|
105700
105721
|
),
|
|
105701
105722
|
createRe7Strategy(
|
|
105702
105723
|
"ekubo_cl_strkusdc_v2",
|
|
@@ -105707,7 +105728,8 @@ spurious results.`);
|
|
|
105707
105728
|
"STRK",
|
|
105708
105729
|
"USDC",
|
|
105709
105730
|
highRisk,
|
|
105710
|
-
|
|
105731
|
+
false
|
|
105732
|
+
// isBTC
|
|
105711
105733
|
),
|
|
105712
105734
|
createRe7Strategy(
|
|
105713
105735
|
"ekubo_cl_wbtcusdc_v2",
|
|
@@ -105718,7 +105740,8 @@ spurious results.`);
|
|
|
105718
105740
|
"WBTC",
|
|
105719
105741
|
"USDC",
|
|
105720
105742
|
mediumRisk,
|
|
105721
|
-
|
|
105743
|
+
true
|
|
105744
|
+
// isBTC
|
|
105722
105745
|
)
|
|
105723
105746
|
];
|
|
105724
105747
|
var EkuboCLVaultStrategies = [
|
|
@@ -115654,8 +115677,9 @@ spurious results.`);
|
|
|
115654
115677
|
/**
|
|
115655
115678
|
* Calculates user realized APY based on position growth accounting for deposits and withdrawals.
|
|
115656
115679
|
* Returns the APY as a number.
|
|
115680
|
+
* Not implemented for Sensei Strategy yet.
|
|
115657
115681
|
*/
|
|
115658
|
-
async getUserRealizedAPY(
|
|
115682
|
+
async getUserRealizedAPY(blockIdentifier = "latest", sinceBlocks = 6e5) {
|
|
115659
115683
|
throw new Error("getUserRealizedAPY not implemented yet for Sensei strategy");
|
|
115660
115684
|
}
|
|
115661
115685
|
};
|
|
@@ -115738,6 +115762,10 @@ spurious results.`);
|
|
|
115738
115762
|
),
|
|
115739
115763
|
launchBlock: 1053811,
|
|
115740
115764
|
type: "Other",
|
|
115765
|
+
curator: {
|
|
115766
|
+
name: "Unwrap Labs",
|
|
115767
|
+
logo: "https://assets.troves.fi/integrations/unwraplabs/white.png"
|
|
115768
|
+
},
|
|
115741
115769
|
vaultType: {
|
|
115742
115770
|
type: "farming" /* FARMING */,
|
|
115743
115771
|
description: "this is a yield farming vault"
|
|
@@ -115788,8 +115816,7 @@ spurious results.`);
|
|
|
115788
115816
|
"Repeat the process to loop your position",
|
|
115789
115817
|
"Claim DeFi spring (STRK) rewards weekly and reinvest"
|
|
115790
115818
|
],
|
|
115791
|
-
|
|
115792
|
-
tags: ["Sensei" /* SENSEI */],
|
|
115819
|
+
tags: ["Maxx" /* LEVERED */],
|
|
115793
115820
|
security: {
|
|
115794
115821
|
auditStatus: "Audited" /* AUDITED */,
|
|
115795
115822
|
sourceCode: {
|
|
@@ -119056,7 +119083,7 @@ spurious results.`);
|
|
|
119056
119083
|
};
|
|
119057
119084
|
return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { style: containerStyle, children: [
|
|
119058
119085
|
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("h1", { style: { fontSize: "18px", marginBottom: "10px" }, children: "Meta Vault \u2014 Automated Yield Router" }),
|
|
119059
|
-
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("p", { style: { fontSize: "14px", lineHeight: "1.5", marginBottom: "16px" }, children: "This Evergreen vault is a tokenized Meta Vault, auto-compounding strategy that continuously allocates your deposited
|
|
119086
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("p", { style: { fontSize: "14px", lineHeight: "1.5", marginBottom: "16px" }, children: "This Evergreen vault is a tokenized Meta Vault, auto-compounding strategy that continuously allocates your deposited represent a proportional claim on the underlying assets and accrued yield. Allocation shifts are handled programmatically based on on-chain signals and risk filters, minimizing idle capital and maximizing net APY." }),
|
|
119060
119087
|
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { style: { backgroundColor: "#222", padding: "10px", borderRadius: "8px", marginBottom: "20px", border: "1px solid #444" }, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("p", { style: { fontSize: "13px", color: "#ccc" }, children: [
|
|
119061
119088
|
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("strong", { children: "Withdrawals:" }),
|
|
119062
119089
|
" Requests can take up to ",
|
|
@@ -119221,11 +119248,14 @@ spurious results.`);
|
|
|
119221
119248
|
risk: getUniversalRisk(),
|
|
119222
119249
|
auditUrl: AUDIT_URL3,
|
|
119223
119250
|
protocols: [Protocols.VESU],
|
|
119251
|
+
curator: {
|
|
119252
|
+
name: "Unwrap Labs",
|
|
119253
|
+
logo: "https://assets.troves.fi/integrations/unwraplabs/white.png"
|
|
119254
|
+
},
|
|
119224
119255
|
settings: createUniversalSettings(params.tokenSymbol, params.maxTVLDecimals),
|
|
119225
119256
|
contractDetails: getContractDetails(params.vaultSettings),
|
|
119226
119257
|
faqs: getFAQs(),
|
|
119227
119258
|
investmentSteps,
|
|
119228
|
-
category: "meta-vaults" /* META_VAULTS */,
|
|
119229
119259
|
tags: params.tags,
|
|
119230
119260
|
security: EVERGREEN_SECURITY,
|
|
119231
119261
|
redemptionInfo: EVERGREEN_REDEMPTION_INFO
|
|
@@ -119239,7 +119269,7 @@ spurious results.`);
|
|
|
119239
119269
|
token2Symbol: "ETH",
|
|
119240
119270
|
maxTVLDecimals: 6,
|
|
119241
119271
|
allowedSources: ["vesu", "extended"],
|
|
119242
|
-
tags: ["
|
|
119272
|
+
tags: ["Meta Vault" /* META_VAULT */]
|
|
119243
119273
|
}),
|
|
119244
119274
|
createUniversalStrategy({
|
|
119245
119275
|
tokenSymbol: "WBTC",
|
|
@@ -119249,7 +119279,7 @@ spurious results.`);
|
|
|
119249
119279
|
token2Symbol: "ETH",
|
|
119250
119280
|
maxTVLDecimals: 8,
|
|
119251
119281
|
allowedSources: ["vesu", "endur", "extended"],
|
|
119252
|
-
tags: ["BTC" /* BTC */, "
|
|
119282
|
+
tags: ["BTC" /* BTC */, "Meta Vault" /* META_VAULT */]
|
|
119253
119283
|
}),
|
|
119254
119284
|
createUniversalStrategy({
|
|
119255
119285
|
tokenSymbol: "ETH",
|
|
@@ -119259,7 +119289,7 @@ spurious results.`);
|
|
|
119259
119289
|
token2Symbol: "WBTC",
|
|
119260
119290
|
maxTVLDecimals: 18,
|
|
119261
119291
|
allowedSources: ["vesu", "extended"],
|
|
119262
|
-
tags: ["
|
|
119292
|
+
tags: ["Meta Vault" /* META_VAULT */]
|
|
119263
119293
|
}),
|
|
119264
119294
|
createUniversalStrategy({
|
|
119265
119295
|
tokenSymbol: "STRK",
|
|
@@ -119269,7 +119299,7 @@ spurious results.`);
|
|
|
119269
119299
|
token2Symbol: "ETH",
|
|
119270
119300
|
maxTVLDecimals: 18,
|
|
119271
119301
|
allowedSources: ["vesu", "endur", "extended"],
|
|
119272
|
-
tags: ["
|
|
119302
|
+
tags: ["Meta Vault" /* META_VAULT */]
|
|
119273
119303
|
}),
|
|
119274
119304
|
createUniversalStrategy({
|
|
119275
119305
|
tokenSymbol: "USDT",
|
|
@@ -119279,7 +119309,7 @@ spurious results.`);
|
|
|
119279
119309
|
token2Symbol: "ETH",
|
|
119280
119310
|
maxTVLDecimals: 6,
|
|
119281
119311
|
allowedSources: ["vesu"],
|
|
119282
|
-
tags: ["
|
|
119312
|
+
tags: ["Meta Vault" /* META_VAULT */]
|
|
119283
119313
|
})
|
|
119284
119314
|
];
|
|
119285
119315
|
|
|
@@ -120310,14 +120340,17 @@ spurious results.`);
|
|
|
120310
120340
|
},
|
|
120311
120341
|
auditUrl: AUDIT_URL4,
|
|
120312
120342
|
protocols: [Protocols.ENDUR, Protocols.VESU],
|
|
120343
|
+
curator: {
|
|
120344
|
+
name: "Unwrap Labs",
|
|
120345
|
+
logo: "https://assets.troves.fi/integrations/unwraplabs/white.png"
|
|
120346
|
+
},
|
|
120313
120347
|
settings: createHyperLSTSettings(lstSymbol, underlyingSymbol),
|
|
120314
120348
|
contractDetails: getContractDetails(addresses),
|
|
120315
120349
|
faqs: getFAQs2(lstSymbol, underlyingSymbol),
|
|
120316
120350
|
investmentSteps: getInvestmentSteps(lstSymbol, underlyingSymbol),
|
|
120317
120351
|
isPreview,
|
|
120318
120352
|
apyMethodology: "Current annualized APY in terms of base asset of the LST. There is no additional fee taken by Troves on LST APY. We charge a 10% performance fee on the additional gain which is already accounted in the APY shown.",
|
|
120319
|
-
|
|
120320
|
-
tags: lstSymbol.includes("BTC") ? ["BTC" /* BTC */, "Hyper-LST" /* HYPER_LST */] : ["Hyper-LST" /* HYPER_LST */],
|
|
120353
|
+
tags: lstSymbol.includes("BTC") ? ["BTC" /* BTC */, "Maxx" /* LEVERED */] : ["Maxx" /* LEVERED */],
|
|
120321
120354
|
security: HYPER_LST_SECURITY,
|
|
120322
120355
|
redemptionInfo: HYPER_LST_REDEMPTION_INFO
|
|
120323
120356
|
};
|
|
@@ -120410,7 +120443,6 @@ spurious results.`);
|
|
|
120410
120443
|
type: entry.type,
|
|
120411
120444
|
assets: extractAssets(entry.metadata),
|
|
120412
120445
|
protocols: entry.metadata.protocols.map((p) => p.name.toLowerCase()),
|
|
120413
|
-
category: entry.metadata.category,
|
|
120414
120446
|
tags: entry.metadata.tags || [],
|
|
120415
120447
|
curator: entry.metadata.curator,
|
|
120416
120448
|
isRetired: isRetired(entry.metadata)
|
|
@@ -120442,15 +120474,7 @@ spurious results.`);
|
|
|
120442
120474
|
});
|
|
120443
120475
|
const protocols = Array.from(protocolSet).sort().map((id2) => ({
|
|
120444
120476
|
id: id2,
|
|
120445
|
-
label: id2
|
|
120446
|
-
}));
|
|
120447
|
-
const categorySet = /* @__PURE__ */ new Set();
|
|
120448
|
-
allMetadata.forEach((meta) => {
|
|
120449
|
-
if (meta.category) categorySet.add(meta.category);
|
|
120450
|
-
});
|
|
120451
|
-
const categories = Array.from(categorySet).sort().map((id2) => ({
|
|
120452
|
-
id: id2,
|
|
120453
|
-
label: id2 === "btc" ? "BTC" : id2 === "meta-vaults" ? "Meta Vaults" : "All"
|
|
120477
|
+
label: id2.charAt(0).toUpperCase() + id2.slice(1)
|
|
120454
120478
|
}));
|
|
120455
120479
|
const quickFilters = [
|
|
120456
120480
|
{ id: "all", label: "All Strategies" },
|
|
@@ -120462,7 +120486,6 @@ spurious results.`);
|
|
|
120462
120486
|
return {
|
|
120463
120487
|
assets,
|
|
120464
120488
|
protocols,
|
|
120465
|
-
categories,
|
|
120466
120489
|
quickFilters
|
|
120467
120490
|
};
|
|
120468
120491
|
}
|