viem 0.2.0-0-2-0.20230329T022953 → 0.2.0-0-2-0.20230330T023229

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.
Files changed (69) hide show
  1. package/dist/abi.d.ts +3 -3
  2. package/dist/abi.js +2 -2
  3. package/dist/abi.mjs +1 -1
  4. package/dist/accounts/index.d.ts +5 -14
  5. package/dist/accounts/index.js +20 -30
  6. package/dist/accounts/index.js.map +1 -1
  7. package/dist/accounts/index.mjs +14 -24
  8. package/dist/accounts/index.mjs.map +1 -1
  9. package/dist/{chain-5b28fc53.d.ts → chain-9da1e6b6.d.ts} +132 -120
  10. package/dist/{chain-e9b996ff.d.ts → chain-b53ed5d9.d.ts} +1 -1
  11. package/dist/chains.d.ts +867 -99
  12. package/dist/chains.js +115 -63
  13. package/dist/chains.js.map +1 -1
  14. package/dist/chains.mjs +58 -6
  15. package/dist/chains.mjs.map +1 -1
  16. package/dist/{chunk-564BCC7H.js → chunk-2ESQNALV.js} +18 -16
  17. package/dist/chunk-2ESQNALV.js.map +1 -0
  18. package/dist/{chunk-CXE4XSMF.js → chunk-ASAFFZMD.js} +19 -19
  19. package/dist/{chunk-UCZWRYV5.mjs → chunk-B7WOV4RY.mjs} +18 -16
  20. package/dist/chunk-B7WOV4RY.mjs.map +1 -0
  21. package/dist/{chunk-D3ALNUWN.js → chunk-GNHXOZCH.js} +6 -6
  22. package/dist/{chunk-BJ5KRDTG.mjs → chunk-RFOQRRYW.mjs} +2 -2
  23. package/dist/{chunk-7QEOFHC7.mjs → chunk-S4GWZ3LJ.mjs} +2 -2
  24. package/dist/contract.d.ts +8 -8
  25. package/dist/contract.js +2 -2
  26. package/dist/contract.mjs +1 -1
  27. package/dist/{createClient-e52de308.d.ts → createTransport-e031366b.d.ts} +36 -34
  28. package/dist/{eip1193-9080db42.d.ts → eip1193-e79469af.d.ts} +1 -1
  29. package/dist/{encodeFunctionResult-47ad60ed.d.ts → encodeFunctionResult-d206ceb9.d.ts} +15 -15
  30. package/dist/{encodePacked-35c796fb.d.ts → encodePacked-b36ce88a.d.ts} +1 -1
  31. package/dist/ens.d.ts +5 -5
  32. package/dist/ens.js +3 -3
  33. package/dist/ens.mjs +2 -2
  34. package/dist/ethers.d.ts +2 -2
  35. package/dist/ethers.js +4 -4
  36. package/dist/ethers.mjs +2 -2
  37. package/dist/{formatAbiItem-d9e801dd.d.ts → formatAbiItem-a7a3fb0f.d.ts} +1 -1
  38. package/dist/{getAbiItem-1d94ae0e.d.ts → getAbiItem-5e8b01de.d.ts} +3 -3
  39. package/dist/index.d.ts +49 -15
  40. package/dist/index.js +218 -138
  41. package/dist/index.js.map +1 -1
  42. package/dist/index.mjs +127 -47
  43. package/dist/index.mjs.map +1 -1
  44. package/dist/{parseGwei-c9e9d320.d.ts → parseGwei-7678c2fa.d.ts} +6 -6
  45. package/dist/public.d.ts +5 -5
  46. package/dist/public.js +2 -2
  47. package/dist/public.mjs +1 -1
  48. package/dist/publicKeyToAddress-87b9856c.d.ts +16 -0
  49. package/dist/{test-f3d06763.d.ts → test-68dbda5b.d.ts} +3 -3
  50. package/dist/test.d.ts +5 -5
  51. package/dist/test.js +2 -2
  52. package/dist/test.mjs +1 -1
  53. package/dist/{typedData-42b43450.d.ts → typedData-8b24374d.d.ts} +1 -1
  54. package/dist/utils/index.d.ts +15 -15
  55. package/dist/utils/index.js +4 -2
  56. package/dist/utils/index.mjs +3 -1
  57. package/dist/wallet.d.ts +5 -5
  58. package/dist/wallet.js +2 -2
  59. package/dist/wallet.mjs +1 -1
  60. package/dist/{watchPendingTransactions-468f53f2.d.ts → watchPendingTransactions-53449c4e.d.ts} +34 -31
  61. package/dist/window.d.ts +2 -2
  62. package/package.json +3 -3
  63. package/dist/chunk-564BCC7H.js.map +0 -1
  64. package/dist/chunk-UCZWRYV5.mjs.map +0 -1
  65. package/dist/parseAccount-4209fa24.d.ts +0 -6
  66. /package/dist/{chunk-CXE4XSMF.js.map → chunk-ASAFFZMD.js.map} +0 -0
  67. /package/dist/{chunk-D3ALNUWN.js.map → chunk-GNHXOZCH.js.map} +0 -0
  68. /package/dist/{chunk-BJ5KRDTG.mjs.map → chunk-RFOQRRYW.mjs.map} +0 -0
  69. /package/dist/{chunk-7QEOFHC7.mjs.map → chunk-S4GWZ3LJ.mjs.map} +0 -0
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkCXE4XSMFjs = require('./chunk-CXE4XSMF.js');
6
+ var _chunkASAFFZMDjs = require('./chunk-ASAFFZMD.js');
7
7
 
8
8
 
9
9
 
@@ -259,7 +259,10 @@ var _chunkCXE4XSMFjs = require('./chunk-CXE4XSMF.js');
259
259
 
260
260
 
261
261
 
262
- var _chunk564BCC7Hjs = require('./chunk-564BCC7H.js');
262
+
263
+
264
+
265
+ var _chunk2ESQNALVjs = require('./chunk-2ESQNALV.js');
263
266
 
264
267
  // src/clients/transports/createTransport.ts
