@strkfarm/sdk 1.1.64 → 1.1.65

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.
@@ -17384,6 +17384,70 @@ var RE7Strategies = [
17384
17384
  Global.getDefaultTokens().find((t) => t.symbol === "STRK")
17385
17385
  ],
17386
17386
  risk: highRisk
17387
+ },
17388
+ {
17389
+ ...ETHUSDCRe7Strategy,
17390
+ name: "Ekubo USDC/USDT",
17391
+ description: /* @__PURE__ */ jsx3(Fragment2, {}),
17392
+ address: ContractAddr.from(
17393
+ "0x5203a08b471e46bf33990ac83aff577bbe5a5d789e61de2c6531e3c4773d1c9"
17394
+ ),
17395
+ launchBlock: 3998018,
17396
+ // must be same order as poolKey token0 and token1
17397
+ depositTokens: [
17398
+ Global.getDefaultTokens().find((t) => t.symbol === "USDC"),
17399
+ Global.getDefaultTokens().find((t) => t.symbol === "USDT")
17400
+ ],
17401
+ risk: {
17402
+ riskFactor: _stableCoinPoolRiskFactors,
17403
+ netRisk: _stableCoinPoolRiskFactors.reduce((acc, curr) => acc + curr.value * curr.weight, 0) / _stableCoinPoolRiskFactors.reduce((acc, curr) => acc + curr.weight, 0),
17404
+ notARisks: getNoRiskTags(_stableCoinPoolRiskFactors)
17405
+ }
17406
+ },
17407
+ {
17408
+ ...ETHUSDCRe7Strategy,
17409
+ name: "Ekubo ETH/USDC",
17410
+ description: /* @__PURE__ */ jsx3(Fragment2, {}),
17411
+ address: ContractAddr.from(
17412
+ "0x4d00c7423b3c0fae3640f6099ac97acbfd8708f099e09bfe3a7a6a680399228"
17413
+ ),
17414
+ launchBlock: 3998025,
17415
+ // must be same order as poolKey token0 and token1
17416
+ depositTokens: [
17417
+ Global.getDefaultTokens().find((t) => t.symbol === "USDC"),
17418
+ Global.getDefaultTokens().find((t) => t.symbol === "ETH")
17419
+ ],
17420
+ risk: highRisk
17421
+ },
17422
+ {
17423
+ ...ETHUSDCRe7Strategy,
17424
+ name: "Ekubo STRK/USDC",
17425
+ description: /* @__PURE__ */ jsx3(Fragment2, {}),
17426
+ address: ContractAddr.from(
17427
+ "0x4de22bd0a8eb4d0a18736e66dd36d20ba50bc106346bbfac3dbeaac1ab37ce1"
17428
+ ),
17429
+ launchBlock: 3998030,
17430
+ // must be same order as poolKey token0 and token1
17431
+ depositTokens: [
17432
+ Global.getDefaultTokens().find((t) => t.symbol === "USDC"),
17433
+ Global.getDefaultTokens().find((t) => t.symbol === "STRK")
17434
+ ],
17435
+ risk: highRisk
17436
+ },
17437
+ {
17438
+ ...ETHUSDCRe7Strategy,
17439
+ name: "Ekubo WBTC/USDC",
17440
+ description: /* @__PURE__ */ jsx3(Fragment2, {}),
17441
+ address: ContractAddr.from(
17442
+ "0x76101c3b80af1103c9c6d541ca627f61b5ae7ae79d7fce96ccdf7bdb648450d"
17443
+ ),
17444
+ launchBlock: 3998034,
17445
+ // must be same order as poolKey token0 and token1
17446
+ depositTokens: [
17447
+ Global.getDefaultTokens().find((t) => t.symbol === "USDC"),
17448
+ Global.getDefaultTokens().find((t) => t.symbol === "WBTC")
17449
+ ],
17450
+ risk: mediumRisk
17387
17451
  }
17388
17452
  ];
