viem 0.0.1-alpha.35 → 0.0.1-alpha.37

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 (67) hide show
  1. package/README.md +132 -0
  2. package/dist/abi.d.ts +2 -2
  3. package/dist/abi.js +2 -2
  4. package/dist/abi.mjs +1 -1
  5. package/dist/{chain-7b7ac245.d.ts → chain-a34aa9a2.d.ts} +65 -63
  6. package/dist/{chain-145cfaf3.d.ts → chain-b1229232.d.ts} +1 -1
  7. package/dist/chains.d.ts +3 -3
  8. package/dist/chains.js +46 -46
  9. package/dist/chains.mjs +1 -1
  10. package/dist/{chunk-HQCSH22G.js → chunk-534U2FZG.js} +1824 -129
  11. package/dist/chunk-534U2FZG.js.map +1 -0
  12. package/dist/{chunk-5NDMORWZ.mjs → chunk-AS2YWIFN.mjs} +3 -5
  13. package/dist/{chunk-5NDMORWZ.mjs.map → chunk-AS2YWIFN.mjs.map} +1 -1
  14. package/dist/{chunk-57YM6E7I.js → chunk-JXFHSHM6.js} +21 -23
  15. package/dist/chunk-JXFHSHM6.js.map +1 -0
  16. package/dist/{chunk-PBW4YL37.mjs → chunk-WVZFIDQ5.mjs} +1844 -149
  17. package/dist/chunk-WVZFIDQ5.mjs.map +1 -0
  18. package/dist/contract.d.ts +7 -7
  19. package/dist/contract.js +2 -6
  20. package/dist/contract.mjs +11 -15
  21. package/dist/{createClient-7c715e2c.d.ts → createClient-8024655d.d.ts} +3 -11
  22. package/dist/{createPublicClient-4d24afb2.d.ts → createPublicClient-f283b09d.d.ts} +62 -59
  23. package/dist/{eip1193-d538ae6d.d.ts → eip1193-a4f254d2.d.ts} +2 -2
  24. package/dist/{encodeFunctionResult-f59f4cfe.d.ts → encodeFunctionResult-c3d6c7ea.d.ts} +1 -1
  25. package/dist/ens.d.ts +4 -4
  26. package/dist/ens.js +3 -4
  27. package/dist/ens.js.map +1 -1
  28. package/dist/ens.mjs +2 -3
  29. package/dist/ens.mjs.map +1 -1
  30. package/dist/{formatAbiItem-89d97367.d.ts → formatAbiItem-d79cb207.d.ts} +1 -1
  31. package/dist/{getAbiItem-c9cbc8b8.d.ts → getAbiItem-48e793da.d.ts} +1 -1
  32. package/dist/index.d.ts +27 -16
  33. package/dist/index.js +89 -93
  34. package/dist/index.js.map +1 -1
  35. package/dist/index.mjs +82 -86
  36. package/dist/index.mjs.map +1 -1
  37. package/dist/{parseGwei-ad6d1914.d.ts → parseGwei-a8c67c77.d.ts} +11 -22
  38. package/dist/public.d.ts +6 -6
  39. package/dist/public.js +2 -3
  40. package/dist/public.mjs +1 -2
  41. package/dist/{test-8646fb50.d.ts → test-f8bc2fa7.d.ts} +3 -11
  42. package/dist/test.d.ts +5 -5
  43. package/dist/test.js +2 -3
  44. package/dist/test.mjs +1 -2
  45. package/dist/utils/index.d.ts +27 -16
  46. package/dist/utils/index.js +2 -4
  47. package/dist/utils/index.mjs +11 -13
  48. package/dist/wallet.d.ts +4 -4
  49. package/dist/wallet.js +2 -4
  50. package/dist/wallet.mjs +5 -7
  51. package/dist/window.d.ts +2 -2
  52. package/package.json +1 -1
  53. package/dist/chunk-3FT7UKPT.js +0 -1216
  54. package/dist/chunk-3FT7UKPT.js.map +0 -1
  55. package/dist/chunk-57YM6E7I.js.map +0 -1
  56. package/dist/chunk-A665BF7O.js +0 -205
  57. package/dist/chunk-A665BF7O.js.map +0 -1
  58. package/dist/chunk-HQCSH22G.js.map +0 -1
  59. package/dist/chunk-PBW4YL37.mjs.map +0 -1
  60. package/dist/chunk-PH5LCMME.mjs +0 -205
  61. package/dist/chunk-PH5LCMME.mjs.map +0 -1
  62. package/dist/chunk-TJK6AFBM.js +0 -265
  63. package/dist/chunk-TJK6AFBM.js.map +0 -1
  64. package/dist/chunk-WQDVW7EJ.mjs +0 -1216
  65. package/dist/chunk-WQDVW7EJ.mjs.map +0 -1
  66. package/dist/chunk-YEVW7GK5.mjs +0 -265
  67. package/dist/chunk-YEVW7GK5.mjs.map +0 -1
package/dist/index.d.ts CHANGED
@@ -1,17 +1,17 @@
1
- import { T as TransportConfig, a as Transport, B as BaseRpcRequests } from './createClient-7c715e2c.js';
2
- export { C as Client, b as ClientConfig, a as Transport, T as TransportConfig, c as createClient, d as createTransport } from './createClient-7c715e2c.js';
3
- import { B as BaseError, H as HttpOptions, R as RpcResponse } from './parseGwei-ad6d1914.js';
4
- export { B as BaseError, C as CallExecutionError, a as ContractFunctionExecutionError, b as ContractFunctionRevertedError, c as ContractFunctionZeroDataError, E as EstimateGasExecutionError, d as ExecutionRevertedError, F as FeeCapTooHighError, e as FeeCapTooLowError, G as GetContractAddressOptions, o as GetCreate2AddressOptions, p as GetCreateAddressOptions, I as InsufficientFundsError, f as IntrinsicGasTooHighError, g as IntrinsicGasTooLowError, N as NonceMaxValueError, h as NonceTooHighError, i as NonceTooLowError, j as RawContractError, T as TipAboveFeeCapError, q as ToRlpResponse, k as TransactionExecutionError, m as TransactionNotFoundError, n as TransactionReceiptNotFoundError, l as TransactionTypeNotSupportedError, U as UnknownNodeError, W as WaitForTransactionReceiptTimeoutError, r as boolToBytes, s as boolToHex, t as bytesToBigint, u as bytesToBool, v as bytesToHex, w as bytesToNumber, x as bytesToString, y as etherUnits, z as formatEther, A as formatGwei, D as formatUnit, J as fromBytes, K as fromHex, L as fromRlp, M as getAddress, O as getContractAddress, P as getContractError, Q as getCreate2Address, S as getCreateAddress, V as getEventSelector, X as getFunctionSelector, Y as gweiUnits, Z as hexToBigInt, _ as hexToBool, $ as hexToBytes, a0 as hexToNumber, a1 as hexToString, a2 as isAddress, a3 as isAddressEqual, a4 as isBytes, a5 as isHex, a6 as keccak256, a7 as numberToBytes, a8 as numberToHex, a9 as pad, aa as padBytes, ab as padHex, ac as parseEther, ad as parseGwei, ae as parseUnit, af as size, ag as slice, ah as sliceBytes, ai as sliceHex, aj as stringToBytes, ak as stringToHex, al as stringify, am as toBytes, an as toHex, ao as toRlp, ap as trim, aq as weiUnits } from './parseGwei-ad6d1914.js';
1
+ import { T as TransportConfig, a as Transport, B as BaseRpcRequests } from './createClient-8024655d.js';
2
+ export { C as Client, b as ClientConfig, a as Transport, T as TransportConfig, c as createClient, d as createTransport } from './createClient-8024655d.js';
3
+ import { B as BaseError, H as HttpOptions, R as RpcResponse } from './parseGwei-a8c67c77.js';
4
+ export { B as BaseError, C as CallExecutionError, a as ContractFunctionExecutionError, b as ContractFunctionRevertedError, c as ContractFunctionZeroDataError, E as EstimateGasExecutionError, d as ExecutionRevertedError, F as FeeCapTooHighError, e as FeeCapTooLowError, G as GetContractAddressOptions, o as GetCreate2AddressOptions, p as GetCreateAddressOptions, I as InsufficientFundsError, f as IntrinsicGasTooHighError, g as IntrinsicGasTooLowError, N as NonceMaxValueError, h as NonceTooHighError, i as NonceTooLowError, j as RawContractError, T as TipAboveFeeCapError, q as ToRlpResponse, k as TransactionExecutionError, m as TransactionNotFoundError, n as TransactionReceiptNotFoundError, l as TransactionTypeNotSupportedError, U as UnknownNodeError, W as WaitForTransactionReceiptTimeoutError, r as boolToBytes, s as boolToHex, t as bytesToBigint, u as bytesToBool, v as bytesToHex, w as bytesToNumber, x as bytesToString, y as formatEther, z as formatGwei, A as formatUnits, D as fromBytes, J as fromHex, K as fromRlp, L as getAccount, M as getAddress, O as getContractAddress, P as getContractError, Q as getCreate2Address, S as getCreateAddress, V as getEventSelector, X as getFunctionSelector, Y as hexToBigInt, Z as hexToBool, _ as hexToBytes, $ as hexToNumber, a0 as hexToString, a1 as isAddress, a2 as isAddressEqual, a3 as isBytes, a4 as isHex, a5 as keccak256, a6 as numberToBytes, a7 as numberToHex, a8 as pad, a9 as padBytes, aa as padHex, ab as parseEther, ac as parseGwei, ad as parseUnits, ae as size, af as slice, ag as sliceBytes, ah as sliceHex, ai as stringToBytes, aj as stringToHex, ak as stringify, al as toBytes, am as toHex, an as toRlp, ao as trim } from './parseGwei-a8c67c77.js';
5
5
  import WebSocket from 'isomorphic-ws';
