@strkfarm/sdk 2.0.0-staging.8 → 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 +83 -80
- package/dist/index.browser.mjs +83 -80
- package/dist/index.d.ts +11 -17
- package/dist/index.js +85 -81
- package/dist/index.mjs +83 -80
- 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 +23 -35
- package/src/strategies/registry.ts +1 -25
- package/src/strategies/sensei.ts +3 -4
- package/src/strategies/universal-lst-muliplier-strategy.tsx +2 -3
- package/src/strategies/universal-strategy.tsx +6 -8
- package/src/strategies/vesu-rebalance.tsx +7 -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),
|
|
@@ -98585,8 +98596,7 @@ spurious results.`);
|
|
|
98585
98596
|
faqs,
|
|
98586
98597
|
contractDetails: [],
|
|
98587
98598
|
investmentSteps: [],
|
|
98588
|
-
tags: [
|
|
98589
|
-
category: "all" /* ALL */,
|
|
98599
|
+
tags: [],
|
|
98590
98600
|
security: VESU_SECURITY,
|
|
98591
98601
|
redemptionInfo: VESU_REDEMPTION_INFO
|
|
98592
98602
|
});
|
|
@@ -98649,21 +98659,25 @@ spurious results.`);
|
|
|
98649
98659
|
];
|
|
98650
98660
|
var VesuRebalanceStrategies = [
|
|
98651
98661
|
createVesuRebalanceStrategy(
|
|
98662
|
+
"strk",
|
|
98652
98663
|
"Vesu Fusion STRK",
|
|
98653
98664
|
"STRK",
|
|
98654
98665
|
"0x7fb5bcb8525954a60fde4e8fb8220477696ce7117ef264775a1770e23571929"
|
|
98655
98666
|
),
|
|
98656
98667
|
createVesuRebalanceStrategy(
|
|
98668
|
+
"eth",
|
|
98657
98669
|
"Vesu Fusion ETH",
|
|
98658
98670
|
"ETH",
|
|
98659
98671
|
"0x5eaf5ee75231cecf79921ff8ded4b5ffe96be718bcb3daf206690ad1a9ad0ca"
|
|
98660
98672
|
),
|
|
98661
98673
|
createVesuRebalanceStrategy(
|
|
98674
|
+
"usdc",
|
|
98662
98675
|
"Vesu Fusion USDC.e",
|
|
98663
98676
|
"USDC.e",
|
|
98664
98677
|
"0xa858c97e9454f407d1bd7c57472fc8d8d8449a777c822b41d18e387816f29c"
|
|
98665
98678
|
),
|
|
98666
98679
|
createVesuRebalanceStrategy(
|
|
98680
|
+
"usdt",
|
|
98667
98681
|
"Vesu Fusion USDT",
|
|
98668
98682
|
"USDT",
|
|
98669
98683
|
"0x115e94e722cfc4c77a2f15c4aefb0928c1c0029e5a57570df24c650cb7cec2c"
|
|
@@ -105319,7 +105333,7 @@ spurious results.`);
|
|
|
105319
105333
|
tab: "withdraw"
|
|
105320
105334
|
}
|
|
105321
105335
|
],
|
|
105322
|
-
tags: ["
|
|
105336
|
+
tags: ["Auto LP" /* AUTOMATED_LP */]
|
|
105323
105337
|
},
|
|
105324
105338
|
faqs: getLSTFAQs("xSTRK"),
|
|
105325
105339
|
points: [{
|
|
@@ -105329,8 +105343,7 @@ spurious results.`);
|
|
|
105329
105343
|
}],
|
|
105330
105344
|
contractDetails: [],
|
|
105331
105345
|
investmentSteps: [],
|
|
105332
|
-
|
|
105333
|
-
tags: ["Ekubo" /* EKUBO */],
|
|
105346
|
+
tags: ["Auto LP" /* AUTOMATED_LP */],
|
|
105334
105347
|
security: {
|
|
105335
105348
|
auditStatus: "Audited" /* AUDITED */,
|
|
105336
105349
|
sourceCode: {
|
|
@@ -105388,7 +105401,7 @@ spurious results.`);
|
|
|
105388
105401
|
tab: "withdraw"
|
|
105389
105402
|
}
|
|
105390
105403
|
];
|
|
105391
|
-
var createLSTSettings = (quoteTokenSymbol
|
|
105404
|
+
var createLSTSettings = (quoteTokenSymbol) => ({
|
|
105392
105405
|
...xSTRKSTRK.settings,
|
|
105393
105406
|
isAudited: true,
|
|
105394
105407
|
liveStatus: "Active" /* ACTIVE */,
|
|
@@ -105399,8 +105412,7 @@ spurious results.`);
|
|
|
105399
105412
|
(t) => t.symbol === quoteTokenSymbol
|
|
105400
105413
|
),
|
|
105401
105414
|
alerts: getLSTAlerts(),
|
|
105402
|
-
tags: ["
|
|
105403
|
-
category
|
|
105415
|
+
tags: ["Auto LP" /* AUTOMATED_LP */]
|
|
105404
105416
|
});
|
|
105405
105417
|
var createLSTStrategy = (params) => ({
|
|
105406
105418
|
...xSTRKSTRK,
|
|
@@ -105427,13 +105439,12 @@ spurious results.`);
|
|
|
105427
105439
|
),
|
|
105428
105440
|
lstContract: params.lstContractAddress ? ContractAddr.from(params.lstContractAddress) : Global.getDefaultTokens().find((t) => t.symbol === params.lstSymbol).address
|
|
105429
105441
|
},
|
|
105430
|
-
settings: createLSTSettings(params.quoteTokenSymbol
|
|
105442
|
+
settings: createLSTSettings(params.quoteTokenSymbol),
|
|
105431
105443
|
faqs: getLSTFAQs(params.lstSymbol),
|
|
105432
105444
|
points: [],
|
|
105433
105445
|
contractDetails: [],
|
|
105434
105446
|
investmentSteps: [],
|
|
105435
|
-
|
|
105436
|
-
tags: ["Ekubo" /* EKUBO */]
|
|
105447
|
+
tags: params.id.toLowerCase().includes("btc") ? ["BTC" /* BTC */, "Auto LP" /* AUTOMATED_LP */] : ["Auto LP" /* AUTOMATED_LP */]
|
|
105437
105448
|
});
|
|
105438
105449
|
var lstStrategies = [
|
|
105439
105450
|
xSTRKSTRK,
|
|
@@ -105445,8 +105456,7 @@ spurious results.`);
|
|
|
105445
105456
|
depositToken0Symbol: "WBTC",
|
|
105446
105457
|
depositToken1Symbol: "xWBTC",
|
|
105447
105458
|
quoteTokenSymbol: "WBTC",
|
|
105448
|
-
lstSymbol: "xWBTC"
|
|
105449
|
-
category: "btc" /* BTC */
|
|
105459
|
+
lstSymbol: "xWBTC"
|
|
105450
105460
|
}),
|
|
105451
105461
|
createLSTStrategy({
|
|
105452
105462
|
id: "ekubo_cl_xtbtctbtc",
|
|
@@ -105456,8 +105466,7 @@ spurious results.`);
|
|
|
105456
105466
|
depositToken0Symbol: "xtBTC",
|
|
105457
105467
|
depositToken1Symbol: "tBTC",
|
|
105458
105468
|
quoteTokenSymbol: "tBTC",
|
|
105459
|
-
lstSymbol: "xtBTC"
|
|
105460
|
-
category: "btc" /* BTC */
|
|
105469
|
+
lstSymbol: "xtBTC"
|
|
105461
105470
|
}),
|
|
105462
105471
|
createLSTStrategy({
|
|
105463
105472
|
id: "ekubo_cl_xsbtcsolvbtc",
|
|
@@ -105467,8 +105476,7 @@ spurious results.`);
|
|
|
105467
105476
|
depositToken0Symbol: "xsBTC",
|
|
105468
105477
|
depositToken1Symbol: "solvBTC",
|
|
105469
105478
|
quoteTokenSymbol: "solvBTC",
|
|
105470
|
-
lstSymbol: "xsBTC"
|
|
105471
|
-
category: "btc" /* BTC */
|
|
105479
|
+
lstSymbol: "xsBTC"
|
|
105472
105480
|
}),
|
|
105473
105481
|
createLSTStrategy({
|
|
105474
105482
|
id: "ekubo_cl_xlbtclbtc",
|
|
@@ -105478,8 +105486,7 @@ spurious results.`);
|
|
|
105478
105486
|
depositToken0Symbol: "LBTC",
|
|
105479
105487
|
depositToken1Symbol: "xLBTC",
|
|
105480
105488
|
quoteTokenSymbol: "LBTC",
|
|
105481
|
-
lstSymbol: "xLBTC"
|
|
105482
|
-
category: "btc" /* BTC */
|
|
105489
|
+
lstSymbol: "xLBTC"
|
|
105483
105490
|
})
|
|
105484
105491
|
];
|
|
105485
105492
|
var getRe7Alerts = () => [
|
|
@@ -105506,10 +105513,10 @@ spurious results.`);
|
|
|
105506
105513
|
tab: "withdraw"
|
|
105507
105514
|
}
|
|
105508
105515
|
];
|
|
105509
|
-
var createRe7Settings = (quoteTokenSymbol,
|
|
105516
|
+
var createRe7Settings = (quoteTokenSymbol, isBTC, isDeprecated) => ({
|
|
105510
105517
|
...xSTRKSTRK.settings,
|
|
105511
105518
|
isAudited: true,
|
|
105512
|
-
liveStatus: "
|
|
105519
|
+
liveStatus: isDeprecated ? "Deprecated" /* DEPRECATED */ : "Active" /* ACTIVE */,
|
|
105513
105520
|
isInstantWithdrawal: true,
|
|
105514
105521
|
hideNetEarnings: true,
|
|
105515
105522
|
isTransactionHistDisabled: false,
|
|
@@ -105517,8 +105524,7 @@ spurious results.`);
|
|
|
105517
105524
|
(t) => t.symbol === quoteTokenSymbol
|
|
105518
105525
|
),
|
|
105519
105526
|
alerts: getRe7Alerts(),
|
|
105520
|
-
tags: ["
|
|
105521
|
-
category
|
|
105527
|
+
tags: isBTC ? ["BTC" /* BTC */, "Auto LP" /* AUTOMATED_LP */] : ["Auto LP" /* AUTOMATED_LP */]
|
|
105522
105528
|
});
|
|
105523
105529
|
var getRe7FAQs = () => [
|
|
105524
105530
|
...faqs2,
|
|
@@ -105547,7 +105553,7 @@ spurious results.`);
|
|
|
105547
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." })
|
|
105548
105554
|
}
|
|
105549
105555
|
];
|
|
105550
|
-
var createRe7Strategy = (id2, name, address, launchBlock, depositToken0Symbol, depositToken1Symbol, quoteTokenSymbol, risk,
|
|
105556
|
+
var createRe7Strategy = (id2, name, address, launchBlock, depositToken0Symbol, depositToken1Symbol, quoteTokenSymbol, risk, isBTC) => ({
|
|
105551
105557
|
...xSTRKSTRK,
|
|
105552
105558
|
id: id2,
|
|
105553
105559
|
name,
|
|
@@ -105578,13 +105584,12 @@ spurious results.`);
|
|
|
105578
105584
|
(t) => t.symbol === quoteTokenSymbol
|
|
105579
105585
|
)
|
|
105580
105586
|
},
|
|
105581
|
-
settings: createRe7Settings(quoteTokenSymbol,
|
|
105587
|
+
settings: createRe7Settings(quoteTokenSymbol, isBTC, name.toLowerCase().includes("usdc.e")),
|
|
105582
105588
|
faqs: getRe7FAQs(),
|
|
105583
105589
|
risk,
|
|
105584
105590
|
points: [],
|
|
105585
105591
|
curator: { name: "Re7 Labs", logo: "https://www.re7labs.xyz/favicon.ico" },
|
|
105586
|
-
tags: ["
|
|
105587
|
-
category
|
|
105592
|
+
tags: isBTC ? ["BTC" /* BTC */, "Auto LP" /* AUTOMATED_LP */] : ["Auto LP" /* AUTOMATED_LP */]
|
|
105588
105593
|
});
|
|
105589
105594
|
var ETHUSDCRe7Strategy = createRe7Strategy(
|
|
105590
105595
|
"ekubo_cl_ethusdc",
|
|
@@ -105595,7 +105600,8 @@ spurious results.`);
|
|
|
105595
105600
|
"USDC.e",
|
|
105596
105601
|
"USDC.e",
|
|
105597
105602
|
highRisk,
|
|
105598
|
-
|
|
105603
|
+
false
|
|
105604
|
+
// isBTC
|
|
105599
105605
|
);
|
|
105600
105606
|
var stableCoinRisk = {
|
|
105601
105607
|
riskFactor: _stableCoinPoolRiskFactors,
|
|
@@ -105616,7 +105622,8 @@ spurious results.`);
|
|
|
105616
105622
|
"USDT",
|
|
105617
105623
|
"USDC.e",
|
|
105618
105624
|
stableCoinRisk,
|
|
105619
|
-
|
|
105625
|
+
false
|
|
105626
|
+
// isBTC
|
|
105620
105627
|
),
|
|
105621
105628
|
createRe7Strategy(
|
|
105622
105629
|
"ekubo_cl_strkusdc",
|
|
@@ -105627,7 +105634,8 @@ spurious results.`);
|
|
|
105627
105634
|
"USDC.e",
|
|
105628
105635
|
"USDC.e",
|
|
105629
105636
|
highRisk,
|
|
105630
|
-
|
|
105637
|
+
false
|
|
105638
|
+
// isBTC
|
|
105631
105639
|
),
|
|
105632
105640
|
createRe7Strategy(
|
|
105633
105641
|
"ekubo_cl_strketh",
|
|
@@ -105638,7 +105646,8 @@ spurious results.`);
|
|
|
105638
105646
|
"ETH",
|
|
105639
105647
|
"USDC",
|
|
105640
105648
|
highRisk,
|
|
105641
|
-
|
|
105649
|
+
false
|
|
105650
|
+
// isBTC
|
|
105642
105651
|
),
|
|
105643
105652
|
createRe7Strategy(
|
|
105644
105653
|
"ekubo_cl_wbtcusdc",
|
|
@@ -105649,7 +105658,8 @@ spurious results.`);
|
|
|
105649
105658
|
"USDC.e",
|
|
105650
105659
|
"USDC.e",
|
|
105651
105660
|
mediumRisk,
|
|
105652
|
-
|
|
105661
|
+
true
|
|
105662
|
+
// isBTC
|
|
105653
105663
|
),
|
|
105654
105664
|
// createRe7Strategy(
|
|
105655
105665
|
// "ekubo_cl_tbtcusdce",
|
|
@@ -105660,7 +105670,6 @@ spurious results.`);
|
|
|
105660
105670
|
// "USDC.e",
|
|
105661
105671
|
// "USDC.e",
|
|
105662
105672
|
// mediumRisk,
|
|
105663
|
-
// StrategyCategory.BTC
|
|
105664
105673
|
// ),
|
|
105665
105674
|
createRe7Strategy(
|
|
105666
105675
|
"ekubo_cl_wbtceth",
|
|
@@ -105671,7 +105680,8 @@ spurious results.`);
|
|
|
105671
105680
|
"ETH",
|
|
105672
105681
|
"USDC",
|
|
105673
105682
|
mediumRisk,
|
|
105674
|
-
|
|
105683
|
+
false
|
|
105684
|
+
// isBTC
|
|
105675
105685
|
),
|
|
105676
105686
|
createRe7Strategy(
|
|
105677
105687
|
"ekubo_cl_wbtcstrk",
|
|
@@ -105682,7 +105692,8 @@ spurious results.`);
|
|
|
105682
105692
|
"STRK",
|
|
105683
105693
|
"USDC",
|
|
105684
105694
|
highRisk,
|
|
105685
|
-
|
|
105695
|
+
false
|
|
105696
|
+
// isBTC
|
|
105686
105697
|
),
|
|
105687
105698
|
createRe7Strategy(
|
|
105688
105699
|
"ekubo_cl_usdc_v2usdt",
|
|
@@ -105693,7 +105704,8 @@ spurious results.`);
|
|
|
105693
105704
|
"USDT",
|
|
105694
105705
|
"USDC",
|
|
105695
105706
|
stableCoinRisk,
|
|
105696
|
-
|
|
105707
|
+
false
|
|
105708
|
+
// isBTC
|
|
105697
105709
|
),
|
|
105698
105710
|
createRe7Strategy(
|
|
105699
105711
|
"ekubo_cl_ethusdc_v2",
|
|
@@ -105704,7 +105716,8 @@ spurious results.`);
|
|
|
105704
105716
|
"ETH",
|
|
105705
105717
|
"USDC",
|
|
105706
105718
|
highRisk,
|
|
105707
|
-
|
|
105719
|
+
false
|
|
105720
|
+
// isBTC
|
|
105708
105721
|
),
|
|
105709
105722
|
createRe7Strategy(
|
|
105710
105723
|
"ekubo_cl_strkusdc_v2",
|
|
@@ -105715,7 +105728,8 @@ spurious results.`);
|
|
|
105715
105728
|
"STRK",
|
|
105716
105729
|
"USDC",
|
|
105717
105730
|
highRisk,
|
|
105718
|
-
|
|
105731
|
+
false
|
|
105732
|
+
// isBTC
|
|
105719
105733
|
),
|
|
105720
105734
|
createRe7Strategy(
|
|
105721
105735
|
"ekubo_cl_wbtcusdc_v2",
|
|
@@ -105726,7 +105740,8 @@ spurious results.`);
|
|
|
105726
105740
|
"WBTC",
|
|
105727
105741
|
"USDC",
|
|
105728
105742
|
mediumRisk,
|
|
105729
|
-
|
|
105743
|
+
true
|
|
105744
|
+
// isBTC
|
|
105730
105745
|
)
|
|
105731
105746
|
];
|
|
105732
105747
|
var EkuboCLVaultStrategies = [
|
|
@@ -115662,8 +115677,9 @@ spurious results.`);
|
|
|
115662
115677
|
/**
|
|
115663
115678
|
* Calculates user realized APY based on position growth accounting for deposits and withdrawals.
|
|
115664
115679
|
* Returns the APY as a number.
|
|
115680
|
+
* Not implemented for Sensei Strategy yet.
|
|
115665
115681
|
*/
|
|
115666
|
-
async getUserRealizedAPY(
|
|
115682
|
+
async getUserRealizedAPY(blockIdentifier = "latest", sinceBlocks = 6e5) {
|
|
115667
115683
|
throw new Error("getUserRealizedAPY not implemented yet for Sensei strategy");
|
|
115668
115684
|
}
|
|
115669
115685
|
};
|
|
@@ -115800,8 +115816,7 @@ spurious results.`);
|
|
|
115800
115816
|
"Repeat the process to loop your position",
|
|
115801
115817
|
"Claim DeFi spring (STRK) rewards weekly and reinvest"
|
|
115802
115818
|
],
|
|
115803
|
-
|
|
115804
|
-
tags: ["Sensei" /* SENSEI */],
|
|
115819
|
+
tags: ["Maxx" /* LEVERED */],
|
|
115805
115820
|
security: {
|
|
115806
115821
|
auditStatus: "Audited" /* AUDITED */,
|
|
115807
115822
|
sourceCode: {
|
|
@@ -119068,7 +119083,7 @@ spurious results.`);
|
|
|
119068
119083
|
};
|
|
119069
119084
|
return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { style: containerStyle, children: [
|
|
119070
119085
|
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("h1", { style: { fontSize: "18px", marginBottom: "10px" }, children: "Meta Vault \u2014 Automated Yield Router" }),
|
|
119071
|
-
/* @__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." }),
|
|
119072
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: [
|
|
119073
119088
|
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("strong", { children: "Withdrawals:" }),
|
|
119074
119089
|
" Requests can take up to ",
|
|
@@ -119241,7 +119256,6 @@ spurious results.`);
|
|
|
119241
119256
|
contractDetails: getContractDetails(params.vaultSettings),
|
|
119242
119257
|
faqs: getFAQs(),
|
|
119243
119258
|
investmentSteps,
|
|
119244
|
-
category: "meta-vaults" /* META_VAULTS */,
|
|
119245
119259
|
tags: params.tags,
|
|
119246
119260
|
security: EVERGREEN_SECURITY,
|
|
119247
119261
|
redemptionInfo: EVERGREEN_REDEMPTION_INFO
|
|
@@ -119255,7 +119269,7 @@ spurious results.`);
|
|
|
119255
119269
|
token2Symbol: "ETH",
|
|
119256
119270
|
maxTVLDecimals: 6,
|
|
119257
119271
|
allowedSources: ["vesu", "extended"],
|
|
119258
|
-
tags: ["
|
|
119272
|
+
tags: ["Meta Vault" /* META_VAULT */]
|
|
119259
119273
|
}),
|
|
119260
119274
|
createUniversalStrategy({
|
|
119261
119275
|
tokenSymbol: "WBTC",
|
|
@@ -119265,7 +119279,7 @@ spurious results.`);
|
|
|
119265
119279
|
token2Symbol: "ETH",
|
|
119266
119280
|
maxTVLDecimals: 8,
|
|
119267
119281
|
allowedSources: ["vesu", "endur", "extended"],
|
|
119268
|
-
tags: ["BTC" /* BTC */, "
|
|
119282
|
+
tags: ["BTC" /* BTC */, "Meta Vault" /* META_VAULT */]
|
|
119269
119283
|
}),
|
|
119270
119284
|
createUniversalStrategy({
|
|
119271
119285
|
tokenSymbol: "ETH",
|
|
@@ -119275,7 +119289,7 @@ spurious results.`);
|
|
|
119275
119289
|
token2Symbol: "WBTC",
|
|
119276
119290
|
maxTVLDecimals: 18,
|
|
119277
119291
|
allowedSources: ["vesu", "extended"],
|
|
119278
|
-
tags: ["
|
|
119292
|
+
tags: ["Meta Vault" /* META_VAULT */]
|
|
119279
119293
|
}),
|
|
119280
119294
|
createUniversalStrategy({
|
|
119281
119295
|
tokenSymbol: "STRK",
|
|
@@ -119285,7 +119299,7 @@ spurious results.`);
|
|
|
119285
119299
|
token2Symbol: "ETH",
|
|
119286
119300
|
maxTVLDecimals: 18,
|
|
119287
119301
|
allowedSources: ["vesu", "endur", "extended"],
|
|
119288
|
-
tags: ["
|
|
119302
|
+
tags: ["Meta Vault" /* META_VAULT */]
|
|
119289
119303
|
}),
|
|
119290
119304
|
createUniversalStrategy({
|
|
119291
119305
|
tokenSymbol: "USDT",
|
|
@@ -119295,7 +119309,7 @@ spurious results.`);
|
|
|
119295
119309
|
token2Symbol: "ETH",
|
|
119296
119310
|
maxTVLDecimals: 6,
|
|
119297
119311
|
allowedSources: ["vesu"],
|
|
119298
|
-
tags: ["
|
|
119312
|
+
tags: ["Meta Vault" /* META_VAULT */]
|
|
119299
119313
|
})
|
|
119300
119314
|
];
|
|
119301
119315
|
|
|
@@ -120336,8 +120350,7 @@ spurious results.`);
|
|
|
120336
120350
|
investmentSteps: getInvestmentSteps(lstSymbol, underlyingSymbol),
|
|
120337
120351
|
isPreview,
|
|
120338
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.",
|
|
120339
|
-
|
|
120340
|
-
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 */],
|
|
120341
120354
|
security: HYPER_LST_SECURITY,
|
|
120342
120355
|
redemptionInfo: HYPER_LST_REDEMPTION_INFO
|
|
120343
120356
|
};
|
|
@@ -120430,7 +120443,6 @@ spurious results.`);
|
|
|
120430
120443
|
type: entry.type,
|
|
120431
120444
|
assets: extractAssets(entry.metadata),
|
|
120432
120445
|
protocols: entry.metadata.protocols.map((p) => p.name.toLowerCase()),
|
|
120433
|
-
category: entry.metadata.category,
|
|
120434
120446
|
tags: entry.metadata.tags || [],
|
|
120435
120447
|
curator: entry.metadata.curator,
|
|
120436
120448
|
isRetired: isRetired(entry.metadata)
|
|
@@ -120462,15 +120474,7 @@ spurious results.`);
|
|
|
120462
120474
|
});
|
|
120463
120475
|
const protocols = Array.from(protocolSet).sort().map((id2) => ({
|
|
120464
120476
|
id: id2,
|
|
120465
|
-
label: id2
|
|
120466
|
-
}));
|
|
120467
|
-
const categorySet = /* @__PURE__ */ new Set();
|
|
120468
|
-
allMetadata.forEach((meta) => {
|
|
120469
|
-
if (meta.category) categorySet.add(meta.category);
|
|
120470
|
-
});
|
|
120471
|
-
const categories = Array.from(categorySet).sort().map((id2) => ({
|
|
120472
|
-
id: id2,
|
|
120473
|
-
label: id2 === "btc" ? "BTC" : id2 === "meta-vaults" ? "Meta Vaults" : "All"
|
|
120477
|
+
label: id2.charAt(0).toUpperCase() + id2.slice(1)
|
|
120474
120478
|
}));
|
|
120475
120479
|
const quickFilters = [
|
|
120476
120480
|
{ id: "all", label: "All Strategies" },
|
|
@@ -120482,7 +120486,6 @@ spurious results.`);
|
|
|
120482
120486
|
return {
|
|
120483
120487
|
assets,
|
|
120484
120488
|
protocols,
|
|
120485
|
-
categories,
|
|
120486
120489
|
quickFilters
|
|
120487
120490
|
};
|
|
120488
120491
|
}
|