@strkfarm/sdk 1.0.31 → 1.0.32

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/cli.js CHANGED
@@ -516,7 +516,7 @@ var getNoRiskTags = (risks) => {
516
516
  // src/strategies/autoCompounderStrk.ts
517
517
  var import_starknet6 = require("starknet");
518
518
 
519
- // src/strategies/vesu-rebalance.ts
519
+ // src/strategies/vesu-rebalance.tsx
520
520
  var import_starknet8 = require("starknet");
521
521
 
522
522
  // src/node/headless.browser.ts
@@ -525,7 +525,7 @@ var import_axios5 = __toESM(require("axios"));
525
525
  // src/modules/harvests.ts
526
526
  var import_starknet7 = require("starknet");
527
527
 
528
- // src/strategies/vesu-rebalance.ts
528
+ // src/strategies/vesu-rebalance.tsx
529
529
  var _description = "Automatically diversify {{TOKEN}} holdings into different Vesu pools while reducing risk and maximizing yield. Defi spring STRK Rewards are auto-compounded as well.";
530
530
  var _protocol = { name: "Vesu", logo: "https://static-assets-8zct.onrender.com/integrations/vesu/logo.png" };
531
531
  var _riskFactor = [
@@ -620,8 +620,9 @@ var VesuRebalanceStrategies = [{
620
620
  // },
621
621
  }];
622
622
 
623
- // src/strategies/ekubo-cl-vault.ts
623
+ // src/strategies/ekubo-cl-vault.tsx
624
624
  var import_starknet9 = require("starknet");
625
+ var import_jsx_runtime = require("react/jsx-runtime");
625
626
  var _description2 = "Deploys your {{POOL_NAME}} into an Ekubo liquidity pool, automatically rebalancing positions around the current price to optimize yield and reduce the need for manual adjustments. Trading fees and DeFi Spring rewards are automatically compounded back into the strategy. In return, you receive an ERC-20 token representing your share of the strategy. The APY is calculated based on 7-day historical performance.";
626
627
  var _protocol2 = { name: "Ekubo", logo: "https://app.ekubo.org/favicon.ico" };
627
628
  var _riskFactor2 = [
@@ -631,7 +632,13 @@ var _riskFactor2 = [
631
632
  var AUDIT_URL2 = "https://assets.strkfarm.com/strkfarm/audit_report_vesu_and_ekubo_strats.pdf";
632
633
  var EkuboCLVaultStrategies = [{
633
634
  name: "Ekubo xSTRK/STRK",
634
- description: _description2.replace("{{POOL_NAME}}", "xSTRK/STRK"),
635
+ description: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { children: [
636
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { children: _description2.replace("{{POOL_NAME}}", "xSTRK/STRK") }),
637
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("ul", { style: { marginLeft: "20px", listStyle: "circle", fontSize: "12px" }, children: [
638
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("li", { style: { marginTop: "10px" }, children: "During withdrawal, you may receive either or both tokens depending on market conditions and prevailing prices." }),
639
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("li", { style: { marginTop: "10px" }, children: "Sometimes you might see a negative APY \u2014 this is usually not a big deal. It happens when xSTRK's price drops on DEXes, but things typically bounce back within a few days or a week." })
640
+ ] })
641
+ ] }),
635
642
  address: ContractAddr.from("0x01f083b98674bc21effee29ef443a00c7b9a500fd92cf30341a3da12c73f2324"),
636
643
  type: "Other",
637
644
  // must be same order as poolKey token0 and token1
package/dist/cli.mjs CHANGED
@@ -493,7 +493,7 @@ var getNoRiskTags = (risks) => {
493
493
  // src/strategies/autoCompounderStrk.ts
494
494
  import { Contract as Contract3, uint256 as uint2562 } from "starknet";
495
495
 
496
- // src/strategies/vesu-rebalance.ts
496
+ // src/strategies/vesu-rebalance.tsx
497
497
  import { CairoCustomEnum, Contract as Contract5, num as num3, uint256 as uint2563 } from "starknet";
498
498
 
499
499
  // src/node/headless.browser.ts
@@ -502,7 +502,7 @@ import axios5 from "axios";
502
502
  // src/modules/harvests.ts
503
503
  import { Contract as Contract4, num as num2 } from "starknet";
504
504
 
505
- // src/strategies/vesu-rebalance.ts
505
+ // src/strategies/vesu-rebalance.tsx
506
506
  var _description = "Automatically diversify {{TOKEN}} holdings into different Vesu pools while reducing risk and maximizing yield. Defi spring STRK Rewards are auto-compounded as well.";
507
507
  var _protocol = { name: "Vesu", logo: "https://static-assets-8zct.onrender.com/integrations/vesu/logo.png" };
508
508
  var _riskFactor = [
@@ -597,8 +597,9 @@ var VesuRebalanceStrategies = [{
597
597
  // },
598
598
  }];
599
599
 
600
- // src/strategies/ekubo-cl-vault.ts
600
+ // src/strategies/ekubo-cl-vault.tsx
601
601
  import { Contract as Contract6, num as num4, uint256 as uint2564 } from "starknet";
602
+ import { jsx, jsxs } from "react/jsx-runtime";
602
603
  var _description2 = "Deploys your {{POOL_NAME}} into an Ekubo liquidity pool, automatically rebalancing positions around the current price to optimize yield and reduce the need for manual adjustments. Trading fees and DeFi Spring rewards are automatically compounded back into the strategy. In return, you receive an ERC-20 token representing your share of the strategy. The APY is calculated based on 7-day historical performance.";
603
604
  var _protocol2 = { name: "Ekubo", logo: "https://app.ekubo.org/favicon.ico" };
604
605
  var _riskFactor2 = [
@@ -608,7 +609,13 @@ var _riskFactor2 = [
608
609
  var AUDIT_URL2 = "https://assets.strkfarm.com/strkfarm/audit_report_vesu_and_ekubo_strats.pdf";
609
610
  var EkuboCLVaultStrategies = [{
610
611
  name: "Ekubo xSTRK/STRK",
611
- description: _description2.replace("{{POOL_NAME}}", "xSTRK/STRK"),
612
+ description: /* @__PURE__ */ jsxs("div", { children: [
613
+ /* @__PURE__ */ jsx("p", { children: _description2.replace("{{POOL_NAME}}", "xSTRK/STRK") }),
614
+ /* @__PURE__ */ jsxs("ul", { style: { marginLeft: "20px", listStyle: "circle", fontSize: "12px" }, children: [
615
+ /* @__PURE__ */ jsx("li", { style: { marginTop: "10px" }, children: "During withdrawal, you may receive either or both tokens depending on market conditions and prevailing prices." }),
616
+ /* @__PURE__ */ jsx("li", { style: { marginTop: "10px" }, children: "Sometimes you might see a negative APY \u2014 this is usually not a big deal. It happens when xSTRK's price drops on DEXes, but things typically bounce back within a few days or a week." })
617
+ ] })
618
+ ] }),
612
619
  address: ContractAddr.from("0x01f083b98674bc21effee29ef443a00c7b9a500fd92cf30341a3da12c73f2324"),
613
620
  type: "Other",
614
621
  // must be same order as poolKey token0 and token1