@gearbox-protocol/sdk 12.0.0-next.1 → 12.0.0-next.3

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.
@@ -666,6 +666,7 @@ class MarketConfiguratorContract extends import_sdk.BaseContract {
666
666
  deployParams: (0, import_sdk.json_stringify)(deployParams)
667
667
  };
668
668
  }
669
+ case "revokeRole":
669
670
  case "grantRole": {
670
671
  const [role, address] = args;
671
672
  return {
@@ -103,13 +103,10 @@ class TreasurySplitterContract extends import_sdk.BaseContract {
103
103
  abi,
104
104
  data: callData
105
105
  });
106
- if (decoded) {
107
- return {
108
- functionName: decoded.functionName,
109
- ...super.parseFunctionParams(params)
110
- };
111
- }
112
- return super.parseFunctionParams(params);
106
+ return {
107
+ functionName: decoded.functionName,
108
+ ...super.parseFunctionParams(decoded)
109
+ };
113
110
  }
114
111
  default:
115
112
  return super.parseFunctionParams(params);
@@ -661,6 +661,7 @@ class MarketConfiguratorContract extends BaseContract {
661
661
  deployParams: json_stringify(deployParams)
662
662
  };
663
663
  }
664
+ case "revokeRole":
664
665
  case "grantRole": {
665
666
  const [role, address] = args;
666
667
  return {
@@ -82,13 +82,10 @@ class TreasurySplitterContract extends BaseContract {
82
82
  abi,
83
83
  data: callData
84
84
  });
85
- if (decoded) {
86
- return {
87
- functionName: decoded.functionName,
88
- ...super.parseFunctionParams(params)
89
- };
90
- }
91
- return super.parseFunctionParams(params);
85
+ return {
86
+ functionName: decoded.functionName,
87
+ ...super.parseFunctionParams(decoded)
88
+ };
92
89
  }
93
90
  default:
94
91
  return super.parseFunctionParams(params);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "12.0.0-next.1",
3
+ "version": "12.0.0-next.3",
4
4
  "description": "Gearbox SDK",
5
5
  "license": "MIT",
6
6
  "main": "./dist/cjs/sdk/index.js",