viem 0.1.0 → 0.1.1

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 (48) hide show
  1. package/dist/abi.d.ts +3 -4
  2. package/dist/abi.js +2 -2
  3. package/dist/abi.mjs +1 -1
  4. package/dist/{chain-a4f98ba3.d.ts → chain-688e1663.d.ts} +1 -1
  5. package/dist/{chain-819c7ff7.d.ts → chain-d64be356.d.ts} +1 -1
  6. package/dist/chains.d.ts +3 -4
  7. package/dist/chains.js +46 -46
  8. package/dist/chains.mjs +1 -1
  9. package/dist/{chunk-I7AINPMM.mjs → chunk-HDZRBHNX.mjs} +2 -2
  10. package/dist/{chunk-I7AINPMM.mjs.map → chunk-HDZRBHNX.mjs.map} +1 -1
  11. package/dist/{chunk-APZXOA44.mjs → chunk-N5WJ5FTW.mjs} +2 -2
  12. package/dist/{chunk-HCZO3OIX.js → chunk-NM6QXEYF.js} +21 -21
  13. package/dist/{chunk-QJNPIGP5.js → chunk-PZIHILNK.js} +2 -2
  14. package/dist/{chunk-QJNPIGP5.js.map → chunk-PZIHILNK.js.map} +1 -1
  15. package/dist/contract.d.ts +7 -8
  16. package/dist/contract.js +2 -2
  17. package/dist/contract.mjs +1 -1
  18. package/dist/{createClient-a47ae6f5.d.ts → createClient-8575dcd6.d.ts} +2 -2
  19. package/dist/{createPublicClient-e2eae0fc.d.ts → createPublicClient-c13b17f9.d.ts} +3 -3
  20. package/dist/{eip1193-a882d1b8.d.ts → eip1193-029d52f0.d.ts} +1 -1
  21. package/dist/{encodeFunctionResult-9eb553ce.d.ts → encodeFunctionResult-12963e93.d.ts} +1 -1
  22. package/dist/{encodePacked-4c019ed8.d.ts → encodePacked-98b20b4d.d.ts} +1 -1
  23. package/dist/ens.d.ts +4 -5
  24. package/dist/ens.js +3 -3
  25. package/dist/ens.mjs +2 -2
  26. package/dist/{formatAbiItem-622d2303.d.ts → formatAbiItem-8ee3a7fa.d.ts} +1 -1
  27. package/dist/{getAbiItem-159f3263.d.ts → getAbiItem-de103f9b.d.ts} +1 -1
  28. package/dist/index.d.ts +13 -14
  29. package/dist/index.js +88 -88
  30. package/dist/index.mjs +2 -2
  31. package/dist/{parseGwei-a2d0d77a.d.ts → parseGwei-23d1c213.d.ts} +3 -3
  32. package/dist/public.d.ts +5 -6
  33. package/dist/public.js +2 -2
  34. package/dist/public.mjs +1 -1
  35. package/dist/{test-13f4413b.d.ts → test-f964519b.d.ts} +3 -3
  36. package/dist/test.d.ts +5 -6
  37. package/dist/test.js +2 -2
  38. package/dist/test.mjs +1 -1
  39. package/dist/utils/index.d.ts +13 -14
  40. package/dist/utils/index.js +2 -2
  41. package/dist/utils/index.mjs +1 -1
  42. package/dist/wallet.d.ts +4 -5
  43. package/dist/wallet.js +2 -2
  44. package/dist/wallet.mjs +1 -1
  45. package/dist/window.d.ts +2 -3
  46. package/package.json +1 -1
  47. /package/dist/{chunk-APZXOA44.mjs.map → chunk-N5WJ5FTW.mjs.map} +0 -0
  48. /package/dist/{chunk-HCZO3OIX.js.map → chunk-NM6QXEYF.js.map} +0 -0