17389
17453
  var EkuboCLVaultStrategies = [
package/dist/index.js CHANGED
@@ -17384,6 +17384,70 @@ var RE7Strategies = [
17384
17384
  Global.getDefaultTokens().find((t) => t.symbol === "STRK")
17385
17385
  ],
17386
17386
  risk: highRisk
17387
+ },
17388
+ {
17389
+ ...ETHUSDCRe7Strategy,
17390
+ name: "Ekubo USDC/USDT",
17391
+ description: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, {}),
17392
+ address: ContractAddr.from(
17393
+ "0x5203a08b471e46bf33990ac83aff577bbe5a5d789e61de2c6531e3c4773d1c9"
17394
+ ),
17395
+ launchBlock: 3998018,
17396
+ // must be same order as poolKey token0 and token1
17397
+ depositTokens: [
17398
+ Global.getDefaultTokens().find((t) => t.symbol === "USDC"),
17399
+ Global.getDefaultTokens().find((t) => t.symbol === "USDT")
17400
+ ],
17401
+ risk: {
17402
+ riskFactor: _stableCoinPoolRiskFactors,
17403
+ netRisk: _stableCoinPoolRiskFactors.reduce((acc, curr) => acc + curr.value * curr.weight, 0) / _stableCoinPoolRiskFactors.reduce((acc, curr) => acc + curr.weight, 0),
17404
+ notARisks: getNoRiskTags(_stableCoinPoolRiskFactors)
17405
+ }
17406
+ },
17407
+ {
17408
+ ...ETHUSDCRe7Strategy,
17409
+ name: "Ekubo ETH/USDC",
17410
+ description: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, {}),
17411
+ address: ContractAddr.from(
17412
+ "0x4d00c7423b3c0fae3640f6099ac97acbfd8708f099e09bfe3a7a6a680399228"
17413
+ ),
17414
+ launchBlock: 3998025,
17415
+ // must be same order as poolKey token0 and token1
17416
+ depositTokens: [
17417
+ Global.getDefaultTokens().find((t) => t.symbol === "USDC"),
17418
+ Global.getDefaultTokens().find((t) => t.symbol === "ETH")
17419
+ ],
17420
+ risk: highRisk
17421
+ },
17422
+ {
17423
+ ...ETHUSDCRe7Strategy,
17424
+ name: "Ekubo STRK/USDC",
17425
+ description: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, {}),
17426
+ address: ContractAddr.from(
17427
+ "0x4de22bd0a8eb4d0a18736e66dd36d20ba50bc106346bbfac3dbeaac1ab37ce1"
17428
+ ),
17429
+ launchBlock: 3998030,
17430
+ // must be same order as poolKey token0 and token1
17431
+ depositTokens: [
17432
+ Global.getDefaultTokens().find((t) => t.symbol === "USDC"),
17433
+ Global.getDefaultTokens().find((t) => t.symbol === "STRK")
17434
+ ],
17435
+ risk: highRisk
17436
+ },
17437
+ {
17438
+ ...ETHUSDCRe7Strategy,
17439
+ name: "Ekubo WBTC/USDC",
17440
+ description: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, {}),
17441
+ address: ContractAddr.from(
17442
+ "0x76101c3b80af1103c9c6d541ca627f61b5ae7ae79d7fce96ccdf7bdb648450d"
17443
+ ),
17444
+ launchBlock: 3998034,
17445
+ // must be same order as poolKey token0 and token1
17446
+ depositTokens: [
17447
+ Global.getDefaultTokens().find((t) => t.symbol === "USDC"),
17448
+ Global.getDefaultTokens().find((t) => t.symbol === "WBTC")
17449
+ ],
17450
+ risk: mediumRisk
17387
17451
  }
17388
17452
  ];
