@strkfarm/sdk 2.0.0-dev.37 → 2.0.0-dev.38

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.
@@ -28000,6 +28000,7 @@ ${JSON.stringify(data, null, 2)}`;
28000
28000
  assert: () => assert3,
28001
28001
  buildStrategyRegistry: () => buildStrategyRegistry,
28002
28002
  configureLogger: () => configureLogger,
28003
+ createBoostedXSTRKCarryStrategy: () => createBoostedXSTRKCarryStrategy,
28003
28004
  createEkuboCLStrategy: () => createEkuboCLStrategy,
28004
28005
  createHyperLSTStrategy: () => createHyperLSTStrategy,
28005
28006
  createSenseiStrategy: () => createSenseiStrategy,
@@ -127228,7 +127229,7 @@ spurious results.`);
127228
127229
  },
127229
127230
  {
127230
127231
  question: "Are there any fees?",
127231
- answer: "Troves charges a 10% performance fee on yield only \u2014 not on your deposited principal. The APY shown is already net of this fee. When you withdraw, a 0.1% redemption fee applies. That small fee helps keep the vault efficient for long-term depositors. This fee is sent back to the vault itself: very short stays create extra swap and rebalancing costs for everyone. If you stay for a reasonable period, your yield will typically far outweigh this one-time charge."
127232
+ answer: "Troves charges a 10% performance fee on yield only \u2014 not on your deposited principal. The APY shown is already net of this fee. When you withdraw, a 0.1% redemption fee applies. That small fee helps keep the vault efficient for long-term depositors, very short stays create extra swap and rebalancing costs for everyone. If you stay for a reasonable period, your yield will typically far outweigh this one-time charge."
127232
127233
  },
127233
127234
  {
127234
127235
  question: "Is the vault audited?",
@@ -127508,6 +127509,7 @@ spurious results.`);
127508
127509
  FactoryStrategyType2["VESU_REBALANCE"] = "VESU_REBALANCE";
127509
127510
  FactoryStrategyType2["SENSEI"] = "SENSEI";
127510
127511
  FactoryStrategyType2["YOLO_VAULT"] = "YOLO_VAULT";
127512
+ FactoryStrategyType2["BOOSTEDXSTRKCARRY"] = "BOOSTEDXSTRKCARRY";
127511
127513
  return FactoryStrategyType2;
127512
127514
  })(FactoryStrategyType || {});
127513
127515
  function createUniversalStrategy2(config3, pricer, metadata) {
@@ -127528,6 +127530,9 @@ spurious results.`);
127528
127530
  function createSenseiStrategy(config3, pricer, metadata) {
127529
127531
  return new SenseiVault(config3, pricer, metadata);
127530
127532
  }
127533
+ function createBoostedXSTRKCarryStrategy(config3, pricer, metadata) {
127534
+ return new BoostedxSTRKCarryStrategy(config3, pricer, metadata);
127535
+ }
127531
127536
  function getStrategyTypeFromMetadata(metadata) {
127532
127537
  const info = metadata.additionalInfo;
127533
127538
  if (info && "mainToken" in info && "secondaryToken" in info && "minEpochDurationSeconds" in info && "feeBps" in info) {
@@ -127536,6 +127541,9 @@ spurious results.`);
127536
127541
  if (info && "borrowable_assets" in info && "underlyingToken" in info) {
127537
127542
  return "HYPER_LST" /* HYPER_LST */;
127538
127543
  }
127544
+ if (info && "depositToken" in info && "debtToken" in info && "lstToken" in info) {
127545
+ return "BOOSTEDXSTRKCARRY" /* BOOSTEDXSTRKCARRY */;
127546
+ }
127539
127547
  if (info && ("newBounds" in info || typeof info.newBounds !== "undefined") && "rebalanceConditions" in info && "quoteAsset" in info) {
127540
127548
  return "EKUBO_CL" /* EKUBO_CL */;
127541
127549
  }
@@ -127590,6 +127598,12 @@ spurious results.`);
127590
127598
  pricer,
127591
127599
  metadata
127592
127600
  );
127601
+ case "BOOSTEDXSTRKCARRY" /* BOOSTEDXSTRKCARRY */:
127602
+ return createBoostedXSTRKCarryStrategy(
127603
+ config3,
127604
+ pricer,
127605
+ metadata
127606
+ );
127593
127607
  default:
127594
127608
  throw new Error(`Unknown strategy type: ${type}`);
127595
127609
  }
@@ -39827,7 +39827,7 @@ function getBoostedCarryFAQs(depositSymbol, debtSymbol, lstSymbol) {
39827
39827
  },
