@strkfarm/sdk 1.1.64 → 1.1.66

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,86 @@ 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
+ additionalInfo: {
17407
+ ...ETHUSDCRe7Strategy.additionalInfo,
17408
+ quoteAsset: Global.getDefaultTokens().find((t) => t.symbol === "USDC")
17409
+ }
17410
+ },
17411
+ {
17412
+ ...ETHUSDCRe7Strategy,
17413
+ name: "Ekubo ETH/USDC",
17414
+ description: /* @__PURE__ */ jsx3(Fragment2, {}),
17415
+ address: ContractAddr.from(
17416
+ "0x4d00c7423b3c0fae3640f6099ac97acbfd8708f099e09bfe3a7a6a680399228"
17417
+ ),
17418
+ launchBlock: 3998025,
17419
+ // must be same order as poolKey token0 and token1
17420
+ depositTokens: [
17421
+ Global.getDefaultTokens().find((t) => t.symbol === "USDC"),
17422
+ Global.getDefaultTokens().find((t) => t.symbol === "ETH")
17423
+ ],
17424
+ risk: highRisk,
17425
+ additionalInfo: {
17426
+ ...ETHUSDCRe7Strategy.additionalInfo,
17427
+ quoteAsset: Global.getDefaultTokens().find((t) => t.symbol === "USDC")
17428
+ }
17429
+ },
17430
+ {
17431
+ ...ETHUSDCRe7Strategy,
17432
+ name: "Ekubo STRK/USDC",
17433
+ description: /* @__PURE__ */ jsx3(Fragment2, {}),
17434
+ address: ContractAddr.from(
17435
+ "0x4de22bd0a8eb4d0a18736e66dd36d20ba50bc106346bbfac3dbeaac1ab37ce1"
17436
+ ),
17437
+ launchBlock: 3998030,
17438
+ // must be same order as poolKey token0 and token1
17439
+ depositTokens: [
17440
+ Global.getDefaultTokens().find((t) => t.symbol === "USDC"),
17441
+ Global.getDefaultTokens().find((t) => t.symbol === "STRK")
17442
+ ],
17443
+ risk: highRisk,
17444
+ additionalInfo: {
17445
+ ...ETHUSDCRe7Strategy.additionalInfo,
17446
+ quoteAsset: Global.getDefaultTokens().find((t) => t.symbol === "USDC")
17447
+ }
17448
+ },
17449
+ {
17450
+ ...ETHUSDCRe7Strategy,
17451
+ name: "Ekubo WBTC/USDC",
17452
+ description: /* @__PURE__ */ jsx3(Fragment2, {}),
17453
+ address: ContractAddr.from(
17454
+ "0x76101c3b80af1103c9c6d541ca627f61b5ae7ae79d7fce96ccdf7bdb648450d"
17455
+ ),
17456
+ launchBlock: 3998034,
17457
+ // must be same order as poolKey token0 and token1
17458
+ depositTokens: [
17459
+ Global.getDefaultTokens().find((t) => t.symbol === "USDC"),
17460
+ Global.getDefaultTokens().find((t) => t.symbol === "WBTC")
17461
+ ],
17462
+ risk: mediumRisk,
17463
+ additionalInfo: {
17464
+ ...ETHUSDCRe7Strategy.additionalInfo,
17465
+ quoteAsset: Global.getDefaultTokens().find((t) => t.symbol === "USDC")
17466
+ }
17387
17467
  }
17388
17468
  ];
