@gearbox-protocol/sdk 1.12.2 → 1.12.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.
@@ -30,16 +30,17 @@ exports.deployedContracts = {
30
30
  "0xB2A015c71c17bCAC6af36645DEad8c572bA08A08": "WBTC",
31
31
  "0xC38478B0A4bAFE964C3526EEFF534d70E1E09017": "WBTC",
32
32
  // GOERLI
33
- "0x2B16eA2D7a1b13d115d05B03Fd0E5984eFA0F18D": "DAI",
34
- "0x19e8293f46caE0770d608a3078EFb59f0B0166aa": "USDC",
35
- "0x9149A40293d0bc17f07DaFC7F6282b267D3C68C8": "WETH",
36
- "0x70ba4442e9c76269f9f2c31c8884fc7880f40d4a": "wstETH",
33
+ "0xf7ba434952acaa2e12035a2c3643ca327914a470": "DAI",
34
+ "0x2144a7785baecbab32295188285717cad6c1a11c": "USDC",
35
+ "0x2ad4a2f1bdd815e285a22cdcc072fbb43818b09b": "WETH",
36
+ "0x40d542a5c15b2c0c65af047984c285c2c30847af": "wstETH",
37
+ "0x6546dd4e8d507e3e45bb924818c0bad2a3aa2c5f": "WBTC",
37
38
  // GOERLI pools
38
- "0xfb422E503f8b768184ABA5e73587543d1C871A23": "DAI",
39
- "0x7c14C88f672d5513C8fa640fA48815f40c781a60": "USDC",
40
- "0x13376d637dEd73a0df20D192F691a88c8aF7DD0A": "WETH",
41
- "0x3F926a46893AF659C2768f118D5F189190bAA15C": "WBTC",
42
- "0xBDF0395fa6f134B8DE35Ef30c61B2B9711CBD67A": "wstETH",
39
+ "0xfb422e503f8b768184aba5e73587543d1c871a23": "DAI",
40
+ "0x7c14c88f672d5513c8fa640fa48815f40c781a60": "USDC",
41
+ "0x13376d637ded73a0df20d192f691a88c8af7dd0a": "ETH/WETH",
42
+ "0x3f926a46893af659c2768f118d5f189190baa15c": "WBTC",
43
+ "0xbdf0395fa6f134b8de35ef30c61b2b9711cbd67a": "wstETH",
43
44
  };
44
45
  var contractNames = Object.entries(contracts_1.contractsByAddress).reduce(function (acc, _a) {
45
46
  var _b;
@@ -92,7 +92,7 @@ var EventParser = /** @class */ (function () {
92
92
  case "EventOwnershipTransferred":
93
93
  return new EventTransferOwnership(params);
94
94
  default:
95
- throw new Error("Unknown transaction for parsing");
95
+ throw new Error("Unknown transaction for parsing ".concat(data.type));
96
96
  }
97
97
  };
98
98
  EventParser.deserializeArray = function (data) {
@@ -56,7 +56,7 @@ var TxSerializer = /** @class */ (function () {
56
56
  case "TxClaimReward":
57
57
  return new TxClaimReward(params);
58
58
  default:
59
- throw new Error("Unknown transaction for parsing");
59
+ throw new Error("Unknown transaction for parsing: ".concat(e.type));
60
60
  }
61
61
  });
62
62
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "1.12.2",
3
+ "version": "1.12.3",
4
4
  "description": "Gearbox SDK",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",