@strkfarm/sdk 2.0.0-staging.12 → 2.0.0-staging.15

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.
@@ -90524,7 +90524,10 @@ spurious results.`);
90524
90524
  return StrategyTag3;
90525
90525
  })(StrategyTag || {});
90526
90526
  var VaultType = /* @__PURE__ */ ((VaultType2) => {
90527
- VaultType2["FARMING"] = "farming";
90527
+ VaultType2["LOOPING"] = "Looping";
90528
+ VaultType2["META_VAULT"] = "Meta Vault";
90529
+ VaultType2["DELTA_NEUTRAL"] = "Delta Neutral";
90530
+ VaultType2["AUTOMATED_LP"] = "Automated LP";
90528
90531
  return VaultType2;
90529
90532
  })(VaultType || {});
90530
90533
  var AuditStatus = /* @__PURE__ */ ((AuditStatus2) => {
@@ -98561,7 +98564,7 @@ spurious results.`);
98561
98564
  return {
98562
98565
  maxTVL: Web3Number.fromWei("0", depositToken.decimals),
98563
98566
  isPaused: false,
98564
- liveStatus: "Active" /* ACTIVE */,
98567
+ liveStatus: "Deprecated" /* DEPRECATED */,
98565
98568
  isAudited: true,
98566
98569
  isInstantWithdrawal: true,
98567
98570
  quoteToken: depositToken,
@@ -98576,8 +98579,8 @@ spurious results.`);
98576
98579
  launchBlock: 0,
98577
98580
  type: "ERC4626",
98578
98581
  vaultType: {
98579
- type: "farming" /* FARMING */,
98580
- description: "this is a yield farming vault"
98582
+ type: "Meta Vault" /* META_VAULT */,
98583
+ description: `Automatically diversify ${tokenSymbol} holdings into different Vesu pools while reducing risk and maximizing yield. Defi spring ${tokenSymbol} Rewards are auto-compounded as well.`
98581
98584
  },
98582
98585
  depositTokens: [
98583
98586
  Global.getDefaultTokens().find((t) => t.symbol === tokenSymbol)
@@ -98613,7 +98616,9 @@ spurious results.`);
98613
98616
  }
98614
98617
  };
98615
98618
  var VESU_REDEMPTION_INFO = {
98616
- instantWithdrawalVault: "Yes" /* YES */
98619
+ instantWithdrawalVault: "Yes" /* YES */,
98620
+ redemptionsInfo: [],
98621
+ alerts: []
98617
98622
  };
98618
98623
  var faqs = [
98619
98624
  {
@@ -105254,6 +105259,8 @@ spurious results.`);
105254
105259
  }
105255
105260
  ];
105256
105261
  }
105262
+ var vaultTypeDescription = "Automatically collects fees and rebalances positions on Ekubo to optimize yield";
105263
+ var vaultType = "Automated LP" /* AUTOMATED_LP */;
105257
105264
  var xSTRKSTRK = {
105258
105265
  id: "ekubo_cl_xstrkstrk",
105259
105266
  name: "Ekubo xSTRK/STRK",
@@ -105264,8 +105271,8 @@ spurious results.`);
105264
105271
  launchBlock: 1209881,
105265
105272
  type: "Other",
105266
105273
  vaultType: {
105267
- type: "farming" /* FARMING */,
105268
- description: "this is a yield farming vault"
105274
+ type: vaultType,
105275
+ description: vaultTypeDescription
105269
105276
  },
105270
105277
  // must be same order as poolKey token0 and token1
105271
105278
  depositTokens: [
@@ -105357,7 +105364,9 @@ spurious results.`);
105357
105364
  }
105358
105365
  },
105359
105366
  redemptionInfo: {
105360
- instantWithdrawalVault: "Yes" /* YES */
105367
+ instantWithdrawalVault: "Yes" /* YES */,
105368
+ redemptionsInfo: [],
105369
+ alerts: []
105361
105370
  }
105362
105371
  };
105363
105372
  var getLSTAlerts = () => [
@@ -105423,8 +105432,8 @@ spurious results.`);
105423
105432
  address: ContractAddr.from(params.address),
105424
105433
  launchBlock: params.launchBlock,
105425
105434
  vaultType: {
105426
- type: "farming" /* FARMING */,
105427
- description: "this is a yield farming vault"
105435
+ type: vaultType,
105436
+ description: vaultTypeDescription
105428
105437
  },
105429
105438
  depositTokens: [
105430
105439
  Global.getDefaultTokens().find(
@@ -105561,8 +105570,8 @@ spurious results.`);
105561
105570
  address: ContractAddr.from(address),
105562
105571
  launchBlock,
105563
105572
  vaultType: {
105564
- type: "farming" /* FARMING */,
105565
- description: "this is a yield farming vault"
105573
+ type: vaultType,
105574
+ description: vaultTypeDescription
105566
105575
  },
105567
105576
  depositTokens: [
105568
105577
  Global.getDefaultTokens().find(
@@ -115767,8 +115776,8 @@ spurious results.`);
115767
115776
  logo: "https://assets.troves.fi/integrations/unwraplabs/white.png"
115768
115777
  },
115769
115778
  vaultType: {
115770
- type: "farming" /* FARMING */,
115771
- description: "this is a yield farming vault"
115779
+ type: "Looping" /* LOOPING */,
115780
+ description: "Creates leveraged looping position on xSTRK by borrowing STRK to increase yield"
115772
115781
  },
115773
115782
  depositTokens: [
115774
115783
  Global.getDefaultTokens().find((t) => t.symbol === "STRK")
@@ -115830,7 +115839,9 @@ spurious results.`);
115830
115839
  }
115831
115840
  },
115832
115841
  redemptionInfo: {
115833
- instantWithdrawalVault: "Yes" /* YES */
115842
+ instantWithdrawalVault: "Yes" /* YES */,
115843
+ redemptionsInfo: [],
115844
+ alerts: []
115834
115845
  },
115835
115846
  points: [{
115836
115847
  multiplier: 4,
@@ -119223,11 +119234,15 @@ spurious results.`);
119223
119234
  };
119224
119235
  var EVERGREEN_REDEMPTION_INFO = {
119225
119236
  instantWithdrawalVault: "No" /* NO */,
119226
- expectedRedemptionTime: {
119227
- upto1M: "1-2hrs",
119228
- upto10M: "24hrs",
119229
- above10M: "2-3 Days"
119230
- }
119237
+ redemptionsInfo: [{
119238
+ title: "Usual time",
119239
+ description: "1-2 hours"
119240
+ }],
119241
+ alerts: [{
119242
+ type: "info",
119243
+ text: "In cases of low liquidity, high slippages, the redemptions can take longer time. Redemption times are estimates and may vary based on network conditions and liquidity requirements.",
119244
+ tab: "withdraw"
119245
+ }]
119231
119246
  };