17389
17469
  var EkuboCLVaultStrategies = [
package/dist/index.js CHANGED
@@ -17384,6 +17384,86 @@ 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
+ additionalInfo: {
17407
+ ...ETHUSDCRe7Strategy.additionalInfo,
17408
+ quoteAsset: Global.getDefaultTokens().find((t) => t.symbol === "USDC")
17409
+ }
17410
+ },
17411
+ {
17412
+ ...ETHUSDCRe7Strategy,
17413
+ name: "Ekubo ETH/USDC",
17414
+ description: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, {}),
17415
+ address: ContractAddr.from(
17416
+ "0x4d00c7423b3c0fae3640f6099ac97acbfd8708f099e09bfe3a7a6a680399228"
17417
+ ),
17418
+ launchBlock: 3998025,
17419
+ // must be same order as poolKey token0 and token1
17420
+ depositTokens: [
17421
+ Global.getDefaultTokens().find((t) => t.symbol === "USDC"),
17422
+ Global.getDefaultTokens().find((t) => t.symbol === "ETH")
17423
+ ],
17424
+ risk: highRisk,
17425
+ additionalInfo: {
17426
+ ...ETHUSDCRe7Strategy.additionalInfo,
17427
+ quoteAsset: Global.getDefaultTokens().find((t) => t.symbol === "USDC")
17428
+ }
17429
+ },
17430
+ {
17431
+ ...ETHUSDCRe7Strategy,
17432
+ name: "Ekubo STRK/USDC",
17433
+ description: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, {}),
17434
+ address: ContractAddr.from(
17435
+ "0x4de22bd0a8eb4d0a18736e66dd36d20ba50bc106346bbfac3dbeaac1ab37ce1"
17436
+ ),
17437
+ launchBlock: 3998030,
17438
+ // must be same order as poolKey token0 and token1
17439
+ depositTokens: [
17440
+ Global.getDefaultTokens().find((t) => t.symbol === "USDC"),
17441
+ Global.getDefaultTokens().find((t) => t.symbol === "STRK")
17442
+ ],
17443
+ risk: highRisk,
17444
+ additionalInfo: {
17445
+ ...ETHUSDCRe7Strategy.additionalInfo,
17446
+ quoteAsset: Global.getDefaultTokens().find((t) => t.symbol === "USDC")
17447
+ }
17448
+ },
17449
+ {
17450
+ ...ETHUSDCRe7Strategy,
17451
+ name: "Ekubo WBTC/USDC",
17452
+ description: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, {}),
17453
+ address: ContractAddr.from(
17454
+ "0x76101c3b80af1103c9c6d541ca627f61b5ae7ae79d7fce96ccdf7bdb648450d"
17455
+ ),
17456
+ launchBlock: 3998034,
17457
+ // must be same order as poolKey token0 and token1
17458
+ depositTokens: [
17459
+ Global.getDefaultTokens().find((t) => t.symbol === "USDC"),
17460
+ Global.getDefaultTokens().find((t) => t.symbol === "WBTC")
17461
+ ],
17462
+ risk: mediumRisk,
17463
+ additionalInfo: {
17464
+ ...ETHUSDCRe7Strategy.additionalInfo,
17465
+ quoteAsset: Global.getDefaultTokens().find((t) => t.symbol === "USDC")
17466
+ }
17387
17467
  }
17388
17468
  ];
17389
17469
  var EkuboCLVaultStrategies = [
package/dist/index.mjs CHANGED
@@ -17282,6 +17282,86 @@ 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
+ additionalInfo: {
17305
+ ...ETHUSDCRe7Strategy.additionalInfo,
17306
+ quoteAsset: Global.getDefaultTokens().find((t) => t.symbol === "USDC")
17307
+ }
17308
+ },
17309
+ {
17310
+ ...ETHUSDCRe7Strategy,
17311
+ name: "Ekubo ETH/USDC",
17312
+ description: /* @__PURE__ */ jsx3(Fragment2, {}),
17313
+ address: ContractAddr.from(
17314
+ "0x4d00c7423b3c0fae3640f6099ac97acbfd8708f099e09bfe3a7a6a680399228"
17315
+ ),
17316
+ launchBlock: 3998025,
17317
+ // must be same order as poolKey token0 and token1
17318
+ depositTokens: [
17319
+ Global.getDefaultTokens().find((t) => t.symbol === "USDC"),
17320
+ Global.getDefaultTokens().find((t) => t.symbol === "ETH")
17321
+ ],
17322
+ risk: highRisk,
17323
+ additionalInfo: {
17324
+ ...ETHUSDCRe7Strategy.additionalInfo,
17325
+ quoteAsset: Global.getDefaultTokens().find((t) => t.symbol === "USDC")
17326
+ }
17327
+ },
17328
+ {
17329
+ ...ETHUSDCRe7Strategy,
17330
+ name: "Ekubo STRK/USDC",
17331
+ description: /* @__PURE__ */ jsx3(Fragment2, {}),
17332
+ address: ContractAddr.from(
17333
+ "0x4de22bd0a8eb4d0a18736e66dd36d20ba50bc106346bbfac3dbeaac1ab37ce1"
17334
+ ),
17335
+ launchBlock: 3998030,
17336
+ // must be same order as poolKey token0 and token1
17337
+ depositTokens: [
17338
+ Global.getDefaultTokens().find((t) => t.symbol === "USDC"),
17339
+ Global.getDefaultTokens().find((t) => t.symbol === "STRK")
17340
+ ],
17341
+ risk: highRisk,
17342
+ additionalInfo: {
17343
+ ...ETHUSDCRe7Strategy.additionalInfo,
17344
+ quoteAsset: Global.getDefaultTokens().find((t) => t.symbol === "USDC")
17345
+ }
17346
+ },
17347
+ {
17348
+ ...ETHUSDCRe7Strategy,
17349
+ name: "Ekubo WBTC/USDC",
17350
+ description: /* @__PURE__ */ jsx3(Fragment2, {}),
17351
+ address: ContractAddr.from(
17352
+ "0x76101c3b80af1103c9c6d541ca627f61b5ae7ae79d7fce96ccdf7bdb648450d"
17353
+ ),
17354
+ launchBlock: 3998034,
17355
+ // must be same order as poolKey token0 and token1
17356
+ depositTokens: [
17357
+ Global.getDefaultTokens().find((t) => t.symbol === "USDC"),
17358
+ Global.getDefaultTokens().find((t) => t.symbol === "WBTC")
17359
+ ],
17360
+ risk: mediumRisk,
17361
+ additionalInfo: {
17362
+ ...ETHUSDCRe7Strategy.additionalInfo,
17363
+ quoteAsset: Global.getDefaultTokens().find((t) => t.symbol === "USDC")
17364
+ }
17285
17365
  }
