viem 0.2.0-main.20230401T004104 → 0.2.0

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 (75) hide show
  1. package/accounts/package.json +4 -0
  2. package/dist/abi.d.ts +3 -3
  3. package/dist/abi.js +2 -2
  4. package/dist/abi.mjs +1 -1
  5. package/dist/accounts/index.d.ts +81 -0
  6. package/dist/accounts/index.js +142 -0
  7. package/dist/accounts/index.js.map +1 -0
  8. package/dist/accounts/index.mjs +142 -0
  9. package/dist/accounts/index.mjs.map +1 -0
  10. package/dist/{chain-1b53ef88.d.ts → chain-5507c6f0.d.ts} +212 -148
  11. package/dist/{chain-ec8c485d.d.ts → chain-fe47467d.d.ts} +1 -1
  12. package/dist/chains.d.ts +867 -99
  13. package/dist/chains.js +115 -63
  14. package/dist/chains.js.map +1 -1
  15. package/dist/chains.mjs +58 -6
  16. package/dist/chains.mjs.map +1 -1
  17. package/dist/chunk-63WKWOMO.js +31 -0
  18. package/dist/chunk-63WKWOMO.js.map +1 -0
  19. package/dist/{chunk-U5Z7JOWV.mjs → chunk-FSIBCQFR.mjs} +1886 -261
  20. package/dist/chunk-FSIBCQFR.mjs.map +1 -0
  21. package/dist/chunk-KON3DHPC.mjs +31 -0
  22. package/dist/chunk-KON3DHPC.mjs.map +1 -0
  23. package/dist/{chunk-HBDMIBEO.js → chunk-YDNKDSST.js} +1942 -317
  24. package/dist/chunk-YDNKDSST.js.map +1 -0
  25. package/dist/contract.d.ts +9 -7
  26. package/dist/contract.js +2 -2
  27. package/dist/contract.mjs +1 -1
  28. package/dist/{createTransport-e3eba9f7.d.ts → createTransport-21a0d2b3.d.ts} +24 -10
  29. package/dist/{eip1193-4f4e240c.d.ts → eip1193-2f3a9cd2.d.ts} +1 -1
  30. package/dist/{encodeFunctionResult-1f324375.d.ts → encodeFunctionResult-c5185b98.d.ts} +15 -15
  31. package/dist/{encodePacked-d5d5264a.d.ts → encodePacked-98f67d09.d.ts} +1 -1
  32. package/dist/ens.d.ts +6 -4
  33. package/dist/ens.js +8 -3
  34. package/dist/ens.js.map +1 -1
  35. package/dist/ens.mjs +7 -2
  36. package/dist/ens.mjs.map +1 -1
  37. package/dist/ethers.d.ts +5 -6
  38. package/dist/ethers.js +7 -5
  39. package/dist/ethers.js.map +1 -1
  40. package/dist/ethers.mjs +7 -5
  41. package/dist/ethers.mjs.map +1 -1
  42. package/dist/{formatAbiItem-15e8817d.d.ts → formatAbiItem-56dff508.d.ts} +1 -1
  43. package/dist/{getAbiItem-3e809ff9.d.ts → getAbiItem-bfba73d1.d.ts} +3 -3
  44. package/dist/getEnsResolver-9e26c596.d.ts +876 -0
  45. package/dist/index.d.ts +132 -15
  46. package/dist/index.js +150 -103
  47. package/dist/index.js.map +1 -1
  48. package/dist/index.mjs +96 -49
  49. package/dist/index.mjs.map +1 -1
  50. package/dist/{parseGwei-361e8a12.d.ts → parseGwei-d2147f8b.d.ts} +95 -15
  51. package/dist/public.d.ts +6 -4
  52. package/dist/public.js +2 -2
  53. package/dist/public.mjs +1 -1
  54. package/dist/publicKeyToAddress-623eb398.d.ts +16 -0
  55. package/dist/test-b67569fe.d.ts +198 -0
  56. package/dist/test.d.ts +11 -11
  57. package/dist/test.js +2 -2
  58. package/dist/test.mjs +1 -1
  59. package/dist/typedData-46b4d81f.d.ts +93 -0
  60. package/dist/utils/index.d.ts +22 -30
  61. package/dist/utils/index.js +28 -2
  62. package/dist/utils/index.mjs +31 -5
  63. package/dist/wallet.d.ts +6 -4
  64. package/dist/wallet.js +2 -2
  65. package/dist/wallet.mjs +1 -1
  66. package/dist/window.d.ts +2 -2
  67. package/package.json +13 -4
  68. package/dist/chunk-HBDMIBEO.js.map +0 -1
  69. package/dist/chunk-I5QGTPHV.mjs +0 -186
  70. package/dist/chunk-I5QGTPHV.mjs.map +0 -1
  71. package/dist/chunk-LWNOZI6J.js +0 -186
  72. package/dist/chunk-LWNOZI6J.js.map +0 -1
  73. package/dist/chunk-U5Z7JOWV.mjs.map +0 -1
  74. package/dist/createPublicClient-31d44569.d.ts +0 -841
  75. package/dist/test-67630299.d.ts +0 -205
package/dist/index.js CHANGED
@@ -3,7 +3,6 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkLWNOZI6Jjs = require('./chunk-LWNOZI6J.js');
7
6
 
8
7
 
9
8
 
@@ -246,7 +245,27 @@ var _chunkLWNOZI6Jjs = require('./chunk-LWNOZI6J.js');
246
245
 
247
246
 
248
247
 
249
- var _chunkHBDMIBEOjs = require('./chunk-HBDMIBEO.js');
248
+
249
+
250
+
251
+
252
+
253
+
254
+
255
+
256
+
257
+
258
+
259
+
260
+
261
+
262
+
263
+
264
+
265
+
266
+
267
+
268
+ var _chunkYDNKDSSTjs = require('./chunk-YDNKDSST.js');
250
269
 
251
270
  // src/clients/transports/createTransport.ts