39828
39828
  {
39829
39829
  question: "Are there any fees?",
39830
- answer: "Troves charges a 10% performance fee on yield only \u2014 not on your deposited principal. The APY shown is already net of this fee. When you withdraw, a 0.1% redemption fee applies. That small fee helps keep the vault efficient for long-term depositors. This fee is sent back to the vault itself: very short stays create extra swap and rebalancing costs for everyone. If you stay for a reasonable period, your yield will typically far outweigh this one-time charge."
39830
+ answer: "Troves charges a 10% performance fee on yield only \u2014 not on your deposited principal. The APY shown is already net of this fee. When you withdraw, a 0.1% redemption fee applies. That small fee helps keep the vault efficient for long-term depositors, very short stays create extra swap and rebalancing costs for everyone. If you stay for a reasonable period, your yield will typically far outweigh this one-time charge."
39831
39831
  },
39832
39832
  {
39833
39833
  question: "Is the vault audited?",
@@ -40107,6 +40107,7 @@ var FactoryStrategyType = /* @__PURE__ */ ((FactoryStrategyType2) => {
40107
40107
  FactoryStrategyType2["VESU_REBALANCE"] = "VESU_REBALANCE";
40108
40108
  FactoryStrategyType2["SENSEI"] = "SENSEI";
40109
40109
  FactoryStrategyType2["YOLO_VAULT"] = "YOLO_VAULT";
40110
+ FactoryStrategyType2["BOOSTEDXSTRKCARRY"] = "BOOSTEDXSTRKCARRY";
40110
40111
  return FactoryStrategyType2;
40111
40112
  })(FactoryStrategyType || {});
40112
40113
  function createUniversalStrategy2(config, pricer, metadata) {
@@ -40127,6 +40128,9 @@ function createVesuRebalanceStrategy2(config, pricer, metadata) {
40127
40128
  function createSenseiStrategy(config, pricer, metadata) {
40128
40129
  return new SenseiVault(config, pricer, metadata);
40129
40130
  }
40131
+ function createBoostedXSTRKCarryStrategy(config, pricer, metadata) {
40132
+ return new BoostedxSTRKCarryStrategy(config, pricer, metadata);
40133
+ }
40130
40134
  function getStrategyTypeFromMetadata(metadata) {
40131
40135
  const info = metadata.additionalInfo;
40132
40136
  if (info && "mainToken" in info && "secondaryToken" in info && "minEpochDurationSeconds" in info && "feeBps" in info) {
@@ -40135,6 +40139,9 @@ function getStrategyTypeFromMetadata(metadata) {
40135
40139
  if (info && "borrowable_assets" in info && "underlyingToken" in info) {
40136
40140
  return "HYPER_LST" /* HYPER_LST */;
40137
40141
  }
40142
+ if (info && "depositToken" in info && "debtToken" in info && "lstToken" in info) {
40143
+ return "BOOSTEDXSTRKCARRY" /* BOOSTEDXSTRKCARRY */;
40144
+ }
40138
40145
  if (info && ("newBounds" in info || typeof info.newBounds !== "undefined") && "rebalanceConditions" in info && "quoteAsset" in info) {
40139
40146
  return "EKUBO_CL" /* EKUBO_CL */;
40140
40147
  }
@@ -40189,6 +40196,12 @@ function createStrategy(type, config, pricer, metadata) {
40189
40196
  pricer,
40190
40197
  metadata
40191
40198
  );
40199
+ case "BOOSTEDXSTRKCARRY" /* BOOSTEDXSTRKCARRY */:
40200
+ return createBoostedXSTRKCarryStrategy(
40201
+ config,
40202
+ pricer,
40203
+ metadata
40204
+ );
40192
40205
  default:
40193
40206
  throw new Error(`Unknown strategy type: ${type}`);
40194
40207
  }
@@ -40288,6 +40301,7 @@ export {
40288
40301
  assert,
40289
40302
  buildStrategyRegistry,
40290
40303
  configureLogger,
40304
+ createBoostedXSTRKCarryStrategy,
40291
40305
  createEkuboCLStrategy,
40292
40306
  createHyperLSTStrategy,
40293
40307
  createSenseiStrategy,
package/dist/index.d.ts CHANGED
@@ -2906,7 +2906,8 @@ declare enum FactoryStrategyType {
2906
2906
  HYPER_LST = "HYPER_LST",
2907
2907
  VESU_REBALANCE = "VESU_REBALANCE",
2908
2908
  SENSEI = "SENSEI",
2909
- YOLO_VAULT = "YOLO_VAULT"
2909
+ YOLO_VAULT = "YOLO_VAULT",
2910
+ BOOSTEDXSTRKCARRY = "BOOSTEDXSTRKCARRY"
2910
2911
  }
2911
2912
  declare function createUniversalStrategy(config: IConfig, pricer: PricerBase, metadata: IStrategyMetadata<UniversalStrategySettings>): UniversalStrategy<UniversalStrategySettings>;
2912
2913
  declare function createEkuboCLStrategy(config: IConfig, pricer: PricerBase, metadata: IStrategyMetadata<CLVaultStrategySettings>): EkuboCLVault;
@@ -2914,6 +2915,7 @@ declare function createYoloVaultStrategy(config: IConfig, pricer: PricerBase, me
2914
2915
  declare function createHyperLSTStrategy(config: IConfig, pricer: PricerBase, metadata: IStrategyMetadata<HyperLSTStrategySettings>): UniversalLstMultiplierStrategy<HyperLSTStrategySettings>;
2915
2916
  declare function createVesuRebalanceStrategy(config: IConfig, pricer: PricerBase, metadata: IStrategyMetadata<VesuRebalanceSettings>): VesuRebalance;
2916
2917
  declare function createSenseiStrategy(config: IConfig, pricer: PricerBase, metadata: IStrategyMetadata<SenseiVaultSettings>): SenseiVault;
2918
+ declare function createBoostedXSTRKCarryStrategy(config: IConfig, pricer: PricerBase, metadata: IStrategyMetadata<BoostedxSTRKCarryStrategySettings>): BoostedxSTRKCarryStrategy<BoostedxSTRKCarryStrategySettings>;
2917
2919
  /**
2918
2920
  * Determines the strategy type from metadata by inspecting the additionalInfo structure
2919
2921
  */
@@ -2921,7 +2923,7 @@ declare function getStrategyTypeFromMetadata(metadata: IStrategyMetadata<any>):
2921
2923
  /**
2922
2924
  * Generic factory function that creates SDK strategy instances based on type
2923
2925
  */
2924
- declare function createStrategy(type: FactoryStrategyType, config: IConfig, pricer: PricerBase, metadata: IStrategyMetadata<any>): EkuboCLVault | VesuRebalance | SenseiVault | YoLoVault | UniversalStrategy<UniversalStrategySettings> | UniversalLstMultiplierStrategy<HyperLSTStrategySettings>;
2926
+ declare function createStrategy(type: FactoryStrategyType, config: IConfig, pricer: PricerBase, metadata: IStrategyMetadata<any>): EkuboCLVault | VesuRebalance | SenseiVault | YoLoVault | UniversalStrategy<UniversalStrategySettings> | UniversalLstMultiplierStrategy<HyperLSTStrategySettings> | BoostedxSTRKCarryStrategy<BoostedxSTRKCarryStrategySettings>;
2925
2927
 
2926
2928
  interface EkuboRouteNode {
2927
2929
  pool_key: {
@@ -3290,4 +3292,4 @@ declare class PasswordJsonCryptoUtil {
3290
3292
  decrypt(encryptedData: string, password: string): any;
3291
3293
  }
3292
3294
 
3293
- export { type APYInfo, APYType, AUDIT_URL, AUMTypes, AVNU_EXCHANGE, AVNU_EXCHANGE_FOR_LEGACY_USDC, AVNU_LEGACY_SANITIZER, AVNU_MIDDLEWARE, AVNU_QUOTE_URL, type AccessControlInfo, AccessControlType, type AccountInfo, type AdapterLeafType, type AllAccountsStore, type AmountInfo, type AmountsInfo, type ApproveCallParams, AuditStatus, AutoCompounderSTRK, AvnuAdapter, type AvnuAdapterConfig, type AvnuDepositParams, type AvnuSwapCallParams, type AvnuWithdrawParams, AvnuWrapper, BaseAdapter, type BaseAdapterConfig, BaseStrategy, BoostedxSTRKCarryStrategies, BoostedxSTRKCarryStrategy, type BoostedxSTRKCarryStrategySettings, type CLVaultStrategySettings, CommonAdapter, type CommonAdapterConfig, ContractAddr, DEFAULT_TROVES_STRATEGIES_API, type DecreaseLeverParams, Deployer, type DepositParams, type DualActionAmount, type DualTokenInfo, ERC20, EXTENDED_CONTRACT, EXTENDED_SANITIZER, type EkuboBounds, EkuboCLVault, EkuboCLVaultStrategies, type EkuboPoolKey, EkuboPricer, type EkuboQuote, EkuboQuoter, type EkuboRouteNode, type EkuboSplit, type FAQ, FactoryStrategyType, FatalError, type FilterOption, type FlashloanCallParams, FlowChartColors, type GenerateCallFn, Global, HealthFactorMath, HyperLSTStrategies, type HyperLSTStrategySettings, type IConfig, type ICurator, type IInvestmentFlow, ILending, type ILendingMetadata, type ILendingPosition, type IProtocol, type IStrategyMetadata, type IncreaseLeverParams, Initializable, type InputModeFromAction, InstantWithdrawalVault, LSTAPRService, LSTPriceType, type LSTStats, type LeafAdapterFn, type LeafData, type LendingToken, type LoggerConfig, type LoggerLevel, type ManageCall, MarginType, Midas, MyNumber, type NetAPYDetails, type NetAPYSplit, Network, PRICE_ROUTER, type ParsedStarknetCall, PasswordJsonCryptoUtil, type PositionAPY, type PositionAmount, type PositionInfo, PositionTypeAvnuExtended, Pragma, type PriceInfo, Pricer, PricerBase, PricerFromApi, PricerLST, PricerRedis, Protocols, type RedemptionInfo, type RequiredFields, type RequiredKeys, type RequiredStoreConfig, type RiskFactor, RiskType, type Route, type RouteNode, SIMPLE_SANITIZER, SIMPLE_SANITIZER_V2, SIMPLE_SANITIZER_VESU_V1_DELEGATIONS, SVK_SIMPLE_SANITIZER, type SecurityMetadata, SenseiStrategies, SenseiVault, type SenseiVaultSettings, type SingleActionAmount, type SingleTokenInfo, type SourceCodeInfo, SourceCodeType, StandardMerkleTree, type StandardMerkleTreeData, StarknetCallParser, type StarknetCallParserOptions, Store, type StoreConfig, type StrategyAlert, type StrategyApyHistoryUIConfig, type StrategyCapabilities, type StrategyFilterMetadata, type StrategyInputMode, StrategyLiveStatus, type StrategyMetadata, type StrategyRegistryEntry, type StrategySettings, StrategyTag, StrategyType, type SupportedPosition, SvkTrovesAdapter, type SvkTrovesAdapterConfig, type Swap, type SwapInfo, type SwapPriceInfo, TRANSFER_SANITIZER, TelegramGroupNotif, TelegramNotif, type TokenAmount, type TokenInfo, TokenMarketData, TokenTransferAdapter, type TokenTransferAdapterConfig, UNIVERSAL_ADAPTER_IDS, UNIVERSAL_MANAGE_IDS, UniversalLstMultiplierStrategy, type UniversalManageCall, UniversalStrategies, UniversalStrategy, type UniversalStrategySettings, UnwrapLabsCurator, type UserPositionCard, type UserPositionCardSubValueColor, type UserPositionCardsInput, type UserYoloInfo, VESU_SINGLETON, VESU_V2_MODIFY_POSITION_SANITIZER, type VaultPosition, VaultType, VesuAdapter, type VesuAdapterConfig, type VesuAmount, VesuAmountDenomination, VesuAmountType, type VesuDefiSpringRewardsCallParams, type VesuDepositParams, type VesuModifyDelegationCallParams, VesuModifyPositionAdapter, type VesuModifyPositionAdapterConfig, type VesuModifyPositionCallParams, type VesuModifyPositionDepositParams, type VesuModifyPositionWithdrawParams, VesuMultiplyAdapter, type VesuMultiplyAdapterConfig, type VesuMultiplyCallParams, VesuPoolMetadata, VesuPools, VesuRebalance, type VesuRebalanceSettings, VesuRebalanceStrategies, VesuSupplyOnlyAdapter, type VesuSupplyOnlyAdapterConfig, type VesuWithdrawParams, Web3Number, type WithdrawParams, YoLoVault, type YoloSettings, type YoloSpendingLevel, type YoloVaultSettings, type YoloVaultStatus, YoloVaultStrategies, ZkLend, _riskFactor, assert, buildStrategyRegistry, configureLogger, createEkuboCLStrategy, createHyperLSTStrategy, createSenseiStrategy, createStrategy, createUniversalStrategy, createVesuRebalanceStrategy, createYoloVaultStrategy, detectCapabilities, extensionMap, getAPIUsingHeadlessBrowser, getAllStrategyMetadata, getAllStrategyTags, getContractDetails, getDefaultStoreConfig, getFAQs, getFilterMetadata, getInvestmentSteps, getLiveStrategies, getMainnetConfig, getNoRiskTags, getRiskColor, getRiskExplaination, getStrategiesByType, getStrategyTagDesciption, getStrategyTypeFromMetadata, getTrovesEndpoint, getVesuSingletonAddress, highlightTextWithLinks, type i257, isDualTokenStrategy, logger, toAmountsInfo, toBigInt };
3295
+ export { type APYInfo, APYType, AUDIT_URL, AUMTypes, AVNU_EXCHANGE, AVNU_EXCHANGE_FOR_LEGACY_USDC, AVNU_LEGACY_SANITIZER, AVNU_MIDDLEWARE, AVNU_QUOTE_URL, type AccessControlInfo, AccessControlType, type AccountInfo, type AdapterLeafType, type AllAccountsStore, type AmountInfo, type AmountsInfo, type ApproveCallParams, AuditStatus, AutoCompounderSTRK, AvnuAdapter, type AvnuAdapterConfig, type AvnuDepositParams, type AvnuSwapCallParams, type AvnuWithdrawParams, AvnuWrapper, BaseAdapter, type BaseAdapterConfig, BaseStrategy, BoostedxSTRKCarryStrategies, BoostedxSTRKCarryStrategy, type BoostedxSTRKCarryStrategySettings, type CLVaultStrategySettings, CommonAdapter, type CommonAdapterConfig, ContractAddr, DEFAULT_TROVES_STRATEGIES_API, type DecreaseLeverParams, Deployer, type DepositParams, type DualActionAmount, type DualTokenInfo, ERC20, EXTENDED_CONTRACT, EXTENDED_SANITIZER, type EkuboBounds, EkuboCLVault, EkuboCLVaultStrategies, type EkuboPoolKey, EkuboPricer, type EkuboQuote, EkuboQuoter, type EkuboRouteNode, type EkuboSplit, type FAQ, FactoryStrategyType, FatalError, type FilterOption, type FlashloanCallParams, FlowChartColors, type GenerateCallFn, Global, HealthFactorMath, HyperLSTStrategies, type HyperLSTStrategySettings, type IConfig, type ICurator, type IInvestmentFlow, ILending, type ILendingMetadata, type ILendingPosition, type IProtocol, type IStrategyMetadata, type IncreaseLeverParams, Initializable, type InputModeFromAction, InstantWithdrawalVault, LSTAPRService, LSTPriceType, type LSTStats, type LeafAdapterFn, type LeafData, type LendingToken, type LoggerConfig, type LoggerLevel, type ManageCall, MarginType, Midas, MyNumber, type NetAPYDetails, type NetAPYSplit, Network, PRICE_ROUTER, type ParsedStarknetCall, PasswordJsonCryptoUtil, type PositionAPY, type PositionAmount, type PositionInfo, PositionTypeAvnuExtended, Pragma, type PriceInfo, Pricer, PricerBase, PricerFromApi, PricerLST, PricerRedis, Protocols, type RedemptionInfo, type RequiredFields, type RequiredKeys, type RequiredStoreConfig, type RiskFactor, RiskType, type Route, type RouteNode, SIMPLE_SANITIZER, SIMPLE_SANITIZER_V2, SIMPLE_SANITIZER_VESU_V1_DELEGATIONS, SVK_SIMPLE_SANITIZER, type SecurityMetadata, SenseiStrategies, SenseiVault, type SenseiVaultSettings, type SingleActionAmount, type SingleTokenInfo, type SourceCodeInfo, SourceCodeType, StandardMerkleTree, type StandardMerkleTreeData, StarknetCallParser, type StarknetCallParserOptions, Store, type StoreConfig, type StrategyAlert, type StrategyApyHistoryUIConfig, type StrategyCapabilities, type StrategyFilterMetadata, type StrategyInputMode, StrategyLiveStatus, type StrategyMetadata, type StrategyRegistryEntry, type StrategySettings, StrategyTag, StrategyType, type SupportedPosition, SvkTrovesAdapter, type SvkTrovesAdapterConfig, type Swap, type SwapInfo, type SwapPriceInfo, TRANSFER_SANITIZER, TelegramGroupNotif, TelegramNotif, type TokenAmount, type TokenInfo, TokenMarketData, TokenTransferAdapter, type TokenTransferAdapterConfig, UNIVERSAL_ADAPTER_IDS, UNIVERSAL_MANAGE_IDS, UniversalLstMultiplierStrategy, type UniversalManageCall, UniversalStrategies, UniversalStrategy, type UniversalStrategySettings, UnwrapLabsCurator, type UserPositionCard, type UserPositionCardSubValueColor, type UserPositionCardsInput, type UserYoloInfo, VESU_SINGLETON, VESU_V2_MODIFY_POSITION_SANITIZER, type VaultPosition, VaultType, VesuAdapter, type VesuAdapterConfig, type VesuAmount, VesuAmountDenomination, VesuAmountType, type VesuDefiSpringRewardsCallParams, type VesuDepositParams, type VesuModifyDelegationCallParams, VesuModifyPositionAdapter, type VesuModifyPositionAdapterConfig, type VesuModifyPositionCallParams, type VesuModifyPositionDepositParams, type VesuModifyPositionWithdrawParams, VesuMultiplyAdapter, type VesuMultiplyAdapterConfig, type VesuMultiplyCallParams, VesuPoolMetadata, VesuPools, VesuRebalance, type VesuRebalanceSettings, VesuRebalanceStrategies, VesuSupplyOnlyAdapter, type VesuSupplyOnlyAdapterConfig, type VesuWithdrawParams, Web3Number, type WithdrawParams, YoLoVault, type YoloSettings, type YoloSpendingLevel, type YoloVaultSettings, type YoloVaultStatus, YoloVaultStrategies, ZkLend, _riskFactor, assert, buildStrategyRegistry, configureLogger, createBoostedXSTRKCarryStrategy, createEkuboCLStrategy, createHyperLSTStrategy, createSenseiStrategy, createStrategy, createUniversalStrategy, createVesuRebalanceStrategy, createYoloVaultStrategy, detectCapabilities, extensionMap, getAPIUsingHeadlessBrowser, getAllStrategyMetadata, getAllStrategyTags, getContractDetails, getDefaultStoreConfig, getFAQs, getFilterMetadata, getInvestmentSteps, getLiveStrategies, getMainnetConfig, getNoRiskTags, getRiskColor, getRiskExplaination, getStrategiesByType, getStrategyTagDesciption, getStrategyTypeFromMetadata, getTrovesEndpoint, getVesuSingletonAddress, highlightTextWithLinks, type i257, isDualTokenStrategy, logger, toAmountsInfo, toBigInt };
package/dist/index.js CHANGED
@@ -130,6 +130,7 @@ __export(index_exports, {
130
130
  assert: () => assert,
131
131
  buildStrategyRegistry: () => buildStrategyRegistry,
132
132
  configureLogger: () => configureLogger,
133
+ createBoostedXSTRKCarryStrategy: () => createBoostedXSTRKCarryStrategy,
133
134
  createEkuboCLStrategy: () => createEkuboCLStrategy,
134
135
  createHyperLSTStrategy: () => createHyperLSTStrategy,
135
136
  createSenseiStrategy: () => createSenseiStrategy,
@@ -40155,7 +40156,7 @@ function getBoostedCarryFAQs(depositSymbol, debtSymbol, lstSymbol) {
40155
40156
  },
40156
40157
  {
40157
40158
  question: "Are there any fees?",
40158
- answer: "Troves charges a 10% performance fee on yield only \u2014 not on your deposited principal. The APY shown is already net of this fee. When you withdraw, a 0.1% redemption fee applies. That small fee helps keep the vault efficient for long-term depositors. This fee is sent back to the vault itself: very short stays create extra swap and rebalancing costs for everyone. If you stay for a reasonable period, your yield will typically far outweigh this one-time charge."
40159
+ answer: "Troves charges a 10% performance fee on yield only \u2014 not on your deposited principal. The APY shown is already net of this fee. When you withdraw, a 0.1% redemption fee applies. That small fee helps keep the vault efficient for long-term depositors, very short stays create extra swap and rebalancing costs for everyone. If you stay for a reasonable period, your yield will typically far outweigh this one-time charge."
40159
40160
  },
40160
40161
  {
40161
40162
  question: "Is the vault audited?",
@@ -40435,6 +40436,7 @@ var FactoryStrategyType = /* @__PURE__ */ ((FactoryStrategyType2) => {
40435
40436
  FactoryStrategyType2["VESU_REBALANCE"] = "VESU_REBALANCE";
40436
40437
  FactoryStrategyType2["SENSEI"] = "SENSEI";
40437
40438
  FactoryStrategyType2["YOLO_VAULT"] = "YOLO_VAULT";
40439
+ FactoryStrategyType2["BOOSTEDXSTRKCARRY"] = "BOOSTEDXSTRKCARRY";
40438
40440
  return FactoryStrategyType2;
40439
40441
  })(FactoryStrategyType || {});
40440
40442
  function createUniversalStrategy2(config, pricer, metadata) {
@@ -40455,6 +40457,9 @@ function createVesuRebalanceStrategy2(config, pricer, metadata) {
40455
40457
  function createSenseiStrategy(config, pricer, metadata) {
40456
40458
  return new SenseiVault(config, pricer, metadata);
40457
40459
  }
40460
+ function createBoostedXSTRKCarryStrategy(config, pricer, metadata) {
40461
+ return new BoostedxSTRKCarryStrategy(config, pricer, metadata);
40462
+ }
40458
40463
  function getStrategyTypeFromMetadata(metadata) {
40459
40464
  const info = metadata.additionalInfo;
40460
40465
  if (info && "mainToken" in info && "secondaryToken" in info && "minEpochDurationSeconds" in info && "feeBps" in info) {
@@ -40463,6 +40468,9 @@ function getStrategyTypeFromMetadata(metadata) {
40463
40468
  if (info && "borrowable_assets" in info && "underlyingToken" in info) {
40464
40469
  return "HYPER_LST" /* HYPER_LST */;
40465
40470
  }
40471
+ if (info && "depositToken" in info && "debtToken" in info && "lstToken" in info) {
40472
+ return "BOOSTEDXSTRKCARRY" /* BOOSTEDXSTRKCARRY */;
40473
+ }
40466
40474
  if (info && ("newBounds" in info || typeof info.newBounds !== "undefined") && "rebalanceConditions" in info && "quoteAsset" in info) {
40467
40475
  return "EKUBO_CL" /* EKUBO_CL */;
40468
40476
  }
@@ -40517,6 +40525,12 @@ function createStrategy(type, config, pricer, metadata) {
40517
40525
  pricer,
40518
40526
  metadata
40519
40527
  );
40528
+ case "BOOSTEDXSTRKCARRY" /* BOOSTEDXSTRKCARRY */:
40529
+ return createBoostedXSTRKCarryStrategy(
40530
+ config,
40531
+ pricer,
40532
+ metadata
40533
+ );
40520
40534
  default:
40521
40535
  throw new Error(`Unknown strategy type: ${type}`);
40522
40536
  }
@@ -41210,6 +41224,7 @@ var deployer_default = Deployer;
41210
41224
  assert,
41211
41225
  buildStrategyRegistry,
41212
41226
  configureLogger,
41227
+ createBoostedXSTRKCarryStrategy,
41213
41228
  createEkuboCLStrategy,
41214
41229
  createHyperLSTStrategy,
41215
41230
  createSenseiStrategy,
package/dist/index.mjs CHANGED
@@ -39992,7 +39992,7 @@ function getBoostedCarryFAQs(depositSymbol, debtSymbol, lstSymbol) {
39992
39992
  },
39993
39993
  {
39994
39994
  question: "Are there any fees?",
39995
- answer: "Troves charges a 10% performance fee on yield only \u2014 not on your deposited principal. The APY shown is already net of this fee. When you withdraw, a 0.1% redemption fee applies. That small fee helps keep the vault efficient for long-term depositors. This fee is sent back to the vault itself: very short stays create extra swap and rebalancing costs for everyone. If you stay for a reasonable period, your yield will typically far outweigh this one-time charge."
39995
+ answer: "Troves charges a 10% performance fee on yield only \u2014 not on your deposited principal. The APY shown is already net of this fee. When you withdraw, a 0.1% redemption fee applies. That small fee helps keep the vault efficient for long-term depositors, very short stays create extra swap and rebalancing costs for everyone. If you stay for a reasonable period, your yield will typically far outweigh this one-time charge."
39996
39996
  },
39997
39997
  {
39998
39998
  question: "Is the vault audited?",
@@ -40272,6 +40272,7 @@ var FactoryStrategyType = /* @__PURE__ */ ((FactoryStrategyType2) => {
40272
40272
  FactoryStrategyType2["VESU_REBALANCE"] = "VESU_REBALANCE";
40273
40273
  FactoryStrategyType2["SENSEI"] = "SENSEI";
40274
40274
  FactoryStrategyType2["YOLO_VAULT"] = "YOLO_VAULT";
40275
+ FactoryStrategyType2["BOOSTEDXSTRKCARRY"] = "BOOSTEDXSTRKCARRY";
40275
40276
  return FactoryStrategyType2;
40276
40277
  })(FactoryStrategyType || {});
40277
40278
  function createUniversalStrategy2(config, pricer, metadata) {
@@ -40292,6 +40293,9 @@ function createVesuRebalanceStrategy2(config, pricer, metadata) {
40292
40293
  function createSenseiStrategy(config, pricer, metadata) {
40293
40294
  return new SenseiVault(config, pricer, metadata);
40294
40295
  }
40296
+ function createBoostedXSTRKCarryStrategy(config, pricer, metadata) {
40297
+ return new BoostedxSTRKCarryStrategy(config, pricer, metadata);
40298
+ }
40295
40299
  function getStrategyTypeFromMetadata(metadata) {
40296
40300
  const info = metadata.additionalInfo;
40297
40301
  if (info && "mainToken" in info && "secondaryToken" in info && "minEpochDurationSeconds" in info && "feeBps" in info) {
@@ -40300,6 +40304,9 @@ function getStrategyTypeFromMetadata(metadata) {
40300
40304
  if (info && "borrowable_assets" in info && "underlyingToken" in info) {
40301
40305
  return "HYPER_LST" /* HYPER_LST */;
40302
40306
  }
40307
+ if (info && "depositToken" in info && "debtToken" in info && "lstToken" in info) {
40308
+ return "BOOSTEDXSTRKCARRY" /* BOOSTEDXSTRKCARRY */;
40309
+ }
40303
40310
  if (info && ("newBounds" in info || typeof info.newBounds !== "undefined") && "rebalanceConditions" in info && "quoteAsset" in info) {
40304
40311
  return "EKUBO_CL" /* EKUBO_CL */;
40305
40312
  }
@@ -40354,6 +40361,12 @@ function createStrategy(type, config, pricer, metadata) {
40354
40361
  pricer,
40355
40362
  metadata
40356
40363
  );
40364
+ case "BOOSTEDXSTRKCARRY" /* BOOSTEDXSTRKCARRY */:
40365
+ return createBoostedXSTRKCarryStrategy(
40366
+ config,
40367
+ pricer,
40368
+ metadata
40369
+ );
40357
40370
  default:
40358
40371
  throw new Error(`Unknown strategy type: ${type}`);
40359
40372
  }
@@ -41046,6 +41059,7 @@ export {
41046
41059
  assert,
41047
41060
  buildStrategyRegistry,
41048
41061
  configureLogger,
41062
+ createBoostedXSTRKCarryStrategy,
41049
41063
  createEkuboCLStrategy,
41050
41064
  createHyperLSTStrategy,
41051
41065
  createSenseiStrategy,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strkfarm/sdk",
3
- "version": "2.0.0-dev.37",
3
+ "version": "2.0.0-dev.38",
4
4
  "description": "STRKFarm TS SDK (Meant for our internal use, but feel free to use it)",
5
5
  "typings": "dist/index.d.ts",
6
6
  "types": "dist/index.d.ts",
@@ -12,6 +12,7 @@ import {
12
12
  import { YoLoVault, YoloVaultSettings } from "./yoloVault";
13
13
  import { VesuRebalance, VesuRebalanceSettings } from "./vesu-rebalance";
14
14
  import { SenseiVault, SenseiVaultSettings } from "./sensei";
15
+ import { BoostedxSTRKCarryStrategy, BoostedxSTRKCarryStrategySettings } from "./token-boosted-xstrk-carry-strategy";
15
16
 
16
17
  export enum FactoryStrategyType {
17
18
  UNIVERSAL = "UNIVERSAL",
@@ -19,7 +20,8 @@ export enum FactoryStrategyType {
19
20
  HYPER_LST = "HYPER_LST",
20
21
  VESU_REBALANCE = "VESU_REBALANCE",
21
22
  SENSEI = "SENSEI",
22
- YOLO_VAULT = "YOLO_VAULT"
23
+ YOLO_VAULT = "YOLO_VAULT",
24
+ BOOSTEDXSTRKCARRY = "BOOSTEDXSTRKCARRY"
23
25
  }
24
26
 
25
27
  export function createUniversalStrategy(
@@ -70,6 +72,14 @@ export function createSenseiStrategy(
70
72
  return new SenseiVault(config, pricer, metadata);
71
73
  }
72
74
 
75
+ export function createBoostedXSTRKCarryStrategy(
76
+ config: IConfig,
77
+ pricer: PricerBase,
78
+ metadata: IStrategyMetadata<BoostedxSTRKCarryStrategySettings>
79
+ ): BoostedxSTRKCarryStrategy<BoostedxSTRKCarryStrategySettings> {
80
+ return new BoostedxSTRKCarryStrategy<BoostedxSTRKCarryStrategySettings>(config, pricer, metadata);
81
+ }
82
+
73
83
  /**
74
84
  * Determines the strategy type from metadata by inspecting the additionalInfo structure
75
85
  */
@@ -77,7 +87,7 @@ export function getStrategyTypeFromMetadata(
77
87
  metadata: IStrategyMetadata<any>
78
88
  ): FactoryStrategyType {
79
89
  const info = metadata.additionalInfo;
80
-
90
+
81
91
  if (info && "mainToken" in info && "secondaryToken" in info && "minEpochDurationSeconds" in info && "feeBps" in info) {
82
92
  return FactoryStrategyType.YOLO_VAULT;
83
93
  }
@@ -87,6 +97,10 @@ export function getStrategyTypeFromMetadata(
87
97
  return FactoryStrategyType.HYPER_LST;
88
98
  }
89
99
 
100
+ if (info && "depositToken" in info && "debtToken" in info && "lstToken" in info) {
101
+ return FactoryStrategyType.BOOSTEDXSTRKCARRY;
102
+ }
103
+
90
104
  // Check for EkuboCL (has newBounds, rebalanceConditions, quoteAsset)
91
105
  if (
92
106
  info &&
@@ -173,7 +187,13 @@ export function createStrategy(
173
187
  pricer,
174
188
  metadata as IStrategyMetadata<YoloVaultSettings>
175
189
  );
190
+ case FactoryStrategyType.BOOSTEDXSTRKCARRY:
191
+ return createBoostedXSTRKCarryStrategy(
192
+ config,
193
+ pricer,
194
+ metadata as IStrategyMetadata<BoostedxSTRKCarryStrategySettings>
195
+ );
176
196
  default:
177
197
  throw new Error(`Unknown strategy type: ${type}`);
178
198
  }
179
- }
199
+ }
@@ -1092,7 +1092,7 @@ function getBoostedCarryFAQs(
1092
1092
  {
1093
1093
  question: "Are there any fees?",
1094
1094
  answer:
1095
- "Troves charges a 10% performance fee on yield only — not on your deposited principal. The APY shown is already net of this fee. When you withdraw, a 0.1% redemption fee applies. That small fee helps keep the vault efficient for long-term depositors. This fee is sent back to the vault itself: very short stays create extra swap and rebalancing costs for everyone. If you stay for a reasonable period, your yield will typically far outweigh this one-time charge.",
1095
+ "Troves charges a 10% performance fee on yield only — not on your deposited principal. The APY shown is already net of this fee. When you withdraw, a 0.1% redemption fee applies. That small fee helps keep the vault efficient for long-term depositors, very short stays create extra swap and rebalancing costs for everyone. If you stay for a reasonable period, your yield will typically far outweigh this one-time charge.",
1096
1096
  },
1097
1097
  {
1098
1098
  question: "Is the vault audited?",