@strkfarm/sdk 2.0.0-dev.41 → 2.0.0-dev.42
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.
|
@@ -127311,38 +127311,38 @@ spurious results.`);
|
|
|
127311
127311
|
var boostedCarryRiskFactors = [
|
|
127312
127312
|
{
|
|
127313
127313
|
type: "Smart Contract Risk" /* SMART_CONTRACT_RISK */,
|
|
127314
|
-
value:
|
|
127314
|
+
value: 1 /* BATTLE_TESTED */,
|
|
127315
127315
|
// 20% — core trust assumption; SVK is audited but still multi-contract (vault, manager, adapters).
|
|
127316
127316
|
weight: 20,
|
|
127317
127317
|
reason: "Built on the Starknet Vault Kit (SVK), with audits under the Sherlock-audited branch."
|
|
127318
127318
|
},
|
|
127319
127319
|
{
|
|
127320
127320
|
type: "Liquidation Risk" /* LIQUIDATION_RISK */,
|
|
127321
|
-
value:
|
|
127321
|
+
value: 2 /* LOW_PROBABILITY */,
|
|
127322
127322
|
// 20% — tied with smart contract; uncorrelated collateral/debt is the main principal risk here.
|
|
127323
127323
|
weight: 20,
|
|
127324
127324
|
reason: "Collateral (USDC or WBTC) and STRK debt are not price-correlated. We target ~50% LTV and rebalance above ~55%, with a health-factor buffer, but extreme moves or prolonged monitoring gaps can still trigger liquidation."
|
|
127325
127325
|
},
|
|
127326
127326
|
{
|
|
127327
127327
|
type: "Low Liquidity Risk" /* LOW_LIQUIDITY_RISK */,
|
|
127328
|
-
value:
|
|
127328
|
+
value: 1 /* GOOD_LIQUIDITY */,
|
|
127329
127329
|
// 15% — below liquidation but above ops risks; every unwind/withdraw depends on xSTRK→STRK depth.
|
|
127330
127330
|
weight: 15,
|
|
127331
|
-
reason: "Closing the loop requires selling xSTRK to STRK on DEXes to repay Vesu debt.
|
|
127331
|
+
reason: "Closing the loop requires selling xSTRK to STRK on DEXes to repay Vesu debt. larger withdrawals or rebalances may take longer or complete in smaller chunks."
|
|
127332
127332
|
},
|
|
127333
127333
|
{
|
|
127334
127334
|
type: "Technical Risk" /* TECHNICAL_RISK */,
|
|
127335
127335
|
value: 3 /* SOME_COMPLEXITY */,
|
|
127336
127336
|
// 13% — monitoring/rebalancing stack matters, but usually recoverable without instant loss.
|
|
127337
|
-
weight:
|
|
127337
|
+
weight: 10,
|
|
127338
127338
|
reason: "Yield routes across Vesu, Avnu, and Hyper xSTRK with automated monitoring. Technical failures can delay rebalancing."
|
|
127339
127339
|
},
|
|
127340
127340
|
{
|
|
127341
127341
|
type: "Depeg Risk" /* DEPEG_RISK */,
|
|
127342
|
-
value:
|
|
127342
|
+
value: 2 /* GENERALLY_STABLE */,
|
|
127343
127343
|
// 12% — affects yield and swap notionals; USDC/WBTC depeg is rarer than xSTRK/STRK drift.
|
|
127344
127344
|
weight: 12,
|
|
127345
|
-
reason: "xSTRK
|
|
127345
|
+
reason: "Historically, xSTRK's DEX price has been generally stable compared to its true price."
|
|
127346
127346
|
},
|
|
127347
127347
|
{
|
|
127348
127348
|
type: "Oracle Risk" /* ORACLE_RISK */,
|
|
@@ -127362,7 +127362,7 @@ spurious results.`);
|
|
|
127362
127362
|
type: "Market Risk" /* MARKET_RISK */,
|
|
127363
127363
|
value: 3 /* MODERATE_VOLATILITY */,
|
|
127364
127364
|
// 5% — largely captured by liquidation + depeg factors; kept small to avoid double-counting vol.
|
|
127365
|
-
weight:
|
|
127365
|
+
weight: 8,
|
|
127366
127366
|
reason: "STRK, BTC, and stablecoin volatility can move loan-to-value and swap costs."
|
|
127367
127367
|
}
|
|
127368
127368
|
];
|
package/dist/index.browser.mjs
CHANGED
|
@@ -39909,38 +39909,38 @@ var wbtcBoostedSettings = {
|
|
|
39909
39909
|
var boostedCarryRiskFactors = [
|
|
39910
39910
|
{
|
|
39911
39911
|
type: "Smart Contract Risk" /* SMART_CONTRACT_RISK */,
|
|
39912
|
-
value:
|
|
39912
|
+
value: 1 /* BATTLE_TESTED */,
|
|
39913
39913
|
// 20% — core trust assumption; SVK is audited but still multi-contract (vault, manager, adapters).
|
|
39914
39914
|
weight: 20,
|
|
39915
39915
|
reason: "Built on the Starknet Vault Kit (SVK), with audits under the Sherlock-audited branch."
|
|
39916
39916
|
},
|
|
39917
39917
|
{
|
|
39918
39918
|
type: "Liquidation Risk" /* LIQUIDATION_RISK */,
|
|
39919
|
-
value:
|
|
39919
|
+
value: 2 /* LOW_PROBABILITY */,
|
|
39920
39920
|
// 20% — tied with smart contract; uncorrelated collateral/debt is the main principal risk here.
|
|
39921
39921
|
weight: 20,
|
|
39922
39922
|
reason: "Collateral (USDC or WBTC) and STRK debt are not price-correlated. We target ~50% LTV and rebalance above ~55%, with a health-factor buffer, but extreme moves or prolonged monitoring gaps can still trigger liquidation."
|
|
39923
39923
|
},
|
|
39924
39924
|
{
|
|
39925
39925
|
type: "Low Liquidity Risk" /* LOW_LIQUIDITY_RISK */,
|
|
39926
|
-
value:
|
|
39926
|
+
value: 1 /* GOOD_LIQUIDITY */,
|
|
39927
39927
|
// 15% — below liquidation but above ops risks; every unwind/withdraw depends on xSTRK→STRK depth.
|
|
39928
39928
|
weight: 15,
|
|
39929
|
-
reason: "Closing the loop requires selling xSTRK to STRK on DEXes to repay Vesu debt.
|
|
39929
|
+
reason: "Closing the loop requires selling xSTRK to STRK on DEXes to repay Vesu debt. larger withdrawals or rebalances may take longer or complete in smaller chunks."
|
|
39930
39930
|
},
|
|
39931
39931
|
{
|
|
39932
39932
|
type: "Technical Risk" /* TECHNICAL_RISK */,
|
|
39933
39933
|
value: 3 /* SOME_COMPLEXITY */,
|
|
39934
39934
|
// 13% — monitoring/rebalancing stack matters, but usually recoverable without instant loss.
|
|
39935
|
-
weight:
|
|
39935
|
+
weight: 10,
|
|
39936
39936
|
reason: "Yield routes across Vesu, Avnu, and Hyper xSTRK with automated monitoring. Technical failures can delay rebalancing."
|
|
39937
39937
|
},
|
|
39938
39938
|
{
|
|
39939
39939
|
type: "Depeg Risk" /* DEPEG_RISK */,
|
|
39940
|
-
value:
|
|
39940
|
+
value: 2 /* GENERALLY_STABLE */,
|
|
39941
39941
|
// 12% — affects yield and swap notionals; USDC/WBTC depeg is rarer than xSTRK/STRK drift.
|
|
39942
39942
|
weight: 12,
|
|
39943
|
-
reason: "xSTRK
|
|
39943
|
+
reason: "Historically, xSTRK's DEX price has been generally stable compared to its true price."
|
|
39944
39944
|
},
|
|
39945
39945
|
{
|
|
39946
39946
|
type: "Oracle Risk" /* ORACLE_RISK */,
|
|
@@ -39960,7 +39960,7 @@ var boostedCarryRiskFactors = [
|
|
|
39960
39960
|
type: "Market Risk" /* MARKET_RISK */,
|
|
39961
39961
|
value: 3 /* MODERATE_VOLATILITY */,
|
|
39962
39962
|
// 5% — largely captured by liquidation + depeg factors; kept small to avoid double-counting vol.
|
|
39963
|
-
weight:
|
|
39963
|
+
weight: 8,
|
|
39964
39964
|
reason: "STRK, BTC, and stablecoin volatility can move loan-to-value and swap costs."
|
|
39965
39965
|
}
|
|
39966
39966
|
];
|
package/dist/index.js
CHANGED
|
@@ -40239,38 +40239,38 @@ var wbtcBoostedSettings = {
|
|
|
40239
40239
|
var boostedCarryRiskFactors = [
|
|
40240
40240
|
{
|
|
40241
40241
|
type: "Smart Contract Risk" /* SMART_CONTRACT_RISK */,
|
|
40242
|
-
value:
|
|
40242
|
+
value: 1 /* BATTLE_TESTED */,
|
|
40243
40243
|
// 20% — core trust assumption; SVK is audited but still multi-contract (vault, manager, adapters).
|
|
40244
40244
|
weight: 20,
|
|
40245
40245
|
reason: "Built on the Starknet Vault Kit (SVK), with audits under the Sherlock-audited branch."
|
|
40246
40246
|
},
|
|
40247
40247
|
{
|
|
40248
40248
|
type: "Liquidation Risk" /* LIQUIDATION_RISK */,
|
|
40249
|
-
value:
|
|
40249
|
+
value: 2 /* LOW_PROBABILITY */,
|
|
40250
40250
|
// 20% — tied with smart contract; uncorrelated collateral/debt is the main principal risk here.
|
|
40251
40251
|
weight: 20,
|
|
40252
40252
|
reason: "Collateral (USDC or WBTC) and STRK debt are not price-correlated. We target ~50% LTV and rebalance above ~55%, with a health-factor buffer, but extreme moves or prolonged monitoring gaps can still trigger liquidation."
|
|
40253
40253
|
},
|
|
40254
40254
|
{
|
|
40255
40255
|
type: "Low Liquidity Risk" /* LOW_LIQUIDITY_RISK */,
|
|
40256
|
-
value:
|
|
40256
|
+
value: 1 /* GOOD_LIQUIDITY */,
|
|
40257
40257
|
// 15% — below liquidation but above ops risks; every unwind/withdraw depends on xSTRK→STRK depth.
|
|
40258
40258
|
weight: 15,
|
|
40259
|
-
reason: "Closing the loop requires selling xSTRK to STRK on DEXes to repay Vesu debt.
|
|
40259
|
+
reason: "Closing the loop requires selling xSTRK to STRK on DEXes to repay Vesu debt. larger withdrawals or rebalances may take longer or complete in smaller chunks."
|
|
40260
40260
|
},
|
|
40261
40261
|
{
|
|
40262
40262
|
type: "Technical Risk" /* TECHNICAL_RISK */,
|
|
40263
40263
|
value: 3 /* SOME_COMPLEXITY */,
|
|
40264
40264
|
// 13% — monitoring/rebalancing stack matters, but usually recoverable without instant loss.
|
|
40265
|
-
weight:
|
|
40265
|
+
weight: 10,
|
|
40266
40266
|
reason: "Yield routes across Vesu, Avnu, and Hyper xSTRK with automated monitoring. Technical failures can delay rebalancing."
|
|
40267
40267
|
},
|
|
40268
40268
|
{
|
|
40269
40269
|
type: "Depeg Risk" /* DEPEG_RISK */,
|
|
40270
|
-
value:
|
|
40270
|
+
value: 2 /* GENERALLY_STABLE */,
|
|
40271
40271
|
// 12% — affects yield and swap notionals; USDC/WBTC depeg is rarer than xSTRK/STRK drift.
|
|
40272
40272
|
weight: 12,
|
|
40273
|
-
reason: "xSTRK
|
|
40273
|
+
reason: "Historically, xSTRK's DEX price has been generally stable compared to its true price."
|
|
40274
40274
|
},
|
|
40275
40275
|
{
|
|
40276
40276
|
type: "Oracle Risk" /* ORACLE_RISK */,
|
|
@@ -40290,7 +40290,7 @@ var boostedCarryRiskFactors = [
|
|
|
40290
40290
|
type: "Market Risk" /* MARKET_RISK */,
|
|
40291
40291
|
value: 3 /* MODERATE_VOLATILITY */,
|
|
40292
40292
|
// 5% — largely captured by liquidation + depeg factors; kept small to avoid double-counting vol.
|
|
40293
|
-
weight:
|
|
40293
|
+
weight: 8,
|
|
40294
40294
|
reason: "STRK, BTC, and stablecoin volatility can move loan-to-value and swap costs."
|
|
40295
40295
|
}
|
|
40296
40296
|
];
|
package/dist/index.mjs
CHANGED
|
@@ -40074,38 +40074,38 @@ var wbtcBoostedSettings = {
|
|
|
40074
40074
|
var boostedCarryRiskFactors = [
|
|
40075
40075
|
{
|
|
40076
40076
|
type: "Smart Contract Risk" /* SMART_CONTRACT_RISK */,
|
|
40077
|
-
value:
|
|
40077
|
+
value: 1 /* BATTLE_TESTED */,
|
|
40078
40078
|
// 20% — core trust assumption; SVK is audited but still multi-contract (vault, manager, adapters).
|
|
40079
40079
|
weight: 20,
|
|
40080
40080
|
reason: "Built on the Starknet Vault Kit (SVK), with audits under the Sherlock-audited branch."
|
|
40081
40081
|
},
|
|
40082
40082
|
{
|
|
40083
40083
|
type: "Liquidation Risk" /* LIQUIDATION_RISK */,
|
|
40084
|
-
value:
|
|
40084
|
+
value: 2 /* LOW_PROBABILITY */,
|
|
40085
40085
|
// 20% — tied with smart contract; uncorrelated collateral/debt is the main principal risk here.
|
|
40086
40086
|
weight: 20,
|
|
40087
40087
|
reason: "Collateral (USDC or WBTC) and STRK debt are not price-correlated. We target ~50% LTV and rebalance above ~55%, with a health-factor buffer, but extreme moves or prolonged monitoring gaps can still trigger liquidation."
|
|
40088
40088
|
},
|
|
40089
40089
|
{
|
|
40090
40090
|
type: "Low Liquidity Risk" /* LOW_LIQUIDITY_RISK */,
|
|
40091
|
-
value:
|
|
40091
|
+
value: 1 /* GOOD_LIQUIDITY */,
|
|
40092
40092
|
// 15% — below liquidation but above ops risks; every unwind/withdraw depends on xSTRK→STRK depth.
|
|
40093
40093
|
weight: 15,
|
|
40094
|
-
reason: "Closing the loop requires selling xSTRK to STRK on DEXes to repay Vesu debt.
|
|
40094
|
+
reason: "Closing the loop requires selling xSTRK to STRK on DEXes to repay Vesu debt. larger withdrawals or rebalances may take longer or complete in smaller chunks."
|
|
40095
40095
|
},
|
|
40096
40096
|
{
|
|
40097
40097
|
type: "Technical Risk" /* TECHNICAL_RISK */,
|
|
40098
40098
|
value: 3 /* SOME_COMPLEXITY */,
|
|
40099
40099
|
// 13% — monitoring/rebalancing stack matters, but usually recoverable without instant loss.
|
|
40100
|
-
weight:
|
|
40100
|
+
weight: 10,
|
|
40101
40101
|
reason: "Yield routes across Vesu, Avnu, and Hyper xSTRK with automated monitoring. Technical failures can delay rebalancing."
|
|
40102
40102
|
},
|
|
40103
40103
|
{
|
|
40104
40104
|
type: "Depeg Risk" /* DEPEG_RISK */,
|
|
40105
|
-
value:
|
|
40105
|
+
value: 2 /* GENERALLY_STABLE */,
|
|
40106
40106
|
// 12% — affects yield and swap notionals; USDC/WBTC depeg is rarer than xSTRK/STRK drift.
|
|
40107
40107
|
weight: 12,
|
|
40108
|
-
reason: "xSTRK
|
|
40108
|
+
reason: "Historically, xSTRK's DEX price has been generally stable compared to its true price."
|
|
40109
40109
|
},
|
|
40110
40110
|
{
|
|
40111
40111
|
type: "Oracle Risk" /* ORACLE_RISK */,
|
|
@@ -40125,7 +40125,7 @@ var boostedCarryRiskFactors = [
|
|
|
40125
40125
|
type: "Market Risk" /* MARKET_RISK */,
|
|
40126
40126
|
value: 3 /* MODERATE_VOLATILITY */,
|
|
40127
40127
|
// 5% — largely captured by liquidation + depeg factors; kept small to avoid double-counting vol.
|
|
40128
|
-
weight:
|
|
40128
|
+
weight: 8,
|
|
40129
40129
|
reason: "STRK, BTC, and stablecoin volatility can move loan-to-value and swap costs."
|
|
40130
40130
|
}
|
|
40131
40131
|
];
|
package/package.json
CHANGED
|
@@ -1002,7 +1002,7 @@ const wbtcBoostedSettings: BoostedxSTRKCarryStrategySettings = {
|
|
|
1002
1002
|
const boostedCarryRiskFactors: RiskFactor[] = [
|
|
1003
1003
|
{
|
|
1004
1004
|
type: RiskType.SMART_CONTRACT_RISK,
|
|
1005
|
-
value: SmartContractRiskLevel.
|
|
1005
|
+
value: SmartContractRiskLevel.BATTLE_TESTED,
|
|
1006
1006
|
// 20% — core trust assumption; SVK is audited but still multi-contract (vault, manager, adapters).
|
|
1007
1007
|
weight: 20,
|
|
1008
1008
|
reason:
|
|
@@ -1010,7 +1010,7 @@ const boostedCarryRiskFactors: RiskFactor[] = [
|
|
|
1010
1010
|
},
|
|
1011
1011
|
{
|
|
1012
1012
|
type: RiskType.LIQUIDATION_RISK,
|
|
1013
|
-
value: LiquidationRiskLevel.
|
|
1013
|
+
value: LiquidationRiskLevel.LOW_PROBABILITY,
|
|
1014
1014
|
// 20% — tied with smart contract; uncorrelated collateral/debt is the main principal risk here.
|
|
1015
1015
|
weight: 20,
|
|
1016
1016
|
reason:
|
|
@@ -1018,27 +1018,27 @@ const boostedCarryRiskFactors: RiskFactor[] = [
|
|
|
1018
1018
|
},
|
|
1019
1019
|
{
|
|
1020
1020
|
type: RiskType.LOW_LIQUIDITY_RISK,
|
|
1021
|
-
value: LowLiquidityRiskLevel.
|
|
1021
|
+
value: LowLiquidityRiskLevel.GOOD_LIQUIDITY,
|
|
1022
1022
|
// 15% — below liquidation but above ops risks; every unwind/withdraw depends on xSTRK→STRK depth.
|
|
1023
1023
|
weight: 15,
|
|
1024
1024
|
reason:
|
|
1025
|
-
"Closing the loop requires selling xSTRK to STRK on DEXes to repay Vesu debt.
|
|
1025
|
+
"Closing the loop requires selling xSTRK to STRK on DEXes to repay Vesu debt. larger withdrawals or rebalances may take longer or complete in smaller chunks.",
|
|
1026
1026
|
},
|
|
1027
1027
|
{
|
|
1028
1028
|
type: RiskType.TECHNICAL_RISK,
|
|
1029
1029
|
value: TechnicalRiskLevel.SOME_COMPLEXITY,
|
|
1030
1030
|
// 13% — monitoring/rebalancing stack matters, but usually recoverable without instant loss.
|
|
1031
|
-
weight:
|
|
1031
|
+
weight: 10,
|
|
1032
1032
|
reason:
|
|
1033
1033
|
"Yield routes across Vesu, Avnu, and Hyper xSTRK with automated monitoring. Technical failures can delay rebalancing.",
|
|
1034
1034
|
},
|
|
1035
1035
|
{
|
|
1036
1036
|
type: RiskType.DEPEG_RISK,
|
|
1037
|
-
value: DepegRiskLevel.
|
|
1037
|
+
value: DepegRiskLevel.GENERALLY_STABLE,
|
|
1038
1038
|
// 12% — affects yield and swap notionals; USDC/WBTC depeg is rarer than xSTRK/STRK drift.
|
|
1039
1039
|
weight: 12,
|
|
1040
1040
|
reason:
|
|
1041
|
-
"xSTRK
|
|
1041
|
+
"Historically, xSTRK's DEX price has been generally stable compared to its true price.",
|
|
1042
1042
|
},
|
|
1043
1043
|
{
|
|
1044
1044
|
type: RiskType.ORACLE_RISK,
|
|
@@ -1059,7 +1059,7 @@ const boostedCarryRiskFactors: RiskFactor[] = [
|
|
|
1059
1059
|
type: RiskType.MARKET_RISK,
|
|
1060
1060
|
value: MarketRiskLevel.MODERATE_VOLATILITY,
|
|
1061
1061
|
// 5% — largely captured by liquidation + depeg factors; kept small to avoid double-counting vol.
|
|
1062
|
-
weight:
|
|
1062
|
+
weight: 8,
|
|
1063
1063
|
reason:
|
|
1064
1064
|
"STRK, BTC, and stablecoin volatility can move loan-to-value and swap costs.",
|
|
1065
1065
|
},
|