17286
17366
  ];
17287
17367
  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.66",
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,88 @@ 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
+ additionalInfo: {
2483
+ ...ETHUSDCRe7Strategy.additionalInfo,
2484
+ quoteAsset: Global.getDefaultTokens().find((t) => t.symbol === "USDC")!,
2485
+ }
2486
+ },
2487
+ {
2488
+ ...ETHUSDCRe7Strategy,
2489
+ name: "Ekubo ETH/USDC",
2490
+ description: <></>,
2491
+ address: ContractAddr.from(
2492
+ "0x4d00c7423b3c0fae3640f6099ac97acbfd8708f099e09bfe3a7a6a680399228"
2493
+ ),
2494
+ launchBlock: 3998025,
2495
+ // must be same order as poolKey token0 and token1
2496
+ depositTokens: [
2497
+ Global.getDefaultTokens().find((t) => t.symbol === "USDC")!,
2498
+ Global.getDefaultTokens().find((t) => t.symbol === "ETH")!,
2499
+ ],
2500
+ risk: highRisk,
2501
+ additionalInfo: {
2502
+ ...ETHUSDCRe7Strategy.additionalInfo,
2503
+ quoteAsset: Global.getDefaultTokens().find((t) => t.symbol === "USDC")!,
2504
+ }
2505
+ },
2506
+ {
2507
+ ...ETHUSDCRe7Strategy,
2508
+ name: "Ekubo STRK/USDC",
2509
+ description: <></>,
2510
+ address: ContractAddr.from(
2511
+ "0x4de22bd0a8eb4d0a18736e66dd36d20ba50bc106346bbfac3dbeaac1ab37ce1"
2512
+ ),
2513
+ launchBlock: 3998030,
2514
+ // must be same order as poolKey token0 and token1
2515
+ depositTokens: [
2516
+ Global.getDefaultTokens().find((t) => t.symbol === "USDC")!,
2517
+ Global.getDefaultTokens().find((t) => t.symbol === "STRK")!,
2518
+ ],
2519
+ risk: highRisk,
2520
+ additionalInfo: {
2521
+ ...ETHUSDCRe7Strategy.additionalInfo,
2522
+ quoteAsset: Global.getDefaultTokens().find((t) => t.symbol === "USDC")!,
2523
+ }
2524
+ },
2525
+ {
2526
+ ...ETHUSDCRe7Strategy,
2527
+ name: "Ekubo WBTC/USDC",
2528
+ description: <></>,
2529
+ address: ContractAddr.from(
2530
+ "0x76101c3b80af1103c9c6d541ca627f61b5ae7ae79d7fce96ccdf7bdb648450d"
2531
+ ),
2532
+ launchBlock: 3998034,
2533
+ // must be same order as poolKey token0 and token1
2534
+ depositTokens: [
2535
+ Global.getDefaultTokens().find((t) => t.symbol === "USDC")!,
2536
+ Global.getDefaultTokens().find((t) => t.symbol === "WBTC")!,
2537
+ ],
2538
+ risk: mediumRisk,
2539
+ additionalInfo: {
2540
+ ...ETHUSDCRe7Strategy.additionalInfo,
2541
+ quoteAsset: Global.getDefaultTokens().find((t) => t.symbol === "USDC")!,
2542
+ }
2461
2543
  }
2462
2544
  ];
2463
2545