17389
17453
  var EkuboCLVaultStrategies = [
package/dist/index.mjs CHANGED
@@ -17282,6 +17282,70 @@ var RE7Strategies = [
17282
17282
  Global.getDefaultTokens().find((t) => t.symbol === "STRK")
17283
17283
  ],
17284
17284
  risk: highRisk
17285
+ },
17286
+ {
17287
+ ...ETHUSDCRe7Strategy,
17288
+ name: "Ekubo USDC/USDT",
17289
+ description: /* @__PURE__ */ jsx3(Fragment2, {}),
17290
+ address: ContractAddr.from(
17291
+ "0x5203a08b471e46bf33990ac83aff577bbe5a5d789e61de2c6531e3c4773d1c9"
17292
+ ),
17293
+ launchBlock: 3998018,
17294
+ // must be same order as poolKey token0 and token1
17295
+ depositTokens: [
17296
+ Global.getDefaultTokens().find((t) => t.symbol === "USDC"),
17297
+ Global.getDefaultTokens().find((t) => t.symbol === "USDT")
17298
+ ],
17299
+ risk: {
17300
+ riskFactor: _stableCoinPoolRiskFactors,
17301
+ netRisk: _stableCoinPoolRiskFactors.reduce((acc, curr) => acc + curr.value * curr.weight, 0) / _stableCoinPoolRiskFactors.reduce((acc, curr) => acc + curr.weight, 0),
17302
+ notARisks: getNoRiskTags(_stableCoinPoolRiskFactors)
17303
+ }
17304
+ },
17305
+ {
17306
+ ...ETHUSDCRe7Strategy,
17307
+ name: "Ekubo ETH/USDC",
17308
+ description: /* @__PURE__ */ jsx3(Fragment2, {}),
17309
+ address: ContractAddr.from(
17310
+ "0x4d00c7423b3c0fae3640f6099ac97acbfd8708f099e09bfe3a7a6a680399228"
17311
+ ),
17312
+ launchBlock: 3998025,
17313
+ // must be same order as poolKey token0 and token1
17314
+ depositTokens: [
17315
+ Global.getDefaultTokens().find((t) => t.symbol === "USDC"),
17316
+ Global.getDefaultTokens().find((t) => t.symbol === "ETH")
17317
+ ],
17318
+ risk: highRisk
17319
+ },
17320
+ {
17321
+ ...ETHUSDCRe7Strategy,
17322
+ name: "Ekubo STRK/USDC",
17323
+ description: /* @__PURE__ */ jsx3(Fragment2, {}),
17324
+ address: ContractAddr.from(
17325
+ "0x4de22bd0a8eb4d0a18736e66dd36d20ba50bc106346bbfac3dbeaac1ab37ce1"
17326
+ ),
17327
+ launchBlock: 3998030,
17328
+ // must be same order as poolKey token0 and token1
17329
+ depositTokens: [
17330
+ Global.getDefaultTokens().find((t) => t.symbol === "USDC"),
17331
+ Global.getDefaultTokens().find((t) => t.symbol === "STRK")
17332
+ ],
17333
+ risk: highRisk
17334
+ },
17335
+ {
17336
+ ...ETHUSDCRe7Strategy,
17337
+ name: "Ekubo WBTC/USDC",
17338
+ description: /* @__PURE__ */ jsx3(Fragment2, {}),
17339
+ address: ContractAddr.from(
17340
+ "0x76101c3b80af1103c9c6d541ca627f61b5ae7ae79d7fce96ccdf7bdb648450d"
17341
+ ),
17342
+ launchBlock: 3998034,
17343
+ // must be same order as poolKey token0 and token1
17344
+ depositTokens: [
17345
+ Global.getDefaultTokens().find((t) => t.symbol === "USDC"),
17346
+ Global.getDefaultTokens().find((t) => t.symbol === "WBTC")
17347
+ ],
17348
+ risk: mediumRisk
17285
17349
  }
17286
17350
  ];
17287
17351
  var EkuboCLVaultStrategies = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strkfarm/sdk",
3
- "version": "1.1.64",
3
+ "version": "1.1.65",
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",
@@ -64,7 +64,6 @@
64
64
  "@noble/curves": "^1.0.0",
65
65
  "@noble/hashes": "^2.0.0",
66
66
  "@scure/starknet": "^2.0.0",