119232
119247
  var createUniversalStrategy = (params) => ({
119233
119248
  id: `evergreen_${params.tokenSymbol.toLowerCase()}`,
@@ -119237,8 +119252,8 @@ spurious results.`);
119237
119252
  launchBlock: 0,
119238
119253
  type: "ERC4626",
119239
119254
  vaultType: {
119240
- type: "farming" /* FARMING */,
119241
- description: "this is a yield farming vault"
119255
+ type: "Meta Vault" /* META_VAULT */,
119256
+ description: "Automatically allocates funds to the best available yield source in the ecosystem"
119242
119257
  },
119243
119258
  depositTokens: [
119244
119259
  Global.getDefaultTokens().find((token) => token.symbol === params.tokenSymbol)
@@ -120306,11 +120321,15 @@ spurious results.`);
120306
120321
  };
120307
120322
  var HYPER_LST_REDEMPTION_INFO = {
120308
120323
  instantWithdrawalVault: "No" /* NO */,
120309
- expectedRedemptionTime: {
120310
- upto1M: "1-2hrs",
120311
- upto10M: "24hrs",
120312
- above10M: "2-3 Days"
120313
- }
120324
+ redemptionsInfo: [{
120325
+ title: "Usual time",
120326
+ description: "1-2 hours"
120327
+ }],
120328
+ alerts: [{
120329
+ type: "info",
120330
+ text: "In cases of low liquidity, high slippages, the redemptions can take longer time. Redemption times are estimates and may vary based on network conditions and liquidity requirements.",
120331
+ tab: "withdraw"
120332
+ }]
120314
120333
  };
