@gearbox-protocol/sdk 10.3.0 → 10.3.1

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,
@@ -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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "10.3.0",
3
+ "version": "10.3.1",
4
4
  "description": "Gearbox SDK",
5
5
  "license": "MIT",
6
6
  "main": "./dist/cjs/sdk/index.js",