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

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.
@@ -98601,7 +98601,9 @@ spurious results.`);
98601
98601
  investmentSteps: [],
98602
98602
  tags: [],
98603
98603
  security: VESU_SECURITY,
98604
- redemptionInfo: VESU_REDEMPTION_INFO
98604
+ redemptionInfo: VESU_REDEMPTION_INFO,
98605
+ usualTimeToEarnings: null,
98606
+ usualTimeToEarningsDescription: null
98605
98607
  });
98606
98608
  var VESU_SECURITY = {
98607
98609
  auditStatus: "Audited" /* AUDITED */,
@@ -105367,7 +105369,9 @@ spurious results.`);
105367
105369
  instantWithdrawalVault: "Yes" /* YES */,
105368
105370
  redemptionsInfo: [],
105369
105371
  alerts: []
105370
- }
105372
+ },
105373
+ usualTimeToEarnings: null,
105374
+ usualTimeToEarningsDescription: null
105371
105375
  };
105372
105376
  var getLSTAlerts = () => [
105373
105377
  {
@@ -115843,6 +115847,8 @@ spurious results.`);
115843
115847
  redemptionsInfo: [],
115844
115848
  alerts: []
115845
115849
  },
115850
+ usualTimeToEarnings: "2 weeks",
115851
+ usualTimeToEarningsDescription: "Strategy returns depend on LST price on DEXes. Even though the true price of LST on Endur increases continuously, the DEX price may lag sometimes, and historically is seen to rebase at least once every 2 hours. This is when you realise your earnings.",
115846
115852
  points: [{
115847
115853
  multiplier: 4,
115848
115854
  logo: "https://endur.fi/favicon.ico",
@@ -119235,7 +119241,7 @@ spurious results.`);
119235
119241
  var EVERGREEN_REDEMPTION_INFO = {
119236
119242
  instantWithdrawalVault: "No" /* NO */,
119237
119243
  redemptionsInfo: [{
119238
- title: "Usual time",
119244
+ title: "Typical Duration",
119239
119245
  description: "1-2 hours"
119240
119246
  }],
119241
119247
  alerts: [{
@@ -119278,7 +119284,9 @@ spurious results.`);
119278
119284
  investmentSteps,
119279
119285
  tags: params.tags,
119280
119286
  security: EVERGREEN_SECURITY,
119281
- redemptionInfo: EVERGREEN_REDEMPTION_INFO
119287
+ redemptionInfo: EVERGREEN_REDEMPTION_INFO,
119288
+ usualTimeToEarnings: null,
119289
+ usualTimeToEarningsDescription: null
119282
119290
  });
119283
119291
  var UniversalStrategies = [
119284
119292
  createUniversalStrategy({
@@ -120322,7 +120330,7 @@ spurious results.`);
120322
120330
  var HYPER_LST_REDEMPTION_INFO = {
120323
120331
  instantWithdrawalVault: "No" /* NO */,
120324
120332
  redemptionsInfo: [{
120325
- title: "Usual time",
120333
+ title: "Typical Duration",
120326
120334
  description: "1-2 hours"
120327
120335
  }],
120328
120336
  alerts: [{
@@ -120377,6 +120385,8 @@ spurious results.`);
120377
120385
  tags: lstSymbol.includes("BTC") ? ["BTC" /* BTC */, "Maxx" /* LEVERED */] : ["Maxx" /* LEVERED */],
120378
120386
  security: HYPER_LST_SECURITY,
120379
120387
  redemptionInfo: HYPER_LST_REDEMPTION_INFO,
120388
+ usualTimeToEarnings: "2 weeks",
120389
+ usualTimeToEarningsDescription: "Strategy returns depend on LST price on DEXes. Even though the true price of LST on Endur increases continuously, the DEX price may lag sometimes, and historically is seen to rebase at least once every 2 hours. This is when you realise your earnings.",
120380
120390
  points: [{
120381
120391
  multiplier: 4,
120382
120392
  logo: "https://endur.fi/favicon.ico",
@@ -11181,7 +11181,9 @@ var createVesuRebalanceStrategy = (idSymbol, name, tokenSymbol, address) => ({
11181
11181
  investmentSteps: [],
11182
11182
  tags: [],
11183
11183
  security: VESU_SECURITY,
11184
- redemptionInfo: VESU_REDEMPTION_INFO
11184
+ redemptionInfo: VESU_REDEMPTION_INFO,
11185
+ usualTimeToEarnings: null,
11186
+ usualTimeToEarningsDescription: null
11185
11187
  });
11186
11188
  var VESU_SECURITY = {
11187
11189
  auditStatus: "Audited" /* AUDITED */,
@@ -17958,7 +17960,9 @@ var xSTRKSTRK = {
17958
17960
  instantWithdrawalVault: "Yes" /* YES */,
17959
17961
  redemptionsInfo: [],
17960
17962
  alerts: []
17961
- }
17963
+ },
17964
+ usualTimeToEarnings: null,
17965
+ usualTimeToEarningsDescription: null
17962
17966
  };
17963
17967
  var getLSTAlerts = () => [
17964
17968
  {
@@ -28441,6 +28445,8 @@ var SenseiStrategies = [
28441
28445
  redemptionsInfo: [],
28442
28446
  alerts: []
28443
28447
  },
28448
+ usualTimeToEarnings: "2 weeks",
28449
+ usualTimeToEarningsDescription: "Strategy returns depend on LST price on DEXes. Even though the true price of LST on Endur increases continuously, the DEX price may lag sometimes, and historically is seen to rebase at least once every 2 hours. This is when you realise your earnings.",
28444
28450
  points: [{
28445
28451
  multiplier: 4,
28446
28452
  logo: "https://endur.fi/favicon.ico",
@@ -31837,7 +31843,7 @@ var EVERGREEN_SECURITY = {
31837
31843
  var EVERGREEN_REDEMPTION_INFO = {
31838
31844
  instantWithdrawalVault: "No" /* NO */,
31839
31845
  redemptionsInfo: [{
31840
- title: "Usual time",
31846
+ title: "Typical Duration",
31841
31847
  description: "1-2 hours"
31842
31848
  }],
31843
31849
  alerts: [{
@@ -31880,7 +31886,9 @@ var createUniversalStrategy = (params) => ({
31880
31886
  investmentSteps,
31881
31887
  tags: params.tags,
31882
31888
  security: EVERGREEN_SECURITY,
31883
- redemptionInfo: EVERGREEN_REDEMPTION_INFO
31889
+ redemptionInfo: EVERGREEN_REDEMPTION_INFO,
31890
+ usualTimeToEarnings: null,
31891
+ usualTimeToEarningsDescription: null
31884
31892
  });
31885
31893
  var UniversalStrategies = [
31886
31894
  createUniversalStrategy({
@@ -32927,7 +32935,7 @@ var HYPER_LST_SECURITY = {
32927
32935
  var HYPER_LST_REDEMPTION_INFO = {
32928
32936
  instantWithdrawalVault: "No" /* NO */,
32929
32937
  redemptionsInfo: [{
32930
- title: "Usual time",
32938
+ title: "Typical Duration",
32931
32939
  description: "1-2 hours"
32932
32940
  }],
32933
32941
  alerts: [{
@@ -32982,6 +32990,8 @@ function getStrategySettings(lstSymbol, underlyingSymbol, addresses, isPreview =
32982
32990
  tags: lstSymbol.includes("BTC") ? ["BTC" /* BTC */, "Maxx" /* LEVERED */] : ["Maxx" /* LEVERED */],
32983
32991
  security: HYPER_LST_SECURITY,
32984
32992
  redemptionInfo: HYPER_LST_REDEMPTION_INFO,
32993
+ usualTimeToEarnings: "2 weeks",
32994
+ usualTimeToEarningsDescription: "Strategy returns depend on LST price on DEXes. Even though the true price of LST on Endur increases continuously, the DEX price may lag sometimes, and historically is seen to rebase at least once every 2 hours. This is when you realise your earnings.",
32985
32995
  points: [{
32986
32996
  multiplier: 4,
32987
32997
  logo: "https://endur.fi/favicon.ico",
package/dist/index.d.ts CHANGED
@@ -259,6 +259,8 @@ interface IStrategyMetadata<T> {
259
259
  tags?: StrategyTag[];
260
260
  security: SecurityMetadata;
261
261
  redemptionInfo: RedemptionInfo;
262
+ usualTimeToEarnings: null | string;
263
+ usualTimeToEarningsDescription: null | string;
262
264
  settings?: StrategySettings;
263
265
  actions?: Array<{
264
266
  name?: string;
package/dist/index.js CHANGED
@@ -11216,7 +11216,9 @@ var createVesuRebalanceStrategy = (idSymbol, name, tokenSymbol, address) => ({
11216
11216
  investmentSteps: [],
11217
11217
  tags: [],
11218
11218
  security: VESU_SECURITY,
11219
- redemptionInfo: VESU_REDEMPTION_INFO
11219
+ redemptionInfo: VESU_REDEMPTION_INFO,
11220
+ usualTimeToEarnings: null,
11221
+ usualTimeToEarningsDescription: null
11220
11222
  });
11221
11223
  var VESU_SECURITY = {
11222
11224
  auditStatus: "Audited" /* AUDITED */,
@@ -17989,7 +17991,9 @@ var xSTRKSTRK = {
17989
17991
  instantWithdrawalVault: "Yes" /* YES */,
17990
17992
  redemptionsInfo: [],
17991
17993
  alerts: []
17992
- }
17994
+ },
17995
+ usualTimeToEarnings: null,
17996
+ usualTimeToEarningsDescription: null
17993
17997
  };
17994
17998
  var getLSTAlerts = () => [
17995
17999
  {
@@ -28573,6 +28577,8 @@ var SenseiStrategies = [
28573
28577
  redemptionsInfo: [],
28574
28578
  alerts: []
28575
28579
  },
28580
+ usualTimeToEarnings: "2 weeks",
28581
+ usualTimeToEarningsDescription: "Strategy returns depend on LST price on DEXes. Even though the true price of LST on Endur increases continuously, the DEX price may lag sometimes, and historically is seen to rebase at least once every 2 hours. This is when you realise your earnings.",
28576
28582
  points: [{
28577
28583
  multiplier: 4,
28578
28584
  logo: "https://endur.fi/favicon.ico",
@@ -31969,7 +31975,7 @@ var EVERGREEN_SECURITY = {
31969
31975
  var EVERGREEN_REDEMPTION_INFO = {
31970
31976
  instantWithdrawalVault: "No" /* NO */,
31971
31977
  redemptionsInfo: [{
31972
- title: "Usual time",
31978
+ title: "Typical Duration",
31973
31979
  description: "1-2 hours"
31974
31980
  }],
31975
31981
  alerts: [{
@@ -32012,7 +32018,9 @@ var createUniversalStrategy = (params) => ({
32012
32018
  investmentSteps,
32013
32019
  tags: params.tags,
32014
32020
  security: EVERGREEN_SECURITY,
32015
- redemptionInfo: EVERGREEN_REDEMPTION_INFO
32021
+ redemptionInfo: EVERGREEN_REDEMPTION_INFO,
32022
+ usualTimeToEarnings: null,
32023
+ usualTimeToEarningsDescription: null
32016
32024
  });
32017
32025
  var UniversalStrategies = [
32018
32026
  createUniversalStrategy({
@@ -33059,7 +33067,7 @@ var HYPER_LST_SECURITY = {
33059
33067
  var HYPER_LST_REDEMPTION_INFO = {
33060
33068
  instantWithdrawalVault: "No" /* NO */,
33061
33069
  redemptionsInfo: [{
33062
- title: "Usual time",
33070
+ title: "Typical Duration",
33063
33071
  description: "1-2 hours"
33064
33072
  }],
33065
33073
  alerts: [{
@@ -33114,6 +33122,8 @@ function getStrategySettings(lstSymbol, underlyingSymbol, addresses, isPreview =
33114
33122
  tags: lstSymbol.includes("BTC") ? ["BTC" /* BTC */, "Maxx" /* LEVERED */] : ["Maxx" /* LEVERED */],
33115
33123
  security: HYPER_LST_SECURITY,
33116
33124
  redemptionInfo: HYPER_LST_REDEMPTION_INFO,
33125
+ usualTimeToEarnings: "2 weeks",
33126
+ usualTimeToEarningsDescription: "Strategy returns depend on LST price on DEXes. Even though the true price of LST on Endur increases continuously, the DEX price may lag sometimes, and historically is seen to rebase at least once every 2 hours. This is when you realise your earnings.",
33117
33127
  points: [{
33118
33128
  multiplier: 4,
33119
33129
  logo: "https://endur.fi/favicon.ico",
package/dist/index.mjs CHANGED
@@ -11083,7 +11083,9 @@ var createVesuRebalanceStrategy = (idSymbol, name, tokenSymbol, address) => ({
11083
11083
  investmentSteps: [],
11084
11084
  tags: [],
11085
11085
  security: VESU_SECURITY,
11086
- redemptionInfo: VESU_REDEMPTION_INFO
11086
+ redemptionInfo: VESU_REDEMPTION_INFO,
11087
+ usualTimeToEarnings: null,
11088
+ usualTimeToEarningsDescription: null
11087
11089
  });
11088
11090
  var VESU_SECURITY = {
11089
11091
  auditStatus: "Audited" /* AUDITED */,
@@ -17860,7 +17862,9 @@ var xSTRKSTRK = {
17860
17862
  instantWithdrawalVault: "Yes" /* YES */,
17861
17863
  redemptionsInfo: [],
17862
17864
  alerts: []
17863
- }
17865
+ },
17866
+ usualTimeToEarnings: null,
17867
+ usualTimeToEarningsDescription: null
17864
17868
  };
17865
17869
  var getLSTAlerts = () => [
17866
17870
  {
@@ -28444,6 +28448,8 @@ var SenseiStrategies = [
28444
28448
  redemptionsInfo: [],
28445
28449
  alerts: []
28446
28450
  },
28451
+ usualTimeToEarnings: "2 weeks",
28452
+ usualTimeToEarningsDescription: "Strategy returns depend on LST price on DEXes. Even though the true price of LST on Endur increases continuously, the DEX price may lag sometimes, and historically is seen to rebase at least once every 2 hours. This is when you realise your earnings.",
28447
28453
  points: [{
28448
28454
  multiplier: 4,
28449
28455
  logo: "https://endur.fi/favicon.ico",
@@ -31840,7 +31846,7 @@ var EVERGREEN_SECURITY = {
31840
31846
  var EVERGREEN_REDEMPTION_INFO = {
31841
31847
  instantWithdrawalVault: "No" /* NO */,
31842
31848
  redemptionsInfo: [{
31843
- title: "Usual time",
31849
+ title: "Typical Duration",
31844
31850
  description: "1-2 hours"
31845
31851
  }],
31846
31852
  alerts: [{
@@ -31883,7 +31889,9 @@ var createUniversalStrategy = (params) => ({
31883
31889
  investmentSteps,
31884
31890
  tags: params.tags,
31885
31891
  security: EVERGREEN_SECURITY,
31886
- redemptionInfo: EVERGREEN_REDEMPTION_INFO
31892
+ redemptionInfo: EVERGREEN_REDEMPTION_INFO,
31893
+ usualTimeToEarnings: null,
31894
+ usualTimeToEarningsDescription: null
31887
31895
  });
31888
31896
  var UniversalStrategies = [
31889
31897
  createUniversalStrategy({
@@ -32930,7 +32938,7 @@ var HYPER_LST_SECURITY = {
32930
32938
  var HYPER_LST_REDEMPTION_INFO = {
32931
32939
  instantWithdrawalVault: "No" /* NO */,
32932
32940
  redemptionsInfo: [{
32933
- title: "Usual time",
32941
+ title: "Typical Duration",
32934
32942
  description: "1-2 hours"
32935
32943
  }],
32936
32944
  alerts: [{
@@ -32985,6 +32993,8 @@ function getStrategySettings(lstSymbol, underlyingSymbol, addresses, isPreview =
32985
32993
  tags: lstSymbol.includes("BTC") ? ["BTC" /* BTC */, "Maxx" /* LEVERED */] : ["Maxx" /* LEVERED */],
32986
32994
  security: HYPER_LST_SECURITY,
32987
32995
  redemptionInfo: HYPER_LST_REDEMPTION_INFO,
32996
+ usualTimeToEarnings: "2 weeks",
32997
+ usualTimeToEarningsDescription: "Strategy returns depend on LST price on DEXes. Even though the true price of LST on Endur increases continuously, the DEX price may lag sometimes, and historically is seen to rebase at least once every 2 hours. This is when you realise your earnings.",
32988
32998
  points: [{
32989
32999
  multiplier: 4,
32990
33000
  logo: "https://endur.fi/favicon.ico",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strkfarm/sdk",
3
- "version": "2.0.0-staging.15",
3
+ "version": "2.0.0-staging.17",
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",
@@ -201,6 +201,8 @@ export interface IStrategyMetadata<T> {
201
201
  tags?: StrategyTag[];
202
202
  security: SecurityMetadata;
203
203
  redemptionInfo: RedemptionInfo;
204
+ usualTimeToEarnings: null | string; // e.g. "2 weeks" // some strats grow like step functions
205
+ usualTimeToEarningsDescription: null | string; // e.g. "LSTs price on DEX goes up roughly every 2 weeks"
204
206
  settings?: StrategySettings;
205
207
  // Legacy field for multi-step strategies (deprecated, use investmentFlows instead)
206
208
  actions?: Array<{
@@ -2431,6 +2431,8 @@ const xSTRKSTRK: IStrategyMetadata<CLVaultStrategySettings> = {
2431
2431
  redemptionsInfo: [],
2432
2432
  alerts: [],
2433
2433
  },
2434
+ usualTimeToEarnings: null,
2435
+ usualTimeToEarningsDescription: null,
2434
2436
  };
2435
2437
 
2436
2438
  // Helper to create common LST alerts
@@ -646,6 +646,8 @@ export const SenseiStrategies: IStrategyMetadata<SenseiVaultSettings>[] =
646
646
  redemptionsInfo: [],
647
647
  alerts: [],
648
648
  },
649
+ usualTimeToEarnings: "2 weeks",
650
+ usualTimeToEarningsDescription: "Strategy returns depend on LST price on DEXes. Even though the true price of LST on Endur increases continuously, the DEX price may lag sometimes, and historically is seen to rebase at least once every 2 hours. This is when you realise your earnings.",
649
651
  points: [{
650
652
  multiplier: 4,
651
653
  logo: 'https://endur.fi/favicon.ico',
@@ -1249,7 +1249,7 @@ const HYPER_LST_SECURITY = {
1249
1249
  const HYPER_LST_REDEMPTION_INFO: RedemptionInfo = {
1250
1250
  instantWithdrawalVault: InstantWithdrawalVault.NO,
1251
1251
  redemptionsInfo: [{
1252
- title: "Usual time",
1252
+ title: "Typical Duration",
1253
1253
  description: "1-2 hours"
1254
1254
  }],
1255
1255
  alerts: [{
@@ -1312,6 +1312,8 @@ function getStrategySettings(
1312
1312
  tags: lstSymbol.includes('BTC') ? [StrategyTag.BTC, StrategyTag.LEVERED] : [StrategyTag.LEVERED],
1313
1313
  security: HYPER_LST_SECURITY,
1314
1314
  redemptionInfo: HYPER_LST_REDEMPTION_INFO,
1315
+ usualTimeToEarnings: "2 weeks",
1316
+ usualTimeToEarningsDescription: "Strategy returns depend on LST price on DEXes. Even though the true price of LST on Endur increases continuously, the DEX price may lag sometimes, and historically is seen to rebase at least once every 2 hours. This is when you realise your earnings.",
1315
1317
  points: [{
1316
1318
  multiplier: 4,
1317
1319
  logo: 'https://endur.fi/favicon.ico',
@@ -1288,7 +1288,7 @@ const EVERGREEN_SECURITY = {
1288
1288
  const EVERGREEN_REDEMPTION_INFO: RedemptionInfo = {
1289
1289
  instantWithdrawalVault: InstantWithdrawalVault.NO,
1290
1290
  redemptionsInfo: [{
1291
- title: "Usual time",
1291
+ title: "Typical Duration",
1292
1292
  description: "1-2 hours"
1293
1293
  }],
1294
1294
  alerts: [{
@@ -1342,7 +1342,9 @@ const createUniversalStrategy = (params: {
1342
1342
  investmentSteps: investmentSteps,
1343
1343
  tags: params.tags,
1344
1344
  security: EVERGREEN_SECURITY,
1345
- redemptionInfo: EVERGREEN_REDEMPTION_INFO
1345
+ redemptionInfo: EVERGREEN_REDEMPTION_INFO,
1346
+ usualTimeToEarnings: null,
1347
+ usualTimeToEarningsDescription: null,
1346
1348
  });
1347
1349
 
1348
1350
  export const UniversalStrategies: IStrategyMetadata<UniversalStrategySettings>[] =
@@ -1078,6 +1078,8 @@ const createVesuRebalanceStrategy = (
1078
1078
  tags: [],
1079
1079
  security: VESU_SECURITY,
1080
1080
  redemptionInfo: VESU_REDEMPTION_INFO,
1081
+ usualTimeToEarnings: null,
1082
+ usualTimeToEarningsDescription: null,
1081
1083
  });
1082
1084
 
1083
1085
  // Shared security & redemption metadata for all Vesu strategies