@@ -1,10 +1,9 @@
1
- import './chain-819c7ff7.js';
2
- export { D as DecodeAbiParametersReturnType, E as EncodeAbiParametersReturnType, G as GetAbiItemParameters, d as decodeAbiParameters, e as encodeAbiParameters, g as getAbiItem } from './getAbiItem-159f3263.js';
3
- export { D as DecodeErrorResultParameters, a as DecodeErrorResultReturnType, b as DecodeEventLogParameters, c as DecodeEventLogReturnType, d as DecodeFunctionDataParameters, e as DecodeFunctionResultParameters, f as DecodeFunctionResultReturnType, E as EncodeDeployDataParameters, g as EncodeErrorResultParameters, h as EncodeEventTopicsParameters, i as EncodeFunctionDataParameters, j as EncodeFunctionResultParameters, 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-9eb553ce.js';
4
- export { a as formatAbiItem, f as formatAbiItemWithArgs } from './formatAbiItem-622d2303.js';
5
- export { m as CreateContractEventFilterParameters, n as CreateContractEventFilterReturnType, V as DeployContractParameters, X as DeployContractReturnType, o as EstimateContractGasParameters, p as EstimateContractGasReturnType, G as GetBytecodeParameters, q as GetBytecodeReturnType, r as GetStorageAtParameters, s as GetStorageAtReturnType, M as MulticallParameters, t as MulticallReturnType, O as OnLogsFn, u as OnLogsParameter, R as ReadContractParameters, v as ReadContractReturnType, w as SimulateContractParameters, x as SimulateContractReturnType, y as WatchContractEventParameters, Y as WriteContractParameters, Z as WriteContractReturnType, z as createContractEventFilter, _ as deployContract, D as estimateContractGas, H as getBytecode, I as getStorageAt, K as multicall, N as readContract, Q as simulateContract, U as watchContractEvent, $ as writeContract } from './createPublicClient-e2eae0fc.js';
1
+ import './chain-d64be356.js';
2
+ export { D as DecodeAbiParametersReturnType, E as EncodeAbiParametersReturnType, G as GetAbiItemParameters, d as decodeAbiParameters, e as encodeAbiParameters, g as getAbiItem } from './getAbiItem-de103f9b.js';
3
+ export { D as DecodeErrorResultParameters, a as DecodeErrorResultReturnType, b as DecodeEventLogParameters, c as DecodeEventLogReturnType, d as DecodeFunctionDataParameters, e as DecodeFunctionResultParameters, f as DecodeFunctionResultReturnType, E as EncodeDeployDataParameters, g as EncodeErrorResultParameters, h as EncodeEventTopicsParameters, i as EncodeFunctionDataParameters, j as EncodeFunctionResultParameters, 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-12963e93.js';
4
+ export { a as formatAbiItem, f as formatAbiItemWithArgs } from './formatAbiItem-8ee3a7fa.js';
5
+ export { m as CreateContractEventFilterParameters, n as CreateContractEventFilterReturnType, V as DeployContractParameters, X as DeployContractReturnType, o as EstimateContractGasParameters, p as EstimateContractGasReturnType, G as GetBytecodeParameters, q as GetBytecodeReturnType, r as GetStorageAtParameters, s as GetStorageAtReturnType, M as MulticallParameters, t as MulticallReturnType, O as OnLogsFn, u as OnLogsParameter, R as ReadContractParameters, v as ReadContractReturnType, w as SimulateContractParameters, x as SimulateContractReturnType, y as WatchContractEventParameters, Y as WriteContractParameters, Z as WriteContractReturnType, z as createContractEventFilter, _ as deployContract, D as estimateContractGas, H as getBytecode, I as getStorageAt, K as multicall, N as readContract, Q as simulateContract, U as watchContractEvent, $ as writeContract } from './createPublicClient-c13b17f9.js';
6
6
  import '@wagmi/chains';
7
7
  import 'abitype';
8
- import 'ethers@6/types/providers';
9
- import './eip1193-a882d1b8.js';
10
- import './createClient-a47ae6f5.js';
8
+ import './eip1193-029d52f0.js';
9
+ import './createClient-8575dcd6.js';
package/dist/contract.js CHANGED
@@ -23,7 +23,7 @@
23
23
 
24
24
 
25
25
 
26
- var _chunkQJNPIGP5js = require('./chunk-QJNPIGP5.js');
26
+ var _chunkPZIHILNKjs = require('./chunk-PZIHILNK.js');
27
27
 
28
28
 
29
29
 
@@ -49,5 +49,5 @@ var _chunkQJNPIGP5js = require('./chunk-QJNPIGP5.js');
49
49
 
50
50
 
51
51
 
52
- exports.createContractEventFilter = _chunkQJNPIGP5js.createContractEventFilter; exports.decodeAbiParameters = _chunkQJNPIGP5js.decodeAbiParameters; exports.decodeErrorResult = _chunkQJNPIGP5js.decodeErrorResult; exports.decodeEventLog = _chunkQJNPIGP5js.decodeEventLog; exports.decodeFunctionData = _chunkQJNPIGP5js.decodeFunctionData; exports.decodeFunctionResult = _chunkQJNPIGP5js.decodeFunctionResult; exports.deployContract = _chunkQJNPIGP5js.deployContract; exports.encodeAbiParameters = _chunkQJNPIGP5js.encodeAbiParameters; exports.encodeDeployData = _chunkQJNPIGP5js.encodeDeployData; exports.encodeErrorResult = _chunkQJNPIGP5js.encodeErrorResult; exports.encodeEventTopics = _chunkQJNPIGP5js.encodeEventTopics; exports.encodeFunctionData = _chunkQJNPIGP5js.encodeFunctionData; exports.encodeFunctionResult = _chunkQJNPIGP5js.encodeFunctionResult; exports.estimateContractGas = _chunkQJNPIGP5js.estimateContractGas; exports.formatAbiItem = _chunkQJNPIGP5js.formatAbiItem; exports.formatAbiItemWithArgs = _chunkQJNPIGP5js.formatAbiItemWithArgs; exports.getAbiItem = _chunkQJNPIGP5js.getAbiItem; exports.getBytecode = _chunkQJNPIGP5js.getBytecode; exports.getStorageAt = _chunkQJNPIGP5js.getStorageAt; exports.multicall = _chunkQJNPIGP5js.multicall; exports.readContract = _chunkQJNPIGP5js.readContract; exports.simulateContract = _chunkQJNPIGP5js.simulateContract; exports.watchContractEvent = _chunkQJNPIGP5js.watchContractEvent; exports.writeContract = _chunkQJNPIGP5js.writeContract;
52
+ exports.createContractEventFilter = _chunkPZIHILNKjs.createContractEventFilter; exports.decodeAbiParameters = _chunkPZIHILNKjs.decodeAbiParameters; exports.decodeErrorResult = _chunkPZIHILNKjs.decodeErrorResult; exports.decodeEventLog = _chunkPZIHILNKjs.decodeEventLog; exports.decodeFunctionData = _chunkPZIHILNKjs.decodeFunctionData; exports.decodeFunctionResult = _chunkPZIHILNKjs.decodeFunctionResult; exports.deployContract = _chunkPZIHILNKjs.deployContract; exports.encodeAbiParameters = _chunkPZIHILNKjs.encodeAbiParameters; exports.encodeDeployData = _chunkPZIHILNKjs.encodeDeployData; exports.encodeErrorResult = _chunkPZIHILNKjs.encodeErrorResult; exports.encodeEventTopics = _chunkPZIHILNKjs.encodeEventTopics; exports.encodeFunctionData = _chunkPZIHILNKjs.encodeFunctionData; exports.encodeFunctionResult = _chunkPZIHILNKjs.encodeFunctionResult; exports.estimateContractGas = _chunkPZIHILNKjs.estimateContractGas; exports.formatAbiItem = _chunkPZIHILNKjs.formatAbiItem; exports.formatAbiItemWithArgs = _chunkPZIHILNKjs.formatAbiItemWithArgs; exports.getAbiItem = _chunkPZIHILNKjs.getAbiItem; exports.getBytecode = _chunkPZIHILNKjs.getBytecode; exports.getStorageAt = _chunkPZIHILNKjs.getStorageAt; exports.multicall = _chunkPZIHILNKjs.multicall; exports.readContract = _chunkPZIHILNKjs.readContract; exports.simulateContract = _chunkPZIHILNKjs.simulateContract; exports.watchContractEvent = _chunkPZIHILNKjs.watchContractEvent; exports.writeContract = _chunkPZIHILNKjs.writeContract;
53
53
  //# sourceMappingURL=contract.js.map
package/dist/contract.mjs CHANGED
@@ -23,7 +23,7 @@ import {
23
23
  simulateContract,
24
24
  watchContractEvent,
25
25
  writeContract
26
- } from "./chunk-I7AINPMM.mjs";
26
+ } from "./chunk-HDZRBHNX.mjs";
27
27
  export {
28
28
  createContractEventFilter,
29
29
  decodeAbiParameters,
@@ -1,5 +1,5 @@
1
- import { C as Chain } from './chain-819c7ff7.js';
2
- import { R as Requests } from './eip1193-a882d1b8.js';
1
+ import { C as Chain } from './chain-d64be356.js';
2
+ import { R as Requests } from './eip1193-029d52f0.js';
3
3
 
4
4
  type BaseRpcRequests = {
5
5
  request(...args: any): Promise<any>;
@@ -1,6 +1,6 @@
1
- import { W as WalletPermission, a as WatchAssetParams, P as PublicRequests } from './eip1193-a882d1b8.js';
2
- import { a as Transport, b as ClientConfig, C as Client } from './createClient-a47ae6f5.js';
3
- import { C as Chain, I as ExtractFormatter, Q as Formatters, S as Formatter, J as Formatted, c as Block, R as RpcBlock, y as Transaction, T as TransactionReceipt, q as RpcTransactionReceipt, V as TransactionType, r as RpcTransactionRequest, t as TransactionRequest, f as BlockTag, H as Hex, W as MergeIntersectionProperties, X as ExtractConstructorArgsFromAbi, a as Hash, Y as GetValue, g as ContractConfig, Z as ExtractResultFromAbi, _ as MaybeAbiEventName, $ as MaybeExtractEventArgsFromAbi, e as BlockNumber, a0 as ExtractEventNameFromAbi, F as FeeHistory, L as Log, K as FormattedTransaction, M as TransactionFormatter, a1 as ExtractEventArgsFromAbi, a2 as Prettify } from './chain-819c7ff7.js';
1
+ import { W as WalletPermission, a as WatchAssetParams, P as PublicRequests } from './eip1193-029d52f0.js';
2
+ import { a as Transport, b as ClientConfig, C as Client } from './createClient-8575dcd6.js';
3
+ import { C as Chain, I as ExtractFormatter, Q as Formatters, S as Formatter, J as Formatted, c as Block, R as RpcBlock, y as Transaction, T as TransactionReceipt, q as RpcTransactionReceipt, V as TransactionType, r as RpcTransactionRequest, t as TransactionRequest, f as BlockTag, H as Hex, W as MergeIntersectionProperties, X as ExtractConstructorArgsFromAbi, a as Hash, Y as GetValue, g as ContractConfig, Z as ExtractResultFromAbi, _ as MaybeAbiEventName, $ as MaybeExtractEventArgsFromAbi, e as BlockNumber, a0 as ExtractEventNameFromAbi, F as FeeHistory, L as Log, K as FormattedTransaction, M as TransactionFormatter, a1 as ExtractEventArgsFromAbi, a2 as Prettify } from './chain-d64be356.js';
4
4
  import { Abi, Narrow, Address, AbiEvent, ExtractAbiEvent } from 'abitype';
5
5
 
6
6
  type BlockFormatter<TChain extends Chain = Chain> = ExtractFormatter<TChain, 'block', NonNullable<Formatters['block']>>;
@@ -1,5 +1,5 @@
1
1
  import { Address } from 'abitype';
2
- import { a as Hash, a3 as Quantity, r as RpcTransactionRequest, l as RpcBlockNumber, f as BlockTag, k as RpcBlockIdentifier, H as Hex, m as RpcFeeHistory, R as RpcBlock, o as RpcLog, a7 as LogTopic, p as RpcTransaction, q as RpcTransactionReceipt, s as RpcUncle } from './chain-819c7ff7.js';
2
+ import { a as Hash, a3 as Quantity, r as RpcTransactionRequest, l as RpcBlockNumber, f as BlockTag, k as RpcBlockIdentifier, H as Hex, m as RpcFeeHistory, R as RpcBlock, o as RpcLog, a7 as LogTopic, p as RpcTransaction, q as RpcTransactionReceipt, s as RpcUncle } from './chain-d64be356.js';
3
3
 
4
4
  declare class RpcError extends Error {
5
5
  code: number;
@@ -1,5 +1,5 @@
1
1
  import { Abi, Narrow } from 'abitype';
2
- import { H as Hex, A as AbiItem, a7 as LogTopic, a0 as ExtractEventNameFromAbi, a8 as ExtractEventArgsFromTopics, a9 as ExtractFunctionNameFromAbi, a6 as ExtractArgsFromAbi, Z as ExtractResultFromAbi, X as ExtractConstructorArgsFromAbi, aa as ExtractErrorNameFromAbi, ab as ExtractErrorArgsFromAbi, a1 as ExtractEventArgsFromAbi } from './chain-819c7ff7.js';
2
+ import { H as Hex, A as AbiItem, a7 as LogTopic, a0 as ExtractEventNameFromAbi, a8 as ExtractEventArgsFromTopics, a9 as ExtractFunctionNameFromAbi, a6 as ExtractArgsFromAbi, Z as ExtractResultFromAbi, X as ExtractConstructorArgsFromAbi, aa as ExtractErrorNameFromAbi, ab as ExtractErrorArgsFromAbi, a1 as ExtractEventArgsFromAbi } from './chain-d64be356.js';
3
3
 
4
4
  type DecodeErrorResultParameters = {
5
5
  abi?: Abi;
@@ -1,5 +1,5 @@
1
1
  import { Narrow, SolidityAddress, SolidityBool, SolidityBytes, SolidityInt, SolidityString, SolidityArrayWithoutTuple, AbiType, AbiParameterToPrimitiveType } from 'abitype';
2
- import { H as Hex } from './chain-819c7ff7.js';
2
+ import { H as Hex } from './chain-d64be356.js';
3
3
 
4
4
  type PackedAbiType = SolidityAddress | SolidityBool | SolidityBytes | SolidityInt | SolidityString | SolidityArrayWithoutTuple;
5
5
  type EncodePackedValues<TPackedAbiTypes extends PackedAbiType[] | unknown[]> = {
package/dist/ens.d.ts CHANGED
@@ -1,11 +1,10 @@
1
- export { a0 as GetEnsAddressParameters, a1 as GetEnsNameParameters, a2 as getEnsAddress, a3 as getEnsName } from './createPublicClient-e2eae0fc.js';
1
+ export { a0 as GetEnsAddressParameters, a1 as GetEnsNameParameters, a2 as getEnsAddress, a3 as getEnsName } from './createPublicClient-c13b17f9.js';
2
2
  export { l as labelhash, n as namehash } from './namehash-afff0feb.js';
3
- import './chain-819c7ff7.js';
4
- import './eip1193-a882d1b8.js';
3
+ import './chain-d64be356.js';
4
+ import './eip1193-029d52f0.js';
5
5
  import 'abitype';
6
- import './createClient-a47ae6f5.js';
6
+ import './createClient-8575dcd6.js';
7
7
  import '@wagmi/chains';
8
- import 'ethers@6/types/providers';
9
8
 
10
9
  /**
11
10
  * @description Normalizes ENS name
package/dist/ens.js CHANGED
@@ -3,8 +3,8 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkHCZO3OIXjs = require('./chunk-HCZO3OIX.js');
7
- require('./chunk-QJNPIGP5.js');
6
+ var _chunkNM6QXEYFjs = require('./chunk-NM6QXEYF.js');
7
+ require('./chunk-PZIHILNK.js');
8
8
 
9
9
  // src/utils/ens/normalize.ts
10
10
  var _idnauts46hx = require('idna-uts46-hx');
@@ -17,5 +17,5 @@ function normalize(name) {
17
17
 
18
18
 
19
19
 
20
- exports.getEnsAddress = _chunkHCZO3OIXjs.getEnsAddress; exports.getEnsName = _chunkHCZO3OIXjs.getEnsName; exports.labelhash = _chunkHCZO3OIXjs.labelhash; exports.namehash = _chunkHCZO3OIXjs.namehash; exports.normalize = normalize;
20
+ exports.getEnsAddress = _chunkNM6QXEYFjs.getEnsAddress; exports.getEnsName = _chunkNM6QXEYFjs.getEnsName; exports.labelhash = _chunkNM6QXEYFjs.labelhash; exports.namehash = _chunkNM6QXEYFjs.namehash; exports.normalize = normalize;
21
21
  //# sourceMappingURL=ens.js.map
package/dist/ens.mjs CHANGED
@@ -3,8 +3,8 @@ import {
3
3
  getEnsName,
4
4
  labelhash,
5
5
  namehash
6
- } from "./chunk-APZXOA44.mjs";
7
- import "./chunk-I7AINPMM.mjs";
6
+ } from "./chunk-N5WJ5FTW.mjs";
7
+ import "./chunk-HDZRBHNX.mjs";
8
8
 
9
9
  // src/utils/ens/normalize.ts
10
10
  import { toUnicode } from "idna-uts46-hx";
@@ -1,4 +1,4 @@
1
- import { A as AbiItem } from './chain-819c7ff7.js';
1
+ import { A as AbiItem } from './chain-d64be356.js';
2
2
 
3
3
  declare function formatAbiItemWithArgs({ abiItem, args, includeFunctionName, includeName, }: {
4
4
  abiItem: AbiItem;
@@ -1,5 +1,5 @@
1
1
  import { AbiParameter, AbiParametersToPrimitiveTypes, Narrow, Abi } from 'abitype';
2
- import { H as Hex, a5 as ExtractNameFromAbi, a6 as ExtractArgsFromAbi } from './chain-819c7ff7.js';
2
+ import { H as Hex, a5 as ExtractNameFromAbi, a6 as ExtractArgsFromAbi } from './chain-d64be356.js';
3
3
 
4
4
  type DecodeAbiParametersReturnType<TParams extends readonly AbiParameter[] | readonly unknown[] = readonly AbiParameter[]> = AbiParametersToPrimitiveTypes<TParams extends readonly AbiParameter[] ? TParams : AbiParameter[]>;
5
5
  declare function decodeAbiParameters<TParams extends readonly AbiParameter[] | readonly unknown[]>(params: Narrow<TParams>, data: Hex): DecodeAbiParametersReturnType<TParams>;
package/dist/index.d.ts CHANGED
@@ -1,21 +1,20 @@
1
- import { T as TransportConfig, a as Transport, B as BaseRpcRequests } from './createClient-a47ae6f5.js';
2
- export { C as Client, b as ClientConfig, a as Transport, T as TransportConfig, c as createClient, d as createTransport } from './createClient-a47ae6f5.js';
3
- import { H as Hex, a as Hash, C as Chain, B as ByteArray } from './chain-819c7ff7.js';
4
- export { A as AbiItem, b as AccessList, c as Block, d as BlockIdentifier, e as BlockNumber, f as BlockTag, B as ByteArray, C as Chain, g as ContractConfig, I as ExtractFormatter, F as FeeHistory, h as FeeValues, i as FeeValuesEIP1559, j as FeeValuesLegacy, J as Formatted, K as FormattedTransaction, a as Hash, H as Hex, L as Log, R as RpcBlock, k as RpcBlockIdentifier, l as RpcBlockNumber, m as RpcFeeHistory, n as RpcFeeValues, o as RpcLog, p as RpcTransaction, q as RpcTransactionReceipt, r as RpcTransactionRequest, s as RpcUncle, y as Transaction, z as TransactionBase, D as TransactionEIP1559, E as TransactionEIP2930, M as TransactionFormatter, G as TransactionLegacy, T as TransactionReceipt, t as TransactionRequest, u as TransactionRequestBase, v as TransactionRequestEIP1559, w as TransactionRequestEIP2930, x as TransactionRequestLegacy, U as Uncle, N as defineTransaction, O as formatTransaction, P as transactionType } from './chain-819c7ff7.js';
5
- import { B as BaseError, H as HttpOptions, R as RpcResponse } from './parseGwei-a2d0d77a.js';
6
- 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 ToRlpReturnType, 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-a2d0d77a.js';
1
+ import { T as TransportConfig, a as Transport, B as BaseRpcRequests } from './createClient-8575dcd6.js';
2
+ export { C as Client, b as ClientConfig, a as Transport, T as TransportConfig, c as createClient, d as createTransport } from './createClient-8575dcd6.js';
3
+ import { H as Hex, a as Hash, C as Chain, B as ByteArray } from './chain-d64be356.js';
4
+ export { A as AbiItem, b as AccessList, c as Block, d as BlockIdentifier, e as BlockNumber, f as BlockTag, B as ByteArray, C as Chain, g as ContractConfig, I as ExtractFormatter, F as FeeHistory, h as FeeValues, i as FeeValuesEIP1559, j as FeeValuesLegacy, J as Formatted, K as FormattedTransaction, a as Hash, H as Hex, L as Log, R as RpcBlock, k as RpcBlockIdentifier, l as RpcBlockNumber, m as RpcFeeHistory, n as RpcFeeValues, o as RpcLog, p as RpcTransaction, q as RpcTransactionReceipt, r as RpcTransactionRequest, s as RpcUncle, y as Transaction, z as TransactionBase, D as TransactionEIP1559, E as TransactionEIP2930, M as TransactionFormatter, G as TransactionLegacy, T as TransactionReceipt, t as TransactionRequest, u as TransactionRequestBase, v as TransactionRequestEIP1559, w as TransactionRequestEIP2930, x as TransactionRequestLegacy, U as Uncle, N as defineTransaction, O as formatTransaction, P as transactionType } from './chain-d64be356.js';
5
+ import { B as BaseError, H as HttpOptions, R as RpcResponse } from './parseGwei-23d1c213.js';
6
+ 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 ToRlpReturnType, 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-23d1c213.js';
7
7
  import WebSocket from 'isomorphic-ws';
8
- export { A as Account, B as BlockFormatter, F as FormattedBlock, e as FormattedTransactionReceipt, f as FormattedTransactionRequest, J as JsonRpcAccount, L as LocalAccount, 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-e2eae0fc.js';
9
- export { T as TestClient, a as TestClientConfig, c as createTestClient } from './test-13f4413b.js';
8
+ export { A as Account, B as BlockFormatter, F as FormattedBlock, e as FormattedTransactionReceipt, f as FormattedTransactionRequest, J as JsonRpcAccount, L as LocalAccount, 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-c13b17f9.js';
9
+ export { T as TestClient, a as TestClientConfig, c as createTestClient } from './test-f964519b.js';
10
10
  export { Address, ParseAbi, ParseAbiItem, ParseAbiParameter, ParseAbiParameters, parseAbi, parseAbiItem, parseAbiParameter, parseAbiParameters } from 'abitype';
11
11
  export { l as labelhash, n as namehash } from './namehash-afff0feb.js';
12
- export { D as DecodeAbiParametersReturnType, E as EncodeAbiParametersReturnType, G as GetAbiItemParameters, d as decodeAbiParameters, e as encodeAbiParameters, g as getAbiItem } from './getAbiItem-159f3263.js';
13
- export { D as DecodeErrorResultParameters, a as DecodeErrorResultReturnType, b as DecodeEventLogParameters, c as DecodeEventLogReturnType, d as DecodeFunctionDataParameters, e as DecodeFunctionResultParameters, f as DecodeFunctionResultReturnType, E as EncodeDeployDataParameters, g as EncodeErrorResultParameters, h as EncodeEventTopicsParameters, i as EncodeFunctionDataParameters, j as EncodeFunctionResultParameters, 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-9eb553ce.js';
14
- export { e as encodePacked } from './encodePacked-4c019ed8.js';
15
- export { d as defineChain } from './chain-a4f98ba3.js';
16
- import './eip1193-a882d1b8.js';
12
+ export { D as DecodeAbiParametersReturnType, E as EncodeAbiParametersReturnType, G as GetAbiItemParameters, d as decodeAbiParameters, e as encodeAbiParameters, g as getAbiItem } from './getAbiItem-de103f9b.js';
13
+ export { D as DecodeErrorResultParameters, a as DecodeErrorResultReturnType, b as DecodeEventLogParameters, c as DecodeEventLogReturnType, d as DecodeFunctionDataParameters, e as DecodeFunctionResultParameters, f as DecodeFunctionResultReturnType, E as EncodeDeployDataParameters, g as EncodeErrorResultParameters, h as EncodeEventTopicsParameters, i as EncodeFunctionDataParameters, j as EncodeFunctionResultParameters, 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-12963e93.js';
14
+ export { e as encodePacked } from './encodePacked-98b20b4d.js';
15
+ export { d as defineChain } from './chain-688e1663.js';
16
+ import './eip1193-029d52f0.js';
17
17
  import '@wagmi/chains';
18
- import 'ethers@6/types/providers';
19
18
 
20
19
  declare class AbiConstructorNotFoundError extends BaseError {
21
20
  name: string;
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkHCZO3OIXjs = require('./chunk-HCZO3OIX.js');
6
+ var _chunkNM6QXEYFjs = require('./chunk-NM6QXEYF.js');
7
7
 
8
8
 
9
9
 
@@ -234,7 +234,7 @@ var _chunkHCZO3OIXjs = require('./chunk-HCZO3OIX.js');
234
234
 
235
235
 
236
236
 
237
- var _chunkQJNPIGP5js = require('./chunk-QJNPIGP5.js');
237
+ var _chunkPZIHILNKjs = require('./chunk-PZIHILNK.js');
238
238
 
239
239
  // src/clients/transports/createTransport.ts
240
240
  function createTransport({
@@ -248,7 +248,7 @@ function createTransport({
248
248
  }, value) {
249
249
  return {
250
250
  config: { key, name, request, retryCount, retryDelay, timeout, type },
251
- request: _chunkQJNPIGP5js.buildRequest.call(void 0, request, { retryCount, retryDelay }),
251
+ request: _chunkPZIHILNKjs.buildRequest.call(void 0, request, { retryCount, retryDelay }),
252
252
  value
253
253
  };
254
254
  }
@@ -282,7 +282,7 @@ function fallback(transports, config = {}) {
282
282
  params
283
283
  });
284
284
  } catch (err) {
285
- if (_chunkQJNPIGP5js.isDeterministicError.call(void 0, err))
285
+ if (_chunkPZIHILNKjs.isDeterministicError.call(void 0, err))
286
286
  throw err;
287
287
  if (i === transports.length - 1)
288
288
  throw err;
@@ -316,13 +316,13 @@ function http(url, config = {}) {
316
316
  const retryCount = _nullishCoalesce(config.retryCount, () => ( defaultRetryCount));
317
317
  const url_ = url || _optionalChain([chain, 'optionalAccess', _ => _.rpcUrls, 'access', _2 => _2.default, 'access', _3 => _3.http, 'access', _4 => _4[0]]);
318
318
  if (!url_)
319
- throw new (0, _chunkQJNPIGP5js.UrlRequiredError)();
319
+ throw new (0, _chunkPZIHILNKjs.UrlRequiredError)();
320
320
  return createTransport(
321
321
  {
322
322
  key,
323
323
  name,
324
324
  async request({ method, params }) {
325
- const { result } = await _chunkQJNPIGP5js.rpc.http(url_, {
325
+ const { result } = await _chunkPZIHILNKjs.rpc.http(url_, {
326
326
  body: {
327
327
  method,
328
328
  params
@@ -356,14 +356,14 @@ function webSocket(url, config = {}) {
356
356
  const retryCount = _nullishCoalesce(config.retryCount, () => ( defaultRetryCount));
357
357
  const url_ = url || _optionalChain([chain, 'optionalAccess', _5 => _5.rpcUrls, 'access', _6 => _6.default, 'access', _7 => _7.webSocket, 'optionalAccess', _8 => _8[0]]);
358
358
  if (!url_)
359
- throw new (0, _chunkQJNPIGP5js.UrlRequiredError)();
359
+ throw new (0, _chunkPZIHILNKjs.UrlRequiredError)();
360
360
  return createTransport(
361
361
  {
362
362
  key,
363
363
  name,
364
364
  async request({ method, params }) {
365
- const socket = await _chunkQJNPIGP5js.getSocket.call(void 0, url_);
366
- const { result } = await _chunkQJNPIGP5js.rpc.webSocketAsync(socket, {
365
+ const socket = await _chunkPZIHILNKjs.getSocket.call(void 0, url_);
366
+ const { result } = await _chunkPZIHILNKjs.rpc.webSocketAsync(socket, {
367
367
  body: { method, params },
368
368
  timeout
369
369
  });
@@ -376,12 +376,12 @@ function webSocket(url, config = {}) {
376
376
  },
377
377
  {
378
378
  getSocket() {
379
- return _chunkQJNPIGP5js.getSocket.call(void 0, url_);
379
+ return _chunkPZIHILNKjs.getSocket.call(void 0, url_);
380
380
  },
381
381
  async subscribe({ params, onData, onError }) {
382
- const socket = await _chunkQJNPIGP5js.getSocket.call(void 0, url_);
382
+ const socket = await _chunkPZIHILNKjs.getSocket.call(void 0, url_);
383
383
  const { result: subscriptionId } = await new Promise(
384
- (resolve, reject) => _chunkQJNPIGP5js.rpc.webSocket(socket, {
384
+ (resolve, reject) => _chunkPZIHILNKjs.rpc.webSocket(socket, {
385
385
  body: {
386
386
  method: "eth_subscribe",
387
387
  params
@@ -403,7 +403,7 @@ function webSocket(url, config = {}) {
403
403
  subscriptionId,
404
404
  async unsubscribe() {
405
405
  return new Promise(
406
- (resolve, reject) => _chunkQJNPIGP5js.rpc.webSocket(socket, {
406
+ (resolve, reject) => _chunkPZIHILNKjs.rpc.webSocket(socket, {
407
407
  body: {
408
408
  method: "eth_unsubscribe",
409
409
  params: [subscriptionId]
@@ -459,88 +459,88 @@ function createClient({
459
459
 
460
460
  // src/clients/decorators/public.ts
461
461
  var publicActions = (client) => ({
462
- call: (args) => _chunkQJNPIGP5js.call.call(void 0, client, args),
463
- createBlockFilter: () => _chunkQJNPIGP5js.createBlockFilter.call(void 0, client),
464
- createContractEventFilter: (args) => _chunkQJNPIGP5js.createContractEventFilter.call(void 0, client, args),
465
- createEventFilter: (args) => _chunkQJNPIGP5js.createEventFilter.call(void 0, client, args),
466
- createPendingTransactionFilter: () => _chunkQJNPIGP5js.createPendingTransactionFilter.call(void 0, client),
467
- estimateContractGas: (args) => _chunkQJNPIGP5js.estimateContractGas.call(void 0, client, args),
468
- estimateGas: (args) => _chunkQJNPIGP5js.estimateGas.call(void 0, client, args),
469
- getBalance: (args) => _chunkQJNPIGP5js.getBalance.call(void 0, client, args),
470
- getBlock: (args) => _chunkQJNPIGP5js.getBlock.call(void 0, client, args),
471
- getBlockNumber: (args) => _chunkQJNPIGP5js.getBlockNumber.call(void 0, client, args),
472
- getBlockTransactionCount: (args) => _chunkQJNPIGP5js.getBlockTransactionCount.call(void 0, client, args),
473
- getBytecode: (args) => _chunkQJNPIGP5js.getBytecode.call(void 0, client, args),
474
- getChainId: () => _chunkQJNPIGP5js.getChainId.call(void 0, client),
475
- getEnsAddress: (args) => _chunkHCZO3OIXjs.getEnsAddress.call(void 0, client, args),
476
- getEnsName: (args) => _chunkHCZO3OIXjs.getEnsName.call(void 0, client, args),
477
- getFeeHistory: (args) => _chunkQJNPIGP5js.getFeeHistory.call(void 0, client, args),
478
- getFilterChanges: (args) => _chunkQJNPIGP5js.getFilterChanges.call(void 0, client, args),
479
- getFilterLogs: (args) => _chunkQJNPIGP5js.getFilterLogs.call(void 0, client, args),
480
- getGasPrice: () => _chunkQJNPIGP5js.getGasPrice.call(void 0, client),
481
- getLogs: (args) => _chunkQJNPIGP5js.getLogs.call(void 0, client, args),
482
- getStorageAt: (args) => _chunkQJNPIGP5js.getStorageAt.call(void 0, client, args),
483
- getTransaction: (args) => _chunkQJNPIGP5js.getTransaction.call(void 0, client, args),
484
- getTransactionConfirmations: (args) => _chunkQJNPIGP5js.getTransactionConfirmations.call(void 0, client, args),
485
- getTransactionReceipt: (args) => _chunkQJNPIGP5js.getTransactionReceipt.call(void 0, client, args),
486
- multicall: (args) => _chunkQJNPIGP5js.multicall.call(void 0, client, args),
487
- readContract: (args) => _chunkQJNPIGP5js.readContract.call(void 0, client, args),
488
- simulateContract: (args) => _chunkQJNPIGP5js.simulateContract.call(void 0, client, args),
489
- uninstallFilter: (args) => _chunkQJNPIGP5js.uninstallFilter.call(void 0, client, args),
490
- waitForTransactionReceipt: (args) => _chunkQJNPIGP5js.waitForTransactionReceipt.call(void 0, client, args),
491
- watchBlocks: (args) => _chunkQJNPIGP5js.watchBlocks.call(void 0, client, args),
492
- watchBlockNumber: (args) => _chunkQJNPIGP5js.watchBlockNumber.call(void 0, client, args),
493
- watchContractEvent: (args) => _chunkQJNPIGP5js.watchContractEvent.call(void 0, client, args),
494
- watchEvent: (args) => _chunkQJNPIGP5js.watchEvent.call(void 0, client, args),
495
- watchPendingTransactions: (args) => _chunkQJNPIGP5js.watchPendingTransactions.call(void 0, client, args)
462
+ call: (args) => _chunkPZIHILNKjs.call.call(void 0, client, args),
463
+ createBlockFilter: () => _chunkPZIHILNKjs.createBlockFilter.call(void 0, client),
464
+ createContractEventFilter: (args) => _chunkPZIHILNKjs.createContractEventFilter.call(void 0, client, args),
465
+ createEventFilter: (args) => _chunkPZIHILNKjs.createEventFilter.call(void 0, client, args),
466
+ createPendingTransactionFilter: () => _chunkPZIHILNKjs.createPendingTransactionFilter.call(void 0, client),
467
+ estimateContractGas: (args) => _chunkPZIHILNKjs.estimateContractGas.call(void 0, client, args),
468
+ estimateGas: (args) => _chunkPZIHILNKjs.estimateGas.call(void 0, client, args),
469
+ getBalance: (args) => _chunkPZIHILNKjs.getBalance.call(void 0, client, args),
470
+ getBlock: (args) => _chunkPZIHILNKjs.getBlock.call(void 0, client, args),
471
+ getBlockNumber: (args) => _chunkPZIHILNKjs.getBlockNumber.call(void 0, client, args),
472
+ getBlockTransactionCount: (args) => _chunkPZIHILNKjs.getBlockTransactionCount.call(void 0, client, args),
473
+ getBytecode: (args) => _chunkPZIHILNKjs.getBytecode.call(void 0, client, args),
474
+ getChainId: () => _chunkPZIHILNKjs.getChainId.call(void 0, client),
475
+ getEnsAddress: (args) => _chunkNM6QXEYFjs.getEnsAddress.call(void 0, client, args),
476
+ getEnsName: (args) => _chunkNM6QXEYFjs.getEnsName.call(void 0, client, args),
477
+ getFeeHistory: (args) => _chunkPZIHILNKjs.getFeeHistory.call(void 0, client, args),
478
+ getFilterChanges: (args) => _chunkPZIHILNKjs.getFilterChanges.call(void 0, client, args),
479
+ getFilterLogs: (args) => _chunkPZIHILNKjs.getFilterLogs.call(void 0, client, args),
480
+ getGasPrice: () => _chunkPZIHILNKjs.getGasPrice.call(void 0, client),
481
+ getLogs: (args) => _chunkPZIHILNKjs.getLogs.call(void 0, client, args),
482
+ getStorageAt: (args) => _chunkPZIHILNKjs.getStorageAt.call(void 0, client, args),
483
+ getTransaction: (args) => _chunkPZIHILNKjs.getTransaction.call(void 0, client, args),
484
+ getTransactionConfirmations: (args) => _chunkPZIHILNKjs.getTransactionConfirmations.call(void 0, client, args),
485
+ getTransactionReceipt: (args) => _chunkPZIHILNKjs.getTransactionReceipt.call(void 0, client, args),
486
+ multicall: (args) => _chunkPZIHILNKjs.multicall.call(void 0, client, args),
487
+ readContract: (args) => _chunkPZIHILNKjs.readContract.call(void 0, client, args),
488
+ simulateContract: (args) => _chunkPZIHILNKjs.simulateContract.call(void 0, client, args),
489
+ uninstallFilter: (args) => _chunkPZIHILNKjs.uninstallFilter.call(void 0, client, args),
490
+ waitForTransactionReceipt: (args) => _chunkPZIHILNKjs.waitForTransactionReceipt.call(void 0, client, args),
491
+ watchBlocks: (args) => _chunkPZIHILNKjs.watchBlocks.call(void 0, client, args),
492
+ watchBlockNumber: (args) => _chunkPZIHILNKjs.watchBlockNumber.call(void 0, client, args),
493
+ watchContractEvent: (args) => _chunkPZIHILNKjs.watchContractEvent.call(void 0, client, args),
494
+ watchEvent: (args) => _chunkPZIHILNKjs.watchEvent.call(void 0, client, args),
495
+ watchPendingTransactions: (args) => _chunkPZIHILNKjs.watchPendingTransactions.call(void 0, client, args)
496
496
  });
497
497
 
498
498
  // src/clients/decorators/test.ts
499
499
  var testActions = (client) => ({
500
- dropTransaction: (args) => _chunkQJNPIGP5js.dropTransaction.call(void 0, client, args),
501
- getAutomine: () => _chunkQJNPIGP5js.getAutomine.call(void 0, client),
502
- getTxpoolContent: () => _chunkQJNPIGP5js.getTxpoolContent.call(void 0, client),
503
- getTxpoolStatus: () => _chunkQJNPIGP5js.getTxpoolStatus.call(void 0, client),
504
- impersonateAccount: (args) => _chunkQJNPIGP5js.impersonateAccount.call(void 0, client, args),
505
- increaseTime: (args) => _chunkQJNPIGP5js.increaseTime.call(void 0, client, args),
506
- inspectTxpool: () => _chunkQJNPIGP5js.inspectTxpool.call(void 0, client),
507
- mine: (args) => _chunkQJNPIGP5js.mine.call(void 0, client, args),
508
- removeBlockTimestampInterval: () => _chunkQJNPIGP5js.removeBlockTimestampInterval.call(void 0, client),
509
- reset: (args) => _chunkQJNPIGP5js.reset.call(void 0, client, args),
510
- revert: (args) => _chunkQJNPIGP5js.revert.call(void 0, client, args),
511
- sendUnsignedTransaction: (args) => _chunkQJNPIGP5js.sendUnsignedTransaction.call(void 0, client, args),
512
- setAutomine: (args) => _chunkQJNPIGP5js.setAutomine.call(void 0, client, args),
513
- setBalance: (args) => _chunkQJNPIGP5js.setBalance.call(void 0, client, args),
514
- setBlockGasLimit: (args) => _chunkQJNPIGP5js.setBlockGasLimit.call(void 0, client, args),
515
- setBlockTimestampInterval: (args) => _chunkQJNPIGP5js.setBlockTimestampInterval.call(void 0, client, args),
516
- setCode: (args) => _chunkQJNPIGP5js.setCode.call(void 0, client, args),
517
- setCoinbase: (args) => _chunkQJNPIGP5js.setCoinbase.call(void 0, client, args),
518
- setIntervalMining: (args) => _chunkQJNPIGP5js.setIntervalMining.call(void 0, client, args),
519
- setLoggingEnabled: (args) => _chunkQJNPIGP5js.setLoggingEnabled.call(void 0, client, args),
520
- setMinGasPrice: (args) => _chunkQJNPIGP5js.setMinGasPrice.call(void 0, client, args),
521
- setNextBlockBaseFeePerGas: (args) => _chunkQJNPIGP5js.setNextBlockBaseFeePerGas.call(void 0, client, args),
522
- setNextBlockTimestamp: (args) => _chunkQJNPIGP5js.setNextBlockTimestamp.call(void 0, client, args),
523
- setNonce: (args) => _chunkQJNPIGP5js.setNonce.call(void 0, client, args),
524
- setRpcUrl: (args) => _chunkQJNPIGP5js.setRpcUrl.call(void 0, client, args),
525
- setStorageAt: (args) => _chunkQJNPIGP5js.setStorageAt.call(void 0, client, args),
526
- snapshot: () => _chunkQJNPIGP5js.snapshot.call(void 0, client),
527
- stopImpersonatingAccount: (args) => _chunkQJNPIGP5js.stopImpersonatingAccount.call(void 0, client, args)
500
+ dropTransaction: (args) => _chunkPZIHILNKjs.dropTransaction.call(void 0, client, args),
501
+ getAutomine: () => _chunkPZIHILNKjs.getAutomine.call(void 0, client),
502
+ getTxpoolContent: () => _chunkPZIHILNKjs.getTxpoolContent.call(void 0, client),
503
+ getTxpoolStatus: () => _chunkPZIHILNKjs.getTxpoolStatus.call(void 0, client),
504
+ impersonateAccount: (args) => _chunkPZIHILNKjs.impersonateAccount.call(void 0, client, args),
505
+ increaseTime: (args) => _chunkPZIHILNKjs.increaseTime.call(void 0, client, args),
506
+ inspectTxpool: () => _chunkPZIHILNKjs.inspectTxpool.call(void 0, client),
507
+ mine: (args) => _chunkPZIHILNKjs.mine.call(void 0, client, args),
508
+ removeBlockTimestampInterval: () => _chunkPZIHILNKjs.removeBlockTimestampInterval.call(void 0, client),
509
+ reset: (args) => _chunkPZIHILNKjs.reset.call(void 0, client, args),
510
+ revert: (args) => _chunkPZIHILNKjs.revert.call(void 0, client, args),
511
+ sendUnsignedTransaction: (args) => _chunkPZIHILNKjs.sendUnsignedTransaction.call(void 0, client, args),
512
+ setAutomine: (args) => _chunkPZIHILNKjs.setAutomine.call(void 0, client, args),
513
+ setBalance: (args) => _chunkPZIHILNKjs.setBalance.call(void 0, client, args),
514
+ setBlockGasLimit: (args) => _chunkPZIHILNKjs.setBlockGasLimit.call(void 0, client, args),
515
+ setBlockTimestampInterval: (args) => _chunkPZIHILNKjs.setBlockTimestampInterval.call(void 0, client, args),
516
+ setCode: (args) => _chunkPZIHILNKjs.setCode.call(void 0, client, args),
517
+ setCoinbase: (args) => _chunkPZIHILNKjs.setCoinbase.call(void 0, client, args),
518
+ setIntervalMining: (args) => _chunkPZIHILNKjs.setIntervalMining.call(void 0, client, args),
519
+ setLoggingEnabled: (args) => _chunkPZIHILNKjs.setLoggingEnabled.call(void 0, client, args),
520
+ setMinGasPrice: (args) => _chunkPZIHILNKjs.setMinGasPrice.call(void 0, client, args),
521
+ setNextBlockBaseFeePerGas: (args) => _chunkPZIHILNKjs.setNextBlockBaseFeePerGas.call(void 0, client, args),
522
+ setNextBlockTimestamp: (args) => _chunkPZIHILNKjs.setNextBlockTimestamp.call(void 0, client, args),
523
+ setNonce: (args) => _chunkPZIHILNKjs.setNonce.call(void 0, client, args),
524
+ setRpcUrl: (args) => _chunkPZIHILNKjs.setRpcUrl.call(void 0, client, args),
525
+ setStorageAt: (args) => _chunkPZIHILNKjs.setStorageAt.call(void 0, client, args),
526
+ snapshot: () => _chunkPZIHILNKjs.snapshot.call(void 0, client),
527
+ stopImpersonatingAccount: (args) => _chunkPZIHILNKjs.stopImpersonatingAccount.call(void 0, client, args)
528
528
  });
529
529
 
530
530
  // src/clients/decorators/wallet.ts
531
531
  var walletActions = (client) => ({
532
- addChain: (args) => _chunkQJNPIGP5js.addChain.call(void 0, client, args),
533
- deployContract: (args) => _chunkQJNPIGP5js.deployContract.call(void 0, client, args),
534
- getAddresses: () => _chunkQJNPIGP5js.getAddresses.call(void 0, client),
535
- getChainId: () => _chunkQJNPIGP5js.getChainId.call(void 0, client),
536
- getPermissions: () => _chunkQJNPIGP5js.getPermissions.call(void 0, client),
537
- requestAddresses: () => _chunkQJNPIGP5js.requestAddresses.call(void 0, client),
538
- requestPermissions: (args) => _chunkQJNPIGP5js.requestPermissions.call(void 0, client, args),
539
- sendTransaction: (args) => _chunkQJNPIGP5js.sendTransaction.call(void 0, client, args),
540
- signMessage: (args) => _chunkQJNPIGP5js.signMessage.call(void 0, client, args),
541
- switchChain: (args) => _chunkQJNPIGP5js.switchChain.call(void 0, client, args),
542
- watchAsset: (args) => _chunkQJNPIGP5js.watchAsset.call(void 0, client, args),
543
- writeContract: (args) => _chunkQJNPIGP5js.writeContract.call(void 0, client, args)
532
+ addChain: (args) => _chunkPZIHILNKjs.addChain.call(void 0, client, args),
533
+ deployContract: (args) => _chunkPZIHILNKjs.deployContract.call(void 0, client, args),
534
+ getAddresses: () => _chunkPZIHILNKjs.getAddresses.call(void 0, client),
535
+ getChainId: () => _chunkPZIHILNKjs.getChainId.call(void 0, client),
536
+ getPermissions: () => _chunkPZIHILNKjs.getPermissions.call(void 0, client),
537
+ requestAddresses: () => _chunkPZIHILNKjs.requestAddresses.call(void 0, client),
538
+ requestPermissions: (args) => _chunkPZIHILNKjs.requestPermissions.call(void 0, client, args),
539
+ sendTransaction: (args) => _chunkPZIHILNKjs.sendTransaction.call(void 0, client, args),
540
+ signMessage: (args) => _chunkPZIHILNKjs.signMessage.call(void 0, client, args),
541
+ switchChain: (args) => _chunkPZIHILNKjs.switchChain.call(void 0, client, args),
542
+ watchAsset: (args) => _chunkPZIHILNKjs.watchAsset.call(void 0, client, args),
543
+ writeContract: (args) => _chunkPZIHILNKjs.writeContract.call(void 0, client, args)
544
544
  });
545
545
 
546
546
  // src/clients/createPublicClient.ts
@@ -776,5 +776,5 @@ function createWalletClient({
776
776
 
777
777
 
778
778
 
779
- exports.AbiConstructorNotFoundError = _chunkQJNPIGP5js.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkQJNPIGP5js.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkQJNPIGP5js.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkQJNPIGP5js.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkQJNPIGP5js.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkQJNPIGP5js.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkQJNPIGP5js.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkQJNPIGP5js.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkQJNPIGP5js.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkQJNPIGP5js.AbiEventNotFoundError; exports.AbiEventSignatureNotFoundError = _chunkQJNPIGP5js.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkQJNPIGP5js.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkQJNPIGP5js.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkQJNPIGP5js.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkQJNPIGP5js.BaseError; exports.BlockNotFoundError = _chunkQJNPIGP5js.BlockNotFoundError; exports.CallExecutionError = _chunkQJNPIGP5js.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkQJNPIGP5js.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkQJNPIGP5js.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkQJNPIGP5js.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkQJNPIGP5js.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkQJNPIGP5js.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkQJNPIGP5js.DataLengthTooShortError; exports.EstimateGasExecutionError = _chunkQJNPIGP5js.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkQJNPIGP5js.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkQJNPIGP5js.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkQJNPIGP5js.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkQJNPIGP5js.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkQJNPIGP5js.HttpRequestError; exports.InsufficientFundsError = _chunkQJNPIGP5js.InsufficientFundsError; exports.InternalRpcError = _chunkQJNPIGP5js.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkQJNPIGP5js.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkQJNPIGP5js.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkQJNPIGP5js.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkQJNPIGP5js.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkQJNPIGP5js.InvalidAddressError; exports.InvalidArrayError = _chunkQJNPIGP5js.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkQJNPIGP5js.InvalidBytesBooleanError; exports.InvalidDefinitionTypeError = _chunkQJNPIGP5js.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkQJNPIGP5js.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkQJNPIGP5js.InvalidHexValueError; exports.InvalidInputRpcError = _chunkQJNPIGP5js.InvalidInputRpcError; exports.InvalidParamsRpcError = _chunkQJNPIGP5js.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkQJNPIGP5js.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkQJNPIGP5js.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkQJNPIGP5js.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkQJNPIGP5js.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkQJNPIGP5js.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkQJNPIGP5js.NonceMaxValueError; exports.NonceTooHighError = _chunkQJNPIGP5js.NonceTooHighError; exports.NonceTooLowError = _chunkQJNPIGP5js.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkQJNPIGP5js.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkQJNPIGP5js.ParseRpcError; exports.RawContractError = _chunkQJNPIGP5js.RawContractError; exports.RequestError = _chunkQJNPIGP5js.RequestError; exports.ResourceNotFoundRpcError = _chunkQJNPIGP5js.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkQJNPIGP5js.ResourceUnavailableRpcError; exports.RpcError = _chunkQJNPIGP5js.RpcError; exports.RpcRequestError = _chunkQJNPIGP5js.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkQJNPIGP5js.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkQJNPIGP5js.SwitchChainError; exports.TimeoutError = _chunkQJNPIGP5js.TimeoutError; exports.TipAboveFeeCapError = _chunkQJNPIGP5js.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkQJNPIGP5js.TransactionExecutionError; exports.TransactionNotFoundError = _chunkQJNPIGP5js.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkQJNPIGP5js.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkQJNPIGP5js.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkQJNPIGP5js.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkQJNPIGP5js.UnknownNodeError; exports.UnknownRpcError = _chunkQJNPIGP5js.UnknownRpcError; exports.UrlRequiredError = _chunkQJNPIGP5js.UrlRequiredError; exports.UserRejectedRequestError = _chunkQJNPIGP5js.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkQJNPIGP5js.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkQJNPIGP5js.WebSocketRequestError; exports.boolToBytes = _chunkQJNPIGP5js.boolToBytes; exports.boolToHex = _chunkQJNPIGP5js.boolToHex; exports.bytesToBigint = _chunkQJNPIGP5js.bytesToBigint; exports.bytesToBool = _chunkQJNPIGP5js.bytesToBool; exports.bytesToHex = _chunkQJNPIGP5js.bytesToHex; exports.bytesToNumber = _chunkQJNPIGP5js.bytesToNumber; exports.bytesToString = _chunkQJNPIGP5js.bytesToString; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkQJNPIGP5js.decodeAbiParameters; exports.decodeErrorResult = _chunkQJNPIGP5js.decodeErrorResult; exports.decodeEventLog = _chunkQJNPIGP5js.decodeEventLog; exports.decodeFunctionData = _chunkQJNPIGP5js.decodeFunctionData; exports.decodeFunctionResult = _chunkQJNPIGP5js.decodeFunctionResult; exports.defineBlock = _chunkQJNPIGP5js.defineBlock; exports.defineChain = _chunkQJNPIGP5js.defineChain; exports.defineTransaction = _chunkQJNPIGP5js.defineTransaction; exports.defineTransactionReceipt = _chunkQJNPIGP5js.defineTransactionReceipt; exports.defineTransactionRequest = _chunkQJNPIGP5js.defineTransactionRequest; exports.encodeAbiParameters = _chunkQJNPIGP5js.encodeAbiParameters; exports.encodeDeployData = _chunkQJNPIGP5js.encodeDeployData; exports.encodeErrorResult = _chunkQJNPIGP5js.encodeErrorResult; exports.encodeEventTopics = _chunkQJNPIGP5js.encodeEventTopics; exports.encodeFunctionData = _chunkQJNPIGP5js.encodeFunctionData; exports.encodeFunctionResult = _chunkQJNPIGP5js.encodeFunctionResult; exports.encodePacked = _chunkQJNPIGP5js.encodePacked; exports.etherUnits = _chunkQJNPIGP5js.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkQJNPIGP5js.formatBlock; exports.formatEther = _chunkQJNPIGP5js.formatEther; exports.formatGwei = _chunkQJNPIGP5js.formatGwei; exports.formatTransaction = _chunkQJNPIGP5js.formatTransaction; exports.formatTransactionRequest = _chunkQJNPIGP5js.formatTransactionRequest; exports.formatUnits = _chunkQJNPIGP5js.formatUnits; exports.fromBytes = _chunkQJNPIGP5js.fromBytes; exports.fromHex = _chunkQJNPIGP5js.fromHex; exports.fromRlp = _chunkQJNPIGP5js.fromRlp; exports.getAbiItem = _chunkQJNPIGP5js.getAbiItem; exports.getAccount = _chunkQJNPIGP5js.getAccount; exports.getAddress = _chunkQJNPIGP5js.getAddress; exports.getContractAddress = _chunkQJNPIGP5js.getContractAddress; exports.getContractError = _chunkQJNPIGP5js.getContractError; exports.getCreate2Address = _chunkQJNPIGP5js.getCreate2Address; exports.getCreateAddress = _chunkQJNPIGP5js.getCreateAddress; exports.getEventSelector = _chunkQJNPIGP5js.getEventSelector; exports.getFunctionSelector = _chunkQJNPIGP5js.getFunctionSelector; exports.gweiUnits = _chunkQJNPIGP5js.gweiUnits; exports.hexToBigInt = _chunkQJNPIGP5js.hexToBigInt; exports.hexToBool = _chunkQJNPIGP5js.hexToBool; exports.hexToBytes = _chunkQJNPIGP5js.hexToBytes; exports.hexToNumber = _chunkQJNPIGP5js.hexToNumber; exports.hexToString = _chunkQJNPIGP5js.hexToString; exports.http = http; exports.isAddress = _chunkQJNPIGP5js.isAddress; exports.isAddressEqual = _chunkQJNPIGP5js.isAddressEqual; exports.isBytes = _chunkQJNPIGP5js.isBytes; exports.isHex = _chunkQJNPIGP5js.isHex; exports.keccak256 = _chunkQJNPIGP5js.keccak256; exports.labelhash = _chunkHCZO3OIXjs.labelhash; exports.multicall3Abi = _chunkQJNPIGP5js.multicall3Abi; exports.namehash = _chunkHCZO3OIXjs.namehash; exports.numberToBytes = _chunkQJNPIGP5js.numberToBytes; exports.numberToHex = _chunkQJNPIGP5js.numberToHex; exports.pad = _chunkQJNPIGP5js.pad; exports.padBytes = _chunkQJNPIGP5js.padBytes; exports.padHex = _chunkQJNPIGP5js.padHex; exports.parseAbi = _chunkQJNPIGP5js.parseAbi; exports.parseAbiItem = _chunkQJNPIGP5js.parseAbiItem; exports.parseAbiParameter = _chunkQJNPIGP5js.parseAbiParameter; exports.parseAbiParameters = _chunkQJNPIGP5js.parseAbiParameters; exports.parseEther = _chunkQJNPIGP5js.parseEther; exports.parseGwei = _chunkQJNPIGP5js.parseGwei; exports.parseUnits = _chunkQJNPIGP5js.parseUnits; exports.size = _chunkQJNPIGP5js.size; exports.slice = _chunkQJNPIGP5js.slice; exports.sliceBytes = _chunkQJNPIGP5js.sliceBytes; exports.sliceHex = _chunkQJNPIGP5js.sliceHex; exports.stringToBytes = _chunkQJNPIGP5js.stringToBytes; exports.stringToHex = _chunkQJNPIGP5js.stringToHex; exports.stringify = _chunkQJNPIGP5js.stringify; exports.toBytes = _chunkQJNPIGP5js.toBytes; exports.toHex = _chunkQJNPIGP5js.toHex; exports.toRlp = _chunkQJNPIGP5js.toRlp; exports.transactionType = _chunkQJNPIGP5js.transactionType; exports.trim = _chunkQJNPIGP5js.trim; exports.webSocket = webSocket; exports.weiUnits = _chunkQJNPIGP5js.weiUnits;
779
+ exports.AbiConstructorNotFoundError = _chunkPZIHILNKjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkPZIHILNKjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkPZIHILNKjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkPZIHILNKjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkPZIHILNKjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkPZIHILNKjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkPZIHILNKjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkPZIHILNKjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkPZIHILNKjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkPZIHILNKjs.AbiEventNotFoundError; exports.AbiEventSignatureNotFoundError = _chunkPZIHILNKjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkPZIHILNKjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkPZIHILNKjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkPZIHILNKjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkPZIHILNKjs.BaseError; exports.BlockNotFoundError = _chunkPZIHILNKjs.BlockNotFoundError; exports.CallExecutionError = _chunkPZIHILNKjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkPZIHILNKjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkPZIHILNKjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkPZIHILNKjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkPZIHILNKjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkPZIHILNKjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkPZIHILNKjs.DataLengthTooShortError; exports.EstimateGasExecutionError = _chunkPZIHILNKjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkPZIHILNKjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkPZIHILNKjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkPZIHILNKjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkPZIHILNKjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkPZIHILNKjs.HttpRequestError; exports.InsufficientFundsError = _chunkPZIHILNKjs.InsufficientFundsError; exports.InternalRpcError = _chunkPZIHILNKjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkPZIHILNKjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkPZIHILNKjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkPZIHILNKjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkPZIHILNKjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkPZIHILNKjs.InvalidAddressError; exports.InvalidArrayError = _chunkPZIHILNKjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkPZIHILNKjs.InvalidBytesBooleanError; exports.InvalidDefinitionTypeError = _chunkPZIHILNKjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkPZIHILNKjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkPZIHILNKjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkPZIHILNKjs.InvalidInputRpcError; exports.InvalidParamsRpcError = _chunkPZIHILNKjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkPZIHILNKjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkPZIHILNKjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkPZIHILNKjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkPZIHILNKjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkPZIHILNKjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkPZIHILNKjs.NonceMaxValueError; exports.NonceTooHighError = _chunkPZIHILNKjs.NonceTooHighError; exports.NonceTooLowError = _chunkPZIHILNKjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkPZIHILNKjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkPZIHILNKjs.ParseRpcError; exports.RawContractError = _chunkPZIHILNKjs.RawContractError; exports.RequestError = _chunkPZIHILNKjs.RequestError; exports.ResourceNotFoundRpcError = _chunkPZIHILNKjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkPZIHILNKjs.ResourceUnavailableRpcError; exports.RpcError = _chunkPZIHILNKjs.RpcError; exports.RpcRequestError = _chunkPZIHILNKjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkPZIHILNKjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkPZIHILNKjs.SwitchChainError; exports.TimeoutError = _chunkPZIHILNKjs.TimeoutError; exports.TipAboveFeeCapError = _chunkPZIHILNKjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkPZIHILNKjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkPZIHILNKjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkPZIHILNKjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkPZIHILNKjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkPZIHILNKjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkPZIHILNKjs.UnknownNodeError; exports.UnknownRpcError = _chunkPZIHILNKjs.UnknownRpcError; exports.UrlRequiredError = _chunkPZIHILNKjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkPZIHILNKjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkPZIHILNKjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkPZIHILNKjs.WebSocketRequestError; exports.boolToBytes = _chunkPZIHILNKjs.boolToBytes; exports.boolToHex = _chunkPZIHILNKjs.boolToHex; exports.bytesToBigint = _chunkPZIHILNKjs.bytesToBigint; exports.bytesToBool = _chunkPZIHILNKjs.bytesToBool; exports.bytesToHex = _chunkPZIHILNKjs.bytesToHex; exports.bytesToNumber = _chunkPZIHILNKjs.bytesToNumber; exports.bytesToString = _chunkPZIHILNKjs.bytesToString; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkPZIHILNKjs.decodeAbiParameters; exports.decodeErrorResult = _chunkPZIHILNKjs.decodeErrorResult; exports.decodeEventLog = _chunkPZIHILNKjs.decodeEventLog; exports.decodeFunctionData = _chunkPZIHILNKjs.decodeFunctionData; exports.decodeFunctionResult = _chunkPZIHILNKjs.decodeFunctionResult; exports.defineBlock = _chunkPZIHILNKjs.defineBlock; exports.defineChain = _chunkPZIHILNKjs.defineChain; exports.defineTransaction = _chunkPZIHILNKjs.defineTransaction; exports.defineTransactionReceipt = _chunkPZIHILNKjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkPZIHILNKjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkPZIHILNKjs.encodeAbiParameters; exports.encodeDeployData = _chunkPZIHILNKjs.encodeDeployData; exports.encodeErrorResult = _chunkPZIHILNKjs.encodeErrorResult; exports.encodeEventTopics = _chunkPZIHILNKjs.encodeEventTopics; exports.encodeFunctionData = _chunkPZIHILNKjs.encodeFunctionData; exports.encodeFunctionResult = _chunkPZIHILNKjs.encodeFunctionResult; exports.encodePacked = _chunkPZIHILNKjs.encodePacked; exports.etherUnits = _chunkPZIHILNKjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkPZIHILNKjs.formatBlock; exports.formatEther = _chunkPZIHILNKjs.formatEther; exports.formatGwei = _chunkPZIHILNKjs.formatGwei; exports.formatTransaction = _chunkPZIHILNKjs.formatTransaction; exports.formatTransactionRequest = _chunkPZIHILNKjs.formatTransactionRequest; exports.formatUnits = _chunkPZIHILNKjs.formatUnits; exports.fromBytes = _chunkPZIHILNKjs.fromBytes; exports.fromHex = _chunkPZIHILNKjs.fromHex; exports.fromRlp = _chunkPZIHILNKjs.fromRlp; exports.getAbiItem = _chunkPZIHILNKjs.getAbiItem; exports.getAccount = _chunkPZIHILNKjs.getAccount; exports.getAddress = _chunkPZIHILNKjs.getAddress; exports.getContractAddress = _chunkPZIHILNKjs.getContractAddress; exports.getContractError = _chunkPZIHILNKjs.getContractError; exports.getCreate2Address = _chunkPZIHILNKjs.getCreate2Address; exports.getCreateAddress = _chunkPZIHILNKjs.getCreateAddress; exports.getEventSelector = _chunkPZIHILNKjs.getEventSelector; exports.getFunctionSelector = _chunkPZIHILNKjs.getFunctionSelector; exports.gweiUnits = _chunkPZIHILNKjs.gweiUnits; exports.hexToBigInt = _chunkPZIHILNKjs.hexToBigInt; exports.hexToBool = _chunkPZIHILNKjs.hexToBool; exports.hexToBytes = _chunkPZIHILNKjs.hexToBytes; exports.hexToNumber = _chunkPZIHILNKjs.hexToNumber; exports.hexToString = _chunkPZIHILNKjs.hexToString; exports.http = http; exports.isAddress = _chunkPZIHILNKjs.isAddress; exports.isAddressEqual = _chunkPZIHILNKjs.isAddressEqual; exports.isBytes = _chunkPZIHILNKjs.isBytes; exports.isHex = _chunkPZIHILNKjs.isHex; exports.keccak256 = _chunkPZIHILNKjs.keccak256; exports.labelhash = _chunkNM6QXEYFjs.labelhash; exports.multicall3Abi = _chunkPZIHILNKjs.multicall3Abi; exports.namehash = _chunkNM6QXEYFjs.namehash; exports.numberToBytes = _chunkPZIHILNKjs.numberToBytes; exports.numberToHex = _chunkPZIHILNKjs.numberToHex; exports.pad = _chunkPZIHILNKjs.pad; exports.padBytes = _chunkPZIHILNKjs.padBytes; exports.padHex = _chunkPZIHILNKjs.padHex; exports.parseAbi = _chunkPZIHILNKjs.parseAbi; exports.parseAbiItem = _chunkPZIHILNKjs.parseAbiItem; exports.parseAbiParameter = _chunkPZIHILNKjs.parseAbiParameter; exports.parseAbiParameters = _chunkPZIHILNKjs.parseAbiParameters; exports.parseEther = _chunkPZIHILNKjs.parseEther; exports.parseGwei = _chunkPZIHILNKjs.parseGwei; exports.parseUnits = _chunkPZIHILNKjs.parseUnits; exports.size = _chunkPZIHILNKjs.size; exports.slice = _chunkPZIHILNKjs.slice; exports.sliceBytes = _chunkPZIHILNKjs.sliceBytes; exports.sliceHex = _chunkPZIHILNKjs.sliceHex; exports.stringToBytes = _chunkPZIHILNKjs.stringToBytes; exports.stringToHex = _chunkPZIHILNKjs.stringToHex; exports.stringify = _chunkPZIHILNKjs.stringify; exports.toBytes = _chunkPZIHILNKjs.toBytes; exports.toHex = _chunkPZIHILNKjs.toHex; exports.toRlp = _chunkPZIHILNKjs.toRlp; exports.transactionType = _chunkPZIHILNKjs.transactionType; exports.trim = _chunkPZIHILNKjs.trim; exports.webSocket = webSocket; exports.weiUnits = _chunkPZIHILNKjs.weiUnits;
780
780
  //# sourceMappingURL=index.js.map
package/dist/index.mjs CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  getEnsName,
4
4
  labelhash,
5
5
  namehash
6
- } from "./chunk-APZXOA44.mjs";
6
+ } from "./chunk-N5WJ5FTW.mjs";
7
7
  import {
8
8
  AbiConstructorNotFoundError,
9
9
  AbiConstructorParamsNotFoundError,
@@ -234,7 +234,7 @@ import {
234
234
  watchPendingTransactions,
235
235
  weiUnits,
236
236
  writeContract
237
- } from "./chunk-I7AINPMM.mjs";
237
+ } from "./chunk-HDZRBHNX.mjs";
238
238
 
239
239
  // src/clients/transports/createTransport.ts
240
240
  function createTransport({
@@ -1,7 +1,7 @@
1
- import { B as ByteArray, H as Hex, C as Chain, a as Hash, f as BlockTag, a4 as EventDefinition } from './chain-819c7ff7.js';
2
- import { L as LocalAccount, A as Account, C as CallParameters, E as EstimateGasParameters, S as SendTransactionParameters } from './createPublicClient-e2eae0fc.js';
1
+ import { B as ByteArray, H as Hex, C as Chain, a as Hash, f as BlockTag, a4 as EventDefinition } from './chain-d64be356.js';
2
+ import { L as LocalAccount, A as Account, C as CallParameters, E as EstimateGasParameters, S as SendTransactionParameters } from './createPublicClient-c13b17f9.js';
3
3
  import { Address, Abi } from 'abitype';
4
- import { a as DecodeErrorResultReturnType } from './encodeFunctionResult-9eb553ce.js';
4
+ import { a as DecodeErrorResultReturnType } from './encodeFunctionResult-12963e93.js';
5
5
  import WebSocket from 'isomorphic-ws';
6
6
 
7
7
  declare function getAccount(account: Address | Omit<LocalAccount, 'type'>): Account;
package/dist/public.d.ts CHANGED
@@ -1,11 +1,10 @@
1
- import { P as PublicClient, W as WalletClient } from './createPublicClient-e2eae0fc.js';
2
- export { C as CallParameters, at as CallReturnType, au as CreateBlockFilterReturnType, av as CreateEventFilterParameters, aw as CreateEventFilterReturnType, ax as CreatePendingTransactionFilterReturnType, E as EstimateGasParameters, ay as EstimateGasReturnType, az as GetBalanceParameters, aA as GetBalanceReturnType, aC as GetBlockNumberParameters, aD as GetBlockNumberReturnType, aB as GetBlockParameters, aE as GetBlockReturnType, aF as GetBlockTransactionCountParameters, aG as GetBlockTransactionCountReturnType, G as GetBytecodeParameters, q as GetBytecodeReturnType, aH as GetFeeHistoryParameters, aI as GetFeeHistoryReturnType, aJ as GetFilterChangesParameters, aK as GetFilterChangesReturnType, aL as GetFilterLogsParameters, aM as GetFilterLogsReturnType, aN as GetGasPriceReturnType, aP as GetTransactionConfirmationsParameters, aQ as GetTransactionConfirmationsReturnType, aO as GetTransactionParameters, aR as GetTransactionReceiptParameters, aS as GetTransactionReceiptReturnType, aT as GetTransactionReturnType, aU as OnBlock, aV as OnBlockNumberFn, aW as OnBlockNumberParameter, aX as OnBlockParameter, O as OnLogsFn, u as OnLogsParameter, aY as OnTransactionsFn, aZ as OnTransactionsParameter, a_ as ReplacementReason, a$ as ReplacementReturnType, b0 as UninstallFilterParameters, b1 as UninstallFilterReturnType, b2 as WaitForTransactionReceiptParameters, b3 as WaitForTransactionReceiptReturnType, b4 as WatchBlockNumberParameters, b5 as WatchBlocksParameters, b6 as WatchPendingTransactionsParameters, a4 as call, a5 as createBlockFilter, a6 as createEventFilter, a7 as createPendingTransactionFilter, a8 as estimateGas, a9 as getBalance, aa as getBlock, ab as getBlockNumber, ac as getBlockNumberCache, ad as getBlockTransactionCount, H as getBytecode, ae as getChainId, af as getFeeHistory, ag as getFilterChanges, ah as getFilterLogs, aj as getGasPrice, ai as getLogs, ak as getTransaction, al as getTransactionConfirmations, am as getTransactionReceipt, an as uninstallFilter, ao as waitForTransactionReceipt, ap as watchBlockNumber, aq as watchBlocks, ar as watchEvent, as as watchPendingTransactions } from './createPublicClient-e2eae0fc.js';
3
- import { f as BlockTag } from './chain-819c7ff7.js';
1
+ import { P as PublicClient, W as WalletClient } from './createPublicClient-c13b17f9.js';
2
+ export { C as CallParameters, at as CallReturnType, au as CreateBlockFilterReturnType, av as CreateEventFilterParameters, aw as CreateEventFilterReturnType, ax as CreatePendingTransactionFilterReturnType, E as EstimateGasParameters, ay as EstimateGasReturnType, az as GetBalanceParameters, aA as GetBalanceReturnType, aC as GetBlockNumberParameters, aD as GetBlockNumberReturnType, aB as GetBlockParameters, aE as GetBlockReturnType, aF as GetBlockTransactionCountParameters, aG as GetBlockTransactionCountReturnType, G as GetBytecodeParameters, q as GetBytecodeReturnType, aH as GetFeeHistoryParameters, aI as GetFeeHistoryReturnType, aJ as GetFilterChangesParameters, aK as GetFilterChangesReturnType, aL as GetFilterLogsParameters, aM as GetFilterLogsReturnType, aN as GetGasPriceReturnType, aP as GetTransactionConfirmationsParameters, aQ as GetTransactionConfirmationsReturnType, aO as GetTransactionParameters, aR as GetTransactionReceiptParameters, aS as GetTransactionReceiptReturnType, aT as GetTransactionReturnType, aU as OnBlock, aV as OnBlockNumberFn, aW as OnBlockNumberParameter, aX as OnBlockParameter, O as OnLogsFn, u as OnLogsParameter, aY as OnTransactionsFn, aZ as OnTransactionsParameter, a_ as ReplacementReason, a$ as ReplacementReturnType, b0 as UninstallFilterParameters, b1 as UninstallFilterReturnType, b2 as WaitForTransactionReceiptParameters, b3 as WaitForTransactionReceiptReturnType, b4 as WatchBlockNumberParameters, b5 as WatchBlocksParameters, b6 as WatchPendingTransactionsParameters, a4 as call, a5 as createBlockFilter, a6 as createEventFilter, a7 as createPendingTransactionFilter, a8 as estimateGas, a9 as getBalance, aa as getBlock, ab as getBlockNumber, ac as getBlockNumberCache, ad as getBlockTransactionCount, H as getBytecode, ae as getChainId, af as getFeeHistory, ag as getFilterChanges, ah as getFilterLogs, aj as getGasPrice, ai as getLogs, ak as getTransaction, al as getTransactionConfirmations, am as getTransactionReceipt, an as uninstallFilter, ao as waitForTransactionReceipt, ap as watchBlockNumber, aq as watchBlocks, ar as watchEvent, as as watchPendingTransactions } from './createPublicClient-c13b17f9.js';
3
+ import { f as BlockTag } from './chain-d64be356.js';
4
4
  import { Address } from 'abitype';
5
- import './eip1193-a882d1b8.js';
6
- import './createClient-a47ae6f5.js';
5
+ import './eip1193-029d52f0.js';
6
+ import './createClient-8575dcd6.js';
7
7
  import '@wagmi/chains';
8
- import 'ethers@6/types/providers';
9
8
 
10
9
  type GetTransactionCountParameters = {
11
10
  /** The account address. */