120315
120334
  function getStrategySettings(lstSymbol, underlyingSymbol, addresses, isPreview = false) {
120316
120335
  return {
@@ -120321,8 +120340,8 @@ spurious results.`);
120321
120340
  launchBlock: 0,
120322
120341
  type: "Other",
120323
120342
  vaultType: {
120324
- type: "farming" /* FARMING */,
120325
- description: "this is a yield farming vault"
120343
+ type: "Looping" /* LOOPING */,
120344
+ description: `Creates leveraged looping position on ${lstSymbol} by borrowing ${underlyingSymbol} to increase yield`
120326
120345
  },
120327
120346
  depositTokens: [
120328
120347
  Global.getDefaultTokens().find(
@@ -3098,7 +3098,10 @@ var StrategyTag = /* @__PURE__ */ ((StrategyTag3) => {
3098
3098
  return StrategyTag3;
3099
3099
  })(StrategyTag || {});
3100
3100
  var VaultType = /* @__PURE__ */ ((VaultType2) => {
3101
- VaultType2["FARMING"] = "farming";
3101
+ VaultType2["LOOPING"] = "Looping";
3102
+ VaultType2["META_VAULT"] = "Meta Vault";
3103
+ VaultType2["DELTA_NEUTRAL"] = "Delta Neutral";
3104
+ VaultType2["AUTOMATED_LP"] = "Automated LP";
3102
3105
  return VaultType2;
3103
3106
  })(VaultType || {});
3104
3107
  var AuditStatus = /* @__PURE__ */ ((AuditStatus2) => {
@@ -11141,7 +11144,7 @@ var createVesuRebalanceSettings = (tokenSymbol) => {
11141
11144
  return {
11142
11145
  maxTVL: Web3Number.fromWei("0", depositToken.decimals),
11143
11146
  isPaused: false,
11144
- liveStatus: "Active" /* ACTIVE */,
11147
+ liveStatus: "Deprecated" /* DEPRECATED */,
11145
11148
  isAudited: true,
11146
11149
  isInstantWithdrawal: true,
11147
11150
  quoteToken: depositToken,
@@ -11156,8 +11159,8 @@ var createVesuRebalanceStrategy = (idSymbol, name, tokenSymbol, address) => ({
11156
11159
  launchBlock: 0,
11157
11160
  type: "ERC4626",
11158
11161
  vaultType: {
11159
- type: "farming" /* FARMING */,
11160
- description: "this is a yield farming vault"
11162
+ type: "Meta Vault" /* META_VAULT */,
11163
+ description: `Automatically diversify ${tokenSymbol} holdings into different Vesu pools while reducing risk and maximizing yield. Defi spring ${tokenSymbol} Rewards are auto-compounded as well.`
11161
11164
  },
11162
11165
  depositTokens: [
11163
11166
  Global.getDefaultTokens().find((t) => t.symbol === tokenSymbol)
@@ -11193,7 +11196,9 @@ var VESU_SECURITY = {
11193
11196
  }
11194
11197
  };
11195
11198
  var VESU_REDEMPTION_INFO = {
11196
- instantWithdrawalVault: "Yes" /* YES */
11199
+ instantWithdrawalVault: "Yes" /* YES */,
11200
+ redemptionsInfo: [],
11201
+ alerts: []
11197
11202
  };
11198
11203
  var faqs = [
11199
11204
  {
@@ -17845,6 +17850,8 @@ function getLSTFAQs(lstSymbol) {
17845
17850
  }
17846
17851
  ];
17847
17852
  }
17853
+ var vaultTypeDescription = "Automatically collects fees and rebalances positions on Ekubo to optimize yield";
17854
+ var vaultType = "Automated LP" /* AUTOMATED_LP */;
17848
17855
  var xSTRKSTRK = {
17849
17856
  id: "ekubo_cl_xstrkstrk",
17850
17857
  name: "Ekubo xSTRK/STRK",
@@ -17855,8 +17862,8 @@ var xSTRKSTRK = {
17855
17862
  launchBlock: 1209881,
17856
17863
  type: "Other",
17857
17864
  vaultType: {
17858
- type: "farming" /* FARMING */,
17859
- description: "this is a yield farming vault"
17865
+ type: vaultType,
17866
+ description: vaultTypeDescription
17860
17867
  },
17861
17868
  // must be same order as poolKey token0 and token1
17862
17869
  depositTokens: [
@@ -17948,7 +17955,9 @@ var xSTRKSTRK = {
17948
17955
  }
17949
17956
  },
17950
17957
  redemptionInfo: {
17951
- instantWithdrawalVault: "Yes" /* YES */
17958
+ instantWithdrawalVault: "Yes" /* YES */,
17959
+ redemptionsInfo: [],
17960
+ alerts: []
17952
17961
  }
17953
17962
  };
17954
17963
  var getLSTAlerts = () => [
@@ -18014,8 +18023,8 @@ var createLSTStrategy = (params) => ({
18014
18023
  address: ContractAddr.from(params.address),
18015
18024
  launchBlock: params.launchBlock,
18016
18025
  vaultType: {
18017
- type: "farming" /* FARMING */,
18018
- description: "this is a yield farming vault"
18026
+ type: vaultType,
18027
+ description: vaultTypeDescription
18019
18028
  },
18020
18029
  depositTokens: [
18021
18030
  Global.getDefaultTokens().find(
@@ -18152,8 +18161,8 @@ var createRe7Strategy = (id, name, address, launchBlock, depositToken0Symbol, de
18152
18161
  address: ContractAddr.from(address),
18153
18162
  launchBlock,
18154
18163
  vaultType: {
18155
- type: "farming" /* FARMING */,
18156
- description: "this is a yield farming vault"
18164
+ type: vaultType,
18165
+ description: vaultTypeDescription
18157
18166
  },
18158
18167
  depositTokens: [
18159
18168
  Global.getDefaultTokens().find(
@@ -28365,8 +28374,8 @@ var SenseiStrategies = [
28365
28374
  logo: "https://assets.troves.fi/integrations/unwraplabs/white.png"
28366
28375
  },
28367
28376
  vaultType: {
28368
- type: "farming" /* FARMING */,
28369
- description: "this is a yield farming vault"
28377
+ type: "Looping" /* LOOPING */,
28378
+ description: "Creates leveraged looping position on xSTRK by borrowing STRK to increase yield"
28370
28379
  },
28371
28380
  depositTokens: [
28372
28381
  Global.getDefaultTokens().find((t) => t.symbol === "STRK")
@@ -28428,7 +28437,9 @@ var SenseiStrategies = [
28428
28437
  }
28429
28438
  },
28430
28439
  redemptionInfo: {
28431
- instantWithdrawalVault: "Yes" /* YES */
28440
+ instantWithdrawalVault: "Yes" /* YES */,
28441
+ redemptionsInfo: [],
28442
+ alerts: []
28432
28443
  },
28433
28444
  points: [{
28434
28445
  multiplier: 4,
@@ -31825,11 +31836,15 @@ var EVERGREEN_SECURITY = {
31825
31836
  };
31826
31837
  var EVERGREEN_REDEMPTION_INFO = {
31827
31838
  instantWithdrawalVault: "No" /* NO */,
31828
- expectedRedemptionTime: {
31829
- upto1M: "1-2hrs",
31830
- upto10M: "24hrs",
31831
- above10M: "2-3 Days"
31832
- }
31839
+ redemptionsInfo: [{
31840
+ title: "Usual time",
31841
+ description: "1-2 hours"
31842
+ }],
31843
+ alerts: [{
31844
+ type: "info",
31845
+ text: "In cases of low liquidity, high slippages, the redemptions can take longer time. Redemption times are estimates and may vary based on network conditions and liquidity requirements.",
31846
+ tab: "withdraw"
31847
+ }]
31833
31848
  };
31834
31849
  var createUniversalStrategy = (params) => ({
31835
31850
  id: `evergreen_${params.tokenSymbol.toLowerCase()}`,
@@ -31839,8 +31854,8 @@ var createUniversalStrategy = (params) => ({
31839
31854
  launchBlock: 0,
31840
31855
  type: "ERC4626",
31841
31856
  vaultType: {
31842
- type: "farming" /* FARMING */,
31843
- description: "this is a yield farming vault"
31857
+ type: "Meta Vault" /* META_VAULT */,
31858
+ description: "Automatically allocates funds to the best available yield source in the ecosystem"
31844
31859
  },
31845
31860
  depositTokens: [
31846
31861
  Global.getDefaultTokens().find((token) => token.symbol === params.tokenSymbol)
@@ -32911,11 +32926,15 @@ var HYPER_LST_SECURITY = {
32911
32926
  };
32912
32927
  var HYPER_LST_REDEMPTION_INFO = {
32913
32928
  instantWithdrawalVault: "No" /* NO */,
32914
- expectedRedemptionTime: {
32915
- upto1M: "1-2hrs",
32916
- upto10M: "24hrs",
32917
- above10M: "2-3 Days"
32918
- }
32929
+ redemptionsInfo: [{
32930
+ title: "Usual time",
32931
+ description: "1-2 hours"
32932
+ }],
32933
+ alerts: [{
32934
+ type: "info",
32935
+ text: "In cases of low liquidity, high slippages, the redemptions can take longer time. Redemption times are estimates and may vary based on network conditions and liquidity requirements.",
32936
+ tab: "withdraw"
32937
+ }]
32919
32938
  };
32920
32939
  function getStrategySettings(lstSymbol, underlyingSymbol, addresses, isPreview = false) {
32921
32940
  return {
@@ -32926,8 +32945,8 @@ function getStrategySettings(lstSymbol, underlyingSymbol, addresses, isPreview =
32926
32945
  launchBlock: 0,
32927
32946
  type: "Other",
32928
32947
  vaultType: {
32929
- type: "farming" /* FARMING */,
32930
- description: "this is a yield farming vault"
32948
+ type: "Looping" /* LOOPING */,
32949
+ description: `Creates leveraged looping position on ${lstSymbol} by borrowing ${underlyingSymbol} to increase yield`
32931
32950
  },
32932
32951
  depositTokens: [
32933
32952
  Global.getDefaultTokens().find(
package/dist/index.d.ts CHANGED
@@ -130,7 +130,10 @@ declare enum StrategyTag {
130
130
  BTC = "BTC"
131
131
  }
132
132
  declare enum VaultType {
133
- FARMING = "farming"
133
+ LOOPING = "Looping",
134
+ META_VAULT = "Meta Vault",
135
+ DELTA_NEUTRAL = "Delta Neutral",
136
+ AUTOMATED_LP = "Automated LP"
134
137
  }
135
138
  declare enum AuditStatus {
136
139
  AUDITED = "Audited",
@@ -162,14 +165,13 @@ interface SecurityMetadata {
162
165
  sourceCode: SourceCodeInfo;
163
166
  accessControl: AccessControlInfo;
164
167
  }
165
- interface RedemptionExpectedTime {
166
- upto1M: string;
167
- upto10M: string;
168
- above10M: string;
169
- }
170
168
  interface RedemptionInfo {
171
169
  instantWithdrawalVault: InstantWithdrawalVault;
172
- expectedRedemptionTime?: RedemptionExpectedTime;
170
+ redemptionsInfo: {
171
+ title: string;
172
+ description: string;
173
+ }[];
174
+ alerts: StrategyAlert[];
173
175
  }
174
176
  declare enum FlowChartColors {
175
177
  Green = "purple",
@@ -2109,4 +2111,4 @@ declare class PasswordJsonCryptoUtil {
2109
2111
  decrypt(encryptedData: string, password: string): any;
2110
2112
  }
2111
2113
 
2112
- 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 IInvestmentFlow, ILending, type ILendingMetadata, type ILendingPosition, type IProtocol, type IStrategyMetadata, type IncreaseLeverParams, Initializable, InstantWithdrawalVault, LSTAPRService, 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 RedemptionExpectedTime, 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 StrategyCapabilities, type StrategyFilterMetadata, 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, 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, VesuPools, VesuRebalance, type VesuRebalanceSettings, VesuRebalanceStrategies, Web3Number, ZkLend, assert, buildStrategyRegistry, createEkuboCLStrategy, createHyperLSTStrategy, createSenseiStrategy, createStrategy, createUniversalStrategy, createVesuRebalanceStrategy, 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 };
2114
+ 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 IInvestmentFlow, ILending, type ILendingMetadata, type ILendingPosition, type IProtocol, type IStrategyMetadata, type IncreaseLeverParams, Initializable, InstantWithdrawalVault, LSTAPRService, 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 StrategyCapabilities, type StrategyFilterMetadata, 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, 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, VesuPools, VesuRebalance, type VesuRebalanceSettings, VesuRebalanceStrategies, Web3Number, ZkLend, assert, buildStrategyRegistry, createEkuboCLStrategy, createHyperLSTStrategy, createSenseiStrategy, createStrategy, createUniversalStrategy, createVesuRebalanceStrategy, 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
@@ -3133,7 +3133,10 @@ var StrategyTag = /* @__PURE__ */ ((StrategyTag3) => {
3133
3133
  return StrategyTag3;
3134
3134
  })(StrategyTag || {});
3135
3135
  var VaultType = /* @__PURE__ */ ((VaultType2) => {
3136
- VaultType2["FARMING"] = "farming";
3136
+ VaultType2["LOOPING"] = "Looping";
3137
+ VaultType2["META_VAULT"] = "Meta Vault";
3138
+ VaultType2["DELTA_NEUTRAL"] = "Delta Neutral";
3139
+ VaultType2["AUTOMATED_LP"] = "Automated LP";
3137
3140
  return VaultType2;
3138
3141
  })(VaultType || {});
3139
3142
  var AuditStatus = /* @__PURE__ */ ((AuditStatus2) => {
@@ -11176,7 +11179,7 @@ var createVesuRebalanceSettings = (tokenSymbol) => {
11176
11179
  return {
11177
11180
  maxTVL: Web3Number.fromWei("0", depositToken.decimals),
11178
11181
  isPaused: false,
11179
- liveStatus: "Active" /* ACTIVE */,
11182
+ liveStatus: "Deprecated" /* DEPRECATED */,
11180
11183
  isAudited: true,
11181
11184
  isInstantWithdrawal: true,
11182
11185
  quoteToken: depositToken,
@@ -11191,8 +11194,8 @@ var createVesuRebalanceStrategy = (idSymbol, name, tokenSymbol, address) => ({
11191
11194
  launchBlock: 0,
11192
11195
  type: "ERC4626",
11193
11196
  vaultType: {
11194
- type: "farming" /* FARMING */,
11195
- description: "this is a yield farming vault"
11197
+ type: "Meta Vault" /* META_VAULT */,
11198
+ description: `Automatically diversify ${tokenSymbol} holdings into different Vesu pools while reducing risk and maximizing yield. Defi spring ${tokenSymbol} Rewards are auto-compounded as well.`
11196
11199
  },
11197
11200
  depositTokens: [
11198
11201
  Global.getDefaultTokens().find((t) => t.symbol === tokenSymbol)
@@ -11228,7 +11231,9 @@ var VESU_SECURITY = {
11228
11231
  }
11229
11232
  };
11230
11233
  var VESU_REDEMPTION_INFO = {
11231
- instantWithdrawalVault: "Yes" /* YES */
11234
+ instantWithdrawalVault: "Yes" /* YES */,
11235
+ redemptionsInfo: [],
11236
+ alerts: []
11232
11237
  };
11233
11238
  var faqs = [
11234
11239
  {
@@ -17876,6 +17881,8 @@ function getLSTFAQs(lstSymbol) {
17876
17881
  }
17877
17882
  ];
17878
17883
  }
17884
+ var vaultTypeDescription = "Automatically collects fees and rebalances positions on Ekubo to optimize yield";
17885
+ var vaultType = "Automated LP" /* AUTOMATED_LP */;
17879
17886
  var xSTRKSTRK = {
17880
17887
  id: "ekubo_cl_xstrkstrk",
17881
17888
  name: "Ekubo xSTRK/STRK",
@@ -17886,8 +17893,8 @@ var xSTRKSTRK = {
17886
17893
  launchBlock: 1209881,
17887
17894
  type: "Other",
17888
17895
  vaultType: {
17889
- type: "farming" /* FARMING */,
17890
- description: "this is a yield farming vault"
17896
+ type: vaultType,
17897
+ description: vaultTypeDescription
17891
17898
  },
17892
17899
  // must be same order as poolKey token0 and token1
17893
17900
  depositTokens: [
@@ -17979,7 +17986,9 @@ var xSTRKSTRK = {
17979
17986
  }
17980
17987
  },
17981
17988
  redemptionInfo: {
17982
- instantWithdrawalVault: "Yes" /* YES */
17989
+ instantWithdrawalVault: "Yes" /* YES */,
17990
+ redemptionsInfo: [],
17991
+ alerts: []
17983
17992
  }
17984
17993
  };
17985
17994
  var getLSTAlerts = () => [
@@ -18045,8 +18054,8 @@ var createLSTStrategy = (params) => ({
18045
18054
  address: ContractAddr.from(params.address),
18046
18055
  launchBlock: params.launchBlock,
18047
18056
  vaultType: {
18048
- type: "farming" /* FARMING */,
18049
- description: "this is a yield farming vault"
18057
+ type: vaultType,
18058
+ description: vaultTypeDescription
18050
18059
  },
18051
18060
  depositTokens: [
18052
18061
  Global.getDefaultTokens().find(
@@ -18183,8 +18192,8 @@ var createRe7Strategy = (id, name, address, launchBlock, depositToken0Symbol, de
18183
18192
  address: ContractAddr.from(address),
18184
18193
  launchBlock,
18185
18194
  vaultType: {
18186
- type: "farming" /* FARMING */,
18187
- description: "this is a yield farming vault"
18195
+ type: vaultType,
18196
+ description: vaultTypeDescription
18188
18197
  },
18189
18198
  depositTokens: [
18190
18199
  Global.getDefaultTokens().find(
@@ -28497,8 +28506,8 @@ var SenseiStrategies = [
28497
28506
  logo: "https://assets.troves.fi/integrations/unwraplabs/white.png"
28498
28507
  },
28499
28508
  vaultType: {
28500
- type: "farming" /* FARMING */,
28501
- description: "this is a yield farming vault"
28509
+ type: "Looping" /* LOOPING */,
28510
+ description: "Creates leveraged looping position on xSTRK by borrowing STRK to increase yield"
28502
28511
  },
28503
28512
  depositTokens: [
28504
28513
  Global.getDefaultTokens().find((t) => t.symbol === "STRK")
@@ -28560,7 +28569,9 @@ var SenseiStrategies = [
28560
28569
  }
28561
28570
  },
28562
28571
  redemptionInfo: {
28563
- instantWithdrawalVault: "Yes" /* YES */
28572
+ instantWithdrawalVault: "Yes" /* YES */,
28573
+ redemptionsInfo: [],
28574
+ alerts: []
28564
28575
  },
28565
28576
  points: [{
28566
28577
  multiplier: 4,
@@ -31957,11 +31968,15 @@ var EVERGREEN_SECURITY = {
31957
31968
  };
31958
31969
  var EVERGREEN_REDEMPTION_INFO = {
31959
31970
  instantWithdrawalVault: "No" /* NO */,
31960
- expectedRedemptionTime: {
31961
- upto1M: "1-2hrs",
31962
- upto10M: "24hrs",
31963
- above10M: "2-3 Days"
31964
- }
31971
+ redemptionsInfo: [{
31972
+ title: "Usual time",
31973
+ description: "1-2 hours"
31974
+ }],
31975
+ alerts: [{
31976
+ type: "info",
31977
+ text: "In cases of low liquidity, high slippages, the redemptions can take longer time. Redemption times are estimates and may vary based on network conditions and liquidity requirements.",
31978
+ tab: "withdraw"
31979
+ }]
31965
31980
  };
31966
31981
  var createUniversalStrategy = (params) => ({
31967
31982
  id: `evergreen_${params.tokenSymbol.toLowerCase()}`,
@@ -31971,8 +31986,8 @@ var createUniversalStrategy = (params) => ({
31971
31986
  launchBlock: 0,
31972
31987
  type: "ERC4626",
31973
31988
  vaultType: {
31974
- type: "farming" /* FARMING */,
31975
- description: "this is a yield farming vault"
31989
+ type: "Meta Vault" /* META_VAULT */,
31990
+ description: "Automatically allocates funds to the best available yield source in the ecosystem"
31976
31991
  },
31977
31992
  depositTokens: [
31978
31993
  Global.getDefaultTokens().find((token) => token.symbol === params.tokenSymbol)
@@ -33043,11 +33058,15 @@ var HYPER_LST_SECURITY = {
33043
33058
  };
33044
33059
  var HYPER_LST_REDEMPTION_INFO = {
33045
33060
  instantWithdrawalVault: "No" /* NO */,
33046
- expectedRedemptionTime: {
33047
- upto1M: "1-2hrs",
33048
- upto10M: "24hrs",
33049
- above10M: "2-3 Days"
33050
- }
33061
+ redemptionsInfo: [{
33062
+ title: "Usual time",
33063
+ description: "1-2 hours"
33064
+ }],
33065
+ alerts: [{
33066
+ type: "info",
33067
+ text: "In cases of low liquidity, high slippages, the redemptions can take longer time. Redemption times are estimates and may vary based on network conditions and liquidity requirements.",
33068
+ tab: "withdraw"
33069
+ }]
33051
33070
  };
33052
33071
  function getStrategySettings(lstSymbol, underlyingSymbol, addresses, isPreview = false) {
33053
33072
  return {
@@ -33058,8 +33077,8 @@ function getStrategySettings(lstSymbol, underlyingSymbol, addresses, isPreview =
33058
33077
  launchBlock: 0,
33059
33078
  type: "Other",
33060
33079
  vaultType: {
33061
- type: "farming" /* FARMING */,
33062
- description: "this is a yield farming vault"
33080
+ type: "Looping" /* LOOPING */,
33081
+ description: `Creates leveraged looping position on ${lstSymbol} by borrowing ${underlyingSymbol} to increase yield`
33063
33082
  },
33064
33083
  depositTokens: [
33065
33084
  Global.getDefaultTokens().find(
package/dist/index.mjs CHANGED
@@ -3000,7 +3000,10 @@ var StrategyTag = /* @__PURE__ */ ((StrategyTag3) => {
3000
3000
  return StrategyTag3;
3001
3001
  })(StrategyTag || {});
3002
3002
  var VaultType = /* @__PURE__ */ ((VaultType2) => {
3003
- VaultType2["FARMING"] = "farming";
3003
+ VaultType2["LOOPING"] = "Looping";
3004
+ VaultType2["META_VAULT"] = "Meta Vault";
3005
+ VaultType2["DELTA_NEUTRAL"] = "Delta Neutral";
3006
+ VaultType2["AUTOMATED_LP"] = "Automated LP";
3004
3007
  return VaultType2;
3005
3008
  })(VaultType || {});
3006
3009
  var AuditStatus = /* @__PURE__ */ ((AuditStatus2) => {
@@ -11043,7 +11046,7 @@ var createVesuRebalanceSettings = (tokenSymbol) => {
11043
11046
  return {
11044
11047
  maxTVL: Web3Number.fromWei("0", depositToken.decimals),
11045
11048
  isPaused: false,
11046
- liveStatus: "Active" /* ACTIVE */,
11049
+ liveStatus: "Deprecated" /* DEPRECATED */,
11047
11050
  isAudited: true,
11048
11051
  isInstantWithdrawal: true,
11049
11052
  quoteToken: depositToken,
@@ -11058,8 +11061,8 @@ var createVesuRebalanceStrategy = (idSymbol, name, tokenSymbol, address) => ({
11058
11061
  launchBlock: 0,
11059
11062
  type: "ERC4626",
11060
11063
  vaultType: {
11061
- type: "farming" /* FARMING */,
11062
- description: "this is a yield farming vault"
11064
+ type: "Meta Vault" /* META_VAULT */,
11065
+ description: `Automatically diversify ${tokenSymbol} holdings into different Vesu pools while reducing risk and maximizing yield. Defi spring ${tokenSymbol} Rewards are auto-compounded as well.`
11063
11066
  },
11064
11067
  depositTokens: [
11065
11068
  Global.getDefaultTokens().find((t) => t.symbol === tokenSymbol)
@@ -11095,7 +11098,9 @@ var VESU_SECURITY = {
11095
11098
  }
11096
11099
  };
11097
11100
  var VESU_REDEMPTION_INFO = {
11098
- instantWithdrawalVault: "Yes" /* YES */
11101
+ instantWithdrawalVault: "Yes" /* YES */,
11102
+ redemptionsInfo: [],
11103
+ alerts: []
11099
11104
  };
11100
11105
  var faqs = [
11101
11106
  {
@@ -17747,6 +17752,8 @@ function getLSTFAQs(lstSymbol) {
17747
17752
  }
17748
17753
  ];
17749
17754
  }
17755
+ var vaultTypeDescription = "Automatically collects fees and rebalances positions on Ekubo to optimize yield";
17756
+ var vaultType = "Automated LP" /* AUTOMATED_LP */;
17750
17757
  var xSTRKSTRK = {
17751
17758
  id: "ekubo_cl_xstrkstrk",
17752
17759
  name: "Ekubo xSTRK/STRK",
@@ -17757,8 +17764,8 @@ var xSTRKSTRK = {
17757
17764
  launchBlock: 1209881,
17758
17765
  type: "Other",
17759
17766
  vaultType: {
17760
- type: "farming" /* FARMING */,
17761
- description: "this is a yield farming vault"
17767
+ type: vaultType,
17768
+ description: vaultTypeDescription
17762
17769
  },
17763
17770
  // must be same order as poolKey token0 and token1
17764
17771
  depositTokens: [
@@ -17850,7 +17857,9 @@ var xSTRKSTRK = {
17850
17857
  }
17851
17858
  },
17852
17859
  redemptionInfo: {
17853
- instantWithdrawalVault: "Yes" /* YES */
17860
+ instantWithdrawalVault: "Yes" /* YES */,
17861
+ redemptionsInfo: [],
17862
+ alerts: []
17854
17863
  }
17855
17864
  };
17856
17865
  var getLSTAlerts = () => [
@@ -17916,8 +17925,8 @@ var createLSTStrategy = (params) => ({
17916
17925
  address: ContractAddr.from(params.address),
17917
17926
  launchBlock: params.launchBlock,
17918
17927
  vaultType: {
17919
- type: "farming" /* FARMING */,
17920
- description: "this is a yield farming vault"
17928
+ type: vaultType,
17929
+ description: vaultTypeDescription
17921
17930
  },
17922
17931
  depositTokens: [
17923
17932
  Global.getDefaultTokens().find(
@@ -18054,8 +18063,8 @@ var createRe7Strategy = (id, name, address, launchBlock, depositToken0Symbol, de
18054
18063
  address: ContractAddr.from(address),
18055
18064
  launchBlock,
18056
18065
  vaultType: {
18057
- type: "farming" /* FARMING */,
18058
- description: "this is a yield farming vault"
18066
+ type: vaultType,
18067
+ description: vaultTypeDescription
18059
18068
  },
18060
18069
  depositTokens: [
18061
18070
  Global.getDefaultTokens().find(
@@ -28368,8 +28377,8 @@ var SenseiStrategies = [
28368
28377
  logo: "https://assets.troves.fi/integrations/unwraplabs/white.png"
28369
28378
  },
28370
28379
  vaultType: {
28371
- type: "farming" /* FARMING */,
28372
- description: "this is a yield farming vault"
28380
+ type: "Looping" /* LOOPING */,
28381
+ description: "Creates leveraged looping position on xSTRK by borrowing STRK to increase yield"
28373
28382
  },
28374
28383
  depositTokens: [
28375
28384
  Global.getDefaultTokens().find((t) => t.symbol === "STRK")
@@ -28431,7 +28440,9 @@ var SenseiStrategies = [
28431
28440
  }
28432
28441
  },
28433
28442
  redemptionInfo: {
28434
- instantWithdrawalVault: "Yes" /* YES */
28443
+ instantWithdrawalVault: "Yes" /* YES */,
28444
+ redemptionsInfo: [],
28445
+ alerts: []
28435
28446
  },
28436
28447
  points: [{
28437
28448
  multiplier: 4,
@@ -31828,11 +31839,15 @@ var EVERGREEN_SECURITY = {
31828
31839
  };
31829
31840
  var EVERGREEN_REDEMPTION_INFO = {
31830
31841
  instantWithdrawalVault: "No" /* NO */,
31831
- expectedRedemptionTime: {
31832
- upto1M: "1-2hrs",
31833
- upto10M: "24hrs",
31834
- above10M: "2-3 Days"
31835
- }
31842
+ redemptionsInfo: [{
31843
+ title: "Usual time",
31844
+ description: "1-2 hours"
31845
+ }],
31846
+ alerts: [{
31847
+ type: "info",
31848
+ text: "In cases of low liquidity, high slippages, the redemptions can take longer time. Redemption times are estimates and may vary based on network conditions and liquidity requirements.",
31849
+ tab: "withdraw"
31850
+ }]
31836
31851
  };
31837
31852
  var createUniversalStrategy = (params) => ({
31838
31853
  id: `evergreen_${params.tokenSymbol.toLowerCase()}`,
@@ -31842,8 +31857,8 @@ var createUniversalStrategy = (params) => ({
31842
31857
  launchBlock: 0,
31843
31858
  type: "ERC4626",
31844
31859
  vaultType: {
31845
- type: "farming" /* FARMING */,
31846
- description: "this is a yield farming vault"
31860
+ type: "Meta Vault" /* META_VAULT */,
31861
+ description: "Automatically allocates funds to the best available yield source in the ecosystem"
31847
31862
  },
31848
31863
  depositTokens: [
31849
31864
  Global.getDefaultTokens().find((token) => token.symbol === params.tokenSymbol)
@@ -32914,11 +32929,15 @@ var HYPER_LST_SECURITY = {
32914
32929
  };
32915
32930
  var HYPER_LST_REDEMPTION_INFO = {
32916
32931
  instantWithdrawalVault: "No" /* NO */,
32917
- expectedRedemptionTime: {
32918
- upto1M: "1-2hrs",
32919
- upto10M: "24hrs",
32920
- above10M: "2-3 Days"
32921
- }
32932
+ redemptionsInfo: [{
32933
+ title: "Usual time",
32934
+ description: "1-2 hours"
32935
+ }],
32936
+ alerts: [{
32937
+ type: "info",
32938
+ text: "In cases of low liquidity, high slippages, the redemptions can take longer time. Redemption times are estimates and may vary based on network conditions and liquidity requirements.",
32939
+ tab: "withdraw"
32940
+ }]
32922
32941
  };
32923
32942
  function getStrategySettings(lstSymbol, underlyingSymbol, addresses, isPreview = false) {
32924
32943
  return {
@@ -32929,8 +32948,8 @@ function getStrategySettings(lstSymbol, underlyingSymbol, addresses, isPreview =
32929
32948
  launchBlock: 0,
32930
32949
  type: "Other",
32931
32950
  vaultType: {
32932
- type: "farming" /* FARMING */,
32933
- description: "this is a yield farming vault"
32951
+ type: "Looping" /* LOOPING */,
32952
+ description: `Creates leveraged looping position on ${lstSymbol} by borrowing ${underlyingSymbol} to increase yield`
32934
32953
  },
32935
32954
  depositTokens: [
32936
32955
  Global.getDefaultTokens().find(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strkfarm/sdk",
3
- "version": "2.0.0-staging.12",
3
+ "version": "2.0.0-staging.15",
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",
@@ -63,7 +63,10 @@ export enum StrategyTag {
63
63
  }
64
64
 
65
65
  export enum VaultType {
66
- FARMING = "farming"
66
+ LOOPING = "Looping",
67
+ META_VAULT = "Meta Vault",
68
+ DELTA_NEUTRAL = "Delta Neutral",
69
+ AUTOMATED_LP = "Automated LP",
67
70
  }
68
71
 
69
72
  // Security metadata enums
@@ -105,16 +108,13 @@ export interface SecurityMetadata {
105
108
  accessControl: AccessControlInfo;
106
109
  }
107
110
 
108
- // Redemption metadata interfaces
109
- export interface RedemptionExpectedTime {
110
- upto1M: string;
111
- upto10M: string;
112
- above10M: string;
113
- }
114
-
115
111
  export interface RedemptionInfo {
116
112
  instantWithdrawalVault: InstantWithdrawalVault;
117
- expectedRedemptionTime?: RedemptionExpectedTime;
113
+ redemptionsInfo: {
114
+ title: string; // e.g. Upto $1M
115
+ description: string; // e.g. "1-2 hours"
116
+ }[],
117
+ alerts: StrategyAlert[];
118
118
  }
119
119
 
120
120
  export enum FlowChartColors {
@@ -2310,6 +2310,9 @@ function getLSTFAQs(lstSymbol: string): FAQ[] {
2310
2310
  ]
2311
2311
  }
2312
2312
 
2313
+ const vaultTypeDescription = 'Automatically collects fees and rebalances positions on Ekubo to optimize yield';
2314
+ const vaultType = VaultType.AUTOMATED_LP;
2315
+
2313
2316
  const xSTRKSTRK: IStrategyMetadata<CLVaultStrategySettings> = {
2314
2317
  id: "ekubo_cl_xstrkstrk",
2315
2318
  name: "Ekubo xSTRK/STRK",
@@ -2320,8 +2323,8 @@ const xSTRKSTRK: IStrategyMetadata<CLVaultStrategySettings> = {
2320
2323
  launchBlock: 1209881,
2321
2324
  type: "Other",
2322
2325
  vaultType: {
2323
- type: VaultType.FARMING,
2324
- description: "this is a yield farming vault"
2326
+ type: vaultType,
2327
+ description: vaultTypeDescription
2325
2328
  },
2326
2329
  // must be same order as poolKey token0 and token1
2327
2330
  depositTokens: [
@@ -2425,6 +2428,8 @@ const xSTRKSTRK: IStrategyMetadata<CLVaultStrategySettings> = {
2425
2428
  },
2426
2429
  redemptionInfo: {
2427
2430
  instantWithdrawalVault: InstantWithdrawalVault.YES,
2431
+ redemptionsInfo: [],
2432
+ alerts: [],
2428
2433
  },
2429
2434
  };
2430
2435
 
@@ -2513,8 +2518,8 @@ const createLSTStrategy = (params: {
2513
2518
  address: ContractAddr.from(params.address),
2514
2519
  launchBlock: params.launchBlock,
2515
2520
  vaultType: {
2516
- type: VaultType.FARMING,
2517
- description: "this is a yield farming vault"
2521
+ type: vaultType,
2522
+ description: vaultTypeDescription
2518
2523
  },
2519
2524
  depositTokens: [
2520
2525
  Global.getDefaultTokens().find(
@@ -2693,8 +2698,8 @@ const createRe7Strategy = (
2693
2698
  address: ContractAddr.from(address),
2694
2699
  launchBlock,
2695
2700
  vaultType: {
2696
- type: VaultType.FARMING,
2697
- description: "this is a yield farming vault"
2701
+ type: vaultType,
2702
+ description: vaultTypeDescription
2698
2703
  },
2699
2704
  depositTokens: [
2700
2705
  Global.getDefaultTokens().find(
@@ -579,8 +579,8 @@ export const SenseiStrategies: IStrategyMetadata<SenseiVaultSettings>[] =
579
579
  logo: "https://assets.troves.fi/integrations/unwraplabs/white.png"
580
580
  },
581
581
  vaultType: {
582
- type: VaultType.FARMING,
583
- description: "this is a yield farming vault"
582
+ type: VaultType.LOOPING,
583
+ description: "Creates leveraged looping position on xSTRK by borrowing STRK to increase yield"
584
584
  },
585
585
  depositTokens: [
586
586
  Global.getDefaultTokens().find((t) => t.symbol === "STRK")!
@@ -643,6 +643,8 @@ export const SenseiStrategies: IStrategyMetadata<SenseiVaultSettings>[] =
643
643
  },
644
644
  redemptionInfo: {
645
645
  instantWithdrawalVault: InstantWithdrawalVault.YES,
646
+ redemptionsInfo: [],
647
+ alerts: [],
646
648
  },
647
649
  points: [{
648
650
  multiplier: 4,
@@ -1,4 +1,4 @@
1
- import { FAQ, getNoRiskTags, highlightTextWithLinks, IConfig, IStrategyMetadata, Protocols, RiskFactor, RiskType, StrategyTag, TokenInfo, AuditStatus, SourceCodeType, AccessControlType, InstantWithdrawalVault, StrategyLiveStatus, StrategySettings, VaultType } from "@/interfaces";
1
+ import { FAQ, getNoRiskTags, highlightTextWithLinks, IConfig, IStrategyMetadata, Protocols, RiskFactor, RiskType, StrategyTag, TokenInfo, AuditStatus, SourceCodeType, AccessControlType, InstantWithdrawalVault, StrategyLiveStatus, StrategySettings, VaultType, RedemptionInfo } from "@/interfaces";
2
2
  import { AUMTypes, getContractDetails, UNIVERSAL_ADAPTERS, UNIVERSAL_MANAGE_IDS, UniversalManageCall, UniversalStrategy, UniversalStrategySettings } from "./universal-strategy";
3
3
  import { PricerBase } from "@/modules/pricerBase";
4
4
  import { ContractAddr, Web3Number } from "@/dataTypes";
@@ -1246,13 +1246,17 @@ const HYPER_LST_SECURITY = {
1246
1246
  }
1247
1247
  };
1248
1248
 
1249
- const HYPER_LST_REDEMPTION_INFO = {
1249
+ const HYPER_LST_REDEMPTION_INFO: RedemptionInfo = {
1250
1250
  instantWithdrawalVault: InstantWithdrawalVault.NO,
1251
- expectedRedemptionTime: {
1252
- upto1M: "1-2hrs",
1253
- upto10M: "24hrs",
1254
- above10M: "2-3 Days"
1255
- }
1251
+ redemptionsInfo: [{
1252
+ title: "Usual time",
1253
+ description: "1-2 hours"
1254
+ }],
1255
+ alerts: [{
1256
+ type: 'info',
1257
+ text: 'In cases of low liquidity, high slippages, the redemptions can take longer time. Redemption times are estimates and may vary based on network conditions and liquidity requirements.',
1258
+ tab: 'withdraw'
1259
+ }]
1256
1260
  };
1257
1261
 
1258
1262
  function getStrategySettings(
@@ -1269,8 +1273,8 @@ function getStrategySettings(
1269
1273
  launchBlock: 0,
1270
1274
  type: "Other",
1271
1275
  vaultType: {
1272
- type: VaultType.FARMING,
1273
- description: "this is a yield farming vault"
1276
+ type: VaultType.LOOPING,
1277
+ description: `Creates leveraged looping position on ${lstSymbol} by borrowing ${underlyingSymbol} to increase yield`
1274
1278
  },
1275
1279
  depositTokens: [
1276
1280
  Global.getDefaultTokens().find(
@@ -1,7 +1,7 @@
1
1
  import { ContractAddr, Web3Number } from "@/dataTypes";
2
2
  import { BaseStrategy, SingleActionAmount, SingleTokenInfo } from "./base-strategy";
3
3
  import { PricerBase } from "@/modules/pricerBase";
4
- import { FAQ, getNoRiskTags, IConfig, IStrategyMetadata, Protocols, RiskFactor, RiskType, StrategyTag, VaultPosition, AuditStatus, SourceCodeType, AccessControlType, InstantWithdrawalVault, StrategyLiveStatus, StrategySettings, VaultType } from "@/interfaces";
4
+ import { FAQ, getNoRiskTags, IConfig, IStrategyMetadata, Protocols, RiskFactor, RiskType, StrategyTag, VaultPosition, AuditStatus, SourceCodeType, AccessControlType, InstantWithdrawalVault, StrategyLiveStatus, StrategySettings, VaultType, RedemptionInfo } from "@/interfaces";
5
5
  import { BlockIdentifier, Call, CallData, Contract, num, uint256 } from "starknet";
6
6
  import { VesuRebalanceSettings } from "./vesu-rebalance";
7
7
  import { assert, LeafData, logger, StandardMerkleTree } from "@/utils";
@@ -1285,13 +1285,17 @@ const EVERGREEN_SECURITY = {
1285
1285
  },
1286
1286
  };
1287
1287
 
1288
- const EVERGREEN_REDEMPTION_INFO = {
1288
+ const EVERGREEN_REDEMPTION_INFO: RedemptionInfo = {
1289
1289
  instantWithdrawalVault: InstantWithdrawalVault.NO,
1290
- expectedRedemptionTime: {
1291
- upto1M: "1-2hrs",
1292
- upto10M: "24hrs",
1293
- above10M: "2-3 Days",
1294
- },
1290
+ redemptionsInfo: [{
1291
+ title: "Usual time",
1292
+ description: "1-2 hours"
1293
+ }],
1294
+ alerts: [{
1295
+ type: 'info',
1296
+ text: 'In cases of low liquidity, high slippages, the redemptions can take longer time. Redemption times are estimates and may vary based on network conditions and liquidity requirements.',
1297
+ tab: 'withdraw'
1298
+ }]
1295
1299
  };
1296
1300
 
1297
1301
  // Helper to create a Universal strategy
@@ -1312,8 +1316,8 @@ const createUniversalStrategy = (params: {
1312
1316
  launchBlock: 0,
1313
1317
  type: "ERC4626" as const,
1314
1318
  vaultType: {
1315
- type: VaultType.FARMING,
1316
- description: "this is a yield farming vault"
1319
+ type: VaultType.META_VAULT,
1320
+ description: "Automatically allocates funds to the best available yield source in the ecosystem"
1317
1321
  },
1318
1322
  depositTokens: [
1319
1323
  Global.getDefaultTokens().find((token) => token.symbol === params.tokenSymbol)!
@@ -1033,7 +1033,7 @@ const createVesuRebalanceSettings = (tokenSymbol: string): StrategySettings => {
1033
1033
  return {
1034
1034
  maxTVL: Web3Number.fromWei("0", depositToken.decimals),
1035
1035
  isPaused: false,
1036
- liveStatus: StrategyLiveStatus.ACTIVE,
1036
+ liveStatus: StrategyLiveStatus.DEPRECATED,
1037
1037
  isAudited: true,
1038
1038
  isInstantWithdrawal: true,
1039
1039
  quoteToken: depositToken,
@@ -1055,8 +1055,8 @@ const createVesuRebalanceStrategy = (
1055
1055
  launchBlock: 0,
1056
1056
  type: "ERC4626" as const,
1057
1057
  vaultType: {
1058
- type: VaultType.FARMING,
1059
- description: "this is a yield farming vault"
1058
+ type: VaultType.META_VAULT,
1059
+ description: `Automatically diversify ${tokenSymbol} holdings into different Vesu pools while reducing risk and maximizing yield. Defi spring ${tokenSymbol} Rewards are auto-compounded as well.`
1060
1060
  },
1061
1061
  depositTokens: [
1062
1062
  Global.getDefaultTokens().find((t) => t.symbol === tokenSymbol)!
@@ -1096,6 +1096,8 @@ const VESU_SECURITY = {
1096
1096
 
1097
1097
  const VESU_REDEMPTION_INFO = {
1098
1098
  instantWithdrawalVault: InstantWithdrawalVault.YES,
1099
+ redemptionsInfo: [],
1100
+ alerts: [],
1099
1101
  };
1100
1102
 
1101
1103
  const faqs: FAQ[] = [