6
- import { H as Hex, a as Hash, C as Chain, B as ByteArray } from './chain-7b7ac245.js';
7
- export { b as AbiItem, c as AccessList, A as Address, d as Block, e as BlockIdentifier, f as BlockNumber, g as BlockTag, B as ByteArray, C as Chain, h as ContractConfig, J as ExtractFormatter, F as FeeHistory, i as FeeValues, j as FeeValuesEIP1559, k as FeeValuesLegacy, K as Formatted, M as FormattedTransaction, a as Hash, H as Hex, L as Log, R as RpcBlock, l as RpcBlockIdentifier, m as RpcBlockNumber, n as RpcFeeHistory, o as RpcFeeValues, p as RpcLog, q as RpcTransaction, r as RpcTransactionReceipt, s as RpcTransactionRequest, t as RpcUncle, z as Transaction, D as TransactionBase, E as TransactionEIP1559, G as TransactionEIP2930, N as TransactionFormatter, I as TransactionLegacy, T as TransactionReceipt, u as TransactionRequest, v as TransactionRequestBase, w as TransactionRequestEIP1559, x as TransactionRequestEIP2930, y as TransactionRequestLegacy, U as Uncle, O as defineTransaction, P as formatTransaction, Q as transactionType } from './chain-7b7ac245.js';
8
- export { B as BlockFormatter, F as FormattedBlock, e as FormattedTransactionReceipt, f as FormattedTransactionRequest, P as PublicClient, a as PublicClientConfig, T as TransactionReceiptFormatter, g as TransactionRequestFormatter, W as WalletClient, b as WalletClientConfig, c as createPublicClient, d as createWalletClient, h as defineBlock, i as defineTransactionReceipt, j as defineTransactionRequest, k as formatBlock, l as formatTransactionRequest } from './createPublicClient-4d24afb2.js';
9
- export { T as TestClient, a as TestClientConfig, c as createTestClient } from './test-8646fb50.js';
6
+ import { H as Hex, a as Hash, C as Chain, B as ByteArray } from './chain-a34aa9a2.js';
7
+ export { A as AbiItem, b as AccessList, c as Address, d as Block, e as BlockIdentifier, f as BlockNumber, g as BlockTag, B as ByteArray, C as Chain, h as ContractConfig, J as ExtractFormatter, F as FeeHistory, i as FeeValues, j as FeeValuesEIP1559, k as FeeValuesLegacy, K as Formatted, M as FormattedTransaction, a as Hash, H as Hex, L as Log, R as RpcBlock, l as RpcBlockIdentifier, m as RpcBlockNumber, n as RpcFeeHistory, o as RpcFeeValues, p as RpcLog, q as RpcTransaction, r as RpcTransactionReceipt, s as RpcTransactionRequest, t as RpcUncle, z as Transaction, D as TransactionBase, E as TransactionEIP1559, G as TransactionEIP2930, N as TransactionFormatter, I as TransactionLegacy, T as TransactionReceipt, u as TransactionRequest, v as TransactionRequestBase, w as TransactionRequestEIP1559, x as TransactionRequestEIP2930, y as TransactionRequestLegacy, U as Uncle, O as defineTransaction, P as formatTransaction, Q as transactionType } from './chain-a34aa9a2.js';
8
+ export { A as Account, B as BlockFormatter, F as FormattedBlock, e as FormattedTransactionReceipt, f as FormattedTransactionRequest, P as PublicClient, a as PublicClientConfig, T as TransactionReceiptFormatter, g as TransactionRequestFormatter, W as WalletClient, b as WalletClientConfig, c as createPublicClient, d as createWalletClient, h as defineBlock, i as defineTransactionReceipt, j as defineTransactionRequest, k as formatBlock, l as formatTransactionRequest } from './createPublicClient-f283b09d.js';
9
+ export { T as TestClient, a as TestClientConfig, c as createTestClient } from './test-f8bc2fa7.js';
10
10
  export { l as labelhash, n as namehash } from './namehash-88f4639d.js';
11
- export { D as DecodeAbiParametersResponse, E as EncodeAbiParametersResponse, G as GetAbiItemArgs, d as decodeAbiParameters, e as encodeAbiParameters, g as getAbiItem } from './getAbiItem-c9cbc8b8.js';
12
- export { D as DecodeErrorResultArgs, a as DecodeErrorResultResponse, b as DecodeEventLogArgs, c as DecodeEventLogResponse, d as DecodeFunctionDataArgs, e as DecodeFunctionResultArgs, f as DecodeFunctionResultResponse, E as EncodeDeployDataArgs, g as EncodeErrorResultArgs, h as EncodeEventTopicsArgs, i as EncodeFunctionDataArgs, j as EncodeFunctionResultArgs, k as decodeErrorResult, l as decodeEventLog, m as decodeFunctionData, n as decodeFunctionResult, o as encodeDeployData, p as encodeErrorResult, q as encodeEventTopics, r as encodeFunctionData, s as encodeFunctionResult } from './encodeFunctionResult-f59f4cfe.js';
13
- export { d as defineChain } from './chain-145cfaf3.js';
14
- import './eip1193-d538ae6d.js';
11
+ export { D as DecodeAbiParametersResponse, E as EncodeAbiParametersResponse, G as GetAbiItemArgs, d as decodeAbiParameters, e as encodeAbiParameters, g as getAbiItem } from './getAbiItem-48e793da.js';
12
+ export { D as DecodeErrorResultArgs, a as DecodeErrorResultResponse, b as DecodeEventLogArgs, c as DecodeEventLogResponse, d as DecodeFunctionDataArgs, e as DecodeFunctionResultArgs, f as DecodeFunctionResultResponse, E as EncodeDeployDataArgs, g as EncodeErrorResultArgs, h as EncodeEventTopicsArgs, i as EncodeFunctionDataArgs, j as EncodeFunctionResultArgs, k as decodeErrorResult, l as decodeEventLog, m as decodeFunctionData, n as decodeFunctionResult, o as encodeDeployData, p as encodeErrorResult, q as encodeEventTopics, r as encodeFunctionData, s as encodeFunctionResult } from './encodeFunctionResult-c3d6c7ea.js';
13
+ export { d as defineChain } from './chain-b1229232.js';
14
+ import './eip1193-a4f254d2.js';
15
15
  import 'abitype';