252
271
  function createTransport({
@@ -260,7 +279,7 @@ function createTransport({
260
279
  }, value) {
261
280
  return {
262
281
  config: { key, name, request, retryCount, retryDelay, timeout, type },
263
- request: _chunkHBDMIBEOjs.buildRequest.call(void 0, request, { retryCount, retryDelay }),
282
+ request: _chunkYDNKDSSTjs.buildRequest.call(void 0, request, { retryCount, retryDelay }),
264
283
  value
265
284
  };
266
285
  }
@@ -302,7 +321,7 @@ function fallback(transports_, config = {}) {
302
321
  params
303
322
  });
304
323
  } catch (err) {
305
- if (_chunkHBDMIBEOjs.isDeterministicError.call(void 0, err))
324
+ if (_chunkYDNKDSSTjs.isDeterministicError.call(void 0, err))
306
325
  throw err;
307
326
  if (i === transports.length - 1)
308
327
  throw err;
@@ -346,7 +365,7 @@ function rankTransports({
346
365
  weights = {}
347
366
  }) {
348
367
  const { stability: stabilityWeight = 0.7, latency: latencyWeight = 0.3 } = weights;
349
- let samples = [];
368
+ const samples = [];
350
369
  const rankTransports_ = async () => {
351
370
  const sample = await Promise.all(
352
371
  transports.map(async (transport) => {
@@ -388,7 +407,7 @@ function rankTransports({
388
407
  ];
389
408
  }).sort((a, b) => b[0] - a[0]);
390
409
  onTransports(scores.map(([, i]) => transports[i]));
391
- await _chunkHBDMIBEOjs.wait.call(void 0, interval);
410
+ await _chunkYDNKDSSTjs.wait.call(void 0, interval);
392
411
  rankTransports_();
393
412
  };
394
413
  rankTransports_();
@@ -407,13 +426,13 @@ function http(url, config = {}) {
407
426
  const timeout = _nullishCoalesce(_nullishCoalesce(timeout_, () => ( config.timeout)), () => ( 1e4));
408
427
  const url_ = url || _optionalChain([chain, 'optionalAccess', _2 => _2.rpcUrls, 'access', _3 => _3.default, 'access', _4 => _4.http, 'access', _5 => _5[0]]);
409
428
  if (!url_)
410
- throw new (0, _chunkHBDMIBEOjs.UrlRequiredError)();
429
+ throw new (0, _chunkYDNKDSSTjs.UrlRequiredError)();
411
430
  return createTransport(
412
431
  {
413
432
  key,
414
433
  name,
415
434
  async request({ method, params }) {
416
- const { result } = await _chunkHBDMIBEOjs.rpc.http(url_, {
435
+ const { result } = await _chunkYDNKDSSTjs.rpc.http(url_, {
417
436
  body: {
418
437
  method,
419
438
  params
@@ -443,14 +462,14 @@ function webSocket(url, config = {}) {
443
462
  const timeout = _nullishCoalesce(_nullishCoalesce(timeout_, () => ( config.timeout)), () => ( 1e4));
444
463
  const url_ = url || _optionalChain([chain, 'optionalAccess', _6 => _6.rpcUrls, 'access', _7 => _7.default, 'access', _8 => _8.webSocket, 'optionalAccess', _9 => _9[0]]);
445
464
  if (!url_)
446
- throw new (0, _chunkHBDMIBEOjs.UrlRequiredError)();
465
+ throw new (0, _chunkYDNKDSSTjs.UrlRequiredError)();
447
466
  return createTransport(
448
467
  {
449
468
  key,
450
469
  name,
451
470
  async request({ method, params }) {
452
- const socket = await _chunkHBDMIBEOjs.getSocket.call(void 0, url_);
453
- const { result } = await _chunkHBDMIBEOjs.rpc.webSocketAsync(socket, {
471
+ const socket = await _chunkYDNKDSSTjs.getSocket.call(void 0, url_);
472
+ const { result } = await _chunkYDNKDSSTjs.rpc.webSocketAsync(socket, {
454
473
  body: { method, params },
455
474
  timeout
456
475
  });
@@ -463,12 +482,12 @@ function webSocket(url, config = {}) {
463
482
  },
464
483
  {
465
484
  getSocket() {
466
- return _chunkHBDMIBEOjs.getSocket.call(void 0, url_);
485
+ return _chunkYDNKDSSTjs.getSocket.call(void 0, url_);
467
486
  },
468
487
  async subscribe({ params, onData, onError }) {
469
- const socket = await _chunkHBDMIBEOjs.getSocket.call(void 0, url_);
488
+ const socket = await _chunkYDNKDSSTjs.getSocket.call(void 0, url_);
470
489
  const { result: subscriptionId } = await new Promise(
471
- (resolve, reject) => _chunkHBDMIBEOjs.rpc.webSocket(socket, {
490
+ (resolve, reject) => _chunkYDNKDSSTjs.rpc.webSocket(socket, {
472
491
  body: {
473
492
  method: "eth_subscribe",
474
493
  params
@@ -478,7 +497,9 @@ function webSocket(url, config = {}) {
478
497
  resolve(data);
479
498
  return;
480
499
  }
481
- onData(data);
500
+ if (data.method !== "eth_subscription")
501
+ return;
502
+ onData(data.params);
482
503
  },
483
504
  onError: (error) => {
484
505
  reject(error);
@@ -490,7 +511,7 @@ function webSocket(url, config = {}) {
490
511
  subscriptionId,
491
512
  async unsubscribe() {
492
513
  return new Promise(
493
- (resolve, reject) => _chunkHBDMIBEOjs.rpc.webSocket(socket, {
514
+ (resolve, reject) => _chunkYDNKDSSTjs.rpc.webSocket(socket, {
494
515
  body: {
495
516
  method: "eth_unsubscribe",
496
517
  params: [subscriptionId]
@@ -546,90 +567,95 @@ function createClient({
546
567
 
547
568
  // src/clients/decorators/public.ts
548
569
  var publicActions = (client) => ({
549
- call: (args) => _chunkHBDMIBEOjs.call.call(void 0, client, args),
550
- createBlockFilter: () => _chunkHBDMIBEOjs.createBlockFilter.call(void 0, client),
551
- createContractEventFilter: (args) => _chunkHBDMIBEOjs.createContractEventFilter.call(void 0, client, args),
552
- createEventFilter: (args) => _chunkHBDMIBEOjs.createEventFilter.call(void 0, client, args),
553
- createPendingTransactionFilter: () => _chunkHBDMIBEOjs.createPendingTransactionFilter.call(void 0, client),
554
- estimateContractGas: (args) => _chunkHBDMIBEOjs.estimateContractGas.call(void 0, client, args),
555
- estimateGas: (args) => _chunkHBDMIBEOjs.estimateGas.call(void 0, client, args),
556
- getBalance: (args) => _chunkHBDMIBEOjs.getBalance.call(void 0, client, args),
557
- getBlock: (args) => _chunkHBDMIBEOjs.getBlock.call(void 0, client, args),
558
- getBlockNumber: (args) => _chunkHBDMIBEOjs.getBlockNumber.call(void 0, client, args),
559
- getBlockTransactionCount: (args) => _chunkHBDMIBEOjs.getBlockTransactionCount.call(void 0, client, args),
560
- getBytecode: (args) => _chunkHBDMIBEOjs.getBytecode.call(void 0, client, args),
561
- getChainId: () => _chunkHBDMIBEOjs.getChainId.call(void 0, client),
562
- getEnsAddress: (args) => _chunkLWNOZI6Jjs.getEnsAddress.call(void 0, client, args),
563
- getEnsName: (args) => _chunkLWNOZI6Jjs.getEnsName.call(void 0, client, args),
564
- getFeeHistory: (args) => _chunkHBDMIBEOjs.getFeeHistory.call(void 0, client, args),
565
- getFilterChanges: (args) => _chunkHBDMIBEOjs.getFilterChanges.call(void 0, client, args),
566
- getFilterLogs: (args) => _chunkHBDMIBEOjs.getFilterLogs.call(void 0, client, args),
567
- getGasPrice: () => _chunkHBDMIBEOjs.getGasPrice.call(void 0, client),
568
- getLogs: (args) => _chunkHBDMIBEOjs.getLogs.call(void 0, client, args),
569
- getStorageAt: (args) => _chunkHBDMIBEOjs.getStorageAt.call(void 0, client, args),
570
- getTransaction: (args) => _chunkHBDMIBEOjs.getTransaction.call(void 0, client, args),
571
- getTransactionConfirmations: (args) => _chunkHBDMIBEOjs.getTransactionConfirmations.call(void 0, client, args),
572
- getTransactionCount: (args) => _chunkHBDMIBEOjs.getTransactionCount.call(void 0, client, args),
573
- getTransactionReceipt: (args) => _chunkHBDMIBEOjs.getTransactionReceipt.call(void 0, client, args),
574
- multicall: (args) => _chunkHBDMIBEOjs.multicall.call(void 0, client, args),
575
- readContract: (args) => _chunkHBDMIBEOjs.readContract.call(void 0, client, args),
576
- simulateContract: (args) => _chunkHBDMIBEOjs.simulateContract.call(void 0, client, args),
577
- uninstallFilter: (args) => _chunkHBDMIBEOjs.uninstallFilter.call(void 0, client, args),
578
- waitForTransactionReceipt: (args) => _chunkHBDMIBEOjs.waitForTransactionReceipt.call(void 0, client, args),
579
- watchBlocks: (args) => _chunkHBDMIBEOjs.watchBlocks.call(void 0, client, args),
580
- watchBlockNumber: (args) => _chunkHBDMIBEOjs.watchBlockNumber.call(void 0, client, args),
581
- watchContractEvent: (args) => _chunkHBDMIBEOjs.watchContractEvent.call(void 0, client, args),
582
- watchEvent: (args) => _chunkHBDMIBEOjs.watchEvent.call(void 0, client, args),
583
- watchPendingTransactions: (args) => _chunkHBDMIBEOjs.watchPendingTransactions.call(void 0, client, args)
570
+ call: (args) => _chunkYDNKDSSTjs.call.call(void 0, client, args),
571
+ createBlockFilter: () => _chunkYDNKDSSTjs.createBlockFilter.call(void 0, client),
572
+ createContractEventFilter: (args) => _chunkYDNKDSSTjs.createContractEventFilter.call(void 0, client, args),
573
+ createEventFilter: (args) => _chunkYDNKDSSTjs.createEventFilter.call(void 0, client, args),
574
+ createPendingTransactionFilter: () => _chunkYDNKDSSTjs.createPendingTransactionFilter.call(void 0, client),
575
+ estimateContractGas: (args) => _chunkYDNKDSSTjs.estimateContractGas.call(void 0, client, args),
576
+ estimateGas: (args) => _chunkYDNKDSSTjs.estimateGas.call(void 0, client, args),
577
+ getBalance: (args) => _chunkYDNKDSSTjs.getBalance.call(void 0, client, args),
578
+ getBlock: (args) => _chunkYDNKDSSTjs.getBlock.call(void 0, client, args),
579
+ getBlockNumber: (args) => _chunkYDNKDSSTjs.getBlockNumber.call(void 0, client, args),
580
+ getBlockTransactionCount: (args) => _chunkYDNKDSSTjs.getBlockTransactionCount.call(void 0, client, args),
581
+ getBytecode: (args) => _chunkYDNKDSSTjs.getBytecode.call(void 0, client, args),
582
+ getChainId: () => _chunkYDNKDSSTjs.getChainId.call(void 0, client),
583
+ getEnsAddress: (args) => _chunkYDNKDSSTjs.getEnsAddress.call(void 0, client, args),
584
+ getEnsAvatar: (args) => _chunkYDNKDSSTjs.getEnsAvatar.call(void 0, client, args),
585
+ getEnsName: (args) => _chunkYDNKDSSTjs.getEnsName.call(void 0, client, args),
586
+ getEnsResolver: (args) => _chunkYDNKDSSTjs.getEnsResolver.call(void 0, client, args),
587
+ getEnsText: (args) => _chunkYDNKDSSTjs.getEnsText.call(void 0, client, args),
588
+ getFeeHistory: (args) => _chunkYDNKDSSTjs.getFeeHistory.call(void 0, client, args),
589
+ getFilterChanges: (args) => _chunkYDNKDSSTjs.getFilterChanges.call(void 0, client, args),
590
+ getFilterLogs: (args) => _chunkYDNKDSSTjs.getFilterLogs.call(void 0, client, args),
591
+ getGasPrice: () => _chunkYDNKDSSTjs.getGasPrice.call(void 0, client),
592
+ getLogs: (args) => _chunkYDNKDSSTjs.getLogs.call(void 0, client, args),
593
+ getStorageAt: (args) => _chunkYDNKDSSTjs.getStorageAt.call(void 0, client, args),
594
+ getTransaction: (args) => _chunkYDNKDSSTjs.getTransaction.call(void 0, client, args),
595
+ getTransactionConfirmations: (args) => _chunkYDNKDSSTjs.getTransactionConfirmations.call(void 0, client, args),
596
+ getTransactionCount: (args) => _chunkYDNKDSSTjs.getTransactionCount.call(void 0, client, args),
597
+ getTransactionReceipt: (args) => _chunkYDNKDSSTjs.getTransactionReceipt.call(void 0, client, args),
598
+ multicall: (args) => _chunkYDNKDSSTjs.multicall.call(void 0, client, args),
599
+ readContract: (args) => _chunkYDNKDSSTjs.readContract.call(void 0, client, args),
600
+ simulateContract: (args) => _chunkYDNKDSSTjs.simulateContract.call(void 0, client, args),
601
+ uninstallFilter: (args) => _chunkYDNKDSSTjs.uninstallFilter.call(void 0, client, args),
602
+ waitForTransactionReceipt: (args) => _chunkYDNKDSSTjs.waitForTransactionReceipt.call(void 0, client, args),
603
+ watchBlocks: (args) => _chunkYDNKDSSTjs.watchBlocks.call(void 0, client, args),
604
+ watchBlockNumber: (args) => _chunkYDNKDSSTjs.watchBlockNumber.call(void 0, client, args),
605
+ watchContractEvent: (args) => _chunkYDNKDSSTjs.watchContractEvent.call(void 0, client, args),
606
+ watchEvent: (args) => _chunkYDNKDSSTjs.watchEvent.call(void 0, client, args),
607
+ watchPendingTransactions: (args) => _chunkYDNKDSSTjs.watchPendingTransactions.call(void 0, client, args)
584
608
  });
585
609
 
586
610
  // src/clients/decorators/test.ts
587
- var testActions = (client) => ({
588
- dropTransaction: (args) => _chunkHBDMIBEOjs.dropTransaction.call(void 0, client, args),
589
- getAutomine: () => _chunkHBDMIBEOjs.getAutomine.call(void 0, client),
590
- getTxpoolContent: () => _chunkHBDMIBEOjs.getTxpoolContent.call(void 0, client),
591
- getTxpoolStatus: () => _chunkHBDMIBEOjs.getTxpoolStatus.call(void 0, client),
592
- impersonateAccount: (args) => _chunkHBDMIBEOjs.impersonateAccount.call(void 0, client, args),
593
- increaseTime: (args) => _chunkHBDMIBEOjs.increaseTime.call(void 0, client, args),
594
- inspectTxpool: () => _chunkHBDMIBEOjs.inspectTxpool.call(void 0, client),
595
- mine: (args) => _chunkHBDMIBEOjs.mine.call(void 0, client, args),
596
- removeBlockTimestampInterval: () => _chunkHBDMIBEOjs.removeBlockTimestampInterval.call(void 0, client),
597
- reset: (args) => _chunkHBDMIBEOjs.reset.call(void 0, client, args),
598
- revert: (args) => _chunkHBDMIBEOjs.revert.call(void 0, client, args),
599
- sendUnsignedTransaction: (args) => _chunkHBDMIBEOjs.sendUnsignedTransaction.call(void 0, client, args),
600
- setAutomine: (args) => _chunkHBDMIBEOjs.setAutomine.call(void 0, client, args),
601
- setBalance: (args) => _chunkHBDMIBEOjs.setBalance.call(void 0, client, args),
602
- setBlockGasLimit: (args) => _chunkHBDMIBEOjs.setBlockGasLimit.call(void 0, client, args),
603
- setBlockTimestampInterval: (args) => _chunkHBDMIBEOjs.setBlockTimestampInterval.call(void 0, client, args),
604
- setCode: (args) => _chunkHBDMIBEOjs.setCode.call(void 0, client, args),
605
- setCoinbase: (args) => _chunkHBDMIBEOjs.setCoinbase.call(void 0, client, args),
606
- setIntervalMining: (args) => _chunkHBDMIBEOjs.setIntervalMining.call(void 0, client, args),
607
- setLoggingEnabled: (args) => _chunkHBDMIBEOjs.setLoggingEnabled.call(void 0, client, args),
608
- setMinGasPrice: (args) => _chunkHBDMIBEOjs.setMinGasPrice.call(void 0, client, args),
609
- setNextBlockBaseFeePerGas: (args) => _chunkHBDMIBEOjs.setNextBlockBaseFeePerGas.call(void 0, client, args),
610
- setNextBlockTimestamp: (args) => _chunkHBDMIBEOjs.setNextBlockTimestamp.call(void 0, client, args),
611
- setNonce: (args) => _chunkHBDMIBEOjs.setNonce.call(void 0, client, args),
612
- setRpcUrl: (args) => _chunkHBDMIBEOjs.setRpcUrl.call(void 0, client, args),
613
- setStorageAt: (args) => _chunkHBDMIBEOjs.setStorageAt.call(void 0, client, args),
614
- snapshot: () => _chunkHBDMIBEOjs.snapshot.call(void 0, client),
615
- stopImpersonatingAccount: (args) => _chunkHBDMIBEOjs.stopImpersonatingAccount.call(void 0, client, args)
616
- });
611
+ function testActions(client) {
612
+ return {
613
+ dropTransaction: (args) => _chunkYDNKDSSTjs.dropTransaction.call(void 0, client, args),
614
+ getAutomine: () => _chunkYDNKDSSTjs.getAutomine.call(void 0, client),
615
+ getTxpoolContent: () => _chunkYDNKDSSTjs.getTxpoolContent.call(void 0, client),
616
+ getTxpoolStatus: () => _chunkYDNKDSSTjs.getTxpoolStatus.call(void 0, client),
617
+ impersonateAccount: (args) => _chunkYDNKDSSTjs.impersonateAccount.call(void 0, client, args),
618
+ increaseTime: (args) => _chunkYDNKDSSTjs.increaseTime.call(void 0, client, args),
619
+ inspectTxpool: () => _chunkYDNKDSSTjs.inspectTxpool.call(void 0, client),
620
+ mine: (args) => _chunkYDNKDSSTjs.mine.call(void 0, client, args),
621
+ removeBlockTimestampInterval: () => _chunkYDNKDSSTjs.removeBlockTimestampInterval.call(void 0, client),
622
+ reset: (args) => _chunkYDNKDSSTjs.reset.call(void 0, client, args),
623
+ revert: (args) => _chunkYDNKDSSTjs.revert.call(void 0, client, args),
624
+ sendUnsignedTransaction: (args) => _chunkYDNKDSSTjs.sendUnsignedTransaction.call(void 0, client, args),
625
+ setAutomine: (args) => _chunkYDNKDSSTjs.setAutomine.call(void 0, client, args),
626
+ setBalance: (args) => _chunkYDNKDSSTjs.setBalance.call(void 0, client, args),
627
+ setBlockGasLimit: (args) => _chunkYDNKDSSTjs.setBlockGasLimit.call(void 0, client, args),
628
+ setBlockTimestampInterval: (args) => _chunkYDNKDSSTjs.setBlockTimestampInterval.call(void 0, client, args),
629
+ setCode: (args) => _chunkYDNKDSSTjs.setCode.call(void 0, client, args),
630
+ setCoinbase: (args) => _chunkYDNKDSSTjs.setCoinbase.call(void 0, client, args),
631
+ setIntervalMining: (args) => _chunkYDNKDSSTjs.setIntervalMining.call(void 0, client, args),
632
+ setLoggingEnabled: (args) => _chunkYDNKDSSTjs.setLoggingEnabled.call(void 0, client, args),
633
+ setMinGasPrice: (args) => _chunkYDNKDSSTjs.setMinGasPrice.call(void 0, client, args),
634
+ setNextBlockBaseFeePerGas: (args) => _chunkYDNKDSSTjs.setNextBlockBaseFeePerGas.call(void 0, client, args),
635
+ setNextBlockTimestamp: (args) => _chunkYDNKDSSTjs.setNextBlockTimestamp.call(void 0, client, args),
636
+ setNonce: (args) => _chunkYDNKDSSTjs.setNonce.call(void 0, client, args),
637
+ setRpcUrl: (args) => _chunkYDNKDSSTjs.setRpcUrl.call(void 0, client, args),
638
+ setStorageAt: (args) => _chunkYDNKDSSTjs.setStorageAt.call(void 0, client, args),
639
+ snapshot: () => _chunkYDNKDSSTjs.snapshot.call(void 0, client),
640
+ stopImpersonatingAccount: (args) => _chunkYDNKDSSTjs.stopImpersonatingAccount.call(void 0, client, args)
641
+ };
642
+ }
617
643
 
618
644
  // src/clients/decorators/wallet.ts
619
645
  var walletActions = (client) => ({
620
- addChain: (args) => _chunkHBDMIBEOjs.addChain.call(void 0, client, args),
621
- deployContract: (args) => _chunkHBDMIBEOjs.deployContract.call(void 0, client, args),
622
- getAddresses: () => _chunkHBDMIBEOjs.getAddresses.call(void 0, client),
623
- getChainId: () => _chunkHBDMIBEOjs.getChainId.call(void 0, client),
624
- getPermissions: () => _chunkHBDMIBEOjs.getPermissions.call(void 0, client),
625
- requestAddresses: () => _chunkHBDMIBEOjs.requestAddresses.call(void 0, client),
626
- requestPermissions: (args) => _chunkHBDMIBEOjs.requestPermissions.call(void 0, client, args),
627
- sendTransaction: (args) => _chunkHBDMIBEOjs.sendTransaction.call(void 0, client, args),
628
- signMessage: (args) => _chunkHBDMIBEOjs.signMessage.call(void 0, client, args),
629
- signTypedData: (args) => _chunkHBDMIBEOjs.signTypedData.call(void 0, client, args),
630
- switchChain: (args) => _chunkHBDMIBEOjs.switchChain.call(void 0, client, args),
631
- watchAsset: (args) => _chunkHBDMIBEOjs.watchAsset.call(void 0, client, args),
632
- writeContract: (args) => _chunkHBDMIBEOjs.writeContract.call(void 0, client, args)
646
+ addChain: (args) => _chunkYDNKDSSTjs.addChain.call(void 0, client, args),
647
+ deployContract: (args) => _chunkYDNKDSSTjs.deployContract.call(void 0, client, args),
648
+ getAddresses: () => _chunkYDNKDSSTjs.getAddresses.call(void 0, client),
649
+ getChainId: () => _chunkYDNKDSSTjs.getChainId.call(void 0, client),
650
+ getPermissions: () => _chunkYDNKDSSTjs.getPermissions.call(void 0, client),
651
+ requestAddresses: () => _chunkYDNKDSSTjs.requestAddresses.call(void 0, client),
652
+ requestPermissions: (args) => _chunkYDNKDSSTjs.requestPermissions.call(void 0, client, args),
653
+ sendTransaction: (args) => _chunkYDNKDSSTjs.sendTransaction.call(void 0, client, args),
654
+ signMessage: (args) => _chunkYDNKDSSTjs.signMessage.call(void 0, client, args),
655
+ signTypedData: (args) => _chunkYDNKDSSTjs.signTypedData.call(void 0, client, args),
656
+ switchChain: (args) => _chunkYDNKDSSTjs.switchChain.call(void 0, client, args),
657
+ watchAsset: (args) => _chunkYDNKDSSTjs.watchAsset.call(void 0, client, args),
658
+ writeContract: (args) => _chunkYDNKDSSTjs.writeContract.call(void 0, client, args)
633
659
  });
634
660
 
635
661
  // src/clients/createPublicClient.ts
@@ -682,20 +708,24 @@ function createTestClient({
682
708
 
683
709
  // src/clients/createWalletClient.ts
684
710
  function createWalletClient({
711
+ account,
685
712
  chain,
686
713
  transport,
687
714
  key = "wallet",
688
715
  name = "Wallet Client",
689
716
  pollingInterval
690
717
  }) {
691
- const client = createClient({
692
- chain,
693
- key,
694
- name,
695
- pollingInterval,
696
- transport: () => transport({ retryCount: 0 }),
697
- type: "walletClient"
698
- });
718
+ const client = {
719
+ ...createClient({
720
+ chain,
721
+ key,
722
+ name,
723
+ pollingInterval,
724
+ transport: () => transport({ retryCount: 0 }),
725
+ type: "walletClient"
726
+ }),
727
+ account: account ? _chunkYDNKDSSTjs.parseAccount.call(void 0, account) : void 0
728
+ };
699
729
  return {
700
730
  ...client,
701
731
  ...walletActions(client)
@@ -876,5 +906,22 @@ function createWalletClient({
876
906
 
877
907
 
878
908
 
879
- exports.AbiConstructorNotFoundError = _chunkHBDMIBEOjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkHBDMIBEOjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkHBDMIBEOjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkHBDMIBEOjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkHBDMIBEOjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkHBDMIBEOjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkHBDMIBEOjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkHBDMIBEOjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkHBDMIBEOjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkHBDMIBEOjs.AbiEventNotFoundError; exports.AbiEventSignatureEmptyTopicsError = _chunkHBDMIBEOjs.AbiEventSignatureEmptyTopicsError; exports.AbiEventSignatureNotFoundError = _chunkHBDMIBEOjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkHBDMIBEOjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkHBDMIBEOjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkHBDMIBEOjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkHBDMIBEOjs.BaseError; exports.BlockNotFoundError = _chunkHBDMIBEOjs.BlockNotFoundError; exports.CallExecutionError = _chunkHBDMIBEOjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkHBDMIBEOjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkHBDMIBEOjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkHBDMIBEOjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkHBDMIBEOjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkHBDMIBEOjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkHBDMIBEOjs.DataLengthTooShortError; exports.DecodeLogTopicsMismatch = _chunkHBDMIBEOjs.DecodeLogTopicsMismatch; exports.EstimateGasExecutionError = _chunkHBDMIBEOjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkHBDMIBEOjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkHBDMIBEOjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkHBDMIBEOjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkHBDMIBEOjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkHBDMIBEOjs.HttpRequestError; exports.InsufficientFundsError = _chunkHBDMIBEOjs.InsufficientFundsError; exports.InternalRpcError = _chunkHBDMIBEOjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkHBDMIBEOjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkHBDMIBEOjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkHBDMIBEOjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkHBDMIBEOjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkHBDMIBEOjs.InvalidAddressError; exports.InvalidArrayError = _chunkHBDMIBEOjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkHBDMIBEOjs.InvalidBytesBooleanError; exports.InvalidDefinitionTypeError = _chunkHBDMIBEOjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkHBDMIBEOjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkHBDMIBEOjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkHBDMIBEOjs.InvalidInputRpcError; exports.InvalidParamsRpcError = _chunkHBDMIBEOjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkHBDMIBEOjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkHBDMIBEOjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkHBDMIBEOjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkHBDMIBEOjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkHBDMIBEOjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkHBDMIBEOjs.NonceMaxValueError; exports.NonceTooHighError = _chunkHBDMIBEOjs.NonceTooHighError; exports.NonceTooLowError = _chunkHBDMIBEOjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkHBDMIBEOjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkHBDMIBEOjs.ParseRpcError; exports.RawContractError = _chunkHBDMIBEOjs.RawContractError; exports.RequestError = _chunkHBDMIBEOjs.RequestError; exports.ResourceNotFoundRpcError = _chunkHBDMIBEOjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkHBDMIBEOjs.ResourceUnavailableRpcError; exports.RpcError = _chunkHBDMIBEOjs.RpcError; exports.RpcRequestError = _chunkHBDMIBEOjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkHBDMIBEOjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkHBDMIBEOjs.SwitchChainError; exports.TimeoutError = _chunkHBDMIBEOjs.TimeoutError; exports.TipAboveFeeCapError = _chunkHBDMIBEOjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkHBDMIBEOjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkHBDMIBEOjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkHBDMIBEOjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkHBDMIBEOjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkHBDMIBEOjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkHBDMIBEOjs.UnknownNodeError; exports.UnknownRpcError = _chunkHBDMIBEOjs.UnknownRpcError; exports.UrlRequiredError = _chunkHBDMIBEOjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkHBDMIBEOjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkHBDMIBEOjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkHBDMIBEOjs.WebSocketRequestError; exports.boolToBytes = _chunkHBDMIBEOjs.boolToBytes; exports.boolToHex = _chunkHBDMIBEOjs.boolToHex; exports.bytesToBigint = _chunkHBDMIBEOjs.bytesToBigint; exports.bytesToBool = _chunkHBDMIBEOjs.bytesToBool; exports.bytesToHex = _chunkHBDMIBEOjs.bytesToHex; exports.bytesToNumber = _chunkHBDMIBEOjs.bytesToNumber; exports.bytesToString = _chunkHBDMIBEOjs.bytesToString; exports.concat = _chunkHBDMIBEOjs.concat; exports.concatBytes = _chunkHBDMIBEOjs.concatBytes; exports.concatHex = _chunkHBDMIBEOjs.concatHex; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkHBDMIBEOjs.decodeAbiParameters; exports.decodeErrorResult = _chunkHBDMIBEOjs.decodeErrorResult; exports.decodeEventLog = _chunkHBDMIBEOjs.decodeEventLog; exports.decodeFunctionData = _chunkHBDMIBEOjs.decodeFunctionData; exports.decodeFunctionResult = _chunkHBDMIBEOjs.decodeFunctionResult; exports.defineBlock = _chunkHBDMIBEOjs.defineBlock; exports.defineChain = _chunkHBDMIBEOjs.defineChain; exports.defineTransaction = _chunkHBDMIBEOjs.defineTransaction; exports.defineTransactionReceipt = _chunkHBDMIBEOjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkHBDMIBEOjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkHBDMIBEOjs.encodeAbiParameters; exports.encodeDeployData = _chunkHBDMIBEOjs.encodeDeployData; exports.encodeErrorResult = _chunkHBDMIBEOjs.encodeErrorResult; exports.encodeEventTopics = _chunkHBDMIBEOjs.encodeEventTopics; exports.encodeFunctionData = _chunkHBDMIBEOjs.encodeFunctionData; exports.encodeFunctionResult = _chunkHBDMIBEOjs.encodeFunctionResult; exports.encodePacked = _chunkHBDMIBEOjs.encodePacked; exports.etherUnits = _chunkHBDMIBEOjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkHBDMIBEOjs.formatBlock; exports.formatEther = _chunkHBDMIBEOjs.formatEther; exports.formatGwei = _chunkHBDMIBEOjs.formatGwei; exports.formatTransaction = _chunkHBDMIBEOjs.formatTransaction; exports.formatTransactionRequest = _chunkHBDMIBEOjs.formatTransactionRequest; exports.formatUnits = _chunkHBDMIBEOjs.formatUnits; exports.fromBytes = _chunkHBDMIBEOjs.fromBytes; exports.fromHex = _chunkHBDMIBEOjs.fromHex; exports.fromRlp = _chunkHBDMIBEOjs.fromRlp; exports.getAbiItem = _chunkHBDMIBEOjs.getAbiItem; exports.getAccount = _chunkHBDMIBEOjs.getAccount; exports.getAddress = _chunkHBDMIBEOjs.getAddress; exports.getContractAddress = _chunkHBDMIBEOjs.getContractAddress; exports.getContractError = _chunkHBDMIBEOjs.getContractError; exports.getCreate2Address = _chunkHBDMIBEOjs.getCreate2Address; exports.getCreateAddress = _chunkHBDMIBEOjs.getCreateAddress; exports.getEventSelector = _chunkHBDMIBEOjs.getEventSelector; exports.getFunctionSelector = _chunkHBDMIBEOjs.getFunctionSelector; exports.gweiUnits = _chunkHBDMIBEOjs.gweiUnits; exports.hashMessage = _chunkHBDMIBEOjs.hashMessage; exports.hexToBigInt = _chunkHBDMIBEOjs.hexToBigInt; exports.hexToBool = _chunkHBDMIBEOjs.hexToBool; exports.hexToBytes = _chunkHBDMIBEOjs.hexToBytes; exports.hexToNumber = _chunkHBDMIBEOjs.hexToNumber; exports.hexToString = _chunkHBDMIBEOjs.hexToString; exports.http = http; exports.isAddress = _chunkHBDMIBEOjs.isAddress; exports.isAddressEqual = _chunkHBDMIBEOjs.isAddressEqual; exports.isBytes = _chunkHBDMIBEOjs.isBytes; exports.isHex = _chunkHBDMIBEOjs.isHex; exports.keccak256 = _chunkHBDMIBEOjs.keccak256; exports.labelhash = _chunkLWNOZI6Jjs.labelhash; exports.multicall3Abi = _chunkHBDMIBEOjs.multicall3Abi; exports.namehash = _chunkLWNOZI6Jjs.namehash; exports.numberToBytes = _chunkHBDMIBEOjs.numberToBytes; exports.numberToHex = _chunkHBDMIBEOjs.numberToHex; exports.pad = _chunkHBDMIBEOjs.pad; exports.padBytes = _chunkHBDMIBEOjs.padBytes; exports.padHex = _chunkHBDMIBEOjs.padHex; exports.parseAbi = _chunkHBDMIBEOjs.parseAbi; exports.parseAbiItem = _chunkHBDMIBEOjs.parseAbiItem; exports.parseAbiParameter = _chunkHBDMIBEOjs.parseAbiParameter; exports.parseAbiParameters = _chunkHBDMIBEOjs.parseAbiParameters; exports.parseEther = _chunkHBDMIBEOjs.parseEther; exports.parseGwei = _chunkHBDMIBEOjs.parseGwei; exports.parseUnits = _chunkHBDMIBEOjs.parseUnits; exports.recoverAddress = _chunkHBDMIBEOjs.recoverAddress; exports.recoverMessageAddress = _chunkHBDMIBEOjs.recoverMessageAddress; exports.size = _chunkHBDMIBEOjs.size; exports.slice = _chunkHBDMIBEOjs.slice; exports.sliceBytes = _chunkHBDMIBEOjs.sliceBytes; exports.sliceHex = _chunkHBDMIBEOjs.sliceHex; exports.stringToBytes = _chunkHBDMIBEOjs.stringToBytes; exports.stringToHex = _chunkHBDMIBEOjs.stringToHex; exports.stringify = _chunkHBDMIBEOjs.stringify; exports.toBytes = _chunkHBDMIBEOjs.toBytes; exports.toHex = _chunkHBDMIBEOjs.toHex; exports.toRlp = _chunkHBDMIBEOjs.toRlp; exports.transactionType = _chunkHBDMIBEOjs.transactionType; exports.trim = _chunkHBDMIBEOjs.trim; exports.verifyMessage = _chunkHBDMIBEOjs.verifyMessage; exports.webSocket = webSocket; exports.weiUnits = _chunkHBDMIBEOjs.weiUnits;
909
+
910
+
911
+
912
+
913
+
914
+
915
+
916
+
917
+
918
+
919
+
920
+
921
+
922
+
923
+
924
+
925
+
926
+ exports.AbiConstructorNotFoundError = _chunkYDNKDSSTjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkYDNKDSSTjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkYDNKDSSTjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkYDNKDSSTjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkYDNKDSSTjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkYDNKDSSTjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkYDNKDSSTjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkYDNKDSSTjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkYDNKDSSTjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkYDNKDSSTjs.AbiEventNotFoundError; exports.AbiEventSignatureEmptyTopicsError = _chunkYDNKDSSTjs.AbiEventSignatureEmptyTopicsError; exports.AbiEventSignatureNotFoundError = _chunkYDNKDSSTjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkYDNKDSSTjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkYDNKDSSTjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkYDNKDSSTjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkYDNKDSSTjs.BaseError; exports.BlockNotFoundError = _chunkYDNKDSSTjs.BlockNotFoundError; exports.CallExecutionError = _chunkYDNKDSSTjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkYDNKDSSTjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkYDNKDSSTjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkYDNKDSSTjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkYDNKDSSTjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkYDNKDSSTjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkYDNKDSSTjs.DataLengthTooShortError; exports.DecodeLogTopicsMismatch = _chunkYDNKDSSTjs.DecodeLogTopicsMismatch; exports.EnsAvatarUriResolutionError = _chunkYDNKDSSTjs.EnsAvatarUriResolutionError; exports.EstimateGasExecutionError = _chunkYDNKDSSTjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkYDNKDSSTjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkYDNKDSSTjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkYDNKDSSTjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkYDNKDSSTjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkYDNKDSSTjs.HttpRequestError; exports.InsufficientFundsError = _chunkYDNKDSSTjs.InsufficientFundsError; exports.InternalRpcError = _chunkYDNKDSSTjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkYDNKDSSTjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkYDNKDSSTjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkYDNKDSSTjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkYDNKDSSTjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkYDNKDSSTjs.InvalidAddressError; exports.InvalidArrayError = _chunkYDNKDSSTjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkYDNKDSSTjs.InvalidBytesBooleanError; exports.InvalidChainIdError = _chunkYDNKDSSTjs.InvalidChainIdError; exports.InvalidDefinitionTypeError = _chunkYDNKDSSTjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkYDNKDSSTjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkYDNKDSSTjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkYDNKDSSTjs.InvalidInputRpcError; exports.InvalidLegacyVError = _chunkYDNKDSSTjs.InvalidLegacyVError; exports.InvalidParamsRpcError = _chunkYDNKDSSTjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkYDNKDSSTjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkYDNKDSSTjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkYDNKDSSTjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkYDNKDSSTjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkYDNKDSSTjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkYDNKDSSTjs.NonceMaxValueError; exports.NonceTooHighError = _chunkYDNKDSSTjs.NonceTooHighError; exports.NonceTooLowError = _chunkYDNKDSSTjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkYDNKDSSTjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkYDNKDSSTjs.ParseRpcError; exports.RawContractError = _chunkYDNKDSSTjs.RawContractError; exports.RequestError = _chunkYDNKDSSTjs.RequestError; exports.ResourceNotFoundRpcError = _chunkYDNKDSSTjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkYDNKDSSTjs.ResourceUnavailableRpcError; exports.RpcError = _chunkYDNKDSSTjs.RpcError; exports.RpcRequestError = _chunkYDNKDSSTjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkYDNKDSSTjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkYDNKDSSTjs.SwitchChainError; exports.TimeoutError = _chunkYDNKDSSTjs.TimeoutError; exports.TipAboveFeeCapError = _chunkYDNKDSSTjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkYDNKDSSTjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkYDNKDSSTjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkYDNKDSSTjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkYDNKDSSTjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkYDNKDSSTjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkYDNKDSSTjs.UnknownNodeError; exports.UnknownRpcError = _chunkYDNKDSSTjs.UnknownRpcError; exports.UrlRequiredError = _chunkYDNKDSSTjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkYDNKDSSTjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkYDNKDSSTjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkYDNKDSSTjs.WebSocketRequestError; exports.assertRequest = _chunkYDNKDSSTjs.assertRequest; exports.assertTransactionEIP1559 = _chunkYDNKDSSTjs.assertTransactionEIP1559; exports.assertTransactionEIP2930 = _chunkYDNKDSSTjs.assertTransactionEIP2930; exports.assertTransactionLegacy = _chunkYDNKDSSTjs.assertTransactionLegacy; exports.boolToBytes = _chunkYDNKDSSTjs.boolToBytes; exports.boolToHex = _chunkYDNKDSSTjs.boolToHex; exports.bytesToBigint = _chunkYDNKDSSTjs.bytesToBigint; exports.bytesToBool = _chunkYDNKDSSTjs.bytesToBool; exports.bytesToHex = _chunkYDNKDSSTjs.bytesToHex; exports.bytesToNumber = _chunkYDNKDSSTjs.bytesToNumber; exports.bytesToString = _chunkYDNKDSSTjs.bytesToString; exports.concat = _chunkYDNKDSSTjs.concat; exports.concatBytes = _chunkYDNKDSSTjs.concatBytes; exports.concatHex = _chunkYDNKDSSTjs.concatHex; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkYDNKDSSTjs.decodeAbiParameters; exports.decodeErrorResult = _chunkYDNKDSSTjs.decodeErrorResult; exports.decodeEventLog = _chunkYDNKDSSTjs.decodeEventLog; exports.decodeFunctionData = _chunkYDNKDSSTjs.decodeFunctionData; exports.decodeFunctionResult = _chunkYDNKDSSTjs.decodeFunctionResult; exports.defineBlock = _chunkYDNKDSSTjs.defineBlock; exports.defineChain = _chunkYDNKDSSTjs.defineChain; exports.defineTransaction = _chunkYDNKDSSTjs.defineTransaction; exports.defineTransactionReceipt = _chunkYDNKDSSTjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkYDNKDSSTjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkYDNKDSSTjs.encodeAbiParameters; exports.encodeDeployData = _chunkYDNKDSSTjs.encodeDeployData; exports.encodeErrorResult = _chunkYDNKDSSTjs.encodeErrorResult; exports.encodeEventTopics = _chunkYDNKDSSTjs.encodeEventTopics; exports.encodeFunctionData = _chunkYDNKDSSTjs.encodeFunctionData; exports.encodeFunctionResult = _chunkYDNKDSSTjs.encodeFunctionResult; exports.encodePacked = _chunkYDNKDSSTjs.encodePacked; exports.etherUnits = _chunkYDNKDSSTjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkYDNKDSSTjs.formatBlock; exports.formatEther = _chunkYDNKDSSTjs.formatEther; exports.formatGwei = _chunkYDNKDSSTjs.formatGwei; exports.formatTransaction = _chunkYDNKDSSTjs.formatTransaction; exports.formatTransactionRequest = _chunkYDNKDSSTjs.formatTransactionRequest; exports.formatUnits = _chunkYDNKDSSTjs.formatUnits; exports.fromBytes = _chunkYDNKDSSTjs.fromBytes; exports.fromHex = _chunkYDNKDSSTjs.fromHex; exports.fromRlp = _chunkYDNKDSSTjs.fromRlp; exports.getAbiItem = _chunkYDNKDSSTjs.getAbiItem; exports.getAddress = _chunkYDNKDSSTjs.getAddress; exports.getContract = _chunkYDNKDSSTjs.getContract; exports.getContractAddress = _chunkYDNKDSSTjs.getContractAddress; exports.getContractError = _chunkYDNKDSSTjs.getContractError; exports.getCreate2Address = _chunkYDNKDSSTjs.getCreate2Address; exports.getCreateAddress = _chunkYDNKDSSTjs.getCreateAddress; exports.getEventSelector = _chunkYDNKDSSTjs.getEventSelector; exports.getFunctionSelector = _chunkYDNKDSSTjs.getFunctionSelector; exports.getSerializedTransactionType = _chunkYDNKDSSTjs.getSerializedTransactionType; exports.getTransactionType = _chunkYDNKDSSTjs.getTransactionType; exports.gweiUnits = _chunkYDNKDSSTjs.gweiUnits; exports.hashMessage = _chunkYDNKDSSTjs.hashMessage; exports.hashTypedData = _chunkYDNKDSSTjs.hashTypedData; exports.hexToBigInt = _chunkYDNKDSSTjs.hexToBigInt; exports.hexToBool = _chunkYDNKDSSTjs.hexToBool; exports.hexToBytes = _chunkYDNKDSSTjs.hexToBytes; exports.hexToNumber = _chunkYDNKDSSTjs.hexToNumber; exports.hexToString = _chunkYDNKDSSTjs.hexToString; exports.http = http; exports.isAddress = _chunkYDNKDSSTjs.isAddress; exports.isAddressEqual = _chunkYDNKDSSTjs.isAddressEqual; exports.isBytes = _chunkYDNKDSSTjs.isBytes; exports.isHash = _chunkYDNKDSSTjs.isHash; exports.isHex = _chunkYDNKDSSTjs.isHex; exports.keccak256 = _chunkYDNKDSSTjs.keccak256; exports.labelhash = _chunkYDNKDSSTjs.labelhash; exports.multicall3Abi = _chunkYDNKDSSTjs.multicall3Abi; exports.namehash = _chunkYDNKDSSTjs.namehash; exports.numberToBytes = _chunkYDNKDSSTjs.numberToBytes; exports.numberToHex = _chunkYDNKDSSTjs.numberToHex; exports.pad = _chunkYDNKDSSTjs.pad; exports.padBytes = _chunkYDNKDSSTjs.padBytes; exports.padHex = _chunkYDNKDSSTjs.padHex; exports.parseAbi = _chunkYDNKDSSTjs.parseAbi; exports.parseAbiItem = _chunkYDNKDSSTjs.parseAbiItem; exports.parseAbiParameter = _chunkYDNKDSSTjs.parseAbiParameter; exports.parseAbiParameters = _chunkYDNKDSSTjs.parseAbiParameters; exports.parseEther = _chunkYDNKDSSTjs.parseEther; exports.parseGwei = _chunkYDNKDSSTjs.parseGwei; exports.parseTransaction = _chunkYDNKDSSTjs.parseTransaction; exports.parseUnits = _chunkYDNKDSSTjs.parseUnits; exports.prepareRequest = _chunkYDNKDSSTjs.prepareRequest; exports.recoverAddress = _chunkYDNKDSSTjs.recoverAddress; exports.recoverMessageAddress = _chunkYDNKDSSTjs.recoverMessageAddress; exports.recoverTypedDataAddress = _chunkYDNKDSSTjs.recoverTypedDataAddress; exports.serializeTransaction = _chunkYDNKDSSTjs.serializeTransaction; exports.size = _chunkYDNKDSSTjs.size; exports.slice = _chunkYDNKDSSTjs.slice; exports.sliceBytes = _chunkYDNKDSSTjs.sliceBytes; exports.sliceHex = _chunkYDNKDSSTjs.sliceHex; exports.stringToBytes = _chunkYDNKDSSTjs.stringToBytes; exports.stringToHex = _chunkYDNKDSSTjs.stringToHex; exports.stringify = _chunkYDNKDSSTjs.stringify; exports.toBytes = _chunkYDNKDSSTjs.toBytes; exports.toHex = _chunkYDNKDSSTjs.toHex; exports.toRlp = _chunkYDNKDSSTjs.toRlp; exports.transactionType = _chunkYDNKDSSTjs.transactionType; exports.trim = _chunkYDNKDSSTjs.trim; exports.validateTypedData = _chunkYDNKDSSTjs.validateTypedData; exports.verifyMessage = _chunkYDNKDSSTjs.verifyMessage; exports.verifyTypedData = _chunkYDNKDSSTjs.verifyTypedData; exports.webSocket = webSocket; exports.weiUnits = _chunkYDNKDSSTjs.weiUnits;
880
927
  //# sourceMappingURL=index.js.map