@defillama/sdk 5.0.98 → 5.0.101

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.
@@ -159,6 +159,10 @@ const DEPLOYMENT_BLOCK = {
159
159
  starchain: 23898035,
160
160
  apechain: 20889,
161
161
  zircuit: 5815253,
162
+ qom: 10050,
163
+ matchain: 2598669,
164
+ shape: 3443414,
165
+ morph: 169985,
162
166
  };
163
167
  async function makeMultiCall(functionABI, calls, chain, block) {
164
168
  if (chain === 'tron')
@@ -269,6 +273,15 @@ function getMulticallAddress(chain, block) {
269
273
  case 'taiko':
270
274
  multicallAddress = '0xcb2436774C3e191c85056d248EF4260ce5f27A9D';
271
275
  break;
276
+ case 'qom':
277
+ multicallAddress = '0x7A52370716ea730585884F5BDB0f6E60C39b8C64';
278
+ break;
279
+ case 'matchain':
280
+ multicallAddress = '0xDa91510Bd8c50bfa54FC2BE2dD6dAbE03eA8496c';
281
+ break;
282
+ case 'morph':
283
+ multicallAddress = '0x33A213b1049D5AD2eeE6e61dAe040955e60383D4';
284
+ break;
272
285
  }
273
286
  return multicallAddress;
274
287
  }
@@ -185,7 +185,7 @@ function formErrorString(e, errorParams = {}) {
185
185
  return '';
186
186
  }
187
187
  if (e.llamaRPCError) {
188
- const errorString = `Llama RPC error! methos: ${e.method} `;
188
+ const errorString = `Llama RPC error! method: ${e.method} `;
189
189
  const errors = e.errors.map((i) => { var _a; return `- host: ${i === null || i === void 0 ? void 0 : i.host} error: ${(_a = i === null || i === void 0 ? void 0 : i.error) === null || _a === void 0 ? void 0 : _a.message}`; });
190
190
  return errorString + '\n' + errors.join('\n');
191
191
  }