16
16
  import '@wagmi/chains';
17
17
  import 'ethers@6/types/providers';
@@ -357,9 +357,7 @@ type CustomTransport = Transport<'custom', EthereumProvider['request']>;
357
357
  /**
358
358
  * @description Creates a custom transport given an EIP-1193 compliant `request` attribute.
359
359
  */
360
- declare function custom<TProvider extends EthereumProvider>(
361
- /** An Ethereum provider with an EIP-1193 "request" attribute. */
362
- provider: TProvider, config?: CustomTransportConfig): CustomTransport;
360
+ declare function custom<TProvider extends EthereumProvider>(provider: TProvider, config?: CustomTransportConfig): CustomTransport;
363
361
 
364
362
  type FallbackTransportConfig = {
365
363
  /** The key of the Fallback transport. */
@@ -474,4 +472,17 @@ declare const multicall3Abi: readonly [{
474
472
  readonly type: "function";
475
473
  }];
476
474
 
477
- export { AbiConstructorNotFoundError, AbiConstructorParamsNotFoundError, AbiDecodingDataSizeInvalidError, AbiDecodingZeroDataError, AbiEncodingArrayLengthMismatchError, AbiEncodingLengthMismatchError, AbiErrorInputsNotFoundError, AbiErrorNotFoundError, AbiErrorSignatureNotFoundError, AbiEventNotFoundError, AbiEventSignatureNotFoundError, AbiFunctionNotFoundError, AbiFunctionOutputsNotFoundError, AbiFunctionSignatureNotFoundError, BlockNotFoundError, ChainDoesNotSupportContract, CustomTransport, CustomTransportConfig, DataLengthTooLongError, DataLengthTooShortError, FallbackTransport, FallbackTransportConfig, FilterTypeNotSupportedError, HttpRequestError, HttpTransport, HttpTransportConfig, InternalRpcError, InvalidAbiDecodingTypeError, InvalidAbiEncodingTypeError, InvalidAddressError, InvalidArrayError, InvalidBytesBooleanError, InvalidDefinitionTypeError, InvalidHexBooleanError, InvalidHexValueError, InvalidInputRpcError, InvalidParamsRpcError, InvalidRequestRpcError, JsonRpcVersionUnsupportedError, LimitExceededRpcError, MethodNotFoundRpcError, MethodNotSupportedRpcError, OffsetOutOfBoundsError, ParseRpcError, RequestError, ResourceNotFoundRpcError, ResourceUnavailableRpcError, RpcError, RpcRequestError, SizeExceedsPaddingSizeError, SwitchChainError, TimeoutError, TransactionRejectedRpcError, UnknownRpcError, UrlRequiredError, UserRejectedRequestError, WebSocketRequestError, WebSocketTransport, WebSocketTransportConfig, custom, fallback, http, multicall3Abi, webSocket };
475
+ declare const etherUnits: {
476
+ gwei: number;
477
+ wei: number;
478
+ };
479
+ declare const gweiUnits: {
480
+ ether: number;
481
+ wei: number;
482
+ };
483
+ declare const weiUnits: {
484
+ ether: number;
485
+ gwei: number;
486
+ };
487
+
488
+ export { AbiConstructorNotFoundError, AbiConstructorParamsNotFoundError, AbiDecodingDataSizeInvalidError, AbiDecodingZeroDataError, AbiEncodingArrayLengthMismatchError, AbiEncodingLengthMismatchError, AbiErrorInputsNotFoundError, AbiErrorNotFoundError, AbiErrorSignatureNotFoundError, AbiEventNotFoundError, AbiEventSignatureNotFoundError, AbiFunctionNotFoundError, AbiFunctionOutputsNotFoundError, AbiFunctionSignatureNotFoundError, BlockNotFoundError, ChainDoesNotSupportContract, CustomTransport, CustomTransportConfig, DataLengthTooLongError, DataLengthTooShortError, FallbackTransport, FallbackTransportConfig, FilterTypeNotSupportedError, HttpRequestError, HttpTransport, HttpTransportConfig, InternalRpcError, InvalidAbiDecodingTypeError, InvalidAbiEncodingTypeError, InvalidAddressError, InvalidArrayError, InvalidBytesBooleanError, InvalidDefinitionTypeError, InvalidHexBooleanError, InvalidHexValueError, InvalidInputRpcError, InvalidParamsRpcError, InvalidRequestRpcError, JsonRpcVersionUnsupportedError, LimitExceededRpcError, MethodNotFoundRpcError, MethodNotSupportedRpcError, OffsetOutOfBoundsError, ParseRpcError, RequestError, ResourceNotFoundRpcError, ResourceUnavailableRpcError, RpcError, RpcRequestError, SizeExceedsPaddingSizeError, SwitchChainError, TimeoutError, TransactionRejectedRpcError, UnknownRpcError, UrlRequiredError, UserRejectedRequestError, WebSocketRequestError, WebSocketTransport, WebSocketTransportConfig, custom, etherUnits, fallback, gweiUnits, http, multicall3Abi, webSocket, weiUnits };
package/dist/index.js CHANGED
@@ -3,6 +3,7 @@
3
3
 
4
4
 
5
5
 
6
+ var _chunkJXFHSHM6js = require('./chunk-JXFHSHM6.js');
6
7
 
7
8
 
8
9
 
@@ -10,13 +11,11 @@
10
11
 
11
12
 
12
13
 
13
- var _chunkA665BF7Ojs = require('./chunk-A665BF7O.js');
14
14
 
15
15
 
16
16
 
17
17
 
18
18
 
19
- var _chunk57YM6E7Ijs = require('./chunk-57YM6E7I.js');
20
19
 
21
20
 
22
21
 
@@ -50,7 +49,6 @@ var _chunk57YM6E7Ijs = require('./chunk-57YM6E7I.js');
50
49
 
51
50
 
52
51
 
53
- var _chunk3FT7UKPTjs = require('./chunk-3FT7UKPT.js');
54
52
 
55
53
 
56
54
 
@@ -80,7 +78,6 @@ var _chunk3FT7UKPTjs = require('./chunk-3FT7UKPT.js');
80
78
 
81
79
 
82
80
 
83
- var _chunkTJK6AFBMjs = require('./chunk-TJK6AFBM.js');
84
81
 
85
82
 
86
83
 
@@ -232,9 +229,7 @@ var _chunkTJK6AFBMjs = require('./chunk-TJK6AFBM.js');
232
229
 
233
230
 
234
231
 
235
-
236
-
237
- var _chunkHQCSH22Gjs = require('./chunk-HQCSH22G.js');
232
+ var _chunk534U2FZGjs = require('./chunk-534U2FZG.js');
238
233
 
239
234
  // src/clients/transports/createTransport.ts
240
235
  function createTransport({
@@ -248,7 +243,7 @@ function createTransport({
248
243
  }, value) {
249
244
  return {
250
245
  config: { key, name, request, retryCount, retryDelay, timeout, type },
251
- request: _chunkHQCSH22Gjs.buildRequest.call(void 0, request, { retryCount, retryDelay }),
246
+ request: _chunk534U2FZGjs.buildRequest.call(void 0, request, { retryCount, retryDelay }),
252
247
  value
253
248
  };
254
249
  }
@@ -282,7 +277,7 @@ function fallback(transports, config = {}) {
282
277
  params
283
278
  });
284
279
  } catch (err) {
285
- if (_chunkHQCSH22Gjs.isDeterministicError.call(void 0, err))
280
+ if (_chunk534U2FZGjs.isDeterministicError.call(void 0, err))
286
281
  throw err;
287
282
  if (i === transports.length - 1)
288
283
  throw err;
@@ -316,13 +311,13 @@ function http(url, config = {}) {
316
311
  const retryCount = _nullishCoalesce(config.retryCount, () => ( defaultRetryCount));
317
312
  const url_ = url || _optionalChain([chain, 'optionalAccess', _ => _.rpcUrls, 'access', _2 => _2.default, 'access', _3 => _3.http, 'access', _4 => _4[0]]);
318
313
  if (!url_)
319
- throw new (0, _chunkHQCSH22Gjs.UrlRequiredError)();
314
+ throw new (0, _chunk534U2FZGjs.UrlRequiredError)();
320
315
  return createTransport(
321
316
  {
322
317
  key,
323
318
  name,
324
319
  async request({ method, params }) {
325
- const { result } = await _chunkHQCSH22Gjs.rpc.http(url_, {
320
+ const { result } = await _chunk534U2FZGjs.rpc.http(url_, {
326
321
  body: {
327
322
  method,
328
323
  params
@@ -356,14 +351,14 @@ function webSocket(url, config = {}) {
356
351
  const retryCount = _nullishCoalesce(config.retryCount, () => ( defaultRetryCount));
357
352
  const url_ = url || _optionalChain([chain, 'optionalAccess', _5 => _5.rpcUrls, 'access', _6 => _6.default, 'access', _7 => _7.webSocket, 'optionalAccess', _8 => _8[0]]);
358
353
  if (!url_)
359
- throw new (0, _chunkHQCSH22Gjs.UrlRequiredError)();
354
+ throw new (0, _chunk534U2FZGjs.UrlRequiredError)();
360
355
  return createTransport(
361
356
  {
362
357
  key,
363
358
  name,
364
359
  async request({ method, params }) {
365
- const socket = await _chunkHQCSH22Gjs.getSocket.call(void 0, url_);
366
- const { result } = await _chunkHQCSH22Gjs.rpc.webSocketAsync(socket, {
360
+ const socket = await _chunk534U2FZGjs.getSocket.call(void 0, url_);
361
+ const { result } = await _chunk534U2FZGjs.rpc.webSocketAsync(socket, {
367
362
  body: { method, params },
368
363
  timeout
369
364
  });
@@ -376,12 +371,12 @@ function webSocket(url, config = {}) {
376
371
  },
377
372
  {
378
373
  getSocket() {
379
- return _chunkHQCSH22Gjs.getSocket.call(void 0, url_);
374
+ return _chunk534U2FZGjs.getSocket.call(void 0, url_);
380
375
  },
381
376
  async subscribe({ params, onData, onError }) {
382
- const socket = await _chunkHQCSH22Gjs.getSocket.call(void 0, url_);
377
+ const socket = await _chunk534U2FZGjs.getSocket.call(void 0, url_);
383
378
  const { result: subscriptionId } = await new Promise(
384
- (resolve, reject) => _chunkHQCSH22Gjs.rpc.webSocket(socket, {
379
+ (resolve, reject) => _chunk534U2FZGjs.rpc.webSocket(socket, {
385
380
  body: {
386
381
  method: "eth_subscribe",
387
382
  params
@@ -403,7 +398,7 @@ function webSocket(url, config = {}) {
403
398
  subscriptionId,
404
399
  async unsubscribe() {
405
400
  return new Promise(
406
- (resolve, reject) => _chunkHQCSH22Gjs.rpc.webSocket(socket, {
401
+ (resolve, reject) => _chunk534U2FZGjs.rpc.webSocket(socket, {
407
402
  body: {
408
403
  method: "eth_unsubscribe",
409
404
  params: [subscriptionId]
@@ -459,88 +454,88 @@ function createClient({
459
454
 
460
455
  // src/clients/decorators/public.ts
461
456
  var publicActions = (client) => ({
462
- call: (args) => _chunk3FT7UKPTjs.call.call(void 0, client, args),
463
- createBlockFilter: () => _chunk3FT7UKPTjs.createBlockFilter.call(void 0, client),
464
- createContractEventFilter: (args) => _chunk3FT7UKPTjs.createContractEventFilter.call(void 0, client, args),
465
- createEventFilter: (args) => _chunk3FT7UKPTjs.createEventFilter.call(void 0, client, args),
466
- createPendingTransactionFilter: () => _chunk3FT7UKPTjs.createPendingTransactionFilter.call(void 0, client),
467
- estimateContractGas: (args) => _chunk3FT7UKPTjs.estimateContractGas.call(void 0, client, args),
468
- estimateGas: (args) => _chunk3FT7UKPTjs.estimateGas.call(void 0, client, args),
469
- getBalance: (args) => _chunk3FT7UKPTjs.getBalance.call(void 0, client, args),
470
- getBlock: (args) => _chunk3FT7UKPTjs.getBlock.call(void 0, client, args),
471
- getBlockNumber: (args) => _chunk3FT7UKPTjs.getBlockNumber.call(void 0, client, args),
472
- getBlockTransactionCount: (args) => _chunk3FT7UKPTjs.getBlockTransactionCount.call(void 0, client, args),
473
- getBytecode: (args) => _chunk3FT7UKPTjs.getBytecode.call(void 0, client, args),
474
- getChainId: () => _chunk3FT7UKPTjs.getChainId.call(void 0, client),
475
- getEnsAddress: (args) => _chunk57YM6E7Ijs.getEnsAddress.call(void 0, client, args),
476
- getEnsName: (args) => _chunk57YM6E7Ijs.getEnsName.call(void 0, client, args),
477
- getFeeHistory: (args) => _chunk3FT7UKPTjs.getFeeHistory.call(void 0, client, args),
478
- getFilterChanges: (args) => _chunk3FT7UKPTjs.getFilterChanges.call(void 0, client, args),
479
- getFilterLogs: (args) => _chunk3FT7UKPTjs.getFilterLogs.call(void 0, client, args),
480
- getGasPrice: () => _chunk3FT7UKPTjs.getGasPrice.call(void 0, client),
481
- getLogs: (args) => _chunk3FT7UKPTjs.getLogs.call(void 0, client, args),
482
- getStorageAt: (args) => _chunk3FT7UKPTjs.getStorageAt.call(void 0, client, args),
483
- getTransaction: (args) => _chunk3FT7UKPTjs.getTransaction.call(void 0, client, args),
484
- getTransactionConfirmations: (args) => _chunk3FT7UKPTjs.getTransactionConfirmations.call(void 0, client, args),
485
- getTransactionReceipt: (args) => _chunk3FT7UKPTjs.getTransactionReceipt.call(void 0, client, args),
486
- multicall: (args) => _chunk3FT7UKPTjs.multicall.call(void 0, client, args),
487
- readContract: (args) => _chunk3FT7UKPTjs.readContract.call(void 0, client, args),
488
- simulateContract: (args) => _chunk3FT7UKPTjs.simulateContract.call(void 0, client, args),
489
- uninstallFilter: (args) => _chunk3FT7UKPTjs.uninstallFilter.call(void 0, client, args),
490
- waitForTransactionReceipt: (args) => _chunk3FT7UKPTjs.waitForTransactionReceipt.call(void 0, client, args),
491
- watchBlocks: (args) => _chunk3FT7UKPTjs.watchBlocks.call(void 0, client, args),
492
- watchBlockNumber: (args) => _chunk3FT7UKPTjs.watchBlockNumber.call(void 0, client, args),
493
- watchContractEvent: (args) => _chunk3FT7UKPTjs.watchContractEvent.call(void 0, client, args),
494
- watchEvent: (args) => _chunk3FT7UKPTjs.watchEvent.call(void 0, client, args),
495
- watchPendingTransactions: (args) => _chunk3FT7UKPTjs.watchPendingTransactions.call(void 0, client, args)
457
+ call: (args) => _chunk534U2FZGjs.call.call(void 0, client, args),
458
+ createBlockFilter: () => _chunk534U2FZGjs.createBlockFilter.call(void 0, client),
459
+ createContractEventFilter: (args) => _chunk534U2FZGjs.createContractEventFilter.call(void 0, client, args),
460
+ createEventFilter: (args) => _chunk534U2FZGjs.createEventFilter.call(void 0, client, args),
461
+ createPendingTransactionFilter: () => _chunk534U2FZGjs.createPendingTransactionFilter.call(void 0, client),
462
+ estimateContractGas: (args) => _chunk534U2FZGjs.estimateContractGas.call(void 0, client, args),
463
+ estimateGas: (args) => _chunk534U2FZGjs.estimateGas.call(void 0, client, args),
464
+ getBalance: (args) => _chunk534U2FZGjs.getBalance.call(void 0, client, args),
465
+ getBlock: (args) => _chunk534U2FZGjs.getBlock.call(void 0, client, args),
466
+ getBlockNumber: (args) => _chunk534U2FZGjs.getBlockNumber.call(void 0, client, args),
467
+ getBlockTransactionCount: (args) => _chunk534U2FZGjs.getBlockTransactionCount.call(void 0, client, args),
468
+ getBytecode: (args) => _chunk534U2FZGjs.getBytecode.call(void 0, client, args),
469
+ getChainId: () => _chunk534U2FZGjs.getChainId.call(void 0, client),
470
+ getEnsAddress: (args) => _chunkJXFHSHM6js.getEnsAddress.call(void 0, client, args),
471
+ getEnsName: (args) => _chunkJXFHSHM6js.getEnsName.call(void 0, client, args),
472
+ getFeeHistory: (args) => _chunk534U2FZGjs.getFeeHistory.call(void 0, client, args),
473
+ getFilterChanges: (args) => _chunk534U2FZGjs.getFilterChanges.call(void 0, client, args),
474
+ getFilterLogs: (args) => _chunk534U2FZGjs.getFilterLogs.call(void 0, client, args),
475
+ getGasPrice: () => _chunk534U2FZGjs.getGasPrice.call(void 0, client),
476
+ getLogs: (args) => _chunk534U2FZGjs.getLogs.call(void 0, client, args),
477
+ getStorageAt: (args) => _chunk534U2FZGjs.getStorageAt.call(void 0, client, args),
478
+ getTransaction: (args) => _chunk534U2FZGjs.getTransaction.call(void 0, client, args),
479
+ getTransactionConfirmations: (args) => _chunk534U2FZGjs.getTransactionConfirmations.call(void 0, client, args),
480
+ getTransactionReceipt: (args) => _chunk534U2FZGjs.getTransactionReceipt.call(void 0, client, args),
481
+ multicall: (args) => _chunk534U2FZGjs.multicall.call(void 0, client, args),
482
+ readContract: (args) => _chunk534U2FZGjs.readContract.call(void 0, client, args),
483
+ simulateContract: (args) => _chunk534U2FZGjs.simulateContract.call(void 0, client, args),
484
+ uninstallFilter: (args) => _chunk534U2FZGjs.uninstallFilter.call(void 0, client, args),
485
+ waitForTransactionReceipt: (args) => _chunk534U2FZGjs.waitForTransactionReceipt.call(void 0, client, args),
486
+ watchBlocks: (args) => _chunk534U2FZGjs.watchBlocks.call(void 0, client, args),
487
+ watchBlockNumber: (args) => _chunk534U2FZGjs.watchBlockNumber.call(void 0, client, args),
488
+ watchContractEvent: (args) => _chunk534U2FZGjs.watchContractEvent.call(void 0, client, args),
489
+ watchEvent: (args) => _chunk534U2FZGjs.watchEvent.call(void 0, client, args),
490
+ watchPendingTransactions: (args) => _chunk534U2FZGjs.watchPendingTransactions.call(void 0, client, args)
496
491
  });
497
492
 
498
493
  // src/clients/decorators/test.ts
499
494
  var testActions = (client) => ({
500
- dropTransaction: (args) => _chunkTJK6AFBMjs.dropTransaction.call(void 0, client, args),
501
- getAutomine: () => _chunkTJK6AFBMjs.getAutomine.call(void 0, client),
502
- getTxpoolContent: () => _chunkTJK6AFBMjs.getTxpoolContent.call(void 0, client),
503
- getTxpoolStatus: () => _chunkTJK6AFBMjs.getTxpoolStatus.call(void 0, client),
504
- impersonateAccount: (args) => _chunkTJK6AFBMjs.impersonateAccount.call(void 0, client, args),
505
- increaseTime: (args) => _chunkTJK6AFBMjs.increaseTime.call(void 0, client, args),
506
- inspectTxpool: () => _chunkTJK6AFBMjs.inspectTxpool.call(void 0, client),
507
- mine: (args) => _chunkTJK6AFBMjs.mine.call(void 0, client, args),
508
- removeBlockTimestampInterval: () => _chunkTJK6AFBMjs.removeBlockTimestampInterval.call(void 0, client),
509
- reset: (args) => _chunkTJK6AFBMjs.reset.call(void 0, client, args),
510
- revert: (args) => _chunkTJK6AFBMjs.revert.call(void 0, client, args),
511
- sendUnsignedTransaction: (args) => _chunkTJK6AFBMjs.sendUnsignedTransaction.call(void 0, client, args),
512
- setAutomine: (args) => _chunkTJK6AFBMjs.setAutomine.call(void 0, client, args),
513
- setBalance: (args) => _chunkTJK6AFBMjs.setBalance.call(void 0, client, args),
514
- setBlockGasLimit: (args) => _chunkTJK6AFBMjs.setBlockGasLimit.call(void 0, client, args),
515
- setBlockTimestampInterval: (args) => _chunkTJK6AFBMjs.setBlockTimestampInterval.call(void 0, client, args),
516
- setCode: (args) => _chunkTJK6AFBMjs.setCode.call(void 0, client, args),
517
- setCoinbase: (args) => _chunkTJK6AFBMjs.setCoinbase.call(void 0, client, args),
518
- setIntervalMining: (args) => _chunkTJK6AFBMjs.setIntervalMining.call(void 0, client, args),
519
- setLoggingEnabled: (args) => _chunkTJK6AFBMjs.setLoggingEnabled.call(void 0, client, args),
520
- setMinGasPrice: (args) => _chunkTJK6AFBMjs.setMinGasPrice.call(void 0, client, args),
521
- setNextBlockBaseFeePerGas: (args) => _chunkTJK6AFBMjs.setNextBlockBaseFeePerGas.call(void 0, client, args),
522
- setNextBlockTimestamp: (args) => _chunkTJK6AFBMjs.setNextBlockTimestamp.call(void 0, client, args),
523
- setNonce: (args) => _chunkTJK6AFBMjs.setNonce.call(void 0, client, args),
524
- setRpcUrl: (args) => _chunkTJK6AFBMjs.setRpcUrl.call(void 0, client, args),
525
- setStorageAt: (args) => _chunkTJK6AFBMjs.setStorageAt.call(void 0, client, args),
526
- snapshot: () => _chunkTJK6AFBMjs.snapshot.call(void 0, client),
527
- stopImpersonatingAccount: (args) => _chunkTJK6AFBMjs.stopImpersonatingAccount.call(void 0, client, args)
495
+ dropTransaction: (args) => _chunk534U2FZGjs.dropTransaction.call(void 0, client, args),
496
+ getAutomine: () => _chunk534U2FZGjs.getAutomine.call(void 0, client),
497
+ getTxpoolContent: () => _chunk534U2FZGjs.getTxpoolContent.call(void 0, client),
498
+ getTxpoolStatus: () => _chunk534U2FZGjs.getTxpoolStatus.call(void 0, client),
499
+ impersonateAccount: (args) => _chunk534U2FZGjs.impersonateAccount.call(void 0, client, args),
500
+ increaseTime: (args) => _chunk534U2FZGjs.increaseTime.call(void 0, client, args),
501
+ inspectTxpool: () => _chunk534U2FZGjs.inspectTxpool.call(void 0, client),
502
+ mine: (args) => _chunk534U2FZGjs.mine.call(void 0, client, args),
503
+ removeBlockTimestampInterval: () => _chunk534U2FZGjs.removeBlockTimestampInterval.call(void 0, client),
504
+ reset: (args) => _chunk534U2FZGjs.reset.call(void 0, client, args),
505
+ revert: (args) => _chunk534U2FZGjs.revert.call(void 0, client, args),
506
+ sendUnsignedTransaction: (args) => _chunk534U2FZGjs.sendUnsignedTransaction.call(void 0, client, args),
507
+ setAutomine: (args) => _chunk534U2FZGjs.setAutomine.call(void 0, client, args),
508
+ setBalance: (args) => _chunk534U2FZGjs.setBalance.call(void 0, client, args),
509
+ setBlockGasLimit: (args) => _chunk534U2FZGjs.setBlockGasLimit.call(void 0, client, args),
510
+ setBlockTimestampInterval: (args) => _chunk534U2FZGjs.setBlockTimestampInterval.call(void 0, client, args),
511
+ setCode: (args) => _chunk534U2FZGjs.setCode.call(void 0, client, args),
512
+ setCoinbase: (args) => _chunk534U2FZGjs.setCoinbase.call(void 0, client, args),
513
+ setIntervalMining: (args) => _chunk534U2FZGjs.setIntervalMining.call(void 0, client, args),
514
+ setLoggingEnabled: (args) => _chunk534U2FZGjs.setLoggingEnabled.call(void 0, client, args),
515
+ setMinGasPrice: (args) => _chunk534U2FZGjs.setMinGasPrice.call(void 0, client, args),
516
+ setNextBlockBaseFeePerGas: (args) => _chunk534U2FZGjs.setNextBlockBaseFeePerGas.call(void 0, client, args),
517
+ setNextBlockTimestamp: (args) => _chunk534U2FZGjs.setNextBlockTimestamp.call(void 0, client, args),
518
+ setNonce: (args) => _chunk534U2FZGjs.setNonce.call(void 0, client, args),
519
+ setRpcUrl: (args) => _chunk534U2FZGjs.setRpcUrl.call(void 0, client, args),
520
+ setStorageAt: (args) => _chunk534U2FZGjs.setStorageAt.call(void 0, client, args),
521
+ snapshot: () => _chunk534U2FZGjs.snapshot.call(void 0, client),
522
+ stopImpersonatingAccount: (args) => _chunk534U2FZGjs.stopImpersonatingAccount.call(void 0, client, args)
528
523
  });
529
524
 
530
525
  // src/clients/decorators/wallet.ts
531
526
  var walletActions = (client) => ({
532
- addChain: (args) => _chunkA665BF7Ojs.addChain.call(void 0, client, args),
533
- deployContract: (args) => _chunkA665BF7Ojs.deployContract.call(void 0, client, args),
534
- getAccounts: () => _chunkA665BF7Ojs.getAccounts.call(void 0, client),
535
- getChainId: () => _chunk3FT7UKPTjs.getChainId.call(void 0, client),
536
- getPermissions: () => _chunkA665BF7Ojs.getPermissions.call(void 0, client),
537
- requestAccounts: () => _chunkA665BF7Ojs.requestAccounts.call(void 0, client),
538
- requestPermissions: (args) => _chunkA665BF7Ojs.requestPermissions.call(void 0, client, args),
539
- sendTransaction: (args) => _chunkA665BF7Ojs.sendTransaction.call(void 0, client, args),
540
- signMessage: (args) => _chunkA665BF7Ojs.signMessage.call(void 0, client, args),
541
- switchChain: (args) => _chunkA665BF7Ojs.switchChain.call(void 0, client, args),
542
- watchAsset: (args) => _chunkA665BF7Ojs.watchAsset.call(void 0, client, args),
543
- writeContract: (args) => _chunkA665BF7Ojs.writeContract.call(void 0, client, args)
527
+ addChain: (args) => _chunk534U2FZGjs.addChain.call(void 0, client, args),
528
+ deployContract: (args) => _chunk534U2FZGjs.deployContract.call(void 0, client, args),
529
+ getAddresses: () => _chunk534U2FZGjs.getAddresses.call(void 0, client),
530
+ getChainId: () => _chunk534U2FZGjs.getChainId.call(void 0, client),
531
+ getPermissions: () => _chunk534U2FZGjs.getPermissions.call(void 0, client),
532
+ requestAddresses: () => _chunk534U2FZGjs.requestAddresses.call(void 0, client),
533
+ requestPermissions: (args) => _chunk534U2FZGjs.requestPermissions.call(void 0, client, args),
534
+ sendTransaction: (args) => _chunk534U2FZGjs.sendTransaction.call(void 0, client, args),
535
+ signMessage: (args) => _chunk534U2FZGjs.signMessage.call(void 0, client, args),
536
+ switchChain: (args) => _chunk534U2FZGjs.switchChain.call(void 0, client, args),
537
+ watchAsset: (args) => _chunk534U2FZGjs.watchAsset.call(void 0, client, args),
538
+ writeContract: (args) => _chunk534U2FZGjs.writeContract.call(void 0, client, args)
544
539
  });
545
540
 
546
541
  // src/clients/createPublicClient.ts
@@ -770,5 +765,6 @@ function createWalletClient({
770
765
 
771
766
 
772
767
 
773
- exports.AbiConstructorNotFoundError = _chunkHQCSH22Gjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkHQCSH22Gjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkHQCSH22Gjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkHQCSH22Gjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkHQCSH22Gjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkHQCSH22Gjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkHQCSH22Gjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkHQCSH22Gjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkHQCSH22Gjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkHQCSH22Gjs.AbiEventNotFoundError; exports.AbiEventSignatureNotFoundError = _chunkHQCSH22Gjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkHQCSH22Gjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkHQCSH22Gjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkHQCSH22Gjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkHQCSH22Gjs.BaseError; exports.BlockNotFoundError = _chunkHQCSH22Gjs.BlockNotFoundError; exports.CallExecutionError = _chunkHQCSH22Gjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkHQCSH22Gjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkHQCSH22Gjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkHQCSH22Gjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkHQCSH22Gjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkHQCSH22Gjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkHQCSH22Gjs.DataLengthTooShortError; exports.EstimateGasExecutionError = _chunkHQCSH22Gjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkHQCSH22Gjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkHQCSH22Gjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkHQCSH22Gjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkHQCSH22Gjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkHQCSH22Gjs.HttpRequestError; exports.InsufficientFundsError = _chunkHQCSH22Gjs.InsufficientFundsError; exports.InternalRpcError = _chunkHQCSH22Gjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkHQCSH22Gjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkHQCSH22Gjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkHQCSH22Gjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkHQCSH22Gjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkHQCSH22Gjs.InvalidAddressError; exports.InvalidArrayError = _chunkHQCSH22Gjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkHQCSH22Gjs.InvalidBytesBooleanError; exports.InvalidDefinitionTypeError = _chunkHQCSH22Gjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkHQCSH22Gjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkHQCSH22Gjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkHQCSH22Gjs.InvalidInputRpcError; exports.InvalidParamsRpcError = _chunkHQCSH22Gjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkHQCSH22Gjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkHQCSH22Gjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkHQCSH22Gjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkHQCSH22Gjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkHQCSH22Gjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkHQCSH22Gjs.NonceMaxValueError; exports.NonceTooHighError = _chunkHQCSH22Gjs.NonceTooHighError; exports.NonceTooLowError = _chunkHQCSH22Gjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkHQCSH22Gjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkHQCSH22Gjs.ParseRpcError; exports.RawContractError = _chunkHQCSH22Gjs.RawContractError; exports.RequestError = _chunkHQCSH22Gjs.RequestError; exports.ResourceNotFoundRpcError = _chunkHQCSH22Gjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkHQCSH22Gjs.ResourceUnavailableRpcError; exports.RpcError = _chunkHQCSH22Gjs.RpcError; exports.RpcRequestError = _chunkHQCSH22Gjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkHQCSH22Gjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkHQCSH22Gjs.SwitchChainError; exports.TimeoutError = _chunkHQCSH22Gjs.TimeoutError; exports.TipAboveFeeCapError = _chunkHQCSH22Gjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkHQCSH22Gjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkHQCSH22Gjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkHQCSH22Gjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkHQCSH22Gjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkHQCSH22Gjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkHQCSH22Gjs.UnknownNodeError; exports.UnknownRpcError = _chunkHQCSH22Gjs.UnknownRpcError; exports.UrlRequiredError = _chunkHQCSH22Gjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkHQCSH22Gjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkHQCSH22Gjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkHQCSH22Gjs.WebSocketRequestError; exports.boolToBytes = _chunkHQCSH22Gjs.boolToBytes; exports.boolToHex = _chunkHQCSH22Gjs.boolToHex; exports.bytesToBigint = _chunkHQCSH22Gjs.bytesToBigint; exports.bytesToBool = _chunkHQCSH22Gjs.bytesToBool; exports.bytesToHex = _chunkHQCSH22Gjs.bytesToHex; exports.bytesToNumber = _chunkHQCSH22Gjs.bytesToNumber; exports.bytesToString = _chunkHQCSH22Gjs.bytesToString; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkHQCSH22Gjs.decodeAbiParameters; exports.decodeErrorResult = _chunkHQCSH22Gjs.decodeErrorResult; exports.decodeEventLog = _chunkHQCSH22Gjs.decodeEventLog; exports.decodeFunctionData = _chunkHQCSH22Gjs.decodeFunctionData; exports.decodeFunctionResult = _chunkHQCSH22Gjs.decodeFunctionResult; exports.defineBlock = _chunkHQCSH22Gjs.defineBlock; exports.defineChain = _chunkHQCSH22Gjs.defineChain; exports.defineTransaction = _chunkHQCSH22Gjs.defineTransaction; exports.defineTransactionReceipt = _chunkHQCSH22Gjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkHQCSH22Gjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkHQCSH22Gjs.encodeAbiParameters; exports.encodeDeployData = _chunkHQCSH22Gjs.encodeDeployData; exports.encodeErrorResult = _chunkHQCSH22Gjs.encodeErrorResult; exports.encodeEventTopics = _chunkHQCSH22Gjs.encodeEventTopics; exports.encodeFunctionData = _chunkHQCSH22Gjs.encodeFunctionData; exports.encodeFunctionResult = _chunkHQCSH22Gjs.encodeFunctionResult; exports.etherUnits = _chunkHQCSH22Gjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkHQCSH22Gjs.formatBlock; exports.formatEther = _chunkHQCSH22Gjs.formatEther; exports.formatGwei = _chunkHQCSH22Gjs.formatGwei; exports.formatTransaction = _chunkHQCSH22Gjs.formatTransaction; exports.formatTransactionRequest = _chunkHQCSH22Gjs.formatTransactionRequest; exports.formatUnit = _chunkHQCSH22Gjs.formatUnit; exports.fromBytes = _chunkHQCSH22Gjs.fromBytes; exports.fromHex = _chunkHQCSH22Gjs.fromHex; exports.fromRlp = _chunkHQCSH22Gjs.fromRlp; exports.getAbiItem = _chunkHQCSH22Gjs.getAbiItem; exports.getAddress = _chunkHQCSH22Gjs.getAddress; exports.getContractAddress = _chunkHQCSH22Gjs.getContractAddress; exports.getContractError = _chunkHQCSH22Gjs.getContractError; exports.getCreate2Address = _chunkHQCSH22Gjs.getCreate2Address; exports.getCreateAddress = _chunkHQCSH22Gjs.getCreateAddress; exports.getEventSelector = _chunkHQCSH22Gjs.getEventSelector; exports.getFunctionSelector = _chunkHQCSH22Gjs.getFunctionSelector; exports.gweiUnits = _chunkHQCSH22Gjs.gweiUnits; exports.hexToBigInt = _chunkHQCSH22Gjs.hexToBigInt; exports.hexToBool = _chunkHQCSH22Gjs.hexToBool; exports.hexToBytes = _chunkHQCSH22Gjs.hexToBytes; exports.hexToNumber = _chunkHQCSH22Gjs.hexToNumber; exports.hexToString = _chunkHQCSH22Gjs.hexToString; exports.http = http; exports.isAddress = _chunkHQCSH22Gjs.isAddress; exports.isAddressEqual = _chunkHQCSH22Gjs.isAddressEqual; exports.isBytes = _chunkHQCSH22Gjs.isBytes; exports.isHex = _chunkHQCSH22Gjs.isHex; exports.keccak256 = _chunkHQCSH22Gjs.keccak256; exports.labelhash = _chunk57YM6E7Ijs.labelhash; exports.multicall3Abi = _chunkHQCSH22Gjs.multicall3Abi; exports.namehash = _chunk57YM6E7Ijs.namehash; exports.numberToBytes = _chunkHQCSH22Gjs.numberToBytes; exports.numberToHex = _chunkHQCSH22Gjs.numberToHex; exports.pad = _chunkHQCSH22Gjs.pad; exports.padBytes = _chunkHQCSH22Gjs.padBytes; exports.padHex = _chunkHQCSH22Gjs.padHex; exports.parseEther = _chunkHQCSH22Gjs.parseEther; exports.parseGwei = _chunkHQCSH22Gjs.parseGwei; exports.parseUnit = _chunkHQCSH22Gjs.parseUnit; exports.size = _chunkHQCSH22Gjs.size; exports.slice = _chunkHQCSH22Gjs.slice; exports.sliceBytes = _chunkHQCSH22Gjs.sliceBytes; exports.sliceHex = _chunkHQCSH22Gjs.sliceHex; exports.stringToBytes = _chunkHQCSH22Gjs.stringToBytes; exports.stringToHex = _chunkHQCSH22Gjs.stringToHex; exports.stringify = _chunkHQCSH22Gjs.stringify; exports.toBytes = _chunkHQCSH22Gjs.toBytes; exports.toHex = _chunkHQCSH22Gjs.toHex; exports.toRlp = _chunkHQCSH22Gjs.toRlp; exports.transactionType = _chunkHQCSH22Gjs.transactionType; exports.trim = _chunkHQCSH22Gjs.trim; exports.webSocket = webSocket; exports.weiUnits = _chunkHQCSH22Gjs.weiUnits;
768
+
769
+ exports.AbiConstructorNotFoundError = _chunk534U2FZGjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunk534U2FZGjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunk534U2FZGjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunk534U2FZGjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunk534U2FZGjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunk534U2FZGjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunk534U2FZGjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunk534U2FZGjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunk534U2FZGjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunk534U2FZGjs.AbiEventNotFoundError; exports.AbiEventSignatureNotFoundError = _chunk534U2FZGjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunk534U2FZGjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunk534U2FZGjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunk534U2FZGjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunk534U2FZGjs.BaseError; exports.BlockNotFoundError = _chunk534U2FZGjs.BlockNotFoundError; exports.CallExecutionError = _chunk534U2FZGjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunk534U2FZGjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunk534U2FZGjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunk534U2FZGjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunk534U2FZGjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunk534U2FZGjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunk534U2FZGjs.DataLengthTooShortError; exports.EstimateGasExecutionError = _chunk534U2FZGjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunk534U2FZGjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunk534U2FZGjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunk534U2FZGjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunk534U2FZGjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunk534U2FZGjs.HttpRequestError; exports.InsufficientFundsError = _chunk534U2FZGjs.InsufficientFundsError; exports.InternalRpcError = _chunk534U2FZGjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunk534U2FZGjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunk534U2FZGjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunk534U2FZGjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunk534U2FZGjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunk534U2FZGjs.InvalidAddressError; exports.InvalidArrayError = _chunk534U2FZGjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunk534U2FZGjs.InvalidBytesBooleanError; exports.InvalidDefinitionTypeError = _chunk534U2FZGjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunk534U2FZGjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunk534U2FZGjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunk534U2FZGjs.InvalidInputRpcError; exports.InvalidParamsRpcError = _chunk534U2FZGjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunk534U2FZGjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunk534U2FZGjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunk534U2FZGjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunk534U2FZGjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunk534U2FZGjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunk534U2FZGjs.NonceMaxValueError; exports.NonceTooHighError = _chunk534U2FZGjs.NonceTooHighError; exports.NonceTooLowError = _chunk534U2FZGjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunk534U2FZGjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunk534U2FZGjs.ParseRpcError; exports.RawContractError = _chunk534U2FZGjs.RawContractError; exports.RequestError = _chunk534U2FZGjs.RequestError; exports.ResourceNotFoundRpcError = _chunk534U2FZGjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunk534U2FZGjs.ResourceUnavailableRpcError; exports.RpcError = _chunk534U2FZGjs.RpcError; exports.RpcRequestError = _chunk534U2FZGjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunk534U2FZGjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunk534U2FZGjs.SwitchChainError; exports.TimeoutError = _chunk534U2FZGjs.TimeoutError; exports.TipAboveFeeCapError = _chunk534U2FZGjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunk534U2FZGjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunk534U2FZGjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunk534U2FZGjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunk534U2FZGjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunk534U2FZGjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunk534U2FZGjs.UnknownNodeError; exports.UnknownRpcError = _chunk534U2FZGjs.UnknownRpcError; exports.UrlRequiredError = _chunk534U2FZGjs.UrlRequiredError; exports.UserRejectedRequestError = _chunk534U2FZGjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunk534U2FZGjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunk534U2FZGjs.WebSocketRequestError; exports.boolToBytes = _chunk534U2FZGjs.boolToBytes; exports.boolToHex = _chunk534U2FZGjs.boolToHex; exports.bytesToBigint = _chunk534U2FZGjs.bytesToBigint; exports.bytesToBool = _chunk534U2FZGjs.bytesToBool; exports.bytesToHex = _chunk534U2FZGjs.bytesToHex; exports.bytesToNumber = _chunk534U2FZGjs.bytesToNumber; exports.bytesToString = _chunk534U2FZGjs.bytesToString; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunk534U2FZGjs.decodeAbiParameters; exports.decodeErrorResult = _chunk534U2FZGjs.decodeErrorResult; exports.decodeEventLog = _chunk534U2FZGjs.decodeEventLog; exports.decodeFunctionData = _chunk534U2FZGjs.decodeFunctionData; exports.decodeFunctionResult = _chunk534U2FZGjs.decodeFunctionResult; exports.defineBlock = _chunk534U2FZGjs.defineBlock; exports.defineChain = _chunk534U2FZGjs.defineChain; exports.defineTransaction = _chunk534U2FZGjs.defineTransaction; exports.defineTransactionReceipt = _chunk534U2FZGjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunk534U2FZGjs.defineTransactionRequest; exports.encodeAbiParameters = _chunk534U2FZGjs.encodeAbiParameters; exports.encodeDeployData = _chunk534U2FZGjs.encodeDeployData; exports.encodeErrorResult = _chunk534U2FZGjs.encodeErrorResult; exports.encodeEventTopics = _chunk534U2FZGjs.encodeEventTopics; exports.encodeFunctionData = _chunk534U2FZGjs.encodeFunctionData; exports.encodeFunctionResult = _chunk534U2FZGjs.encodeFunctionResult; exports.etherUnits = _chunk534U2FZGjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunk534U2FZGjs.formatBlock; exports.formatEther = _chunk534U2FZGjs.formatEther; exports.formatGwei = _chunk534U2FZGjs.formatGwei; exports.formatTransaction = _chunk534U2FZGjs.formatTransaction; exports.formatTransactionRequest = _chunk534U2FZGjs.formatTransactionRequest; exports.formatUnits = _chunk534U2FZGjs.formatUnits; exports.fromBytes = _chunk534U2FZGjs.fromBytes; exports.fromHex = _chunk534U2FZGjs.fromHex; exports.fromRlp = _chunk534U2FZGjs.fromRlp; exports.getAbiItem = _chunk534U2FZGjs.getAbiItem; exports.getAccount = _chunk534U2FZGjs.getAccount; exports.getAddress = _chunk534U2FZGjs.getAddress; exports.getContractAddress = _chunk534U2FZGjs.getContractAddress; exports.getContractError = _chunk534U2FZGjs.getContractError; exports.getCreate2Address = _chunk534U2FZGjs.getCreate2Address; exports.getCreateAddress = _chunk534U2FZGjs.getCreateAddress; exports.getEventSelector = _chunk534U2FZGjs.getEventSelector; exports.getFunctionSelector = _chunk534U2FZGjs.getFunctionSelector; exports.gweiUnits = _chunk534U2FZGjs.gweiUnits; exports.hexToBigInt = _chunk534U2FZGjs.hexToBigInt; exports.hexToBool = _chunk534U2FZGjs.hexToBool; exports.hexToBytes = _chunk534U2FZGjs.hexToBytes; exports.hexToNumber = _chunk534U2FZGjs.hexToNumber; exports.hexToString = _chunk534U2FZGjs.hexToString; exports.http = http; exports.isAddress = _chunk534U2FZGjs.isAddress; exports.isAddressEqual = _chunk534U2FZGjs.isAddressEqual; exports.isBytes = _chunk534U2FZGjs.isBytes; exports.isHex = _chunk534U2FZGjs.isHex; exports.keccak256 = _chunk534U2FZGjs.keccak256; exports.labelhash = _chunkJXFHSHM6js.labelhash; exports.multicall3Abi = _chunk534U2FZGjs.multicall3Abi; exports.namehash = _chunkJXFHSHM6js.namehash; exports.numberToBytes = _chunk534U2FZGjs.numberToBytes; exports.numberToHex = _chunk534U2FZGjs.numberToHex; exports.pad = _chunk534U2FZGjs.pad; exports.padBytes = _chunk534U2FZGjs.padBytes; exports.padHex = _chunk534U2FZGjs.padHex; exports.parseEther = _chunk534U2FZGjs.parseEther; exports.parseGwei = _chunk534U2FZGjs.parseGwei; exports.parseUnits = _chunk534U2FZGjs.parseUnits; exports.size = _chunk534U2FZGjs.size; exports.slice = _chunk534U2FZGjs.slice; exports.sliceBytes = _chunk534U2FZGjs.sliceBytes; exports.sliceHex = _chunk534U2FZGjs.sliceHex; exports.stringToBytes = _chunk534U2FZGjs.stringToBytes; exports.stringToHex = _chunk534U2FZGjs.stringToHex; exports.stringify = _chunk534U2FZGjs.stringify; exports.toBytes = _chunk534U2FZGjs.toBytes; exports.toHex = _chunk534U2FZGjs.toHex; exports.toRlp = _chunk534U2FZGjs.toRlp; exports.transactionType = _chunk534U2FZGjs.transactionType; exports.trim = _chunk534U2FZGjs.trim; exports.webSocket = webSocket; exports.weiUnits = _chunk534U2FZGjs.weiUnits;
774
770
  //# sourceMappingURL=index.js.map