67
- "@strkfarm/sdk": "link:",
68
67
  "bignumber.js": "4.0.4",
69
68
  "browser-assert": "^1.2.1",
70
69
  "chalk": "^4.1.2",
@@ -2458,6 +2458,72 @@ const RE7Strategies: IStrategyMetadata<CLVaultStrategySettings>[] = [
2458
2458
  Global.getDefaultTokens().find((t) => t.symbol === "STRK")!
2459
2459
  ],
2460
2460
  risk: highRisk,
2461
+ },
2462
+ {
2463
+ ...ETHUSDCRe7Strategy,
2464
+ name: "Ekubo USDC/USDT",
2465
+ description: <></>,
2466
+ address: ContractAddr.from(
2467
+ "0x5203a08b471e46bf33990ac83aff577bbe5a5d789e61de2c6531e3c4773d1c9"
2468
+ ),
2469
+ launchBlock: 3998018,
2470
+ // must be same order as poolKey token0 and token1
2471
+ depositTokens: [
2472
+ Global.getDefaultTokens().find((t) => t.symbol === "USDC")!,
2473
+ Global.getDefaultTokens().find((t) => t.symbol === "USDT")!
2474
+ ],
2475
+ risk: {
2476
+ riskFactor: _stableCoinPoolRiskFactors,
2477
+ netRisk:
2478
+ _stableCoinPoolRiskFactors.reduce((acc, curr) => acc + curr.value * curr.weight, 0) /
2479
+ _stableCoinPoolRiskFactors.reduce((acc, curr) => acc + curr.weight, 0),
2480
+ notARisks: getNoRiskTags(_stableCoinPoolRiskFactors),
2481
+ },
2482
+ },
2483
+ {
2484
+ ...ETHUSDCRe7Strategy,
2485
+ name: "Ekubo ETH/USDC",
2486
+ description: <></>,
2487
+ address: ContractAddr.from(
2488
+ "0x4d00c7423b3c0fae3640f6099ac97acbfd8708f099e09bfe3a7a6a680399228"
2489
+ ),
2490
+ launchBlock: 3998025,
2491
+ // must be same order as poolKey token0 and token1
2492
+ depositTokens: [
2493
+ Global.getDefaultTokens().find((t) => t.symbol === "USDC")!,
2494
+ Global.getDefaultTokens().find((t) => t.symbol === "ETH")!,
2495
+ ],
2496
+ risk: highRisk,
2497
+ },
2498
+ {
2499
+ ...ETHUSDCRe7Strategy,
2500
+ name: "Ekubo STRK/USDC",
2501
+ description: <></>,
2502
+ address: ContractAddr.from(
2503
+ "0x4de22bd0a8eb4d0a18736e66dd36d20ba50bc106346bbfac3dbeaac1ab37ce1"
2504
+ ),
2505
+ launchBlock: 3998030,
2506
+ // must be same order as poolKey token0 and token1
2507
+ depositTokens: [
2508
+ Global.getDefaultTokens().find((t) => t.symbol === "USDC")!,
2509
+ Global.getDefaultTokens().find((t) => t.symbol === "STRK")!,
2510
+ ],
2511
+ risk: highRisk,
2512
+ },
2513
+ {
2514
+ ...ETHUSDCRe7Strategy,
2515
+ name: "Ekubo WBTC/USDC",
2516
+ description: <></>,
2517
+ address: ContractAddr.from(
2518
+ "0x76101c3b80af1103c9c6d541ca627f61b5ae7ae79d7fce96ccdf7bdb648450d"
2519
+ ),
2520
+ launchBlock: 3998034,
2521
+ // must be same order as poolKey token0 and token1
2522
+ depositTokens: [
2523
+ Global.getDefaultTokens().find((t) => t.symbol === "USDC")!,
2524
+ Global.getDefaultTokens().find((t) => t.symbol === "WBTC")!,
2525
+ ],
2526
+ risk: mediumRisk,
2461
2527
  }
2462
2528
  ];
2463
2529