@strkfarm/sdk 2.0.0-staging.55 → 2.0.0-staging.57

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.
@@ -27921,6 +27921,7 @@ ${JSON.stringify(data, null, 2)}`;
27921
27921
  ERC20: () => ERC20,
27922
27922
  EkuboCLVault: () => EkuboCLVault,
27923
27923
  EkuboCLVaultStrategies: () => EkuboCLVaultStrategies,
27924
+ EkuboPricer: () => EkuboPricer,
27924
27925
  EkuboQuoter: () => EkuboQuoter,
27925
27926
  FactoryStrategyType: () => FactoryStrategyType,
27926
27927
  FatalError: () => FatalError,
@@ -116744,7 +116745,6 @@ spurious results.`);
116744
116745
  ]
116745
116746
  };
116746
116747
  var wbtc_parent = "wbtc-yolo";
116747
- var xstrk_parent = "xstrk-yolo";
116748
116748
  var yoloVaultsConfig = [
116749
116749
  {
116750
116750
  address: ContractAddr.from("0x018ccdff25a642e211f86ace35ba282ebdf342330319ead98cae37258bc9cce1"),
@@ -116756,54 +116756,54 @@ spurious results.`);
116756
116756
  priority: 100,
116757
116757
  ...vaultCommonProperties,
116758
116758
  parent_id: wbtc_parent
116759
- },
116760
- {
116761
- address: ContractAddr.from("0x3381380c6cca17c2a20e1167a362d5b939e392311cbcdf2016f9c7c7a23a801"),
116762
- mainToken: vesuPrimeUSDC,
116763
- secondaryToken: xWBTC,
116764
- startDate: "03-APR-2026",
116765
- expiryDate: "31-MAY-2026",
116766
- id: `vusdc-xwbct-yolo-31-may-2026`,
116767
- priority: 100,
116768
- ...vaultCommonProperties,
116769
- parent_id: wbtc_parent
116770
- },
116771
- {
116772
- address: ContractAddr.from("0x60c8466549a8e51eed0e8c38243fdb57d173c96cfdd4375b49ad1e338ff893"),
116773
- mainToken: vesuPrimeUSDC,
116774
- secondaryToken: xSTRK,
116775
- startDate: "03-APR-2026",
116776
- expiryDate: "31-MAR-2027",
116777
- id: `xstrk-yolo-31-mar-2027`,
116778
- priority: 50,
116779
- ...vaultCommonProperties,
116780
- spendingLevels: [
116781
- { minPrice: 0.07, maxPrice: 0.1, spendPercent: 50 },
116782
- { minPrice: 0.06, maxPrice: 0.07, spendPercent: 70 },
116783
- { minPrice: 0.04, maxPrice: 0.06, spendPercent: 100 },
116784
- { minPrice: 0.025, maxPrice: 0.04, spendPercent: 250 },
116785
- { maxPrice: 0.025, spendPercent: 500 }
116786
- ],
116787
- parent_id: xstrk_parent
116788
- },
116789
- {
116790
- address: ContractAddr.from("0x62499970196772c18ccf1da09910ece11d85d5df3e8f6d6e41b4d158fcb8e79"),
116791
- mainToken: vesuPrimeUSDC,
116792
- secondaryToken: xSTRK,
116793
- startDate: "03-APR-2026",
116794
- expiryDate: "30-JUN-2026",
116795
- id: `xstrk-yolo-30-jun-2026`,
116796
- priority: 50,
116797
- ...vaultCommonProperties,
116798
- spendingLevels: [
116799
- { minPrice: 0.07, maxPrice: 0.1, spendPercent: 50 },
116800
- { minPrice: 0.06, maxPrice: 0.07, spendPercent: 70 },
116801
- { minPrice: 0.04, maxPrice: 0.06, spendPercent: 100 },
116802
- { minPrice: 0.025, maxPrice: 0.04, spendPercent: 250 },
116803
- { maxPrice: 0.025, spendPercent: 500 }
116804
- ],
116805
- parent_id: xstrk_parent
116806
116759
  }
116760
+ // {
116761
+ // address: ContractAddr.from("0x3381380c6cca17c2a20e1167a362d5b939e392311cbcdf2016f9c7c7a23a801"),
116762
+ // mainToken: vesuPrimeUSDC,
116763
+ // secondaryToken: xWBTC,
116764
+ // startDate: "03-APR-2026",
116765
+ // expiryDate: "31-MAY-2026",
116766
+ // id: `vusdc-xwbct-yolo-31-may-2026`,
116767
+ // priority: 100,
116768
+ // ...vaultCommonProperties,
116769
+ // parent_id: wbtc_parent
116770
+ // },
116771
+ // {
116772
+ // address: ContractAddr.from("0x60c8466549a8e51eed0e8c38243fdb57d173c96cfdd4375b49ad1e338ff893"),
116773
+ // mainToken: vesuPrimeUSDC,
116774
+ // secondaryToken: xSTRK,
116775
+ // startDate: "03-APR-2026",
116776
+ // expiryDate: "31-MAR-2027",
116777
+ // id: `xstrk-yolo-31-mar-2027`,
116778
+ // priority: 50,
116779
+ // ...vaultCommonProperties,
116780
+ // spendingLevels: [
116781
+ // { minPrice: 0.07, maxPrice: 0.1, spendPercent: 50 },
116782
+ // { minPrice: 0.06, maxPrice: 0.07, spendPercent: 70 },
116783
+ // { minPrice: 0.04, maxPrice: 0.06, spendPercent: 100 },
116784
+ // { minPrice: 0.025, maxPrice: 0.04, spendPercent: 250 },
116785
+ // { maxPrice: 0.025, spendPercent: 500 },
116786
+ // ],
116787
+ // parent_id: xstrk_parent
116788
+ // },
116789
+ // {
116790
+ // address: ContractAddr.from("0x62499970196772c18ccf1da09910ece11d85d5df3e8f6d6e41b4d158fcb8e79"),
116791
+ // mainToken: vesuPrimeUSDC,
116792
+ // secondaryToken: xSTRK,
116793
+ // startDate: "03-APR-2026",
116794
+ // expiryDate: "30-JUN-2026",
116795
+ // id: `xstrk-yolo-30-jun-2026`,
116796
+ // priority: 50,
116797
+ // ...vaultCommonProperties,
116798
+ // spendingLevels: [
116799
+ // { minPrice: 0.07, maxPrice: 0.1, spendPercent: 50 },
116800
+ // { minPrice: 0.06, maxPrice: 0.07, spendPercent: 70 },
116801
+ // { minPrice: 0.04, maxPrice: 0.06, spendPercent: 100 },
116802
+ // { minPrice: 0.025, maxPrice: 0.04, spendPercent: 250 },
116803
+ // { maxPrice: 0.025, spendPercent: 500 },
116804
+ // ],
116805
+ // parent_id: xstrk_parent
116806
+ // }
116807
116807
  ];
116808
116808
  var yoloRiskFactors = [];
116809
116809
  var YoloVaultStrategies = yoloVaultsConfig.map((yoloConfig) => {
@@ -29343,7 +29343,6 @@ var vaultCommonProperties = {
29343
29343
  ]
29344
29344
  };
29345
29345
  var wbtc_parent = "wbtc-yolo";
29346
- var xstrk_parent = "xstrk-yolo";
29347
29346
  var yoloVaultsConfig = [
29348
29347
  {
29349
29348
  address: ContractAddr.from("0x018ccdff25a642e211f86ace35ba282ebdf342330319ead98cae37258bc9cce1"),
@@ -29355,54 +29354,54 @@ var yoloVaultsConfig = [
29355
29354
  priority: 100,
29356
29355
  ...vaultCommonProperties,
29357
29356
  parent_id: wbtc_parent
29358
- },
29359
- {
29360
- address: ContractAddr.from("0x3381380c6cca17c2a20e1167a362d5b939e392311cbcdf2016f9c7c7a23a801"),
29361
- mainToken: vesuPrimeUSDC,
29362
- secondaryToken: xWBTC,
29363
- startDate: "03-APR-2026",
29364
- expiryDate: "31-MAY-2026",
29365
- id: `vusdc-xwbct-yolo-31-may-2026`,
29366
- priority: 100,
29367
- ...vaultCommonProperties,
29368
- parent_id: wbtc_parent
29369
- },
29370
- {
29371
- address: ContractAddr.from("0x60c8466549a8e51eed0e8c38243fdb57d173c96cfdd4375b49ad1e338ff893"),
29372
- mainToken: vesuPrimeUSDC,
29373
- secondaryToken: xSTRK,
29374
- startDate: "03-APR-2026",
29375
- expiryDate: "31-MAR-2027",
29376
- id: `xstrk-yolo-31-mar-2027`,
29377
- priority: 50,
29378
- ...vaultCommonProperties,
29379
- spendingLevels: [
29380
- { minPrice: 0.07, maxPrice: 0.1, spendPercent: 50 },
29381
- { minPrice: 0.06, maxPrice: 0.07, spendPercent: 70 },
29382
- { minPrice: 0.04, maxPrice: 0.06, spendPercent: 100 },
29383
- { minPrice: 0.025, maxPrice: 0.04, spendPercent: 250 },
29384
- { maxPrice: 0.025, spendPercent: 500 }
29385
- ],
29386
- parent_id: xstrk_parent
29387
- },
29388
- {
29389
- address: ContractAddr.from("0x62499970196772c18ccf1da09910ece11d85d5df3e8f6d6e41b4d158fcb8e79"),
29390
- mainToken: vesuPrimeUSDC,
29391
- secondaryToken: xSTRK,
29392
- startDate: "03-APR-2026",
29393
- expiryDate: "30-JUN-2026",
29394
- id: `xstrk-yolo-30-jun-2026`,
29395
- priority: 50,
29396
- ...vaultCommonProperties,
29397
- spendingLevels: [
29398
- { minPrice: 0.07, maxPrice: 0.1, spendPercent: 50 },
29399
- { minPrice: 0.06, maxPrice: 0.07, spendPercent: 70 },
29400
- { minPrice: 0.04, maxPrice: 0.06, spendPercent: 100 },
29401
- { minPrice: 0.025, maxPrice: 0.04, spendPercent: 250 },
29402
- { maxPrice: 0.025, spendPercent: 500 }
29403
- ],
29404
- parent_id: xstrk_parent
29405
29357
  }
29358
+ // {
29359
+ // address: ContractAddr.from("0x3381380c6cca17c2a20e1167a362d5b939e392311cbcdf2016f9c7c7a23a801"),
29360
+ // mainToken: vesuPrimeUSDC,
29361
+ // secondaryToken: xWBTC,
29362
+ // startDate: "03-APR-2026",
29363
+ // expiryDate: "31-MAY-2026",
29364
+ // id: `vusdc-xwbct-yolo-31-may-2026`,
29365
+ // priority: 100,
29366
+ // ...vaultCommonProperties,
29367
+ // parent_id: wbtc_parent
29368
+ // },
29369
+ // {
29370
+ // address: ContractAddr.from("0x60c8466549a8e51eed0e8c38243fdb57d173c96cfdd4375b49ad1e338ff893"),
29371
+ // mainToken: vesuPrimeUSDC,
29372
+ // secondaryToken: xSTRK,
29373
+ // startDate: "03-APR-2026",
29374
+ // expiryDate: "31-MAR-2027",
29375
+ // id: `xstrk-yolo-31-mar-2027`,
29376
+ // priority: 50,
29377
+ // ...vaultCommonProperties,
29378
+ // spendingLevels: [
29379
+ // { minPrice: 0.07, maxPrice: 0.1, spendPercent: 50 },
29380
+ // { minPrice: 0.06, maxPrice: 0.07, spendPercent: 70 },
29381
+ // { minPrice: 0.04, maxPrice: 0.06, spendPercent: 100 },
29382
+ // { minPrice: 0.025, maxPrice: 0.04, spendPercent: 250 },
29383
+ // { maxPrice: 0.025, spendPercent: 500 },
29384
+ // ],
29385
+ // parent_id: xstrk_parent
29386
+ // },
29387
+ // {
29388
+ // address: ContractAddr.from("0x62499970196772c18ccf1da09910ece11d85d5df3e8f6d6e41b4d158fcb8e79"),
29389
+ // mainToken: vesuPrimeUSDC,
29390
+ // secondaryToken: xSTRK,
29391
+ // startDate: "03-APR-2026",
29392
+ // expiryDate: "30-JUN-2026",
29393
+ // id: `xstrk-yolo-30-jun-2026`,
29394
+ // priority: 50,
29395
+ // ...vaultCommonProperties,
29396
+ // spendingLevels: [
29397
+ // { minPrice: 0.07, maxPrice: 0.1, spendPercent: 50 },
29398
+ // { minPrice: 0.06, maxPrice: 0.07, spendPercent: 70 },
29399
+ // { minPrice: 0.04, maxPrice: 0.06, spendPercent: 100 },
29400
+ // { minPrice: 0.025, maxPrice: 0.04, spendPercent: 250 },
29401
+ // { maxPrice: 0.025, spendPercent: 500 },
29402
+ // ],
29403
+ // parent_id: xstrk_parent
29404
+ // }
29406
29405
  ];
29407
29406
  var yoloRiskFactors = [];
29408
29407
  var YoloVaultStrategies = yoloVaultsConfig.map((yoloConfig) => {
@@ -35068,6 +35067,7 @@ export {
35068
35067
  ERC20,
35069
35068
  EkuboCLVault,
35070
35069
  EkuboCLVaultStrategies,
35070
+ EkuboPricer,
35071
35071
  EkuboQuoter,
35072
35072
  FactoryStrategyType,
35073
35073
  FatalError,
package/dist/index.d.ts CHANGED
@@ -2222,6 +2222,16 @@ declare class LSTAPRService {
2222
2222
  static clearCache(): void;
2223
2223
  }
2224
2224
 
2225
+ declare class EkuboPricer extends PricerBase {
2226
+ EKUBO_PRICE_FETCHER_ADDRESS: string;
2227
+ readonly contract: Contract;
2228
+ private readonly USDC_ADDRESS;
2229
+ private readonly USDC_DECIMALS;
2230
+ constructor(config: IConfig, tokens: TokenInfo[]);
2231
+ private div2Power128;
2232
+ getPrice(tokenAddr: string, blockIdentifier?: BlockIdentifier): Promise<PriceInfo>;
2233
+ }
2234
+
2225
2235
  declare class TelegramNotif {
2226
2236
  private subscribers;
2227
2237
  readonly bot: TelegramBot;
@@ -2374,4 +2384,4 @@ declare class PasswordJsonCryptoUtil {
2374
2384
  decrypt(encryptedData: string, password: string): any;
2375
2385
  }
2376
2386
 
2377
- export { APYType, AUMTypes, AVNU_EXCHANGE, AVNU_MIDDLEWARE, type AccessControlInfo, AccessControlType, type AccountInfo, type AdapterLeafType, type AllAccountsStore, type AmountInfo, type AmountsInfo, type ApproveCallParams, AuditStatus, AutoCompounderSTRK, type AvnuSwapCallParams, AvnuWrapper, BaseAdapter, type BaseAdapterConfig, BaseStrategy, type CLVaultStrategySettings, CommonAdapter, type CommonAdapterConfig, ContractAddr, type DecreaseLeverParams, Deployer, type DualActionAmount, type DualTokenInfo, ERC20, type EkuboBounds, EkuboCLVault, EkuboCLVaultStrategies, type EkuboPoolKey, type EkuboQuote, EkuboQuoter, type EkuboRouteNode, type EkuboSplit, type FAQ, FactoryStrategyType, FatalError, type FilterOption, type FlashloanCallParams, FlowChartColors, type GenerateCallFn, Global, 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 ManageCall, MarginType, MyNumber, type NetAPYDetails, type NetAPYSplit, Network, PRICE_ROUTER, PasswordJsonCryptoUtil, type PositionAPY, type PositionInfo, Pragma, type PriceInfo, Pricer, 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, type SecurityMetadata, SenseiStrategies, SenseiVault, type SenseiVaultSettings, type SingleActionAmount, type SingleTokenInfo, type SourceCodeInfo, SourceCodeType, StandardMerkleTree, type StandardMerkleTreeData, Store, type StoreConfig, type StrategyAlert, type StrategyApyHistoryUIConfig, type StrategyCapabilities, type StrategyFilterMetadata, type StrategyInputMode, StrategyLiveStatus, type StrategyMetadata, type StrategyRegistryEntry, type StrategySettings, StrategyTag, StrategyType, type SupportedPosition, type Swap, type SwapInfo, TelegramGroupNotif, TelegramNotif, type TokenAmount, type TokenInfo, UNIVERSAL_ADAPTERS, 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 VesuModifyDelegationCallParams, type VesuModifyPositionCallParams, type VesuMultiplyCallParams, VesuPoolMetadata, VesuPools, VesuRebalance, type VesuRebalanceSettings, VesuRebalanceStrategies, Web3Number, YoLoVault, type YoloSettings, type YoloSpendingLevel, type YoloVaultSettings, type YoloVaultStatus, YoloVaultStrategies, ZkLend, assert, buildStrategyRegistry, createEkuboCLStrategy, createHyperLSTStrategy, createSenseiStrategy, createStrategy, createUniversalStrategy, createVesuRebalanceStrategy, createYoloVaultStrategy, detectCapabilities, extensionMap, getAPIUsingHeadlessBrowser, getAllStrategyMetadata, getAllStrategyTags, getContractDetails, getDefaultStoreConfig, getFilterMetadata, getLiveStrategies, getMainnetConfig, getNoRiskTags, getRiskColor, getRiskExplaination, getStrategiesByType, getStrategyTagDesciption, getStrategyTypeFromMetadata, getTrovesEndpoint, getVesuSingletonAddress, highlightTextWithLinks, type i257, isDualTokenStrategy, logger, toAmountsInfo, toBigInt };
2387
+ export { APYType, AUMTypes, AVNU_EXCHANGE, AVNU_MIDDLEWARE, type AccessControlInfo, AccessControlType, type AccountInfo, type AdapterLeafType, type AllAccountsStore, type AmountInfo, type AmountsInfo, type ApproveCallParams, AuditStatus, AutoCompounderSTRK, type AvnuSwapCallParams, AvnuWrapper, BaseAdapter, type BaseAdapterConfig, BaseStrategy, type CLVaultStrategySettings, CommonAdapter, type CommonAdapterConfig, ContractAddr, type DecreaseLeverParams, Deployer, type DualActionAmount, type DualTokenInfo, ERC20, 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, 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 ManageCall, MarginType, MyNumber, type NetAPYDetails, type NetAPYSplit, Network, PRICE_ROUTER, PasswordJsonCryptoUtil, type PositionAPY, type PositionInfo, Pragma, type PriceInfo, Pricer, 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, type SecurityMetadata, SenseiStrategies, SenseiVault, type SenseiVaultSettings, type SingleActionAmount, type SingleTokenInfo, type SourceCodeInfo, SourceCodeType, StandardMerkleTree, type StandardMerkleTreeData, Store, type StoreConfig, type StrategyAlert, type StrategyApyHistoryUIConfig, type StrategyCapabilities, type StrategyFilterMetadata, type StrategyInputMode, StrategyLiveStatus, type StrategyMetadata, type StrategyRegistryEntry, type StrategySettings, StrategyTag, StrategyType, type SupportedPosition, type Swap, type SwapInfo, TelegramGroupNotif, TelegramNotif, type TokenAmount, type TokenInfo, UNIVERSAL_ADAPTERS, 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 VesuModifyDelegationCallParams, type VesuModifyPositionCallParams, type VesuMultiplyCallParams, VesuPoolMetadata, VesuPools, VesuRebalance, type VesuRebalanceSettings, VesuRebalanceStrategies, Web3Number, YoLoVault, type YoloSettings, type YoloSpendingLevel, type YoloVaultSettings, type YoloVaultStatus, YoloVaultStrategies, ZkLend, assert, buildStrategyRegistry, createEkuboCLStrategy, createHyperLSTStrategy, createSenseiStrategy, createStrategy, createUniversalStrategy, createVesuRebalanceStrategy, createYoloVaultStrategy, detectCapabilities, extensionMap, getAPIUsingHeadlessBrowser, getAllStrategyMetadata, getAllStrategyTags, getContractDetails, getDefaultStoreConfig, getFilterMetadata, getLiveStrategies, getMainnetConfig, getNoRiskTags, getRiskColor, getRiskExplaination, getStrategiesByType, getStrategyTagDesciption, getStrategyTypeFromMetadata, getTrovesEndpoint, getVesuSingletonAddress, highlightTextWithLinks, type i257, isDualTokenStrategy, logger, toAmountsInfo, toBigInt };
package/dist/index.js CHANGED
@@ -46,6 +46,7 @@ __export(index_exports, {
46
46
  ERC20: () => ERC20,
47
47
  EkuboCLVault: () => EkuboCLVault,
48
48
  EkuboCLVaultStrategies: () => EkuboCLVaultStrategies,
49
+ EkuboPricer: () => EkuboPricer,
49
50
  EkuboQuoter: () => EkuboQuoter,
50
51
  FactoryStrategyType: () => FactoryStrategyType,
51
52
  FatalError: () => FatalError,
@@ -29483,7 +29484,6 @@ var vaultCommonProperties = {
29483
29484
  ]
29484
29485
  };
29485
29486
  var wbtc_parent = "wbtc-yolo";
29486
- var xstrk_parent = "xstrk-yolo";
29487
29487
  var yoloVaultsConfig = [
29488
29488
  {
29489
29489
  address: ContractAddr.from("0x018ccdff25a642e211f86ace35ba282ebdf342330319ead98cae37258bc9cce1"),
@@ -29495,54 +29495,54 @@ var yoloVaultsConfig = [
29495
29495
  priority: 100,
29496
29496
  ...vaultCommonProperties,
29497
29497
  parent_id: wbtc_parent
29498
- },
29499
- {
29500
- address: ContractAddr.from("0x3381380c6cca17c2a20e1167a362d5b939e392311cbcdf2016f9c7c7a23a801"),
29501
- mainToken: vesuPrimeUSDC,
29502
- secondaryToken: xWBTC,
29503
- startDate: "03-APR-2026",
29504
- expiryDate: "31-MAY-2026",
29505
- id: `vusdc-xwbct-yolo-31-may-2026`,
29506
- priority: 100,
29507
- ...vaultCommonProperties,
29508
- parent_id: wbtc_parent
29509
- },
29510
- {
29511
- address: ContractAddr.from("0x60c8466549a8e51eed0e8c38243fdb57d173c96cfdd4375b49ad1e338ff893"),
29512
- mainToken: vesuPrimeUSDC,
29513
- secondaryToken: xSTRK,
29514
- startDate: "03-APR-2026",
29515
- expiryDate: "31-MAR-2027",
29516
- id: `xstrk-yolo-31-mar-2027`,
29517
- priority: 50,
29518
- ...vaultCommonProperties,
29519
- spendingLevels: [
29520
- { minPrice: 0.07, maxPrice: 0.1, spendPercent: 50 },
29521
- { minPrice: 0.06, maxPrice: 0.07, spendPercent: 70 },
29522
- { minPrice: 0.04, maxPrice: 0.06, spendPercent: 100 },
29523
- { minPrice: 0.025, maxPrice: 0.04, spendPercent: 250 },
29524
- { maxPrice: 0.025, spendPercent: 500 }
29525
- ],
29526
- parent_id: xstrk_parent
29527
- },
29528
- {
29529
- address: ContractAddr.from("0x62499970196772c18ccf1da09910ece11d85d5df3e8f6d6e41b4d158fcb8e79"),
29530
- mainToken: vesuPrimeUSDC,
29531
- secondaryToken: xSTRK,
29532
- startDate: "03-APR-2026",
29533
- expiryDate: "30-JUN-2026",
29534
- id: `xstrk-yolo-30-jun-2026`,
29535
- priority: 50,
29536
- ...vaultCommonProperties,
29537
- spendingLevels: [
29538
- { minPrice: 0.07, maxPrice: 0.1, spendPercent: 50 },
29539
- { minPrice: 0.06, maxPrice: 0.07, spendPercent: 70 },
29540
- { minPrice: 0.04, maxPrice: 0.06, spendPercent: 100 },
29541
- { minPrice: 0.025, maxPrice: 0.04, spendPercent: 250 },
29542
- { maxPrice: 0.025, spendPercent: 500 }
29543
- ],
29544
- parent_id: xstrk_parent
29545
29498
  }
29499
+ // {
29500
+ // address: ContractAddr.from("0x3381380c6cca17c2a20e1167a362d5b939e392311cbcdf2016f9c7c7a23a801"),
29501
+ // mainToken: vesuPrimeUSDC,
29502
+ // secondaryToken: xWBTC,
29503
+ // startDate: "03-APR-2026",
29504
+ // expiryDate: "31-MAY-2026",
29505
+ // id: `vusdc-xwbct-yolo-31-may-2026`,
29506
+ // priority: 100,
29507
+ // ...vaultCommonProperties,
29508
+ // parent_id: wbtc_parent
29509
+ // },
29510
+ // {
29511
+ // address: ContractAddr.from("0x60c8466549a8e51eed0e8c38243fdb57d173c96cfdd4375b49ad1e338ff893"),
29512
+ // mainToken: vesuPrimeUSDC,
29513
+ // secondaryToken: xSTRK,
29514
+ // startDate: "03-APR-2026",
29515
+ // expiryDate: "31-MAR-2027",
29516
+ // id: `xstrk-yolo-31-mar-2027`,
29517
+ // priority: 50,
29518
+ // ...vaultCommonProperties,
29519
+ // spendingLevels: [
29520
+ // { minPrice: 0.07, maxPrice: 0.1, spendPercent: 50 },
29521
+ // { minPrice: 0.06, maxPrice: 0.07, spendPercent: 70 },
29522
+ // { minPrice: 0.04, maxPrice: 0.06, spendPercent: 100 },
29523
+ // { minPrice: 0.025, maxPrice: 0.04, spendPercent: 250 },
29524
+ // { maxPrice: 0.025, spendPercent: 500 },
29525
+ // ],
29526
+ // parent_id: xstrk_parent
29527
+ // },
29528
+ // {
29529
+ // address: ContractAddr.from("0x62499970196772c18ccf1da09910ece11d85d5df3e8f6d6e41b4d158fcb8e79"),
29530
+ // mainToken: vesuPrimeUSDC,
29531
+ // secondaryToken: xSTRK,
29532
+ // startDate: "03-APR-2026",
29533
+ // expiryDate: "30-JUN-2026",
29534
+ // id: `xstrk-yolo-30-jun-2026`,
29535
+ // priority: 50,
29536
+ // ...vaultCommonProperties,
29537
+ // spendingLevels: [
29538
+ // { minPrice: 0.07, maxPrice: 0.1, spendPercent: 50 },
29539
+ // { minPrice: 0.06, maxPrice: 0.07, spendPercent: 70 },
29540
+ // { minPrice: 0.04, maxPrice: 0.06, spendPercent: 100 },
29541
+ // { minPrice: 0.025, maxPrice: 0.04, spendPercent: 250 },
29542
+ // { maxPrice: 0.025, spendPercent: 500 },
29543
+ // ],
29544
+ // parent_id: xstrk_parent
29545
+ // }
29546
29546
  ];
29547
29547
  var yoloRiskFactors = [];
29548
29548
  var YoloVaultStrategies = yoloVaultsConfig.map((yoloConfig) => {
@@ -35797,6 +35797,7 @@ var deployer_default = Deployer;
35797
35797
  ERC20,
35798
35798
  EkuboCLVault,
35799
35799
  EkuboCLVaultStrategies,
35800
+ EkuboPricer,
35800
35801
  EkuboQuoter,
35801
35802
  FactoryStrategyType,
35802
35803
  FatalError,
package/dist/index.mjs CHANGED
@@ -29348,7 +29348,6 @@ var vaultCommonProperties = {
29348
29348
  ]
29349
29349
  };
29350
29350
  var wbtc_parent = "wbtc-yolo";
29351
- var xstrk_parent = "xstrk-yolo";
29352
29351
  var yoloVaultsConfig = [
29353
29352
  {
29354
29353
  address: ContractAddr.from("0x018ccdff25a642e211f86ace35ba282ebdf342330319ead98cae37258bc9cce1"),
@@ -29360,54 +29359,54 @@ var yoloVaultsConfig = [
29360
29359
  priority: 100,
29361
29360
  ...vaultCommonProperties,
29362
29361
  parent_id: wbtc_parent
29363
- },
29364
- {
29365
- address: ContractAddr.from("0x3381380c6cca17c2a20e1167a362d5b939e392311cbcdf2016f9c7c7a23a801"),
29366
- mainToken: vesuPrimeUSDC,
29367
- secondaryToken: xWBTC,
29368
- startDate: "03-APR-2026",
29369
- expiryDate: "31-MAY-2026",
29370
- id: `vusdc-xwbct-yolo-31-may-2026`,
29371
- priority: 100,
29372
- ...vaultCommonProperties,
29373
- parent_id: wbtc_parent
29374
- },
29375
- {
29376
- address: ContractAddr.from("0x60c8466549a8e51eed0e8c38243fdb57d173c96cfdd4375b49ad1e338ff893"),
29377
- mainToken: vesuPrimeUSDC,
29378
- secondaryToken: xSTRK,
29379
- startDate: "03-APR-2026",
29380
- expiryDate: "31-MAR-2027",
29381
- id: `xstrk-yolo-31-mar-2027`,
29382
- priority: 50,
29383
- ...vaultCommonProperties,
29384
- spendingLevels: [
29385
- { minPrice: 0.07, maxPrice: 0.1, spendPercent: 50 },
29386
- { minPrice: 0.06, maxPrice: 0.07, spendPercent: 70 },
29387
- { minPrice: 0.04, maxPrice: 0.06, spendPercent: 100 },
29388
- { minPrice: 0.025, maxPrice: 0.04, spendPercent: 250 },
29389
- { maxPrice: 0.025, spendPercent: 500 }
29390
- ],
29391
- parent_id: xstrk_parent
29392
- },
29393
- {
29394
- address: ContractAddr.from("0x62499970196772c18ccf1da09910ece11d85d5df3e8f6d6e41b4d158fcb8e79"),
29395
- mainToken: vesuPrimeUSDC,
29396
- secondaryToken: xSTRK,
29397
- startDate: "03-APR-2026",
29398
- expiryDate: "30-JUN-2026",
29399
- id: `xstrk-yolo-30-jun-2026`,
29400
- priority: 50,
29401
- ...vaultCommonProperties,
29402
- spendingLevels: [
29403
- { minPrice: 0.07, maxPrice: 0.1, spendPercent: 50 },
29404
- { minPrice: 0.06, maxPrice: 0.07, spendPercent: 70 },
29405
- { minPrice: 0.04, maxPrice: 0.06, spendPercent: 100 },
29406
- { minPrice: 0.025, maxPrice: 0.04, spendPercent: 250 },
29407
- { maxPrice: 0.025, spendPercent: 500 }
29408
- ],
29409
- parent_id: xstrk_parent
29410
29362
  }
29363
+ // {
29364
+ // address: ContractAddr.from("0x3381380c6cca17c2a20e1167a362d5b939e392311cbcdf2016f9c7c7a23a801"),
29365
+ // mainToken: vesuPrimeUSDC,
29366
+ // secondaryToken: xWBTC,
29367
+ // startDate: "03-APR-2026",
29368
+ // expiryDate: "31-MAY-2026",
29369
+ // id: `vusdc-xwbct-yolo-31-may-2026`,
29370
+ // priority: 100,
29371
+ // ...vaultCommonProperties,
29372
+ // parent_id: wbtc_parent
29373
+ // },
29374
+ // {
29375
+ // address: ContractAddr.from("0x60c8466549a8e51eed0e8c38243fdb57d173c96cfdd4375b49ad1e338ff893"),
29376
+ // mainToken: vesuPrimeUSDC,
29377
+ // secondaryToken: xSTRK,
29378
+ // startDate: "03-APR-2026",
29379
+ // expiryDate: "31-MAR-2027",
29380
+ // id: `xstrk-yolo-31-mar-2027`,
29381
+ // priority: 50,
29382
+ // ...vaultCommonProperties,
29383
+ // spendingLevels: [
29384
+ // { minPrice: 0.07, maxPrice: 0.1, spendPercent: 50 },
29385
+ // { minPrice: 0.06, maxPrice: 0.07, spendPercent: 70 },
29386
+ // { minPrice: 0.04, maxPrice: 0.06, spendPercent: 100 },
29387
+ // { minPrice: 0.025, maxPrice: 0.04, spendPercent: 250 },
29388
+ // { maxPrice: 0.025, spendPercent: 500 },
29389
+ // ],
29390
+ // parent_id: xstrk_parent
29391
+ // },
29392
+ // {
29393
+ // address: ContractAddr.from("0x62499970196772c18ccf1da09910ece11d85d5df3e8f6d6e41b4d158fcb8e79"),
29394
+ // mainToken: vesuPrimeUSDC,
29395
+ // secondaryToken: xSTRK,
29396
+ // startDate: "03-APR-2026",
29397
+ // expiryDate: "30-JUN-2026",
29398
+ // id: `xstrk-yolo-30-jun-2026`,
29399
+ // priority: 50,
29400
+ // ...vaultCommonProperties,
29401
+ // spendingLevels: [
29402
+ // { minPrice: 0.07, maxPrice: 0.1, spendPercent: 50 },
29403
+ // { minPrice: 0.06, maxPrice: 0.07, spendPercent: 70 },
29404
+ // { minPrice: 0.04, maxPrice: 0.06, spendPercent: 100 },
29405
+ // { minPrice: 0.025, maxPrice: 0.04, spendPercent: 250 },
29406
+ // { maxPrice: 0.025, spendPercent: 500 },
29407
+ // ],
29408
+ // parent_id: xstrk_parent
29409
+ // }
29411
29410
  ];
29412
29411
  var yoloRiskFactors = [];
29413
29412
  var YoloVaultStrategies = yoloVaultsConfig.map((yoloConfig) => {
@@ -35661,6 +35660,7 @@ export {
35661
35660
  ERC20,
35662
35661
  EkuboCLVault,
35663
35662
  EkuboCLVaultStrategies,
35663
+ EkuboPricer,
35664
35664
  EkuboQuoter,
35665
35665
  FactoryStrategyType,
35666
35666
  FatalError,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strkfarm/sdk",
3
- "version": "2.0.0-staging.55",
3
+ "version": "2.0.0-staging.57",
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",
@@ -6,4 +6,5 @@ export * from './erc20';
6
6
  export * from './avnu';
7
7
  export * from './ekubo-quoter';
8
8
  export * from './pricer-lst';
9
- export * from './lst-apr';
9
+ export * from './lst-apr';
10
+ export * from './ekubo-pricer'
@@ -922,53 +922,53 @@ const yoloVaultsConfig:YoloVaultStrategyConfig[] = [
922
922
  ...vaultCommonProperties,
923
923
  parent_id: wbtc_parent,
924
924
  },
925
- {
926
- address: ContractAddr.from("0x3381380c6cca17c2a20e1167a362d5b939e392311cbcdf2016f9c7c7a23a801"),
927
- mainToken: vesuPrimeUSDC,
928
- secondaryToken: xWBTC,
929
- startDate: "03-APR-2026",
930
- expiryDate: "31-MAY-2026",
931
- id: `vusdc-xwbct-yolo-31-may-2026`,
932
- priority: 100,
933
- ...vaultCommonProperties,
934
- parent_id: wbtc_parent
935
- },
936
- {
937
- address: ContractAddr.from("0x60c8466549a8e51eed0e8c38243fdb57d173c96cfdd4375b49ad1e338ff893"),
938
- mainToken: vesuPrimeUSDC,
939
- secondaryToken: xSTRK,
940
- startDate: "03-APR-2026",
941
- expiryDate: "31-MAR-2027",
942
- id: `xstrk-yolo-31-mar-2027`,
943
- priority: 50,
944
- ...vaultCommonProperties,
945
- spendingLevels: [
946
- { minPrice: 0.07, maxPrice: 0.1, spendPercent: 50 },
947
- { minPrice: 0.06, maxPrice: 0.07, spendPercent: 70 },
948
- { minPrice: 0.04, maxPrice: 0.06, spendPercent: 100 },
949
- { minPrice: 0.025, maxPrice: 0.04, spendPercent: 250 },
950
- { maxPrice: 0.025, spendPercent: 500 },
951
- ],
952
- parent_id: xstrk_parent
953
- },
954
- {
955
- address: ContractAddr.from("0x62499970196772c18ccf1da09910ece11d85d5df3e8f6d6e41b4d158fcb8e79"),
956
- mainToken: vesuPrimeUSDC,
957
- secondaryToken: xSTRK,
958
- startDate: "03-APR-2026",
959
- expiryDate: "30-JUN-2026",
960
- id: `xstrk-yolo-30-jun-2026`,
961
- priority: 50,
962
- ...vaultCommonProperties,
963
- spendingLevels: [
964
- { minPrice: 0.07, maxPrice: 0.1, spendPercent: 50 },
965
- { minPrice: 0.06, maxPrice: 0.07, spendPercent: 70 },
966
- { minPrice: 0.04, maxPrice: 0.06, spendPercent: 100 },
967
- { minPrice: 0.025, maxPrice: 0.04, spendPercent: 250 },
968
- { maxPrice: 0.025, spendPercent: 500 },
969
- ],
970
- parent_id: xstrk_parent
971
- }
925
+ // {
926
+ // address: ContractAddr.from("0x3381380c6cca17c2a20e1167a362d5b939e392311cbcdf2016f9c7c7a23a801"),
927
+ // mainToken: vesuPrimeUSDC,
928
+ // secondaryToken: xWBTC,
929
+ // startDate: "03-APR-2026",
930
+ // expiryDate: "31-MAY-2026",
931
+ // id: `vusdc-xwbct-yolo-31-may-2026`,
932
+ // priority: 100,
933
+ // ...vaultCommonProperties,
934
+ // parent_id: wbtc_parent
935
+ // },
936
+ // {
937
+ // address: ContractAddr.from("0x60c8466549a8e51eed0e8c38243fdb57d173c96cfdd4375b49ad1e338ff893"),
938
+ // mainToken: vesuPrimeUSDC,
939
+ // secondaryToken: xSTRK,
940
+ // startDate: "03-APR-2026",
941
+ // expiryDate: "31-MAR-2027",
942
+ // id: `xstrk-yolo-31-mar-2027`,
943
+ // priority: 50,
944
+ // ...vaultCommonProperties,
945
+ // spendingLevels: [
946
+ // { minPrice: 0.07, maxPrice: 0.1, spendPercent: 50 },
947
+ // { minPrice: 0.06, maxPrice: 0.07, spendPercent: 70 },
948
+ // { minPrice: 0.04, maxPrice: 0.06, spendPercent: 100 },
949
+ // { minPrice: 0.025, maxPrice: 0.04, spendPercent: 250 },
950
+ // { maxPrice: 0.025, spendPercent: 500 },
951
+ // ],
952
+ // parent_id: xstrk_parent
953
+ // },
954
+ // {
955
+ // address: ContractAddr.from("0x62499970196772c18ccf1da09910ece11d85d5df3e8f6d6e41b4d158fcb8e79"),
956
+ // mainToken: vesuPrimeUSDC,
957
+ // secondaryToken: xSTRK,
958
+ // startDate: "03-APR-2026",
959
+ // expiryDate: "30-JUN-2026",
960
+ // id: `xstrk-yolo-30-jun-2026`,
961
+ // priority: 50,
962
+ // ...vaultCommonProperties,
963
+ // spendingLevels: [
964
+ // { minPrice: 0.07, maxPrice: 0.1, spendPercent: 50 },
965
+ // { minPrice: 0.06, maxPrice: 0.07, spendPercent: 70 },
966
+ // { minPrice: 0.04, maxPrice: 0.06, spendPercent: 100 },
967
+ // { minPrice: 0.025, maxPrice: 0.04, spendPercent: 250 },
968
+ // { maxPrice: 0.025, spendPercent: 500 },
969
+ // ],
970
+ // parent_id: xstrk_parent
971
+ // }
972
972
  ]
973
973
 
974
974
  // Risk factors intentionally left unrated for this strategy for now.