@gearbox-protocol/sdk 10.3.0 → 10.4.0

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.
@@ -26,6 +26,7 @@ var import_instanceManager = require("../../abi/310/instanceManager.js");
26
26
  var import_camelotV3Worker = require("../../abi/router/camelotV3Worker.js");
27
27
  var import_erc4626Worker = require("../../abi/router/erc4626Worker.js");
28
28
  var import_gearboxRouter = require("../../abi/router/gearboxRouter.js");
29
+ var import_mellow4626Worker = require("../../abi/router/mellow4626Worker.js");
29
30
  var import_pendleRouterWorker = require("../../abi/router/pendleRouterWorker.js");
30
31
  var import_uniswapV3Worker = require("../../abi/router/uniswapV3Worker.js");
31
32
  var import_utils = require("../../sdk/utils/index.js");
@@ -90,6 +91,16 @@ class InstanceManagerContract extends import_base_contract.BaseContract {
90
91
  if (!parsedData.functionName.startsWith("Unknown function")) {
91
92
  return parsedData;
92
93
  }
94
+ const mellow4626Worker = new import_base_contract.BaseContract(
95
+ import_mellow4626Worker.mellow4626WorkerAbi,
96
+ target,
97
+ this.client,
98
+ "Mellow4626Worker"
99
+ );
100
+ parsedData = mellow4626Worker.parseFunctionData(calldata);
101
+ if (!parsedData.functionName.startsWith("Unknown function")) {
102
+ return parsedData;
103
+ }
93
104
  const pendleRouterWorker = new import_base_contract.BaseContract(
94
105
  import_pendleRouterWorker.pendleRouterWorkerAbi,
95
106
  target,
@@ -294,7 +294,8 @@ const chains = {
294
294
  defaultMarketConfigurators: {
295
295
  "0x7a133fbd01736fd076158307c9476cc3877f1af5": "Invariant Group",
296
296
  "0x4bce62622be621ce036691de98afcab0e41a77a3": "Edge UltraYield",
297
- "0xce1cf71a28837daaa7b92d00ca4ef2fd649c2a67": "Hyperithm"
297
+ "0xce1cf71a28837daaa7b92d00ca4ef2fd649c2a67": "Hyperithm",
298
+ "0x9655f82b585b11cee8a05576ed8efcf755cec04b": "TelosC"
298
299
  },
299
300
  isPublic: true,
300
301
  wellKnownToken: {
@@ -6,6 +6,7 @@ import { instanceManagerAbi } from "../../abi/310/instanceManager.js";
6
6
  import { camelotV3WorkerAbi } from "../../abi/router/camelotV3Worker.js";
7
7
  import { erc4626WorkerAbi } from "../../abi/router/erc4626Worker.js";
8
8
  import { gearboxRouterAbi } from "../../abi/router/gearboxRouter.js";
9
+ import { mellow4626WorkerAbi } from "../../abi/router/mellow4626Worker.js";
9
10
  import { pendleRouterWorkerAbi } from "../../abi/router/pendleRouterWorker.js";
10
11
  import { uniswapV3WorkerAbi } from "../../abi/router/uniswapV3Worker.js";
11
12
  import { json_stringify } from "../../sdk/utils/index.js";
@@ -70,6 +71,16 @@ class InstanceManagerContract extends BaseContract {
70
71
  if (!parsedData.functionName.startsWith("Unknown function")) {
71
72
  return parsedData;
72
73
  }
74
+ const mellow4626Worker = new BaseContract(
75
+ mellow4626WorkerAbi,
76
+ target,
77
+ this.client,
78
+ "Mellow4626Worker"
79
+ );
80
+ parsedData = mellow4626Worker.parseFunctionData(calldata);
81
+ if (!parsedData.functionName.startsWith("Unknown function")) {
82
+ return parsedData;
83
+ }
73
84
  const pendleRouterWorker = new BaseContract(
74
85
  pendleRouterWorkerAbi,
75
86
  target,
@@ -279,7 +279,8 @@ const chains = {
279
279
  defaultMarketConfigurators: {
280
280
  "0x7a133fbd01736fd076158307c9476cc3877f1af5": "Invariant Group",
281
281
  "0x4bce62622be621ce036691de98afcab0e41a77a3": "Edge UltraYield",
282
- "0xce1cf71a28837daaa7b92d00ca4ef2fd649c2a67": "Hyperithm"
282
+ "0xce1cf71a28837daaa7b92d00ca4ef2fd649c2a67": "Hyperithm",
283
+ "0x9655f82b585b11cee8a05576ed8efcf755cec04b": "TelosC"
283
284
  },
284
285
  isPublic: true,
285
286
  wellKnownToken: {
@@ -1,6 +1,6 @@
1
1
  import type { Address, Chain } from "viem";
2
2
  import { z } from "zod/v4";
3
- export type Curator = "Chaos Labs" | "K3" | "cp0x" | "Re7" | "Invariant Group" | "Tulipa" | "M11 Credit" | "kpk" | "Hyperithm" | "Edge UltraYield";
3
+ export type Curator = "Chaos Labs" | "K3" | "cp0x" | "Re7" | "Invariant Group" | "Tulipa" | "M11 Credit" | "kpk" | "Hyperithm" | "Edge UltraYield" | "TelosC";
4
4
  export interface GearboxChain extends Chain {
5
5
  network: NetworkType;
6
6
  defaultMarketConfigurators: Record<Address, Curator>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "10.3.0",
3
+ "version": "10.4.0",
4
4
  "description": "Gearbox SDK",
5
5
  "license": "MIT",
6
6
  "main": "./dist/cjs/sdk/index.js",