265
268
  function createTransport({
@@ -273,7 +276,7 @@ function createTransport({
273
276
  }, value) {
274
277
  return {
275
278
  config: { key, name, request, retryCount, retryDelay, timeout, type },
276
- request: _chunk564BCC7Hjs.buildRequest.call(void 0, request, { retryCount, retryDelay }),
279
+ request: _chunk2ESQNALVjs.buildRequest.call(void 0, request, { retryCount, retryDelay }),
277
280
  value
278
281
  };
279
282
  }
@@ -292,40 +295,119 @@ function custom(provider, config = {}) {
292
295
  }
293
296
 
294
297
  // src/clients/transports/fallback.ts
295
- function fallback(transports, config = {}) {
296
- const { key = "fallback", name = "Fallback", retryCount, retryDelay } = config;
297
- return ({ chain }) => createTransport(
298
- {
299
- key,
300
- name,
301
- async request({ method, params }) {
302
- const fetch = async (i = 0) => {
303
- const transport = transports[i]({ chain, retryCount: 0 });
304
- try {
305
- return await transport.request({
306
- method,
307
- params
308
- });
309
- } catch (err) {
310
- if (_chunk564BCC7Hjs.isDeterministicError.call(void 0, err))
311
- throw err;
312
- if (i === transports.length - 1)
313
- throw err;
314
- return fetch(i + 1);
315
- }
316
- };
317
- return fetch();
298
+ function fallback(transports_, config = {}) {
299
+ const {
300
+ key = "fallback",
301
+ name = "Fallback",
302
+ rank = true,
303
+ retryCount,
304
+ retryDelay
305
+ } = config;
306
+ return ({ chain, pollingInterval = 4e3, timeout }) => {
307
+ let transports = transports_;
308
+ const transport = createTransport(
309
+ {
310
+ key,
311
+ name,
312
+ async request({ method, params }) {
313
+ const fetch = async (i = 0) => {
314
+ const transport2 = transports[i]({ chain, retryCount: 0, timeout });
315
+ try {
316
+ return await transport2.request({
317
+ method,
318
+ params
319
+ });
320
+ } catch (err) {
321
+ if (_chunk2ESQNALVjs.isDeterministicError.call(void 0, err))
322
+ throw err;
323
+ if (i === transports.length - 1)
324
+ throw err;
325
+ return fetch(i + 1);
326
+ }
327
+ };
328
+ return fetch();
329
+ },
330
+ retryCount,
331
+ retryDelay,
332
+ type: "fallback"
318
333
  },
319
- retryCount,
320
- retryDelay,
321
- type: "fallback"
322
- },
323
- {
324
- transports: transports.map(
325
- (fn) => fn({ chain, retryCount: 0 })
326
- )
334
+ {
335
+ transports: transports.map(
336
+ (fn) => fn({ chain, retryCount: 0 })
337
+ )
338
+ }
339
+ );
340
+ if (rank) {
341
+ const rankOptions = typeof rank === "object" ? rank : {};
342
+ rankTransports({
343
+ chain,
344
+ interval: _nullishCoalesce(rankOptions.interval, () => ( pollingInterval)),
345
+ onTransports: (transports_2) => transports = transports_2,
346
+ sampleCount: rankOptions.sampleCount,
347
+ timeout: rankOptions.timeout,
348
+ transports,
349
+ weights: rankOptions.weights
350
+ });
327
351
  }
328
- );
352
+ return transport;
353
+ };
354
+ }
355
+ function rankTransports({
356
+ chain,
357
+ interval = 4e3,
358
+ onTransports,
359
+ sampleCount = 10,
360
+ timeout = 1e3,
361
+ transports,
362
+ weights = {}
363
+ }) {
364
+ const { stability: stabilityWeight = 0.7, latency: latencyWeight = 0.3 } = weights;
365
+ const samples = [];
366
+ const rankTransports_ = async () => {
367
+ const sample = await Promise.all(
368
+ transports.map(async (transport) => {
369
+ const transport_ = transport({ chain, retryCount: 0, timeout });
370
+ const start = Date.now();
371
+ let end;
372
+ let success;
373
+ try {
374
+ await transport_.request({ method: "net_listening" });
375
+ success = 1;
376
+ } catch (e) {
377
+ success = 0;
378
+ } finally {
379
+ end = Date.now();
380
+ }
381
+ const latency = end - start;
382
+ return { latency, success };
383
+ })
384
+ );
385
+ samples.push(sample);
386
+ if (samples.length > sampleCount)
387
+ samples.shift();
388
+ const maxLatency = Math.max(
389
+ ...samples.map(
390
+ (sample2) => Math.max(...sample2.map(({ latency }) => latency))
391
+ )
392
+ );
393
+ const scores = transports.map((_, i) => {
394
+ const latencies = samples.map((sample2) => sample2[i].latency);
395
+ const meanLatency = latencies.reduce((acc, latency) => acc + latency, 0) / latencies.length;
396
+ const latencyScore = 1 - meanLatency / maxLatency;
397
+ const successes = samples.map((sample2) => sample2[i].success);
398
+ const stabilityScore = successes.reduce((acc, success) => acc + success, 0) / successes.length;
399
+ if (stabilityScore === 0)
400
+ return [0, i];
401
+ return [
402
+ latencyWeight * latencyScore + stabilityWeight * stabilityScore,
403
+ i
404
+ ];
405
+ }).sort((a, b) => b[0] - a[0]);
406
+ onTransports(scores.map(([, i]) => transports[i]));
407
+ await _chunk2ESQNALVjs.wait.call(void 0, interval);
408
+ rankTransports_();
409
+ };
410
+ rankTransports_();
329
411
  }
330
412
 
331
413
  // src/clients/transports/http.ts
@@ -334,20 +416,20 @@ function http(url, config = {}) {
334
416
  fetchOptions,
335
417
  key = "http",
336
418
  name = "HTTP JSON-RPC",
337
- retryDelay,
338
- timeout = 1e4
419
+ retryDelay
339
420
  } = config;
340
- return ({ chain, retryCount: defaultRetryCount }) => {
341
- const retryCount = _nullishCoalesce(config.retryCount, () => ( defaultRetryCount));
342
- const url_ = url || _optionalChain([chain, 'optionalAccess', _ => _.rpcUrls, 'access', _2 => _2.default, 'access', _3 => _3.http, 'access', _4 => _4[0]]);
421
+ return ({ chain, retryCount: retryCount_, timeout: timeout_ }) => {
422
+ const retryCount = _nullishCoalesce(config.retryCount, () => ( retryCount_));
423
+ const timeout = _nullishCoalesce(_nullishCoalesce(timeout_, () => ( config.timeout)), () => ( 1e4));
424
+ const url_ = url || _optionalChain([chain, 'optionalAccess', _2 => _2.rpcUrls, 'access', _3 => _3.default, 'access', _4 => _4.http, 'access', _5 => _5[0]]);
343
425
  if (!url_)
344
- throw new (0, _chunk564BCC7Hjs.UrlRequiredError)();
426
+ throw new (0, _chunk2ESQNALVjs.UrlRequiredError)();
345
427
  return createTransport(
346
428
  {
347
429
  key,
348
430
  name,
349
431
  async request({ method, params }) {
350
- const { result } = await _chunk564BCC7Hjs.rpc.http(url_, {
432
+ const { result } = await _chunk2ESQNALVjs.rpc.http(url_, {
351
433
  body: {
352
434
  method,
353
435
  params
@@ -371,24 +453,20 @@ function http(url, config = {}) {
371
453
 
372
454
  // src/clients/transports/webSocket.ts
373
455
  function webSocket(url, config = {}) {
374
- const {
375
- key = "webSocket",
376
- name = "WebSocket JSON-RPC",
377
- retryDelay,
378
- timeout = 1e4
379
- } = config;
380
- return ({ chain, retryCount: defaultRetryCount }) => {
381
- const retryCount = _nullishCoalesce(config.retryCount, () => ( defaultRetryCount));
382
- const url_ = url || _optionalChain([chain, 'optionalAccess', _5 => _5.rpcUrls, 'access', _6 => _6.default, 'access', _7 => _7.webSocket, 'optionalAccess', _8 => _8[0]]);
456
+ const { key = "webSocket", name = "WebSocket JSON-RPC", retryDelay } = config;
457
+ return ({ chain, retryCount: retryCount_, timeout: timeout_ }) => {
458
+ const retryCount = _nullishCoalesce(config.retryCount, () => ( retryCount_));
459
+ const timeout = _nullishCoalesce(_nullishCoalesce(timeout_, () => ( config.timeout)), () => ( 1e4));
460
+ const url_ = url || _optionalChain([chain, 'optionalAccess', _6 => _6.rpcUrls, 'access', _7 => _7.default, 'access', _8 => _8.webSocket, 'optionalAccess', _9 => _9[0]]);
383
461
  if (!url_)
384
- throw new (0, _chunk564BCC7Hjs.UrlRequiredError)();
462
+ throw new (0, _chunk2ESQNALVjs.UrlRequiredError)();
385
463
  return createTransport(
386
464
  {
387
465
  key,
388
466
  name,
389
467
  async request({ method, params }) {
390
- const socket = await _chunk564BCC7Hjs.getSocket.call(void 0, url_);
391
- const { result } = await _chunk564BCC7Hjs.rpc.webSocketAsync(socket, {
468
+ const socket = await _chunk2ESQNALVjs.getSocket.call(void 0, url_);
469
+ const { result } = await _chunk2ESQNALVjs.rpc.webSocketAsync(socket, {
392
470
  body: { method, params },
393
471
  timeout
394
472
  });
@@ -401,12 +479,12 @@ function webSocket(url, config = {}) {
401
479
  },
402
480
  {
403
481
  getSocket() {
404
- return _chunk564BCC7Hjs.getSocket.call(void 0, url_);
482
+ return _chunk2ESQNALVjs.getSocket.call(void 0, url_);
405
483
  },
406
484
  async subscribe({ params, onData, onError }) {
407
- const socket = await _chunk564BCC7Hjs.getSocket.call(void 0, url_);
485
+ const socket = await _chunk2ESQNALVjs.getSocket.call(void 0, url_);
408
486
  const { result: subscriptionId } = await new Promise(
409
- (resolve, reject) => _chunk564BCC7Hjs.rpc.webSocket(socket, {
487
+ (resolve, reject) => _chunk2ESQNALVjs.rpc.webSocket(socket, {
410
488
  body: {
411
489
  method: "eth_subscribe",
412
490
  params
@@ -422,7 +500,7 @@ function webSocket(url, config = {}) {
422
500
  },
423
501
  onError: (error) => {
424
502
  reject(error);
425
- _optionalChain([onError, 'optionalCall', _9 => _9(error)]);
503
+ _optionalChain([onError, 'optionalCall', _10 => _10(error)]);
426
504
  }
427
505
  })
428
506
  );
@@ -430,7 +508,7 @@ function webSocket(url, config = {}) {
430
508
  subscriptionId,
431
509
  async unsubscribe() {
432
510
  return new Promise(
433
- (resolve, reject) => _chunk564BCC7Hjs.rpc.webSocket(socket, {
511
+ (resolve, reject) => _chunk2ESQNALVjs.rpc.webSocket(socket, {
434
512
  body: {
435
513
  method: "eth_unsubscribe",
436
514
  params: [subscriptionId]
@@ -471,7 +549,7 @@ function createClient({
471
549
  transport,
472
550
  type = "base"
473
551
  }) {
474
- const { config, request, value } = transport({ chain });
552
+ const { config, request, value } = transport({ chain, pollingInterval });
475
553
  return {
476
554
  chain,
477
555
  key,
@@ -486,92 +564,92 @@ function createClient({
486
564
 
487
565
  // src/clients/decorators/public.ts
488
566
  var publicActions = (client) => ({
489
- call: (args) => _chunk564BCC7Hjs.call.call(void 0, client, args),
490
- createBlockFilter: () => _chunk564BCC7Hjs.createBlockFilter.call(void 0, client),
491
- createContractEventFilter: (args) => _chunk564BCC7Hjs.createContractEventFilter.call(void 0, client, args),
492
- createEventFilter: (args) => _chunk564BCC7Hjs.createEventFilter.call(void 0, client, args),
493
- createPendingTransactionFilter: () => _chunk564BCC7Hjs.createPendingTransactionFilter.call(void 0, client),
494
- estimateContractGas: (args) => _chunk564BCC7Hjs.estimateContractGas.call(void 0, client, args),
495
- estimateGas: (args) => _chunk564BCC7Hjs.estimateGas.call(void 0, client, args),
496
- getBalance: (args) => _chunk564BCC7Hjs.getBalance.call(void 0, client, args),
497
- getBlock: (args) => _chunk564BCC7Hjs.getBlock.call(void 0, client, args),
498
- getBlockNumber: (args) => _chunk564BCC7Hjs.getBlockNumber.call(void 0, client, args),
499
- getBlockTransactionCount: (args) => _chunk564BCC7Hjs.getBlockTransactionCount.call(void 0, client, args),
500
- getBytecode: (args) => _chunk564BCC7Hjs.getBytecode.call(void 0, client, args),
501
- getChainId: () => _chunk564BCC7Hjs.getChainId.call(void 0, client),
502
- getEnsAddress: (args) => _chunkCXE4XSMFjs.getEnsAddress.call(void 0, client, args),
503
- getEnsName: (args) => _chunkCXE4XSMFjs.getEnsName.call(void 0, client, args),
504
- getFeeHistory: (args) => _chunk564BCC7Hjs.getFeeHistory.call(void 0, client, args),
505
- getFilterChanges: (args) => _chunk564BCC7Hjs.getFilterChanges.call(void 0, client, args),
506
- getFilterLogs: (args) => _chunk564BCC7Hjs.getFilterLogs.call(void 0, client, args),
507
- getGasPrice: () => _chunk564BCC7Hjs.getGasPrice.call(void 0, client),
508
- getLogs: (args) => _chunk564BCC7Hjs.getLogs.call(void 0, client, args),
509
- getStorageAt: (args) => _chunk564BCC7Hjs.getStorageAt.call(void 0, client, args),
510
- getTransaction: (args) => _chunk564BCC7Hjs.getTransaction.call(void 0, client, args),
511
- getTransactionConfirmations: (args) => _chunk564BCC7Hjs.getTransactionConfirmations.call(void 0, client, args),
512
- getTransactionCount: (args) => _chunk564BCC7Hjs.getTransactionCount.call(void 0, client, args),
513
- getTransactionReceipt: (args) => _chunk564BCC7Hjs.getTransactionReceipt.call(void 0, client, args),
514
- multicall: (args) => _chunk564BCC7Hjs.multicall.call(void 0, client, args),
515
- readContract: (args) => _chunk564BCC7Hjs.readContract.call(void 0, client, args),
516
- simulateContract: (args) => _chunk564BCC7Hjs.simulateContract.call(void 0, client, args),
517
- uninstallFilter: (args) => _chunk564BCC7Hjs.uninstallFilter.call(void 0, client, args),
518
- waitForTransactionReceipt: (args) => _chunk564BCC7Hjs.waitForTransactionReceipt.call(void 0, client, args),
519
- watchBlocks: (args) => _chunk564BCC7Hjs.watchBlocks.call(void 0, client, args),
520
- watchBlockNumber: (args) => _chunk564BCC7Hjs.watchBlockNumber.call(void 0, client, args),
521
- watchContractEvent: (args) => _chunk564BCC7Hjs.watchContractEvent.call(void 0, client, args),
522
- watchEvent: (args) => _chunk564BCC7Hjs.watchEvent.call(void 0, client, args),
523
- watchPendingTransactions: (args) => _chunk564BCC7Hjs.watchPendingTransactions.call(void 0, client, args)
567
+ call: (args) => _chunk2ESQNALVjs.call.call(void 0, client, args),
568
+ createBlockFilter: () => _chunk2ESQNALVjs.createBlockFilter.call(void 0, client),
569
+ createContractEventFilter: (args) => _chunk2ESQNALVjs.createContractEventFilter.call(void 0, client, args),
570
+ createEventFilter: (args) => _chunk2ESQNALVjs.createEventFilter.call(void 0, client, args),
571
+ createPendingTransactionFilter: () => _chunk2ESQNALVjs.createPendingTransactionFilter.call(void 0, client),
572
+ estimateContractGas: (args) => _chunk2ESQNALVjs.estimateContractGas.call(void 0, client, args),
573
+ estimateGas: (args) => _chunk2ESQNALVjs.estimateGas.call(void 0, client, args),
574
+ getBalance: (args) => _chunk2ESQNALVjs.getBalance.call(void 0, client, args),
575
+ getBlock: (args) => _chunk2ESQNALVjs.getBlock.call(void 0, client, args),
576
+ getBlockNumber: (args) => _chunk2ESQNALVjs.getBlockNumber.call(void 0, client, args),
577
+ getBlockTransactionCount: (args) => _chunk2ESQNALVjs.getBlockTransactionCount.call(void 0, client, args),
578
+ getBytecode: (args) => _chunk2ESQNALVjs.getBytecode.call(void 0, client, args),
579
+ getChainId: () => _chunk2ESQNALVjs.getChainId.call(void 0, client),
580
+ getEnsAddress: (args) => _chunkASAFFZMDjs.getEnsAddress.call(void 0, client, args),
581
+ getEnsName: (args) => _chunkASAFFZMDjs.getEnsName.call(void 0, client, args),
582
+ getFeeHistory: (args) => _chunk2ESQNALVjs.getFeeHistory.call(void 0, client, args),
583
+ getFilterChanges: (args) => _chunk2ESQNALVjs.getFilterChanges.call(void 0, client, args),
584
+ getFilterLogs: (args) => _chunk2ESQNALVjs.getFilterLogs.call(void 0, client, args),
585
+ getGasPrice: () => _chunk2ESQNALVjs.getGasPrice.call(void 0, client),
586
+ getLogs: (args) => _chunk2ESQNALVjs.getLogs.call(void 0, client, args),
587
+ getStorageAt: (args) => _chunk2ESQNALVjs.getStorageAt.call(void 0, client, args),
588
+ getTransaction: (args) => _chunk2ESQNALVjs.getTransaction.call(void 0, client, args),
589
+ getTransactionConfirmations: (args) => _chunk2ESQNALVjs.getTransactionConfirmations.call(void 0, client, args),
590
+ getTransactionCount: (args) => _chunk2ESQNALVjs.getTransactionCount.call(void 0, client, args),
591
+ getTransactionReceipt: (args) => _chunk2ESQNALVjs.getTransactionReceipt.call(void 0, client, args),
592
+ multicall: (args) => _chunk2ESQNALVjs.multicall.call(void 0, client, args),
593
+ readContract: (args) => _chunk2ESQNALVjs.readContract.call(void 0, client, args),
594
+ simulateContract: (args) => _chunk2ESQNALVjs.simulateContract.call(void 0, client, args),
595
+ uninstallFilter: (args) => _chunk2ESQNALVjs.uninstallFilter.call(void 0, client, args),
596
+ waitForTransactionReceipt: (args) => _chunk2ESQNALVjs.waitForTransactionReceipt.call(void 0, client, args),
597
+ watchBlocks: (args) => _chunk2ESQNALVjs.watchBlocks.call(void 0, client, args),
598
+ watchBlockNumber: (args) => _chunk2ESQNALVjs.watchBlockNumber.call(void 0, client, args),
599
+ watchContractEvent: (args) => _chunk2ESQNALVjs.watchContractEvent.call(void 0, client, args),
600
+ watchEvent: (args) => _chunk2ESQNALVjs.watchEvent.call(void 0, client, args),
601
+ watchPendingTransactions: (args) => _chunk2ESQNALVjs.watchPendingTransactions.call(void 0, client, args)
524
602
  });
525
603
 
526
604
  // src/clients/decorators/test.ts
527
605
  function testActions(client) {
528
606
  return {
529
- dropTransaction: (args) => _chunk564BCC7Hjs.dropTransaction.call(void 0, client, args),
530
- getAutomine: () => _chunk564BCC7Hjs.getAutomine.call(void 0, client),
531
- getTxpoolContent: () => _chunk564BCC7Hjs.getTxpoolContent.call(void 0, client),
532
- getTxpoolStatus: () => _chunk564BCC7Hjs.getTxpoolStatus.call(void 0, client),
533
- impersonateAccount: (args) => _chunk564BCC7Hjs.impersonateAccount.call(void 0, client, args),
534
- increaseTime: (args) => _chunk564BCC7Hjs.increaseTime.call(void 0, client, args),
535
- inspectTxpool: () => _chunk564BCC7Hjs.inspectTxpool.call(void 0, client),
536
- mine: (args) => _chunk564BCC7Hjs.mine.call(void 0, client, args),
537
- removeBlockTimestampInterval: () => _chunk564BCC7Hjs.removeBlockTimestampInterval.call(void 0, client),
538
- reset: (args) => _chunk564BCC7Hjs.reset.call(void 0, client, args),
539
- revert: (args) => _chunk564BCC7Hjs.revert.call(void 0, client, args),
540
- sendUnsignedTransaction: (args) => _chunk564BCC7Hjs.sendUnsignedTransaction.call(void 0, client, args),
541
- setAutomine: (args) => _chunk564BCC7Hjs.setAutomine.call(void 0, client, args),
542
- setBalance: (args) => _chunk564BCC7Hjs.setBalance.call(void 0, client, args),
543
- setBlockGasLimit: (args) => _chunk564BCC7Hjs.setBlockGasLimit.call(void 0, client, args),
544
- setBlockTimestampInterval: (args) => _chunk564BCC7Hjs.setBlockTimestampInterval.call(void 0, client, args),
545
- setCode: (args) => _chunk564BCC7Hjs.setCode.call(void 0, client, args),
546
- setCoinbase: (args) => _chunk564BCC7Hjs.setCoinbase.call(void 0, client, args),
547
- setIntervalMining: (args) => _chunk564BCC7Hjs.setIntervalMining.call(void 0, client, args),
548
- setLoggingEnabled: (args) => _chunk564BCC7Hjs.setLoggingEnabled.call(void 0, client, args),
549
- setMinGasPrice: (args) => _chunk564BCC7Hjs.setMinGasPrice.call(void 0, client, args),
550
- setNextBlockBaseFeePerGas: (args) => _chunk564BCC7Hjs.setNextBlockBaseFeePerGas.call(void 0, client, args),
551
- setNextBlockTimestamp: (args) => _chunk564BCC7Hjs.setNextBlockTimestamp.call(void 0, client, args),
552
- setNonce: (args) => _chunk564BCC7Hjs.setNonce.call(void 0, client, args),
553
- setRpcUrl: (args) => _chunk564BCC7Hjs.setRpcUrl.call(void 0, client, args),
554
- setStorageAt: (args) => _chunk564BCC7Hjs.setStorageAt.call(void 0, client, args),
555
- snapshot: () => _chunk564BCC7Hjs.snapshot.call(void 0, client),
556
- stopImpersonatingAccount: (args) => _chunk564BCC7Hjs.stopImpersonatingAccount.call(void 0, client, args)
607
+ dropTransaction: (args) => _chunk2ESQNALVjs.dropTransaction.call(void 0, client, args),
608
+ getAutomine: () => _chunk2ESQNALVjs.getAutomine.call(void 0, client),
609
+ getTxpoolContent: () => _chunk2ESQNALVjs.getTxpoolContent.call(void 0, client),
610
+ getTxpoolStatus: () => _chunk2ESQNALVjs.getTxpoolStatus.call(void 0, client),
611
+ impersonateAccount: (args) => _chunk2ESQNALVjs.impersonateAccount.call(void 0, client, args),
612
+ increaseTime: (args) => _chunk2ESQNALVjs.increaseTime.call(void 0, client, args),
613
+ inspectTxpool: () => _chunk2ESQNALVjs.inspectTxpool.call(void 0, client),
614
+ mine: (args) => _chunk2ESQNALVjs.mine.call(void 0, client, args),
615
+ removeBlockTimestampInterval: () => _chunk2ESQNALVjs.removeBlockTimestampInterval.call(void 0, client),
616
+ reset: (args) => _chunk2ESQNALVjs.reset.call(void 0, client, args),
617
+ revert: (args) => _chunk2ESQNALVjs.revert.call(void 0, client, args),
618
+ sendUnsignedTransaction: (args) => _chunk2ESQNALVjs.sendUnsignedTransaction.call(void 0, client, args),
619
+ setAutomine: (args) => _chunk2ESQNALVjs.setAutomine.call(void 0, client, args),
620
+ setBalance: (args) => _chunk2ESQNALVjs.setBalance.call(void 0, client, args),
621
+ setBlockGasLimit: (args) => _chunk2ESQNALVjs.setBlockGasLimit.call(void 0, client, args),
622
+ setBlockTimestampInterval: (args) => _chunk2ESQNALVjs.setBlockTimestampInterval.call(void 0, client, args),
623
+ setCode: (args) => _chunk2ESQNALVjs.setCode.call(void 0, client, args),
624
+ setCoinbase: (args) => _chunk2ESQNALVjs.setCoinbase.call(void 0, client, args),
625
+ setIntervalMining: (args) => _chunk2ESQNALVjs.setIntervalMining.call(void 0, client, args),
626
+ setLoggingEnabled: (args) => _chunk2ESQNALVjs.setLoggingEnabled.call(void 0, client, args),
627
+ setMinGasPrice: (args) => _chunk2ESQNALVjs.setMinGasPrice.call(void 0, client, args),
628
+ setNextBlockBaseFeePerGas: (args) => _chunk2ESQNALVjs.setNextBlockBaseFeePerGas.call(void 0, client, args),
629
+ setNextBlockTimestamp: (args) => _chunk2ESQNALVjs.setNextBlockTimestamp.call(void 0, client, args),
630
+ setNonce: (args) => _chunk2ESQNALVjs.setNonce.call(void 0, client, args),
631
+ setRpcUrl: (args) => _chunk2ESQNALVjs.setRpcUrl.call(void 0, client, args),
632
+ setStorageAt: (args) => _chunk2ESQNALVjs.setStorageAt.call(void 0, client, args),
633
+ snapshot: () => _chunk2ESQNALVjs.snapshot.call(void 0, client),
634
+ stopImpersonatingAccount: (args) => _chunk2ESQNALVjs.stopImpersonatingAccount.call(void 0, client, args)
557
635
  };
558
636
  }
559
637
 
560
638
  // src/clients/decorators/wallet.ts
561
639
  var walletActions = (client) => ({
562
- addChain: (args) => _chunk564BCC7Hjs.addChain.call(void 0, client, args),
563
- deployContract: (args) => _chunk564BCC7Hjs.deployContract.call(void 0, client, args),
564
- getAddresses: () => _chunk564BCC7Hjs.getAddresses.call(void 0, client),
565
- getChainId: () => _chunk564BCC7Hjs.getChainId.call(void 0, client),
566
- getPermissions: () => _chunk564BCC7Hjs.getPermissions.call(void 0, client),
567
- requestAddresses: () => _chunk564BCC7Hjs.requestAddresses.call(void 0, client),
568
- requestPermissions: (args) => _chunk564BCC7Hjs.requestPermissions.call(void 0, client, args),
569
- sendTransaction: (args) => _chunk564BCC7Hjs.sendTransaction.call(void 0, client, args),
570
- signMessage: (args) => _chunk564BCC7Hjs.signMessage.call(void 0, client, args),
571
- signTypedData: (args) => _chunk564BCC7Hjs.signTypedData.call(void 0, client, args),
572
- switchChain: (args) => _chunk564BCC7Hjs.switchChain.call(void 0, client, args),
573
- watchAsset: (args) => _chunk564BCC7Hjs.watchAsset.call(void 0, client, args),
574
- writeContract: (args) => _chunk564BCC7Hjs.writeContract.call(void 0, client, args)
640
+ addChain: (args) => _chunk2ESQNALVjs.addChain.call(void 0, client, args),
641
+ deployContract: (args) => _chunk2ESQNALVjs.deployContract.call(void 0, client, args),
642
+ getAddresses: () => _chunk2ESQNALVjs.getAddresses.call(void 0, client),
643
+ getChainId: () => _chunk2ESQNALVjs.getChainId.call(void 0, client),
644
+ getPermissions: () => _chunk2ESQNALVjs.getPermissions.call(void 0, client),
645
+ requestAddresses: () => _chunk2ESQNALVjs.requestAddresses.call(void 0, client),
646
+ requestPermissions: (args) => _chunk2ESQNALVjs.requestPermissions.call(void 0, client, args),
647
+ sendTransaction: (args) => _chunk2ESQNALVjs.sendTransaction.call(void 0, client, args),
648
+ signMessage: (args) => _chunk2ESQNALVjs.signMessage.call(void 0, client, args),
649
+ signTypedData: (args) => _chunk2ESQNALVjs.signTypedData.call(void 0, client, args),
650
+ switchChain: (args) => _chunk2ESQNALVjs.switchChain.call(void 0, client, args),
651
+ watchAsset: (args) => _chunk2ESQNALVjs.watchAsset.call(void 0, client, args),
652
+ writeContract: (args) => _chunk2ESQNALVjs.writeContract.call(void 0, client, args)
575
653
  });
576
654
 
577
655
  // src/clients/createPublicClient.ts
@@ -640,7 +718,7 @@ function createWalletClient({
640
718
  transport: () => transport({ retryCount: 0 }),
641
719
  type: "walletClient"
642
720
  }),
643
- account: account ? _chunk564BCC7Hjs.parseAccount.call(void 0, account) : void 0
721
+ account: account ? _chunk2ESQNALVjs.parseAccount.call(void 0, account) : void 0
644
722
  };
645
723
  return {
646
724
  ...client,
@@ -835,5 +913,7 @@ function createWalletClient({
835
913
 
836
914
 
837
915
 
838
- exports.AbiConstructorNotFoundError = _chunk564BCC7Hjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunk564BCC7Hjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunk564BCC7Hjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunk564BCC7Hjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunk564BCC7Hjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunk564BCC7Hjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunk564BCC7Hjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunk564BCC7Hjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunk564BCC7Hjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunk564BCC7Hjs.AbiEventNotFoundError; exports.AbiEventSignatureEmptyTopicsError = _chunk564BCC7Hjs.AbiEventSignatureEmptyTopicsError; exports.AbiEventSignatureNotFoundError = _chunk564BCC7Hjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunk564BCC7Hjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunk564BCC7Hjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunk564BCC7Hjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunk564BCC7Hjs.BaseError; exports.BlockNotFoundError = _chunk564BCC7Hjs.BlockNotFoundError; exports.CallExecutionError = _chunk564BCC7Hjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunk564BCC7Hjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunk564BCC7Hjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunk564BCC7Hjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunk564BCC7Hjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunk564BCC7Hjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunk564BCC7Hjs.DataLengthTooShortError; exports.DecodeLogTopicsMismatch = _chunk564BCC7Hjs.DecodeLogTopicsMismatch; exports.EstimateGasExecutionError = _chunk564BCC7Hjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunk564BCC7Hjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunk564BCC7Hjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunk564BCC7Hjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunk564BCC7Hjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunk564BCC7Hjs.HttpRequestError; exports.InsufficientFundsError = _chunk564BCC7Hjs.InsufficientFundsError; exports.InternalRpcError = _chunk564BCC7Hjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunk564BCC7Hjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunk564BCC7Hjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunk564BCC7Hjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunk564BCC7Hjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunk564BCC7Hjs.InvalidAddressError; exports.InvalidArrayError = _chunk564BCC7Hjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunk564BCC7Hjs.InvalidBytesBooleanError; exports.InvalidChainIdError = _chunk564BCC7Hjs.InvalidChainIdError; exports.InvalidDefinitionTypeError = _chunk564BCC7Hjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunk564BCC7Hjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunk564BCC7Hjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunk564BCC7Hjs.InvalidInputRpcError; exports.InvalidLegacyVError = _chunk564BCC7Hjs.InvalidLegacyVError; exports.InvalidParamsRpcError = _chunk564BCC7Hjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunk564BCC7Hjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunk564BCC7Hjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunk564BCC7Hjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunk564BCC7Hjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunk564BCC7Hjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunk564BCC7Hjs.NonceMaxValueError; exports.NonceTooHighError = _chunk564BCC7Hjs.NonceTooHighError; exports.NonceTooLowError = _chunk564BCC7Hjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunk564BCC7Hjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunk564BCC7Hjs.ParseRpcError; exports.RawContractError = _chunk564BCC7Hjs.RawContractError; exports.RequestError = _chunk564BCC7Hjs.RequestError; exports.ResourceNotFoundRpcError = _chunk564BCC7Hjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunk564BCC7Hjs.ResourceUnavailableRpcError; exports.RpcError = _chunk564BCC7Hjs.RpcError; exports.RpcRequestError = _chunk564BCC7Hjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunk564BCC7Hjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunk564BCC7Hjs.SwitchChainError; exports.TimeoutError = _chunk564BCC7Hjs.TimeoutError; exports.TipAboveFeeCapError = _chunk564BCC7Hjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunk564BCC7Hjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunk564BCC7Hjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunk564BCC7Hjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunk564BCC7Hjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunk564BCC7Hjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunk564BCC7Hjs.UnknownNodeError; exports.UnknownRpcError = _chunk564BCC7Hjs.UnknownRpcError; exports.UrlRequiredError = _chunk564BCC7Hjs.UrlRequiredError; exports.UserRejectedRequestError = _chunk564BCC7Hjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunk564BCC7Hjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunk564BCC7Hjs.WebSocketRequestError; exports.assertRequest = _chunk564BCC7Hjs.assertRequest; exports.assertTransactionEIP1559 = _chunk564BCC7Hjs.assertTransactionEIP1559; exports.assertTransactionEIP2930 = _chunk564BCC7Hjs.assertTransactionEIP2930; exports.assertTransactionLegacy = _chunk564BCC7Hjs.assertTransactionLegacy; exports.boolToBytes = _chunk564BCC7Hjs.boolToBytes; exports.boolToHex = _chunk564BCC7Hjs.boolToHex; exports.bytesToBigint = _chunk564BCC7Hjs.bytesToBigint; exports.bytesToBool = _chunk564BCC7Hjs.bytesToBool; exports.bytesToHex = _chunk564BCC7Hjs.bytesToHex; exports.bytesToNumber = _chunk564BCC7Hjs.bytesToNumber; exports.bytesToString = _chunk564BCC7Hjs.bytesToString; exports.concat = _chunk564BCC7Hjs.concat; exports.concatBytes = _chunk564BCC7Hjs.concatBytes; exports.concatHex = _chunk564BCC7Hjs.concatHex; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunk564BCC7Hjs.decodeAbiParameters; exports.decodeErrorResult = _chunk564BCC7Hjs.decodeErrorResult; exports.decodeEventLog = _chunk564BCC7Hjs.decodeEventLog; exports.decodeFunctionData = _chunk564BCC7Hjs.decodeFunctionData; exports.decodeFunctionResult = _chunk564BCC7Hjs.decodeFunctionResult; exports.defineBlock = _chunk564BCC7Hjs.defineBlock; exports.defineChain = _chunk564BCC7Hjs.defineChain; exports.defineTransaction = _chunk564BCC7Hjs.defineTransaction; exports.defineTransactionReceipt = _chunk564BCC7Hjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunk564BCC7Hjs.defineTransactionRequest; exports.encodeAbiParameters = _chunk564BCC7Hjs.encodeAbiParameters; exports.encodeDeployData = _chunk564BCC7Hjs.encodeDeployData; exports.encodeErrorResult = _chunk564BCC7Hjs.encodeErrorResult; exports.encodeEventTopics = _chunk564BCC7Hjs.encodeEventTopics; exports.encodeFunctionData = _chunk564BCC7Hjs.encodeFunctionData; exports.encodeFunctionResult = _chunk564BCC7Hjs.encodeFunctionResult; exports.encodePacked = _chunk564BCC7Hjs.encodePacked; exports.etherUnits = _chunk564BCC7Hjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunk564BCC7Hjs.formatBlock; exports.formatEther = _chunk564BCC7Hjs.formatEther; exports.formatGwei = _chunk564BCC7Hjs.formatGwei; exports.formatTransaction = _chunk564BCC7Hjs.formatTransaction; exports.formatTransactionRequest = _chunk564BCC7Hjs.formatTransactionRequest; exports.formatUnits = _chunk564BCC7Hjs.formatUnits; exports.fromBytes = _chunk564BCC7Hjs.fromBytes; exports.fromHex = _chunk564BCC7Hjs.fromHex; exports.fromRlp = _chunk564BCC7Hjs.fromRlp; exports.getAbiItem = _chunk564BCC7Hjs.getAbiItem; exports.getAddress = _chunk564BCC7Hjs.getAddress; exports.getContractAddress = _chunk564BCC7Hjs.getContractAddress; exports.getContractError = _chunk564BCC7Hjs.getContractError; exports.getCreate2Address = _chunk564BCC7Hjs.getCreate2Address; exports.getCreateAddress = _chunk564BCC7Hjs.getCreateAddress; exports.getEventSelector = _chunk564BCC7Hjs.getEventSelector; exports.getFunctionSelector = _chunk564BCC7Hjs.getFunctionSelector; exports.getSerializedTransactionType = _chunk564BCC7Hjs.getSerializedTransactionType; exports.getTransactionType = _chunk564BCC7Hjs.getTransactionType; exports.gweiUnits = _chunk564BCC7Hjs.gweiUnits; exports.hashMessage = _chunk564BCC7Hjs.hashMessage; exports.hashTypedData = _chunk564BCC7Hjs.hashTypedData; exports.hexToBigInt = _chunk564BCC7Hjs.hexToBigInt; exports.hexToBool = _chunk564BCC7Hjs.hexToBool; exports.hexToBytes = _chunk564BCC7Hjs.hexToBytes; exports.hexToNumber = _chunk564BCC7Hjs.hexToNumber; exports.hexToString = _chunk564BCC7Hjs.hexToString; exports.http = http; exports.isAddress = _chunk564BCC7Hjs.isAddress; exports.isAddressEqual = _chunk564BCC7Hjs.isAddressEqual; exports.isBytes = _chunk564BCC7Hjs.isBytes; exports.isHash = _chunk564BCC7Hjs.isHash; exports.isHex = _chunk564BCC7Hjs.isHex; exports.keccak256 = _chunk564BCC7Hjs.keccak256; exports.labelhash = _chunkCXE4XSMFjs.labelhash; exports.multicall3Abi = _chunk564BCC7Hjs.multicall3Abi; exports.namehash = _chunkCXE4XSMFjs.namehash; exports.numberToBytes = _chunk564BCC7Hjs.numberToBytes; exports.numberToHex = _chunk564BCC7Hjs.numberToHex; exports.pad = _chunk564BCC7Hjs.pad; exports.padBytes = _chunk564BCC7Hjs.padBytes; exports.padHex = _chunk564BCC7Hjs.padHex; exports.parseAbi = _chunk564BCC7Hjs.parseAbi; exports.parseAbiItem = _chunk564BCC7Hjs.parseAbiItem; exports.parseAbiParameter = _chunk564BCC7Hjs.parseAbiParameter; exports.parseAbiParameters = _chunk564BCC7Hjs.parseAbiParameters; exports.parseEther = _chunk564BCC7Hjs.parseEther; exports.parseGwei = _chunk564BCC7Hjs.parseGwei; exports.parseTransaction = _chunk564BCC7Hjs.parseTransaction; exports.parseUnits = _chunk564BCC7Hjs.parseUnits; exports.prepareRequest = _chunk564BCC7Hjs.prepareRequest; exports.recoverAddress = _chunk564BCC7Hjs.recoverAddress; exports.recoverMessageAddress = _chunk564BCC7Hjs.recoverMessageAddress; exports.serializeTransaction = _chunk564BCC7Hjs.serializeTransaction; exports.size = _chunk564BCC7Hjs.size; exports.slice = _chunk564BCC7Hjs.slice; exports.sliceBytes = _chunk564BCC7Hjs.sliceBytes; exports.sliceHex = _chunk564BCC7Hjs.sliceHex; exports.stringToBytes = _chunk564BCC7Hjs.stringToBytes; exports.stringToHex = _chunk564BCC7Hjs.stringToHex; exports.stringify = _chunk564BCC7Hjs.stringify; exports.toBytes = _chunk564BCC7Hjs.toBytes; exports.toHex = _chunk564BCC7Hjs.toHex; exports.toRlp = _chunk564BCC7Hjs.toRlp; exports.transactionType = _chunk564BCC7Hjs.transactionType; exports.trim = _chunk564BCC7Hjs.trim; exports.validateTypedData = _chunk564BCC7Hjs.validateTypedData; exports.verifyMessage = _chunk564BCC7Hjs.verifyMessage; exports.webSocket = webSocket; exports.weiUnits = _chunk564BCC7Hjs.weiUnits;
916
+
917
+
918
+ exports.AbiConstructorNotFoundError = _chunk2ESQNALVjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunk2ESQNALVjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunk2ESQNALVjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunk2ESQNALVjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunk2ESQNALVjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunk2ESQNALVjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunk2ESQNALVjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunk2ESQNALVjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunk2ESQNALVjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunk2ESQNALVjs.AbiEventNotFoundError; exports.AbiEventSignatureEmptyTopicsError = _chunk2ESQNALVjs.AbiEventSignatureEmptyTopicsError; exports.AbiEventSignatureNotFoundError = _chunk2ESQNALVjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunk2ESQNALVjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunk2ESQNALVjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunk2ESQNALVjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunk2ESQNALVjs.BaseError; exports.BlockNotFoundError = _chunk2ESQNALVjs.BlockNotFoundError; exports.CallExecutionError = _chunk2ESQNALVjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunk2ESQNALVjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunk2ESQNALVjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunk2ESQNALVjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunk2ESQNALVjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunk2ESQNALVjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunk2ESQNALVjs.DataLengthTooShortError; exports.DecodeLogTopicsMismatch = _chunk2ESQNALVjs.DecodeLogTopicsMismatch; exports.EstimateGasExecutionError = _chunk2ESQNALVjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunk2ESQNALVjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunk2ESQNALVjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunk2ESQNALVjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunk2ESQNALVjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunk2ESQNALVjs.HttpRequestError; exports.InsufficientFundsError = _chunk2ESQNALVjs.InsufficientFundsError; exports.InternalRpcError = _chunk2ESQNALVjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunk2ESQNALVjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunk2ESQNALVjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunk2ESQNALVjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunk2ESQNALVjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunk2ESQNALVjs.InvalidAddressError; exports.InvalidArrayError = _chunk2ESQNALVjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunk2ESQNALVjs.InvalidBytesBooleanError; exports.InvalidChainIdError = _chunk2ESQNALVjs.InvalidChainIdError; exports.InvalidDefinitionTypeError = _chunk2ESQNALVjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunk2ESQNALVjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunk2ESQNALVjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunk2ESQNALVjs.InvalidInputRpcError; exports.InvalidLegacyVError = _chunk2ESQNALVjs.InvalidLegacyVError; exports.InvalidParamsRpcError = _chunk2ESQNALVjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunk2ESQNALVjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunk2ESQNALVjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunk2ESQNALVjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunk2ESQNALVjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunk2ESQNALVjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunk2ESQNALVjs.NonceMaxValueError; exports.NonceTooHighError = _chunk2ESQNALVjs.NonceTooHighError; exports.NonceTooLowError = _chunk2ESQNALVjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunk2ESQNALVjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunk2ESQNALVjs.ParseRpcError; exports.RawContractError = _chunk2ESQNALVjs.RawContractError; exports.RequestError = _chunk2ESQNALVjs.RequestError; exports.ResourceNotFoundRpcError = _chunk2ESQNALVjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunk2ESQNALVjs.ResourceUnavailableRpcError; exports.RpcError = _chunk2ESQNALVjs.RpcError; exports.RpcRequestError = _chunk2ESQNALVjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunk2ESQNALVjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunk2ESQNALVjs.SwitchChainError; exports.TimeoutError = _chunk2ESQNALVjs.TimeoutError; exports.TipAboveFeeCapError = _chunk2ESQNALVjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunk2ESQNALVjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunk2ESQNALVjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunk2ESQNALVjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunk2ESQNALVjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunk2ESQNALVjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunk2ESQNALVjs.UnknownNodeError; exports.UnknownRpcError = _chunk2ESQNALVjs.UnknownRpcError; exports.UrlRequiredError = _chunk2ESQNALVjs.UrlRequiredError; exports.UserRejectedRequestError = _chunk2ESQNALVjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunk2ESQNALVjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunk2ESQNALVjs.WebSocketRequestError; exports.assertRequest = _chunk2ESQNALVjs.assertRequest; exports.assertTransactionEIP1559 = _chunk2ESQNALVjs.assertTransactionEIP1559; exports.assertTransactionEIP2930 = _chunk2ESQNALVjs.assertTransactionEIP2930; exports.assertTransactionLegacy = _chunk2ESQNALVjs.assertTransactionLegacy; exports.boolToBytes = _chunk2ESQNALVjs.boolToBytes; exports.boolToHex = _chunk2ESQNALVjs.boolToHex; exports.bytesToBigint = _chunk2ESQNALVjs.bytesToBigint; exports.bytesToBool = _chunk2ESQNALVjs.bytesToBool; exports.bytesToHex = _chunk2ESQNALVjs.bytesToHex; exports.bytesToNumber = _chunk2ESQNALVjs.bytesToNumber; exports.bytesToString = _chunk2ESQNALVjs.bytesToString; exports.concat = _chunk2ESQNALVjs.concat; exports.concatBytes = _chunk2ESQNALVjs.concatBytes; exports.concatHex = _chunk2ESQNALVjs.concatHex; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunk2ESQNALVjs.decodeAbiParameters; exports.decodeErrorResult = _chunk2ESQNALVjs.decodeErrorResult; exports.decodeEventLog = _chunk2ESQNALVjs.decodeEventLog; exports.decodeFunctionData = _chunk2ESQNALVjs.decodeFunctionData; exports.decodeFunctionResult = _chunk2ESQNALVjs.decodeFunctionResult; exports.defineBlock = _chunk2ESQNALVjs.defineBlock; exports.defineChain = _chunk2ESQNALVjs.defineChain; exports.defineTransaction = _chunk2ESQNALVjs.defineTransaction; exports.defineTransactionReceipt = _chunk2ESQNALVjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunk2ESQNALVjs.defineTransactionRequest; exports.encodeAbiParameters = _chunk2ESQNALVjs.encodeAbiParameters; exports.encodeDeployData = _chunk2ESQNALVjs.encodeDeployData; exports.encodeErrorResult = _chunk2ESQNALVjs.encodeErrorResult; exports.encodeEventTopics = _chunk2ESQNALVjs.encodeEventTopics; exports.encodeFunctionData = _chunk2ESQNALVjs.encodeFunctionData; exports.encodeFunctionResult = _chunk2ESQNALVjs.encodeFunctionResult; exports.encodePacked = _chunk2ESQNALVjs.encodePacked; exports.etherUnits = _chunk2ESQNALVjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunk2ESQNALVjs.formatBlock; exports.formatEther = _chunk2ESQNALVjs.formatEther; exports.formatGwei = _chunk2ESQNALVjs.formatGwei; exports.formatTransaction = _chunk2ESQNALVjs.formatTransaction; exports.formatTransactionRequest = _chunk2ESQNALVjs.formatTransactionRequest; exports.formatUnits = _chunk2ESQNALVjs.formatUnits; exports.fromBytes = _chunk2ESQNALVjs.fromBytes; exports.fromHex = _chunk2ESQNALVjs.fromHex; exports.fromRlp = _chunk2ESQNALVjs.fromRlp; exports.getAbiItem = _chunk2ESQNALVjs.getAbiItem; exports.getAddress = _chunk2ESQNALVjs.getAddress; exports.getContractAddress = _chunk2ESQNALVjs.getContractAddress; exports.getContractError = _chunk2ESQNALVjs.getContractError; exports.getCreate2Address = _chunk2ESQNALVjs.getCreate2Address; exports.getCreateAddress = _chunk2ESQNALVjs.getCreateAddress; exports.getEventSelector = _chunk2ESQNALVjs.getEventSelector; exports.getFunctionSelector = _chunk2ESQNALVjs.getFunctionSelector; exports.getSerializedTransactionType = _chunk2ESQNALVjs.getSerializedTransactionType; exports.getTransactionType = _chunk2ESQNALVjs.getTransactionType; exports.gweiUnits = _chunk2ESQNALVjs.gweiUnits; exports.hashMessage = _chunk2ESQNALVjs.hashMessage; exports.hashTypedData = _chunk2ESQNALVjs.hashTypedData; exports.hexToBigInt = _chunk2ESQNALVjs.hexToBigInt; exports.hexToBool = _chunk2ESQNALVjs.hexToBool; exports.hexToBytes = _chunk2ESQNALVjs.hexToBytes; exports.hexToNumber = _chunk2ESQNALVjs.hexToNumber; exports.hexToString = _chunk2ESQNALVjs.hexToString; exports.http = http; exports.isAddress = _chunk2ESQNALVjs.isAddress; exports.isAddressEqual = _chunk2ESQNALVjs.isAddressEqual; exports.isBytes = _chunk2ESQNALVjs.isBytes; exports.isHash = _chunk2ESQNALVjs.isHash; exports.isHex = _chunk2ESQNALVjs.isHex; exports.keccak256 = _chunk2ESQNALVjs.keccak256; exports.labelhash = _chunkASAFFZMDjs.labelhash; exports.multicall3Abi = _chunk2ESQNALVjs.multicall3Abi; exports.namehash = _chunkASAFFZMDjs.namehash; exports.numberToBytes = _chunk2ESQNALVjs.numberToBytes; exports.numberToHex = _chunk2ESQNALVjs.numberToHex; exports.pad = _chunk2ESQNALVjs.pad; exports.padBytes = _chunk2ESQNALVjs.padBytes; exports.padHex = _chunk2ESQNALVjs.padHex; exports.parseAbi = _chunk2ESQNALVjs.parseAbi; exports.parseAbiItem = _chunk2ESQNALVjs.parseAbiItem; exports.parseAbiParameter = _chunk2ESQNALVjs.parseAbiParameter; exports.parseAbiParameters = _chunk2ESQNALVjs.parseAbiParameters; exports.parseEther = _chunk2ESQNALVjs.parseEther; exports.parseGwei = _chunk2ESQNALVjs.parseGwei; exports.parseTransaction = _chunk2ESQNALVjs.parseTransaction; exports.parseUnits = _chunk2ESQNALVjs.parseUnits; exports.prepareRequest = _chunk2ESQNALVjs.prepareRequest; exports.recoverAddress = _chunk2ESQNALVjs.recoverAddress; exports.recoverMessageAddress = _chunk2ESQNALVjs.recoverMessageAddress; exports.recoverTypedDataAddress = _chunk2ESQNALVjs.recoverTypedDataAddress; exports.serializeTransaction = _chunk2ESQNALVjs.serializeTransaction; exports.size = _chunk2ESQNALVjs.size; exports.slice = _chunk2ESQNALVjs.slice; exports.sliceBytes = _chunk2ESQNALVjs.sliceBytes; exports.sliceHex = _chunk2ESQNALVjs.sliceHex; exports.stringToBytes = _chunk2ESQNALVjs.stringToBytes; exports.stringToHex = _chunk2ESQNALVjs.stringToHex; exports.stringify = _chunk2ESQNALVjs.stringify; exports.toBytes = _chunk2ESQNALVjs.toBytes; exports.toHex = _chunk2ESQNALVjs.toHex; exports.toRlp = _chunk2ESQNALVjs.toRlp; exports.transactionType = _chunk2ESQNALVjs.transactionType; exports.trim = _chunk2ESQNALVjs.trim; exports.validateTypedData = _chunk2ESQNALVjs.validateTypedData; exports.verifyMessage = _chunk2ESQNALVjs.verifyMessage; exports.verifyTypedData = _chunk2ESQNALVjs.verifyTypedData; exports.webSocket = webSocket; exports.weiUnits = _chunk2ESQNALVjs.weiUnits;
839
919
  //# sourceMappingURL=index.js.map