@strkfarm/sdk 2.0.0-staging.45 → 2.0.0-staging.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.browser.global.js +17 -4
- package/dist/index.browser.mjs +17 -4
- package/dist/index.js +17 -4
- package/dist/index.mjs +17 -4
- package/package.json +1 -1
- package/src/strategies/yoloVault.ts +17 -4
|
@@ -117623,12 +117623,12 @@ spurious results.`);
|
|
|
117623
117623
|
`On expiry, entire ${main} token would have been swapped into ${secondary}, unless due to unfavourable market conditions.`
|
|
117624
117624
|
];
|
|
117625
117625
|
return {
|
|
117626
|
-
title: `${secondary} YOLO (${input.expiryDate})`,
|
|
117626
|
+
title: `${secondary.replace("x", "")} YOLO (${input.expiryDate})`,
|
|
117627
117627
|
description,
|
|
117628
117628
|
vaultTypeDescription: vaultTypeDescription2,
|
|
117629
117629
|
faqs: faqs3,
|
|
117630
117630
|
investmentSteps: investmentSteps2,
|
|
117631
|
-
parentTitle: `${secondary} YOLO`
|
|
117631
|
+
parentTitle: `${secondary.replace("x", "")} YOLO`
|
|
117632
117632
|
};
|
|
117633
117633
|
};
|
|
117634
117634
|
var usdc = Global.getDefaultTokens().find((t) => t.symbol === "USDC");
|
|
@@ -117708,6 +117708,13 @@ spurious results.`);
|
|
|
117708
117708
|
expiryDate: "31-MAR-2027",
|
|
117709
117709
|
id: `xstrk-yolo-31-mar-2027`,
|
|
117710
117710
|
...vaultCommonProperties,
|
|
117711
|
+
spendingLevels: [
|
|
117712
|
+
{ minPrice: 0.07, maxPrice: 0.1, spendPercent: 50 },
|
|
117713
|
+
{ minPrice: 0.06, maxPrice: 0.07, spendPercent: 70 },
|
|
117714
|
+
{ minPrice: 0.04, maxPrice: 0.06, spendPercent: 100 },
|
|
117715
|
+
{ minPrice: 0.025, maxPrice: 0.04, spendPercent: 250 },
|
|
117716
|
+
{ maxPrice: 0.025, spendPercent: 500 }
|
|
117717
|
+
],
|
|
117711
117718
|
parent_id: xstrk_parent
|
|
117712
117719
|
},
|
|
117713
117720
|
{
|
|
@@ -117718,6 +117725,13 @@ spurious results.`);
|
|
|
117718
117725
|
expiryDate: "30-JUN-2026",
|
|
117719
117726
|
id: `xstrk-yolo-30-jun-2026`,
|
|
117720
117727
|
...vaultCommonProperties,
|
|
117728
|
+
spendingLevels: [
|
|
117729
|
+
{ minPrice: 0.07, maxPrice: 0.1, spendPercent: 50 },
|
|
117730
|
+
{ minPrice: 0.06, maxPrice: 0.07, spendPercent: 70 },
|
|
117731
|
+
{ minPrice: 0.04, maxPrice: 0.06, spendPercent: 100 },
|
|
117732
|
+
{ minPrice: 0.025, maxPrice: 0.04, spendPercent: 250 },
|
|
117733
|
+
{ maxPrice: 0.025, spendPercent: 500 }
|
|
117734
|
+
],
|
|
117721
117735
|
parent_id: xstrk_parent
|
|
117722
117736
|
}
|
|
117723
117737
|
];
|
|
@@ -117758,8 +117772,7 @@ spurious results.`);
|
|
|
117758
117772
|
launchBlock: 0,
|
|
117759
117773
|
type: "Other",
|
|
117760
117774
|
depositTokens: [
|
|
117761
|
-
|
|
117762
|
-
yoloConfig.secondaryToken
|
|
117775
|
+
usdc
|
|
117763
117776
|
],
|
|
117764
117777
|
protocols: [],
|
|
117765
117778
|
risk: {
|
package/dist/index.browser.mjs
CHANGED
|
@@ -30415,12 +30415,12 @@ var getYoloVaultCopy = (input) => {
|
|
|
30415
30415
|
`On expiry, entire ${main} token would have been swapped into ${secondary}, unless due to unfavourable market conditions.`
|
|
30416
30416
|
];
|
|
30417
30417
|
return {
|
|
30418
|
-
title: `${secondary} YOLO (${input.expiryDate})`,
|
|
30418
|
+
title: `${secondary.replace("x", "")} YOLO (${input.expiryDate})`,
|
|
30419
30419
|
description,
|
|
30420
30420
|
vaultTypeDescription: vaultTypeDescription2,
|
|
30421
30421
|
faqs: faqs3,
|
|
30422
30422
|
investmentSteps: investmentSteps2,
|
|
30423
|
-
parentTitle: `${secondary} YOLO`
|
|
30423
|
+
parentTitle: `${secondary.replace("x", "")} YOLO`
|
|
30424
30424
|
};
|
|
30425
30425
|
};
|
|
30426
30426
|
var usdc = Global.getDefaultTokens().find((t) => t.symbol === "USDC");
|
|
@@ -30500,6 +30500,13 @@ var yoloVaultsConfig = [
|
|
|
30500
30500
|
expiryDate: "31-MAR-2027",
|
|
30501
30501
|
id: `xstrk-yolo-31-mar-2027`,
|
|
30502
30502
|
...vaultCommonProperties,
|
|
30503
|
+
spendingLevels: [
|
|
30504
|
+
{ minPrice: 0.07, maxPrice: 0.1, spendPercent: 50 },
|
|
30505
|
+
{ minPrice: 0.06, maxPrice: 0.07, spendPercent: 70 },
|
|
30506
|
+
{ minPrice: 0.04, maxPrice: 0.06, spendPercent: 100 },
|
|
30507
|
+
{ minPrice: 0.025, maxPrice: 0.04, spendPercent: 250 },
|
|
30508
|
+
{ maxPrice: 0.025, spendPercent: 500 }
|
|
30509
|
+
],
|
|
30503
30510
|
parent_id: xstrk_parent
|
|
30504
30511
|
},
|
|
30505
30512
|
{
|
|
@@ -30510,6 +30517,13 @@ var yoloVaultsConfig = [
|
|
|
30510
30517
|
expiryDate: "30-JUN-2026",
|
|
30511
30518
|
id: `xstrk-yolo-30-jun-2026`,
|
|
30512
30519
|
...vaultCommonProperties,
|
|
30520
|
+
spendingLevels: [
|
|
30521
|
+
{ minPrice: 0.07, maxPrice: 0.1, spendPercent: 50 },
|
|
30522
|
+
{ minPrice: 0.06, maxPrice: 0.07, spendPercent: 70 },
|
|
30523
|
+
{ minPrice: 0.04, maxPrice: 0.06, spendPercent: 100 },
|
|
30524
|
+
{ minPrice: 0.025, maxPrice: 0.04, spendPercent: 250 },
|
|
30525
|
+
{ maxPrice: 0.025, spendPercent: 500 }
|
|
30526
|
+
],
|
|
30513
30527
|
parent_id: xstrk_parent
|
|
30514
30528
|
}
|
|
30515
30529
|
];
|
|
@@ -30550,8 +30564,7 @@ var YoloVaultStrategies = yoloVaultsConfig.map((yoloConfig) => {
|
|
|
30550
30564
|
launchBlock: 0,
|
|
30551
30565
|
type: "Other",
|
|
30552
30566
|
depositTokens: [
|
|
30553
|
-
|
|
30554
|
-
yoloConfig.secondaryToken
|
|
30567
|
+
usdc
|
|
30555
30568
|
],
|
|
30556
30569
|
protocols: [],
|
|
30557
30570
|
risk: {
|
package/dist/index.js
CHANGED
|
@@ -30555,12 +30555,12 @@ var getYoloVaultCopy = (input) => {
|
|
|
30555
30555
|
`On expiry, entire ${main} token would have been swapped into ${secondary}, unless due to unfavourable market conditions.`
|
|
30556
30556
|
];
|
|
30557
30557
|
return {
|
|
30558
|
-
title: `${secondary} YOLO (${input.expiryDate})`,
|
|
30558
|
+
title: `${secondary.replace("x", "")} YOLO (${input.expiryDate})`,
|
|
30559
30559
|
description,
|
|
30560
30560
|
vaultTypeDescription: vaultTypeDescription2,
|
|
30561
30561
|
faqs: faqs3,
|
|
30562
30562
|
investmentSteps: investmentSteps2,
|
|
30563
|
-
parentTitle: `${secondary} YOLO`
|
|
30563
|
+
parentTitle: `${secondary.replace("x", "")} YOLO`
|
|
30564
30564
|
};
|
|
30565
30565
|
};
|
|
30566
30566
|
var usdc = Global.getDefaultTokens().find((t) => t.symbol === "USDC");
|
|
@@ -30640,6 +30640,13 @@ var yoloVaultsConfig = [
|
|
|
30640
30640
|
expiryDate: "31-MAR-2027",
|
|
30641
30641
|
id: `xstrk-yolo-31-mar-2027`,
|
|
30642
30642
|
...vaultCommonProperties,
|
|
30643
|
+
spendingLevels: [
|
|
30644
|
+
{ minPrice: 0.07, maxPrice: 0.1, spendPercent: 50 },
|
|
30645
|
+
{ minPrice: 0.06, maxPrice: 0.07, spendPercent: 70 },
|
|
30646
|
+
{ minPrice: 0.04, maxPrice: 0.06, spendPercent: 100 },
|
|
30647
|
+
{ minPrice: 0.025, maxPrice: 0.04, spendPercent: 250 },
|
|
30648
|
+
{ maxPrice: 0.025, spendPercent: 500 }
|
|
30649
|
+
],
|
|
30643
30650
|
parent_id: xstrk_parent
|
|
30644
30651
|
},
|
|
30645
30652
|
{
|
|
@@ -30650,6 +30657,13 @@ var yoloVaultsConfig = [
|
|
|
30650
30657
|
expiryDate: "30-JUN-2026",
|
|
30651
30658
|
id: `xstrk-yolo-30-jun-2026`,
|
|
30652
30659
|
...vaultCommonProperties,
|
|
30660
|
+
spendingLevels: [
|
|
30661
|
+
{ minPrice: 0.07, maxPrice: 0.1, spendPercent: 50 },
|
|
30662
|
+
{ minPrice: 0.06, maxPrice: 0.07, spendPercent: 70 },
|
|
30663
|
+
{ minPrice: 0.04, maxPrice: 0.06, spendPercent: 100 },
|
|
30664
|
+
{ minPrice: 0.025, maxPrice: 0.04, spendPercent: 250 },
|
|
30665
|
+
{ maxPrice: 0.025, spendPercent: 500 }
|
|
30666
|
+
],
|
|
30653
30667
|
parent_id: xstrk_parent
|
|
30654
30668
|
}
|
|
30655
30669
|
];
|
|
@@ -30690,8 +30704,7 @@ var YoloVaultStrategies = yoloVaultsConfig.map((yoloConfig) => {
|
|
|
30690
30704
|
launchBlock: 0,
|
|
30691
30705
|
type: "Other",
|
|
30692
30706
|
depositTokens: [
|
|
30693
|
-
|
|
30694
|
-
yoloConfig.secondaryToken
|
|
30707
|
+
usdc
|
|
30695
30708
|
],
|
|
30696
30709
|
protocols: [],
|
|
30697
30710
|
risk: {
|
package/dist/index.mjs
CHANGED
|
@@ -30420,12 +30420,12 @@ var getYoloVaultCopy = (input) => {
|
|
|
30420
30420
|
`On expiry, entire ${main} token would have been swapped into ${secondary}, unless due to unfavourable market conditions.`
|
|
30421
30421
|
];
|
|
30422
30422
|
return {
|
|
30423
|
-
title: `${secondary} YOLO (${input.expiryDate})`,
|
|
30423
|
+
title: `${secondary.replace("x", "")} YOLO (${input.expiryDate})`,
|
|
30424
30424
|
description,
|
|
30425
30425
|
vaultTypeDescription: vaultTypeDescription2,
|
|
30426
30426
|
faqs: faqs3,
|
|
30427
30427
|
investmentSteps: investmentSteps2,
|
|
30428
|
-
parentTitle: `${secondary} YOLO`
|
|
30428
|
+
parentTitle: `${secondary.replace("x", "")} YOLO`
|
|
30429
30429
|
};
|
|
30430
30430
|
};
|
|
30431
30431
|
var usdc = Global.getDefaultTokens().find((t) => t.symbol === "USDC");
|
|
@@ -30505,6 +30505,13 @@ var yoloVaultsConfig = [
|
|
|
30505
30505
|
expiryDate: "31-MAR-2027",
|
|
30506
30506
|
id: `xstrk-yolo-31-mar-2027`,
|
|
30507
30507
|
...vaultCommonProperties,
|
|
30508
|
+
spendingLevels: [
|
|
30509
|
+
{ minPrice: 0.07, maxPrice: 0.1, spendPercent: 50 },
|
|
30510
|
+
{ minPrice: 0.06, maxPrice: 0.07, spendPercent: 70 },
|
|
30511
|
+
{ minPrice: 0.04, maxPrice: 0.06, spendPercent: 100 },
|
|
30512
|
+
{ minPrice: 0.025, maxPrice: 0.04, spendPercent: 250 },
|
|
30513
|
+
{ maxPrice: 0.025, spendPercent: 500 }
|
|
30514
|
+
],
|
|
30508
30515
|
parent_id: xstrk_parent
|
|
30509
30516
|
},
|
|
30510
30517
|
{
|
|
@@ -30515,6 +30522,13 @@ var yoloVaultsConfig = [
|
|
|
30515
30522
|
expiryDate: "30-JUN-2026",
|
|
30516
30523
|
id: `xstrk-yolo-30-jun-2026`,
|
|
30517
30524
|
...vaultCommonProperties,
|
|
30525
|
+
spendingLevels: [
|
|
30526
|
+
{ minPrice: 0.07, maxPrice: 0.1, spendPercent: 50 },
|
|
30527
|
+
{ minPrice: 0.06, maxPrice: 0.07, spendPercent: 70 },
|
|
30528
|
+
{ minPrice: 0.04, maxPrice: 0.06, spendPercent: 100 },
|
|
30529
|
+
{ minPrice: 0.025, maxPrice: 0.04, spendPercent: 250 },
|
|
30530
|
+
{ maxPrice: 0.025, spendPercent: 500 }
|
|
30531
|
+
],
|
|
30518
30532
|
parent_id: xstrk_parent
|
|
30519
30533
|
}
|
|
30520
30534
|
];
|
|
@@ -30555,8 +30569,7 @@ var YoloVaultStrategies = yoloVaultsConfig.map((yoloConfig) => {
|
|
|
30555
30569
|
launchBlock: 0,
|
|
30556
30570
|
type: "Other",
|
|
30557
30571
|
depositTokens: [
|
|
30558
|
-
|
|
30559
|
-
yoloConfig.secondaryToken
|
|
30572
|
+
usdc
|
|
30560
30573
|
],
|
|
30561
30574
|
protocols: [],
|
|
30562
30575
|
risk: {
|
package/package.json
CHANGED
|
@@ -813,12 +813,12 @@ const getYoloVaultCopy = (input: YoloVaultSettings) => {
|
|
|
813
813
|
];
|
|
814
814
|
|
|
815
815
|
return {
|
|
816
|
-
title: `${secondary} YOLO (${input.expiryDate})`,
|
|
816
|
+
title: `${secondary.replace('x', '')} YOLO (${input.expiryDate})`,
|
|
817
817
|
description,
|
|
818
818
|
vaultTypeDescription,
|
|
819
819
|
faqs,
|
|
820
820
|
investmentSteps,
|
|
821
|
-
parentTitle: `${secondary} YOLO`
|
|
821
|
+
parentTitle: `${secondary.replace('x', '')} YOLO`
|
|
822
822
|
};
|
|
823
823
|
};
|
|
824
824
|
|
|
@@ -915,6 +915,13 @@ const yoloVaultsConfig:YoloVaultStrategyConfig[] = [
|
|
|
915
915
|
expiryDate: "31-MAR-2027",
|
|
916
916
|
id: `xstrk-yolo-31-mar-2027`,
|
|
917
917
|
...vaultCommonProperties,
|
|
918
|
+
spendingLevels: [
|
|
919
|
+
{ minPrice: 0.07, maxPrice: 0.1, spendPercent: 50 },
|
|
920
|
+
{ minPrice: 0.06, maxPrice: 0.07, spendPercent: 70 },
|
|
921
|
+
{ minPrice: 0.04, maxPrice: 0.06, spendPercent: 100 },
|
|
922
|
+
{ minPrice: 0.025, maxPrice: 0.04, spendPercent: 250 },
|
|
923
|
+
{ maxPrice: 0.025, spendPercent: 500 },
|
|
924
|
+
],
|
|
918
925
|
parent_id: xstrk_parent
|
|
919
926
|
},
|
|
920
927
|
{
|
|
@@ -925,6 +932,13 @@ const yoloVaultsConfig:YoloVaultStrategyConfig[] = [
|
|
|
925
932
|
expiryDate: "30-JUN-2026",
|
|
926
933
|
id: `xstrk-yolo-30-jun-2026`,
|
|
927
934
|
...vaultCommonProperties,
|
|
935
|
+
spendingLevels: [
|
|
936
|
+
{ minPrice: 0.07, maxPrice: 0.1, spendPercent: 50 },
|
|
937
|
+
{ minPrice: 0.06, maxPrice: 0.07, spendPercent: 70 },
|
|
938
|
+
{ minPrice: 0.04, maxPrice: 0.06, spendPercent: 100 },
|
|
939
|
+
{ minPrice: 0.025, maxPrice: 0.04, spendPercent: 250 },
|
|
940
|
+
{ maxPrice: 0.025, spendPercent: 500 },
|
|
941
|
+
],
|
|
928
942
|
parent_id: xstrk_parent
|
|
929
943
|
}
|
|
930
944
|
]
|
|
@@ -969,8 +983,7 @@ export const YoloVaultStrategies: IStrategyMetadata<YoloVaultSettings>[] = yoloV
|
|
|
969
983
|
launchBlock: 0,
|
|
970
984
|
type: "Other",
|
|
971
985
|
depositTokens: [
|
|
972
|
-
|
|
973
|
-
yoloConfig.secondaryToken,
|
|
986
|
+
usdc
|
|
974
987
|
],
|
|
975
988
|
protocols: [],
|
|
976
989
|
risk: {
|