viem 0.3.0-main.20230404T103902 → 0.3.0-main.20230404T105101

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 (38) hide show
  1. package/dist/abi.js +2 -2
  2. package/dist/abi.mjs +1 -1
  3. package/dist/accounts/index.js +17 -17
  4. package/dist/accounts/index.mjs +2 -2
  5. package/dist/chains.js +89 -89
  6. package/dist/chains.mjs +1 -1
  7. package/dist/{chunk-ZEA2O6V2.mjs → chunk-BZBBEU5Z.mjs} +2 -2
  8. package/dist/chunk-BZBBEU5Z.mjs.map +1 -0
  9. package/dist/{chunk-VOEF3A53.mjs → chunk-DCXATNIZ.mjs} +2 -2
  10. package/dist/{chunk-NNNKKACJ.js → chunk-DHKJBAMW.js} +6 -6
  11. package/dist/{chunk-QISMTRQF.js → chunk-IAWAV7EZ.js} +2 -2
  12. package/dist/chunk-IAWAV7EZ.js.map +1 -0
  13. package/dist/contract.d.ts +2 -1
  14. package/dist/contract.js +2 -2
  15. package/dist/contract.mjs +1 -1
  16. package/dist/{encodeFunctionResult-c5185b98.d.ts → encodeFunctionResult-b4670cf7.d.ts} +12 -8
  17. package/dist/ens.js +2 -2
  18. package/dist/ens.mjs +1 -1
  19. package/dist/ethers.js +4 -4
  20. package/dist/ethers.mjs +2 -2
  21. package/dist/index.d.ts +4 -3
  22. package/dist/index.js +94 -94
  23. package/dist/index.mjs +1 -1
  24. package/dist/{parseGwei-280a3ff7.d.ts → parseGwei-4dcde2b8.d.ts} +1 -1
  25. package/dist/public.js +2 -2
  26. package/dist/public.mjs +1 -1
  27. package/dist/test.js +2 -2
  28. package/dist/test.mjs +1 -1
  29. package/dist/utils/index.d.ts +4 -3
  30. package/dist/utils/index.js +2 -2
  31. package/dist/utils/index.mjs +1 -1
  32. package/dist/wallet.js +2 -2
  33. package/dist/wallet.mjs +1 -1
  34. package/package.json +1 -1
  35. package/dist/chunk-QISMTRQF.js.map +0 -1
  36. package/dist/chunk-ZEA2O6V2.mjs.map +0 -1
  37. /package/dist/{chunk-VOEF3A53.mjs.map → chunk-DCXATNIZ.mjs.map} +0 -0
  38. /package/dist/{chunk-NNNKKACJ.js.map → chunk-DHKJBAMW.js.map} +0 -0
@@ -1,10 +1,11 @@
1
1
  export { D as DecodeAbiParametersReturnType, E as EncodeAbiParametersReturnType, G as GetAbiItemParameters, d as decodeAbiParameters, e as encodeAbiParameters, g as getAbiItem } from './getAbiItem-bfba73d1.js';
2
- 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-c5185b98.js';
2
+ 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-b4670cf7.js';
3
3
  export { a as formatAbiItem, f as formatAbiItemWithArgs } from './formatAbiItem-56dff508.js';
4
4
  export { C as CreateContractEventFilterParameters, f as CreateContractEventFilterReturnType, D as DeployContractParameters, o as DeployContractReturnType, E as EstimateContractGasParameters, b as EstimateContractGasReturnType, z as GetBytecodeParameters, B as GetBytecodeReturnType, $ as GetStorageAtParameters, a0 as GetStorageAtReturnType, a9 as MulticallParameters, aa as MulticallReturnType, af as OnLogsFn, ag as OnLogsParameter, R as ReadContractParameters, a as ReadContractReturnType, S as SimulateContractParameters, c as SimulateContractReturnType, g as WatchContractEventParameters, d as WriteContractParameters, e as WriteContractReturnType, b4 as createContractEventFilter, bc as deployContract, b5 as estimateContractGas, b6 as getBytecode, b7 as getStorageAt, b8 as multicall, b9 as readContract, ba as simulateContract, bb as watchContractEvent, bd as writeContract } from './getEnsResolver-ce85735b.js';
5
5
  import 'abitype';
6
6
  import './chain-5507c6f0.js';
7
7
  import '@wagmi/chains';
8
+ import 'abitype/dist/abi-7aa1f183';
8
9
  import './createTransport-21a0d2b3.js';
9
10
  import './eip1193-2f3a9cd2.js';
10
11
  import './typedData-46b4d81f.js';
package/dist/contract.js CHANGED
@@ -23,7 +23,7 @@
23
23
 
24
24
 
25
25
 
26
- var _chunkQISMTRQFjs = require('./chunk-QISMTRQF.js');
26
+ var _chunkIAWAV7EZjs = require('./chunk-IAWAV7EZ.js');
27
27
 
28
28
 
29
29
 
@@ -49,5 +49,5 @@ var _chunkQISMTRQFjs = require('./chunk-QISMTRQF.js');
49
49
 
50
50
 
51
51
 
52
- exports.createContractEventFilter = _chunkQISMTRQFjs.createContractEventFilter; exports.decodeAbiParameters = _chunkQISMTRQFjs.decodeAbiParameters; exports.decodeErrorResult = _chunkQISMTRQFjs.decodeErrorResult; exports.decodeEventLog = _chunkQISMTRQFjs.decodeEventLog; exports.decodeFunctionData = _chunkQISMTRQFjs.decodeFunctionData; exports.decodeFunctionResult = _chunkQISMTRQFjs.decodeFunctionResult; exports.deployContract = _chunkQISMTRQFjs.deployContract; exports.encodeAbiParameters = _chunkQISMTRQFjs.encodeAbiParameters; exports.encodeDeployData = _chunkQISMTRQFjs.encodeDeployData; exports.encodeErrorResult = _chunkQISMTRQFjs.encodeErrorResult; exports.encodeEventTopics = _chunkQISMTRQFjs.encodeEventTopics; exports.encodeFunctionData = _chunkQISMTRQFjs.encodeFunctionData; exports.encodeFunctionResult = _chunkQISMTRQFjs.encodeFunctionResult; exports.estimateContractGas = _chunkQISMTRQFjs.estimateContractGas; exports.formatAbiItem = _chunkQISMTRQFjs.formatAbiItem; exports.formatAbiItemWithArgs = _chunkQISMTRQFjs.formatAbiItemWithArgs; exports.getAbiItem = _chunkQISMTRQFjs.getAbiItem; exports.getBytecode = _chunkQISMTRQFjs.getBytecode; exports.getStorageAt = _chunkQISMTRQFjs.getStorageAt; exports.multicall = _chunkQISMTRQFjs.multicall; exports.readContract = _chunkQISMTRQFjs.readContract; exports.simulateContract = _chunkQISMTRQFjs.simulateContract; exports.watchContractEvent = _chunkQISMTRQFjs.watchContractEvent; exports.writeContract = _chunkQISMTRQFjs.writeContract;
52
+ exports.createContractEventFilter = _chunkIAWAV7EZjs.createContractEventFilter; exports.decodeAbiParameters = _chunkIAWAV7EZjs.decodeAbiParameters; exports.decodeErrorResult = _chunkIAWAV7EZjs.decodeErrorResult; exports.decodeEventLog = _chunkIAWAV7EZjs.decodeEventLog; exports.decodeFunctionData = _chunkIAWAV7EZjs.decodeFunctionData; exports.decodeFunctionResult = _chunkIAWAV7EZjs.decodeFunctionResult; exports.deployContract = _chunkIAWAV7EZjs.deployContract; exports.encodeAbiParameters = _chunkIAWAV7EZjs.encodeAbiParameters; exports.encodeDeployData = _chunkIAWAV7EZjs.encodeDeployData; exports.encodeErrorResult = _chunkIAWAV7EZjs.encodeErrorResult; exports.encodeEventTopics = _chunkIAWAV7EZjs.encodeEventTopics; exports.encodeFunctionData = _chunkIAWAV7EZjs.encodeFunctionData; exports.encodeFunctionResult = _chunkIAWAV7EZjs.encodeFunctionResult; exports.estimateContractGas = _chunkIAWAV7EZjs.estimateContractGas; exports.formatAbiItem = _chunkIAWAV7EZjs.formatAbiItem; exports.formatAbiItemWithArgs = _chunkIAWAV7EZjs.formatAbiItemWithArgs; exports.getAbiItem = _chunkIAWAV7EZjs.getAbiItem; exports.getBytecode = _chunkIAWAV7EZjs.getBytecode; exports.getStorageAt = _chunkIAWAV7EZjs.getStorageAt; exports.multicall = _chunkIAWAV7EZjs.multicall; exports.readContract = _chunkIAWAV7EZjs.readContract; exports.simulateContract = _chunkIAWAV7EZjs.simulateContract; exports.watchContractEvent = _chunkIAWAV7EZjs.watchContractEvent; exports.writeContract = _chunkIAWAV7EZjs.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-ZEA2O6V2.mjs";
26
+ } from "./chunk-BZBBEU5Z.mjs";
27
27
  export {
28
28
  createContractEventFilter,
29
29
  decodeAbiParameters,
@@ -1,5 +1,6 @@
1
- import { Abi, Narrow } from 'abitype';
2
- import { H as Hex, A as AbiItem, t as InferEventName, q as GetEventArgsFromTopics, u as InferFunctionName, r as GetFunctionArgs, k as ContractFunctionResult, G as GetConstructorArgs, s as InferErrorName, o as GetErrorArgs, p as GetEventArgs } from './chain-5507c6f0.js';
1
+ import { Abi, Narrow, ExtractAbiFunctionNames } from 'abitype';
2
+ import { H as Hex, A as AbiItem, t as InferEventName, q as GetEventArgsFromTopics, r as GetFunctionArgs, u as InferFunctionName, k as ContractFunctionResult, G as GetConstructorArgs, s as InferErrorName, o as GetErrorArgs, p as GetEventArgs } from './chain-5507c6f0.js';
3
+ import * as abitype_dist_abi_7aa1f183 from 'abitype/dist/abi-7aa1f183';
3
4
 
4
5
  type DecodeErrorResultParameters = {
5
6
  abi?: Abi;
@@ -23,14 +24,17 @@ type DecodeEventLogReturnType<TAbi extends Abi | readonly unknown[] = Abi, TEven
23
24
  } & GetEventArgsFromTopics<TAbi, TEventName, TTopics, TData>;
24
25
  declare function decodeEventLog<TAbi extends Abi | readonly unknown[], TEventName extends string, TTopics extends Hex[], TData extends Hex | undefined = undefined>({ abi, data, topics, }: DecodeEventLogParameters<TAbi, TEventName, TTopics, TData>): DecodeEventLogReturnType<TAbi, TEventName, TTopics, TData>;
25
26
 
26
- type DecodeFunctionDataParameters = {
27
- abi: Abi | readonly unknown[];
27
+ type DecodeFunctionDataParameters<TAbi extends Abi | readonly unknown[] = Abi> = {
28
+ abi: TAbi;
28
29
  data: Hex;
29
30
  };
30
- declare function decodeFunctionData({ abi, data, }: DecodeFunctionDataParameters): {
31
- functionName: string;
32
- args: readonly unknown[] | undefined;
33
- };
31
+ type DecodeFunctionDataReturnType<TAbi extends Abi | readonly unknown[] = Abi, _FunctionNames extends string = TAbi extends Abi ? Abi extends TAbi ? string : ExtractAbiFunctionNames<TAbi> : string> = {
32
+ [TName in _FunctionNames]: {
33
+ args: GetFunctionArgs<TAbi, TName>['args'];
34
+ functionName: TName;
35
+ };
36
+ }[_FunctionNames];
37
+ declare function decodeFunctionData<TAbi extends Abi | readonly unknown[]>({ abi, data, }: DecodeFunctionDataParameters<TAbi>): DecodeFunctionDataReturnType<TAbi, TAbi extends Abi ? Abi extends TAbi ? string : ExtractAbiFunctionNames<TAbi, abitype_dist_abi_7aa1f183.m> : string>;
34
38
 
35
39
  type DecodeFunctionResultParameters<TAbi extends Abi | readonly unknown[] = Abi, TFunctionName extends string = string> = {
36
40
  abi: Narrow<TAbi>;
package/dist/ens.js CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
 
8
8
 
9
- var _chunkQISMTRQFjs = require('./chunk-QISMTRQF.js');
9
+ var _chunkIAWAV7EZjs = require('./chunk-IAWAV7EZ.js');
10
10
 
11
11
  // src/utils/ens/normalize.ts
12
12
  var _idnauts46hx = require('idna-uts46-hx'); var _idnauts46hx2 = _interopRequireDefault(_idnauts46hx);
@@ -22,5 +22,5 @@ function normalize(name) {
22
22
 
23
23
 
24
24
 
25
- exports.getEnsAddress = _chunkQISMTRQFjs.getEnsAddress; exports.getEnsAvatar = _chunkQISMTRQFjs.getEnsAvatar; exports.getEnsName = _chunkQISMTRQFjs.getEnsName; exports.getEnsResolver = _chunkQISMTRQFjs.getEnsResolver; exports.getEnsText = _chunkQISMTRQFjs.getEnsText; exports.labelhash = _chunkQISMTRQFjs.labelhash; exports.namehash = _chunkQISMTRQFjs.namehash; exports.normalize = normalize;
25
+ exports.getEnsAddress = _chunkIAWAV7EZjs.getEnsAddress; exports.getEnsAvatar = _chunkIAWAV7EZjs.getEnsAvatar; exports.getEnsName = _chunkIAWAV7EZjs.getEnsName; exports.getEnsResolver = _chunkIAWAV7EZjs.getEnsResolver; exports.getEnsText = _chunkIAWAV7EZjs.getEnsText; exports.labelhash = _chunkIAWAV7EZjs.labelhash; exports.namehash = _chunkIAWAV7EZjs.namehash; exports.normalize = normalize;
26
26
  //# sourceMappingURL=ens.js.map
package/dist/ens.mjs CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  getEnsText,
7
7
  labelhash,
8
8
  namehash
9
- } from "./chunk-ZEA2O6V2.mjs";
9
+ } from "./chunk-BZBBEU5Z.mjs";
10
10
 
11
11
  // src/utils/ens/normalize.ts
12
12
  import uts46 from "idna-uts46-hx";
package/dist/ethers.js CHANGED
@@ -1,15 +1,15 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkNNNKKACJjs = require('./chunk-NNNKKACJ.js');
3
+ var _chunkDHKJBAMWjs = require('./chunk-DHKJBAMW.js');
4
4
 
5
5
 
6
- var _chunkQISMTRQFjs = require('./chunk-QISMTRQF.js');
6
+ var _chunkIAWAV7EZjs = require('./chunk-IAWAV7EZ.js');
7
7
 
8
8
  // src/adapters/ethers.ts
9
- var ethersWalletToAccount = (wallet) => _chunkNNNKKACJjs.toAccount.call(void 0, {
9
+ var ethersWalletToAccount = (wallet) => _chunkDHKJBAMWjs.toAccount.call(void 0, {
10
10
  address: wallet.address,
11
11
  async signMessage({ message }) {
12
- return await wallet.signMessage(_chunkQISMTRQFjs.toBytes.call(void 0, message));
12
+ return await wallet.signMessage(_chunkIAWAV7EZjs.toBytes.call(void 0, message));
13
13
  },
14
14
  async signTransaction(txn) {
15
15
  return await wallet.signTransaction({
package/dist/ethers.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  toAccount
3
- } from "./chunk-VOEF3A53.mjs";
3
+ } from "./chunk-DCXATNIZ.mjs";
4
4
  import {
5
5
  toBytes
6
- } from "./chunk-ZEA2O6V2.mjs";
6
+ } from "./chunk-BZBBEU5Z.mjs";
7
7
 
8
8
  // src/adapters/ethers.ts
9
9
  var ethersWalletToAccount = (wallet) => toAccount({
package/dist/index.d.ts CHANGED
@@ -2,8 +2,8 @@ import { P as PublicClient, W as WalletClient, R as ReadContractParameters, a as
2
2
  export { A as AddChainParameters, aN as AssetGateway, aO as AssetGatewayUrls, aU as BlockFormatter, i as CallParameters, j as CallReturnType, k as CreateBlockFilterReturnType, C as CreateContractEventFilterParameters, f as CreateContractEventFilterReturnType, l as CreateEventFilterParameters, m as CreateEventFilterReturnType, n as CreatePendingTransactionFilterReturnType, D as DeployContractParameters, o as DeployContractReturnType, p as EstimateGasParameters, q as EstimateGasReturnType, aV as FormattedBlock, aW as FormattedTransactionReceipt, aX as FormattedTransactionRequest, G as GetAddressesReturnType, r as GetBalanceParameters, s as GetBalanceReturnType, t as GetBlockNumberParameters, u as GetBlockNumberReturnType, v as GetBlockParameters, w as GetBlockReturnType, x as GetBlockTransactionCountParameters, y as GetBlockTransactionCountReturnType, z as GetBytecodeParameters, B as GetBytecodeReturnType, F as GetChainIdReturnType, H as GetEnsAddressParameters, I as GetEnsAddressReturnType, J as GetEnsNameParameters, K as GetEnsNameReturnType, L as GetEnsResolverParameters, M as GetEnsResolverReturnType, N as GetFeeHistoryParameters, O as GetFeeHistoryReturnType, Q as GetFilterChangesParameters, T as GetFilterChangesReturnType, U as GetFilterLogsParameters, V as GetFilterLogsReturnType, X as GetGasPriceReturnType, Y as GetLogsParameters, Z as GetLogsReturnType, _ as GetPermissionsReturnType, $ as GetStorageAtParameters, a0 as GetStorageAtReturnType, a1 as GetTransactionConfirmationsParameters, a3 as GetTransactionConfirmationsReturnType, a2 as GetTransactionCountParameters, a4 as GetTransactionCountReturnType, a5 as GetTransactionParameters, a6 as GetTransactionReceiptParameters, a7 as GetTransactionReceiptReturnType, a8 as GetTransactionReturnType, aP as GetTransportConfig, aQ as MulticallContracts, a9 as MulticallParameters, aR as MulticallResult, aS as MulticallResults, aa as MulticallReturnType, ab as OnBlock, ac as OnBlockNumberFn, ad as OnBlockNumberParameter, ae as OnBlockParameter, af as OnLogsFn, ag as OnLogsParameter, ah as OnTransactionsFn, ai as OnTransactionsParameter, aT as ParseAccount, P as PublicClient, aJ as PublicClientConfig, R as ReadContractParameters, a as ReadContractReturnType, aj as ReplacementReason, ak as ReplacementReturnType, al as RequestAddressesReturnType, an as RequestPermissionsParameters, am as RequestPermissionsReturnType, ao as SendTransactionParameters, ap as SendTransactionReturnType, aq as SignMessageParameters, ar as SignMessageReturnType, as as SignTypedDataParameters, at as SignTypedDataReturnType, S as SimulateContractParameters, c as SimulateContractReturnType, au as SwitchChainParameters, aY as TransactionReceiptFormatter, aZ as TransactionRequestFormatter, av as UninstallFilterParameters, aw as UninstallFilterReturnType, ax as WaitForTransactionReceiptParameters, ay as WaitForTransactionReceiptReturnType, W as WalletClient, aK as WalletClientConfig, az as WatchAssetParameters, aA as WatchAssetReturnType, aB as WatchBlockNumberParameters, aC as WatchBlockNumberReturnType, aD as WatchBlocksParameters, aE as WatchBlocksReturnType, g as WatchContractEventParameters, h as WatchContractEventReturnType, aF as WatchEventParameters, aG as WatchEventReturnType, aH as WatchPendingTransactionsParameters, aI as WatchPendingTransactionsReturnType, d as WriteContractParameters, e as WriteContractReturnType, aL as createPublicClient, aM as createWalletClient, a_ as defineBlock, a$ as defineTransactionReceipt, b0 as defineTransactionRequest, b1 as formatBlock, b2 as formatTransactionRequest } from './getEnsResolver-ce85735b.js';
3
3
  import { T as TransportConfig, a as Transport, B as BaseRpcRequests } from './createTransport-21a0d2b3.js';
4
4
  export { C as Client, b as ClientConfig, a as Transport, T as TransportConfig, c as createClient, d as createTransport } from './createTransport-21a0d2b3.js';
5
- import { B as BaseError, H as HttpOptions, R as RpcResponse } from './parseGwei-280a3ff7.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, p as GetCreate2AddressOptions, q as GetCreateAddressOptions, r as GetSerializedTransactionType, s as GetTransactionType, t as HashTypedDataParameters, u as HashTypedDataReturnType, I as InsufficientFundsError, f as IntrinsicGasTooHighError, g as IntrinsicGasTooLowError, h as InvalidLegacyVError, N as NonceMaxValueError, i as NonceTooHighError, j as NonceTooLowError, k as RawContractError, v as RecoverAddressParameters, w as RecoverAddressReturnType, x as RecoverMessageAddressParameters, y as RecoverMessageAddressReturnType, z as RecoverTypedDataAddressParameters, A as RecoverTypedDataAddressReturnType, T as TipAboveFeeCapError, D as ToRlpReturnType, l as TransactionExecutionError, n as TransactionNotFoundError, o as TransactionReceiptNotFoundError, m as TransactionTypeNotSupportedError, U as UnknownNodeError, V as VerifyMessageParameters, J as VerifyMessageReturnType, K as VerifyTypedDataParameters, L as VerifyTypedDataReturnType, W as WaitForTransactionReceiptTimeoutError, M as assertRequest, O as assertTransactionEIP1559, P as assertTransactionEIP2930, Q as assertTransactionLegacy, S as boolToBytes, X as boolToHex, Y as bytesToBigint, Z as bytesToBool, _ as bytesToHex, $ as bytesToNumber, a0 as bytesToString, a1 as concat, a2 as concatBytes, a3 as concatHex, a4 as formatEther, a5 as formatGwei, a6 as formatUnits, a7 as fromBytes, a8 as fromHex, a9 as fromRlp, aa as getAddress, ab as getContractAddress, ac as getContractError, ad as getCreate2Address, ae as getCreateAddress, af as getEventSelector, ag as getFunctionSelector, ah as getSerializedTransactionType, ai as getTransactionType, aj as hashMessage, ak as hashTypedData, al as hexToBigInt, am as hexToBool, an as hexToBytes, ao as hexToNumber, ap as hexToString, aq as isAddress, ar as isAddressEqual, as as isBytes, at as isHash, au as isHex, av as keccak256, aw as numberToBytes, ax as numberToHex, ay as pad, az as padBytes, aA as padHex, aB as parseEther, aC as parseGwei, aD as parseTransaction, aE as parseUnits, aF as prepareRequest, aG as recoverAddress, aH as recoverMessageAddress, aI as recoverTypedDataAddress, aJ as serializeTransaction, aK as size, aL as slice, aM as sliceBytes, aN as sliceHex, aO as stringToBytes, aP as stringToHex, aQ as stringify, aR as toBytes, aS as toHex, aT as toRlp, aU as trim, aV as validateTypedData, aW as verifyMessage, aX as verifyTypedData } from './parseGwei-280a3ff7.js';
5
+ import { B as BaseError, H as HttpOptions, R as RpcResponse } from './parseGwei-4dcde2b8.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, p as GetCreate2AddressOptions, q as GetCreateAddressOptions, r as GetSerializedTransactionType, s as GetTransactionType, t as HashTypedDataParameters, u as HashTypedDataReturnType, I as InsufficientFundsError, f as IntrinsicGasTooHighError, g as IntrinsicGasTooLowError, h as InvalidLegacyVError, N as NonceMaxValueError, i as NonceTooHighError, j as NonceTooLowError, k as RawContractError, v as RecoverAddressParameters, w as RecoverAddressReturnType, x as RecoverMessageAddressParameters, y as RecoverMessageAddressReturnType, z as RecoverTypedDataAddressParameters, A as RecoverTypedDataAddressReturnType, T as TipAboveFeeCapError, D as ToRlpReturnType, l as TransactionExecutionError, n as TransactionNotFoundError, o as TransactionReceiptNotFoundError, m as TransactionTypeNotSupportedError, U as UnknownNodeError, V as VerifyMessageParameters, J as VerifyMessageReturnType, K as VerifyTypedDataParameters, L as VerifyTypedDataReturnType, W as WaitForTransactionReceiptTimeoutError, M as assertRequest, O as assertTransactionEIP1559, P as assertTransactionEIP2930, Q as assertTransactionLegacy, S as boolToBytes, X as boolToHex, Y as bytesToBigint, Z as bytesToBool, _ as bytesToHex, $ as bytesToNumber, a0 as bytesToString, a1 as concat, a2 as concatBytes, a3 as concatHex, a4 as formatEther, a5 as formatGwei, a6 as formatUnits, a7 as fromBytes, a8 as fromHex, a9 as fromRlp, aa as getAddress, ab as getContractAddress, ac as getContractError, ad as getCreate2Address, ae as getCreateAddress, af as getEventSelector, ag as getFunctionSelector, ah as getSerializedTransactionType, ai as getTransactionType, aj as hashMessage, ak as hashTypedData, al as hexToBigInt, am as hexToBool, an as hexToBytes, ao as hexToNumber, ap as hexToString, aq as isAddress, ar as isAddressEqual, as as isBytes, at as isHash, au as isHex, av as keccak256, aw as numberToBytes, ax as numberToHex, ay as pad, az as padBytes, aA as padHex, aB as parseEther, aC as parseGwei, aD as parseTransaction, aE as parseUnits, aF as prepareRequest, aG as recoverAddress, aH as recoverMessageAddress, aI as recoverTypedDataAddress, aJ as serializeTransaction, aK as size, aL as slice, aM as sliceBytes, aN as sliceHex, aO as stringToBytes, aP as stringToHex, aQ as stringify, aR as toBytes, aS as toHex, aT as toRlp, aU as trim, aV as validateTypedData, aW as verifyMessage, aX as verifyTypedData } from './parseGwei-4dcde2b8.js';
7
7
  import WebSocket from 'isomorphic-ws';
8
8
  import { H as Hex, A as AbiItem, a as Hash, C as Chain, B as ByteArray, I as IsNarrowable, P as Prettify, b as IsNever, c as IsUndefined, d as AbiEventParametersToPrimitiveTypes, M as MaybeExtractEventArgsFromAbi } from './chain-5507c6f0.js';
9
9
  export { A as AbiItem, e as AccessList, f as Block, g as BlockIdentifier, h as BlockNumber, i as BlockTag, B as ByteArray, C as Chain, j as ContractFunctionConfig, k as ContractFunctionResult, aa as ExtractFormatter, F as FeeHistory, l as FeeValues, m as FeeValuesEIP1559, n as FeeValuesLegacy, ab as Formatted, ac as FormattedTransaction, G as GetConstructorArgs, o as GetErrorArgs, p as GetEventArgs, q as GetEventArgsFromTopics, r as GetFunctionArgs, a as Hash, H as Hex, s as InferErrorName, t as InferEventName, u as InferFunctionName, v as InferItemName, L as Log, R as RpcBlock, w as RpcBlockIdentifier, x as RpcBlockNumber, y as RpcFeeHistory, z as RpcFeeValues, D as RpcLog, E as RpcTransaction, J as RpcTransactionReceipt, K as RpcTransactionRequest, N as RpcUncle, T as Transaction, O as TransactionBase, Q as TransactionEIP1559, S as TransactionEIP2930, ad as TransactionFormatter, U as TransactionLegacy, V as TransactionReceipt, W as TransactionRequest, X as TransactionRequestBase, Y as TransactionRequestEIP1559, Z as TransactionRequestEIP2930, _ as TransactionRequestLegacy, $ as TransactionSerializable, a0 as TransactionSerializableBase, a1 as TransactionSerializableEIP1559, a2 as TransactionSerializableEIP2930, a3 as TransactionSerializableLegacy, a4 as TransactionSerialized, a5 as TransactionSerializedEIP1559, a6 as TransactionSerializedEIP2930, a7 as TransactionSerializedLegacy, a8 as TransactionType, a9 as Uncle, ae as defineTransaction, af as formatTransaction, ag as transactionType } from './chain-5507c6f0.js';
@@ -14,12 +14,13 @@ import { A as Account } from './typedData-46b4d81f.js';
14
14
  export { A as Account, a as AccountSource, C as CustomSource, H as HDAccount, b as HDOptions, J as JsonRpcAccount, L as LocalAccount } from './typedData-46b4d81f.js';
15
15
  export { l as labelhash, n as namehash } from './namehash-afff0feb.js';
16
16
  export { D as DecodeAbiParametersReturnType, E as EncodeAbiParametersReturnType, G as GetAbiItemParameters, d as decodeAbiParameters, e as encodeAbiParameters, g as getAbiItem } from './getAbiItem-bfba73d1.js';
17
- 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-c5185b98.js';
17
+ 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-b4670cf7.js';
18
18
  export { e as encodePacked } from './encodePacked-98f67d09.js';
19
19
  export { d as defineChain } from './chain-fe47467d.js';
20
20
  export { HDKey } from '@scure/bip32';
21
21
  import './eip1193-2f3a9cd2.js';
22
22
  import '@wagmi/chains';
23
+ import 'abitype/dist/abi-7aa1f183';
23
24
 
24
25
  declare class AbiConstructorNotFoundError extends BaseError {
25
26
  name: string;
package/dist/index.js CHANGED
@@ -265,7 +265,7 @@
265
265
 
266
266
 
267
267
 
268
- var _chunkQISMTRQFjs = require('./chunk-QISMTRQF.js');
268
+ var _chunkIAWAV7EZjs = require('./chunk-IAWAV7EZ.js');
269
269
 
270
270
  // src/clients/transports/createTransport.ts
271
271
  function createTransport({
@@ -279,7 +279,7 @@ function createTransport({
279
279
  }, value) {
280
280
  return {
281
281
  config: { key, name, request, retryCount, retryDelay, timeout, type },
282
- request: _chunkQISMTRQFjs.buildRequest.call(void 0, request, { retryCount, retryDelay }),
282
+ request: _chunkIAWAV7EZjs.buildRequest.call(void 0, request, { retryCount, retryDelay }),
283
283
  value
284
284
  };
285
285
  }
@@ -321,7 +321,7 @@ function fallback(transports_, config = {}) {
321
321
  params
322
322
  });
323
323
  } catch (err) {
324
- if (_chunkQISMTRQFjs.isDeterministicError.call(void 0, err))
324
+ if (_chunkIAWAV7EZjs.isDeterministicError.call(void 0, err))
325
325
  throw err;
326
326
  if (i === transports.length - 1)
327
327
  throw err;
@@ -407,7 +407,7 @@ function rankTransports({
407
407
  ];
408
408
  }).sort((a, b) => b[0] - a[0]);
409
409
  onTransports(scores.map(([, i]) => transports[i]));
410
- await _chunkQISMTRQFjs.wait.call(void 0, interval);
410
+ await _chunkIAWAV7EZjs.wait.call(void 0, interval);
411
411
  rankTransports_();
412
412
  };
413
413
  rankTransports_();
@@ -426,13 +426,13 @@ function http(url, config = {}) {
426
426
  const timeout = _nullishCoalesce(_nullishCoalesce(timeout_, () => ( config.timeout)), () => ( 1e4));
427
427
  const url_ = url || _optionalChain([chain, 'optionalAccess', _2 => _2.rpcUrls, 'access', _3 => _3.default, 'access', _4 => _4.http, 'access', _5 => _5[0]]);
428
428
  if (!url_)
429
- throw new (0, _chunkQISMTRQFjs.UrlRequiredError)();
429
+ throw new (0, _chunkIAWAV7EZjs.UrlRequiredError)();
430
430
  return createTransport(
431
431
  {
432
432
  key,
433
433
  name,
434
434
  async request({ method, params }) {
435
- const { result } = await _chunkQISMTRQFjs.rpc.http(url_, {
435
+ const { result } = await _chunkIAWAV7EZjs.rpc.http(url_, {
436
436
  body: {
437
437
  method,
438
438
  params
@@ -462,14 +462,14 @@ function webSocket(url, config = {}) {
462
462
  const timeout = _nullishCoalesce(_nullishCoalesce(timeout_, () => ( config.timeout)), () => ( 1e4));
463
463
  const url_ = url || _optionalChain([chain, 'optionalAccess', _6 => _6.rpcUrls, 'access', _7 => _7.default, 'access', _8 => _8.webSocket, 'optionalAccess', _9 => _9[0]]);
464
464
  if (!url_)
465
- throw new (0, _chunkQISMTRQFjs.UrlRequiredError)();
465
+ throw new (0, _chunkIAWAV7EZjs.UrlRequiredError)();
466
466
  return createTransport(
467
467
  {
468
468
  key,
469
469
  name,
470
470
  async request({ method, params }) {
471
- const socket = await _chunkQISMTRQFjs.getSocket.call(void 0, url_);
472
- const { result } = await _chunkQISMTRQFjs.rpc.webSocketAsync(socket, {
471
+ const socket = await _chunkIAWAV7EZjs.getSocket.call(void 0, url_);
472
+ const { result } = await _chunkIAWAV7EZjs.rpc.webSocketAsync(socket, {
473
473
  body: { method, params },
474
474
  timeout
475
475
  });
@@ -482,12 +482,12 @@ function webSocket(url, config = {}) {
482
482
  },
483
483
  {
484
484
  getSocket() {
485
- return _chunkQISMTRQFjs.getSocket.call(void 0, url_);
485
+ return _chunkIAWAV7EZjs.getSocket.call(void 0, url_);
486
486
  },
487
487
  async subscribe({ params, onData, onError }) {
488
- const socket = await _chunkQISMTRQFjs.getSocket.call(void 0, url_);
488
+ const socket = await _chunkIAWAV7EZjs.getSocket.call(void 0, url_);
489
489
  const { result: subscriptionId } = await new Promise(
490
- (resolve, reject) => _chunkQISMTRQFjs.rpc.webSocket(socket, {
490
+ (resolve, reject) => _chunkIAWAV7EZjs.rpc.webSocket(socket, {
491
491
  body: {
492
492
  method: "eth_subscribe",
493
493
  params
@@ -511,7 +511,7 @@ function webSocket(url, config = {}) {
511
511
  subscriptionId,
512
512
  async unsubscribe() {
513
513
  return new Promise(
514
- (resolve, reject) => _chunkQISMTRQFjs.rpc.webSocket(socket, {
514
+ (resolve, reject) => _chunkIAWAV7EZjs.rpc.webSocket(socket, {
515
515
  body: {
516
516
  method: "eth_unsubscribe",
517
517
  params: [subscriptionId]
@@ -567,95 +567,95 @@ function createClient({
567
567
 
568
568
  // src/clients/decorators/public.ts
569
569
  var publicActions = (client) => ({
570
- call: (args) => _chunkQISMTRQFjs.call.call(void 0, client, args),
571
- createBlockFilter: () => _chunkQISMTRQFjs.createBlockFilter.call(void 0, client),
572
- createContractEventFilter: (args) => _chunkQISMTRQFjs.createContractEventFilter.call(void 0, client, args),
573
- createEventFilter: (args) => _chunkQISMTRQFjs.createEventFilter.call(void 0, client, args),
574
- createPendingTransactionFilter: () => _chunkQISMTRQFjs.createPendingTransactionFilter.call(void 0, client),
575
- estimateContractGas: (args) => _chunkQISMTRQFjs.estimateContractGas.call(void 0, client, args),
576
- estimateGas: (args) => _chunkQISMTRQFjs.estimateGas.call(void 0, client, args),
577
- getBalance: (args) => _chunkQISMTRQFjs.getBalance.call(void 0, client, args),
578
- getBlock: (args) => _chunkQISMTRQFjs.getBlock.call(void 0, client, args),
579
- getBlockNumber: (args) => _chunkQISMTRQFjs.getBlockNumber.call(void 0, client, args),
580
- getBlockTransactionCount: (args) => _chunkQISMTRQFjs.getBlockTransactionCount.call(void 0, client, args),
581
- getBytecode: (args) => _chunkQISMTRQFjs.getBytecode.call(void 0, client, args),
582
- getChainId: () => _chunkQISMTRQFjs.getChainId.call(void 0, client),
583
- getEnsAddress: (args) => _chunkQISMTRQFjs.getEnsAddress.call(void 0, client, args),
584
- getEnsAvatar: (args) => _chunkQISMTRQFjs.getEnsAvatar.call(void 0, client, args),
585
- getEnsName: (args) => _chunkQISMTRQFjs.getEnsName.call(void 0, client, args),
586
- getEnsResolver: (args) => _chunkQISMTRQFjs.getEnsResolver.call(void 0, client, args),
587
- getEnsText: (args) => _chunkQISMTRQFjs.getEnsText.call(void 0, client, args),
588
- getFeeHistory: (args) => _chunkQISMTRQFjs.getFeeHistory.call(void 0, client, args),
589
- getFilterChanges: (args) => _chunkQISMTRQFjs.getFilterChanges.call(void 0, client, args),
590
- getFilterLogs: (args) => _chunkQISMTRQFjs.getFilterLogs.call(void 0, client, args),
591
- getGasPrice: () => _chunkQISMTRQFjs.getGasPrice.call(void 0, client),
592
- getLogs: (args) => _chunkQISMTRQFjs.getLogs.call(void 0, client, args),
593
- getStorageAt: (args) => _chunkQISMTRQFjs.getStorageAt.call(void 0, client, args),
594
- getTransaction: (args) => _chunkQISMTRQFjs.getTransaction.call(void 0, client, args),
595
- getTransactionConfirmations: (args) => _chunkQISMTRQFjs.getTransactionConfirmations.call(void 0, client, args),
596
- getTransactionCount: (args) => _chunkQISMTRQFjs.getTransactionCount.call(void 0, client, args),
597
- getTransactionReceipt: (args) => _chunkQISMTRQFjs.getTransactionReceipt.call(void 0, client, args),
598
- multicall: (args) => _chunkQISMTRQFjs.multicall.call(void 0, client, args),
599
- readContract: (args) => _chunkQISMTRQFjs.readContract.call(void 0, client, args),
600
- simulateContract: (args) => _chunkQISMTRQFjs.simulateContract.call(void 0, client, args),
601
- uninstallFilter: (args) => _chunkQISMTRQFjs.uninstallFilter.call(void 0, client, args),
602
- waitForTransactionReceipt: (args) => _chunkQISMTRQFjs.waitForTransactionReceipt.call(void 0, client, args),
603
- watchBlocks: (args) => _chunkQISMTRQFjs.watchBlocks.call(void 0, client, args),
604
- watchBlockNumber: (args) => _chunkQISMTRQFjs.watchBlockNumber.call(void 0, client, args),
605
- watchContractEvent: (args) => _chunkQISMTRQFjs.watchContractEvent.call(void 0, client, args),
606
- watchEvent: (args) => _chunkQISMTRQFjs.watchEvent.call(void 0, client, args),
607
- watchPendingTransactions: (args) => _chunkQISMTRQFjs.watchPendingTransactions.call(void 0, client, args)
570
+ call: (args) => _chunkIAWAV7EZjs.call.call(void 0, client, args),
571
+ createBlockFilter: () => _chunkIAWAV7EZjs.createBlockFilter.call(void 0, client),
572
+ createContractEventFilter: (args) => _chunkIAWAV7EZjs.createContractEventFilter.call(void 0, client, args),
573
+ createEventFilter: (args) => _chunkIAWAV7EZjs.createEventFilter.call(void 0, client, args),
574
+ createPendingTransactionFilter: () => _chunkIAWAV7EZjs.createPendingTransactionFilter.call(void 0, client),
575
+ estimateContractGas: (args) => _chunkIAWAV7EZjs.estimateContractGas.call(void 0, client, args),
576
+ estimateGas: (args) => _chunkIAWAV7EZjs.estimateGas.call(void 0, client, args),
577
+ getBalance: (args) => _chunkIAWAV7EZjs.getBalance.call(void 0, client, args),
578
+ getBlock: (args) => _chunkIAWAV7EZjs.getBlock.call(void 0, client, args),
579
+ getBlockNumber: (args) => _chunkIAWAV7EZjs.getBlockNumber.call(void 0, client, args),
580
+ getBlockTransactionCount: (args) => _chunkIAWAV7EZjs.getBlockTransactionCount.call(void 0, client, args),
581
+ getBytecode: (args) => _chunkIAWAV7EZjs.getBytecode.call(void 0, client, args),
582
+ getChainId: () => _chunkIAWAV7EZjs.getChainId.call(void 0, client),
583
+ getEnsAddress: (args) => _chunkIAWAV7EZjs.getEnsAddress.call(void 0, client, args),
584
+ getEnsAvatar: (args) => _chunkIAWAV7EZjs.getEnsAvatar.call(void 0, client, args),
585
+ getEnsName: (args) => _chunkIAWAV7EZjs.getEnsName.call(void 0, client, args),
586
+ getEnsResolver: (args) => _chunkIAWAV7EZjs.getEnsResolver.call(void 0, client, args),
587
+ getEnsText: (args) => _chunkIAWAV7EZjs.getEnsText.call(void 0, client, args),
588
+ getFeeHistory: (args) => _chunkIAWAV7EZjs.getFeeHistory.call(void 0, client, args),
589
+ getFilterChanges: (args) => _chunkIAWAV7EZjs.getFilterChanges.call(void 0, client, args),
590
+ getFilterLogs: (args) => _chunkIAWAV7EZjs.getFilterLogs.call(void 0, client, args),
591
+ getGasPrice: () => _chunkIAWAV7EZjs.getGasPrice.call(void 0, client),
592
+ getLogs: (args) => _chunkIAWAV7EZjs.getLogs.call(void 0, client, args),
593
+ getStorageAt: (args) => _chunkIAWAV7EZjs.getStorageAt.call(void 0, client, args),
594
+ getTransaction: (args) => _chunkIAWAV7EZjs.getTransaction.call(void 0, client, args),
595
+ getTransactionConfirmations: (args) => _chunkIAWAV7EZjs.getTransactionConfirmations.call(void 0, client, args),
596
+ getTransactionCount: (args) => _chunkIAWAV7EZjs.getTransactionCount.call(void 0, client, args),
597
+ getTransactionReceipt: (args) => _chunkIAWAV7EZjs.getTransactionReceipt.call(void 0, client, args),
598
+ multicall: (args) => _chunkIAWAV7EZjs.multicall.call(void 0, client, args),
599
+ readContract: (args) => _chunkIAWAV7EZjs.readContract.call(void 0, client, args),
600
+ simulateContract: (args) => _chunkIAWAV7EZjs.simulateContract.call(void 0, client, args),
601
+ uninstallFilter: (args) => _chunkIAWAV7EZjs.uninstallFilter.call(void 0, client, args),
602
+ waitForTransactionReceipt: (args) => _chunkIAWAV7EZjs.waitForTransactionReceipt.call(void 0, client, args),
603
+ watchBlocks: (args) => _chunkIAWAV7EZjs.watchBlocks.call(void 0, client, args),
604
+ watchBlockNumber: (args) => _chunkIAWAV7EZjs.watchBlockNumber.call(void 0, client, args),
605
+ watchContractEvent: (args) => _chunkIAWAV7EZjs.watchContractEvent.call(void 0, client, args),
606
+ watchEvent: (args) => _chunkIAWAV7EZjs.watchEvent.call(void 0, client, args),
607
+ watchPendingTransactions: (args) => _chunkIAWAV7EZjs.watchPendingTransactions.call(void 0, client, args)
608
608
  });
609
609
 
610
610
  // src/clients/decorators/test.ts
611
611
  function testActions(client) {
612
612
  return {
613
- dropTransaction: (args) => _chunkQISMTRQFjs.dropTransaction.call(void 0, client, args),
614
- getAutomine: () => _chunkQISMTRQFjs.getAutomine.call(void 0, client),
615
- getTxpoolContent: () => _chunkQISMTRQFjs.getTxpoolContent.call(void 0, client),
616
- getTxpoolStatus: () => _chunkQISMTRQFjs.getTxpoolStatus.call(void 0, client),
617
- impersonateAccount: (args) => _chunkQISMTRQFjs.impersonateAccount.call(void 0, client, args),
618
- increaseTime: (args) => _chunkQISMTRQFjs.increaseTime.call(void 0, client, args),
619
- inspectTxpool: () => _chunkQISMTRQFjs.inspectTxpool.call(void 0, client),
620
- mine: (args) => _chunkQISMTRQFjs.mine.call(void 0, client, args),
621
- removeBlockTimestampInterval: () => _chunkQISMTRQFjs.removeBlockTimestampInterval.call(void 0, client),
622
- reset: (args) => _chunkQISMTRQFjs.reset.call(void 0, client, args),
623
- revert: (args) => _chunkQISMTRQFjs.revert.call(void 0, client, args),
624
- sendUnsignedTransaction: (args) => _chunkQISMTRQFjs.sendUnsignedTransaction.call(void 0, client, args),
625
- setAutomine: (args) => _chunkQISMTRQFjs.setAutomine.call(void 0, client, args),
626
- setBalance: (args) => _chunkQISMTRQFjs.setBalance.call(void 0, client, args),
627
- setBlockGasLimit: (args) => _chunkQISMTRQFjs.setBlockGasLimit.call(void 0, client, args),
628
- setBlockTimestampInterval: (args) => _chunkQISMTRQFjs.setBlockTimestampInterval.call(void 0, client, args),
629
- setCode: (args) => _chunkQISMTRQFjs.setCode.call(void 0, client, args),
630
- setCoinbase: (args) => _chunkQISMTRQFjs.setCoinbase.call(void 0, client, args),
631
- setIntervalMining: (args) => _chunkQISMTRQFjs.setIntervalMining.call(void 0, client, args),
632
- setLoggingEnabled: (args) => _chunkQISMTRQFjs.setLoggingEnabled.call(void 0, client, args),
633
- setMinGasPrice: (args) => _chunkQISMTRQFjs.setMinGasPrice.call(void 0, client, args),
634
- setNextBlockBaseFeePerGas: (args) => _chunkQISMTRQFjs.setNextBlockBaseFeePerGas.call(void 0, client, args),
635
- setNextBlockTimestamp: (args) => _chunkQISMTRQFjs.setNextBlockTimestamp.call(void 0, client, args),
636
- setNonce: (args) => _chunkQISMTRQFjs.setNonce.call(void 0, client, args),
637
- setRpcUrl: (args) => _chunkQISMTRQFjs.setRpcUrl.call(void 0, client, args),
638
- setStorageAt: (args) => _chunkQISMTRQFjs.setStorageAt.call(void 0, client, args),
639
- snapshot: () => _chunkQISMTRQFjs.snapshot.call(void 0, client),
640
- stopImpersonatingAccount: (args) => _chunkQISMTRQFjs.stopImpersonatingAccount.call(void 0, client, args)
613
+ dropTransaction: (args) => _chunkIAWAV7EZjs.dropTransaction.call(void 0, client, args),
614
+ getAutomine: () => _chunkIAWAV7EZjs.getAutomine.call(void 0, client),
615
+ getTxpoolContent: () => _chunkIAWAV7EZjs.getTxpoolContent.call(void 0, client),
616
+ getTxpoolStatus: () => _chunkIAWAV7EZjs.getTxpoolStatus.call(void 0, client),
617
+ impersonateAccount: (args) => _chunkIAWAV7EZjs.impersonateAccount.call(void 0, client, args),
618
+ increaseTime: (args) => _chunkIAWAV7EZjs.increaseTime.call(void 0, client, args),
619
+ inspectTxpool: () => _chunkIAWAV7EZjs.inspectTxpool.call(void 0, client),
620
+ mine: (args) => _chunkIAWAV7EZjs.mine.call(void 0, client, args),
621
+ removeBlockTimestampInterval: () => _chunkIAWAV7EZjs.removeBlockTimestampInterval.call(void 0, client),
622
+ reset: (args) => _chunkIAWAV7EZjs.reset.call(void 0, client, args),
623
+ revert: (args) => _chunkIAWAV7EZjs.revert.call(void 0, client, args),
624
+ sendUnsignedTransaction: (args) => _chunkIAWAV7EZjs.sendUnsignedTransaction.call(void 0, client, args),
625
+ setAutomine: (args) => _chunkIAWAV7EZjs.setAutomine.call(void 0, client, args),
626
+ setBalance: (args) => _chunkIAWAV7EZjs.setBalance.call(void 0, client, args),
627
+ setBlockGasLimit: (args) => _chunkIAWAV7EZjs.setBlockGasLimit.call(void 0, client, args),
628
+ setBlockTimestampInterval: (args) => _chunkIAWAV7EZjs.setBlockTimestampInterval.call(void 0, client, args),
629
+ setCode: (args) => _chunkIAWAV7EZjs.setCode.call(void 0, client, args),
630
+ setCoinbase: (args) => _chunkIAWAV7EZjs.setCoinbase.call(void 0, client, args),
631
+ setIntervalMining: (args) => _chunkIAWAV7EZjs.setIntervalMining.call(void 0, client, args),
632
+ setLoggingEnabled: (args) => _chunkIAWAV7EZjs.setLoggingEnabled.call(void 0, client, args),
633
+ setMinGasPrice: (args) => _chunkIAWAV7EZjs.setMinGasPrice.call(void 0, client, args),
634
+ setNextBlockBaseFeePerGas: (args) => _chunkIAWAV7EZjs.setNextBlockBaseFeePerGas.call(void 0, client, args),
635
+ setNextBlockTimestamp: (args) => _chunkIAWAV7EZjs.setNextBlockTimestamp.call(void 0, client, args),
636
+ setNonce: (args) => _chunkIAWAV7EZjs.setNonce.call(void 0, client, args),
637
+ setRpcUrl: (args) => _chunkIAWAV7EZjs.setRpcUrl.call(void 0, client, args),
638
+ setStorageAt: (args) => _chunkIAWAV7EZjs.setStorageAt.call(void 0, client, args),
639
+ snapshot: () => _chunkIAWAV7EZjs.snapshot.call(void 0, client),
640
+ stopImpersonatingAccount: (args) => _chunkIAWAV7EZjs.stopImpersonatingAccount.call(void 0, client, args)
641
641
  };
642
642
  }
643
643
 
644
644
  // src/clients/decorators/wallet.ts
645
645
  var walletActions = (client) => ({
646
- addChain: (args) => _chunkQISMTRQFjs.addChain.call(void 0, client, args),
647
- deployContract: (args) => _chunkQISMTRQFjs.deployContract.call(void 0, client, args),
648
- getAddresses: () => _chunkQISMTRQFjs.getAddresses.call(void 0, client),
649
- getChainId: () => _chunkQISMTRQFjs.getChainId.call(void 0, client),
650
- getPermissions: () => _chunkQISMTRQFjs.getPermissions.call(void 0, client),
651
- requestAddresses: () => _chunkQISMTRQFjs.requestAddresses.call(void 0, client),
652
- requestPermissions: (args) => _chunkQISMTRQFjs.requestPermissions.call(void 0, client, args),
653
- sendTransaction: (args) => _chunkQISMTRQFjs.sendTransaction.call(void 0, client, args),
654
- signMessage: (args) => _chunkQISMTRQFjs.signMessage.call(void 0, client, args),
655
- signTypedData: (args) => _chunkQISMTRQFjs.signTypedData.call(void 0, client, args),
656
- switchChain: (args) => _chunkQISMTRQFjs.switchChain.call(void 0, client, args),
657
- watchAsset: (args) => _chunkQISMTRQFjs.watchAsset.call(void 0, client, args),
658
- writeContract: (args) => _chunkQISMTRQFjs.writeContract.call(void 0, client, args)
646
+ addChain: (args) => _chunkIAWAV7EZjs.addChain.call(void 0, client, args),
647
+ deployContract: (args) => _chunkIAWAV7EZjs.deployContract.call(void 0, client, args),
648
+ getAddresses: () => _chunkIAWAV7EZjs.getAddresses.call(void 0, client),
649
+ getChainId: () => _chunkIAWAV7EZjs.getChainId.call(void 0, client),
650
+ getPermissions: () => _chunkIAWAV7EZjs.getPermissions.call(void 0, client),
651
+ requestAddresses: () => _chunkIAWAV7EZjs.requestAddresses.call(void 0, client),
652
+ requestPermissions: (args) => _chunkIAWAV7EZjs.requestPermissions.call(void 0, client, args),
653
+ sendTransaction: (args) => _chunkIAWAV7EZjs.sendTransaction.call(void 0, client, args),
654
+ signMessage: (args) => _chunkIAWAV7EZjs.signMessage.call(void 0, client, args),
655
+ signTypedData: (args) => _chunkIAWAV7EZjs.signTypedData.call(void 0, client, args),
656
+ switchChain: (args) => _chunkIAWAV7EZjs.switchChain.call(void 0, client, args),
657
+ watchAsset: (args) => _chunkIAWAV7EZjs.watchAsset.call(void 0, client, args),
658
+ writeContract: (args) => _chunkIAWAV7EZjs.writeContract.call(void 0, client, args)
659
659
  });
660
660
 
661
661
  // src/clients/createPublicClient.ts
@@ -724,7 +724,7 @@ function createWalletClient({
724
724
  transport: () => transport({ retryCount: 0 }),
725
725
  type: "walletClient"
726
726
  }),
727
- account: account ? _chunkQISMTRQFjs.parseAccount.call(void 0, account) : void 0
727
+ account: account ? _chunkIAWAV7EZjs.parseAccount.call(void 0, account) : void 0
728
728
  };
729
729
  return {
730
730
  ...client,
@@ -923,5 +923,5 @@ function createWalletClient({
923
923
 
924
924
 
925
925
 
926
- exports.AbiConstructorNotFoundError = _chunkQISMTRQFjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkQISMTRQFjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkQISMTRQFjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkQISMTRQFjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkQISMTRQFjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkQISMTRQFjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkQISMTRQFjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkQISMTRQFjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkQISMTRQFjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkQISMTRQFjs.AbiEventNotFoundError; exports.AbiEventSignatureEmptyTopicsError = _chunkQISMTRQFjs.AbiEventSignatureEmptyTopicsError; exports.AbiEventSignatureNotFoundError = _chunkQISMTRQFjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkQISMTRQFjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkQISMTRQFjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkQISMTRQFjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkQISMTRQFjs.BaseError; exports.BlockNotFoundError = _chunkQISMTRQFjs.BlockNotFoundError; exports.CallExecutionError = _chunkQISMTRQFjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkQISMTRQFjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkQISMTRQFjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkQISMTRQFjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkQISMTRQFjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkQISMTRQFjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkQISMTRQFjs.DataLengthTooShortError; exports.DecodeLogTopicsMismatch = _chunkQISMTRQFjs.DecodeLogTopicsMismatch; exports.EnsAvatarUriResolutionError = _chunkQISMTRQFjs.EnsAvatarUriResolutionError; exports.EstimateGasExecutionError = _chunkQISMTRQFjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkQISMTRQFjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkQISMTRQFjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkQISMTRQFjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkQISMTRQFjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkQISMTRQFjs.HttpRequestError; exports.InsufficientFundsError = _chunkQISMTRQFjs.InsufficientFundsError; exports.InternalRpcError = _chunkQISMTRQFjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkQISMTRQFjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkQISMTRQFjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkQISMTRQFjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkQISMTRQFjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkQISMTRQFjs.InvalidAddressError; exports.InvalidArrayError = _chunkQISMTRQFjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkQISMTRQFjs.InvalidBytesBooleanError; exports.InvalidChainIdError = _chunkQISMTRQFjs.InvalidChainIdError; exports.InvalidDefinitionTypeError = _chunkQISMTRQFjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkQISMTRQFjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkQISMTRQFjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkQISMTRQFjs.InvalidInputRpcError; exports.InvalidLegacyVError = _chunkQISMTRQFjs.InvalidLegacyVError; exports.InvalidParamsRpcError = _chunkQISMTRQFjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkQISMTRQFjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkQISMTRQFjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkQISMTRQFjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkQISMTRQFjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkQISMTRQFjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkQISMTRQFjs.NonceMaxValueError; exports.NonceTooHighError = _chunkQISMTRQFjs.NonceTooHighError; exports.NonceTooLowError = _chunkQISMTRQFjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkQISMTRQFjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkQISMTRQFjs.ParseRpcError; exports.RawContractError = _chunkQISMTRQFjs.RawContractError; exports.RequestError = _chunkQISMTRQFjs.RequestError; exports.ResourceNotFoundRpcError = _chunkQISMTRQFjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkQISMTRQFjs.ResourceUnavailableRpcError; exports.RpcError = _chunkQISMTRQFjs.RpcError; exports.RpcRequestError = _chunkQISMTRQFjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkQISMTRQFjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkQISMTRQFjs.SwitchChainError; exports.TimeoutError = _chunkQISMTRQFjs.TimeoutError; exports.TipAboveFeeCapError = _chunkQISMTRQFjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkQISMTRQFjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkQISMTRQFjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkQISMTRQFjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkQISMTRQFjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkQISMTRQFjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkQISMTRQFjs.UnknownNodeError; exports.UnknownRpcError = _chunkQISMTRQFjs.UnknownRpcError; exports.UrlRequiredError = _chunkQISMTRQFjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkQISMTRQFjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkQISMTRQFjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkQISMTRQFjs.WebSocketRequestError; exports.assertRequest = _chunkQISMTRQFjs.assertRequest; exports.assertTransactionEIP1559 = _chunkQISMTRQFjs.assertTransactionEIP1559; exports.assertTransactionEIP2930 = _chunkQISMTRQFjs.assertTransactionEIP2930; exports.assertTransactionLegacy = _chunkQISMTRQFjs.assertTransactionLegacy; exports.boolToBytes = _chunkQISMTRQFjs.boolToBytes; exports.boolToHex = _chunkQISMTRQFjs.boolToHex; exports.bytesToBigint = _chunkQISMTRQFjs.bytesToBigint; exports.bytesToBool = _chunkQISMTRQFjs.bytesToBool; exports.bytesToHex = _chunkQISMTRQFjs.bytesToHex; exports.bytesToNumber = _chunkQISMTRQFjs.bytesToNumber; exports.bytesToString = _chunkQISMTRQFjs.bytesToString; exports.concat = _chunkQISMTRQFjs.concat; exports.concatBytes = _chunkQISMTRQFjs.concatBytes; exports.concatHex = _chunkQISMTRQFjs.concatHex; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkQISMTRQFjs.decodeAbiParameters; exports.decodeErrorResult = _chunkQISMTRQFjs.decodeErrorResult; exports.decodeEventLog = _chunkQISMTRQFjs.decodeEventLog; exports.decodeFunctionData = _chunkQISMTRQFjs.decodeFunctionData; exports.decodeFunctionResult = _chunkQISMTRQFjs.decodeFunctionResult; exports.defineBlock = _chunkQISMTRQFjs.defineBlock; exports.defineChain = _chunkQISMTRQFjs.defineChain; exports.defineTransaction = _chunkQISMTRQFjs.defineTransaction; exports.defineTransactionReceipt = _chunkQISMTRQFjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkQISMTRQFjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkQISMTRQFjs.encodeAbiParameters; exports.encodeDeployData = _chunkQISMTRQFjs.encodeDeployData; exports.encodeErrorResult = _chunkQISMTRQFjs.encodeErrorResult; exports.encodeEventTopics = _chunkQISMTRQFjs.encodeEventTopics; exports.encodeFunctionData = _chunkQISMTRQFjs.encodeFunctionData; exports.encodeFunctionResult = _chunkQISMTRQFjs.encodeFunctionResult; exports.encodePacked = _chunkQISMTRQFjs.encodePacked; exports.etherUnits = _chunkQISMTRQFjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkQISMTRQFjs.formatBlock; exports.formatEther = _chunkQISMTRQFjs.formatEther; exports.formatGwei = _chunkQISMTRQFjs.formatGwei; exports.formatTransaction = _chunkQISMTRQFjs.formatTransaction; exports.formatTransactionRequest = _chunkQISMTRQFjs.formatTransactionRequest; exports.formatUnits = _chunkQISMTRQFjs.formatUnits; exports.fromBytes = _chunkQISMTRQFjs.fromBytes; exports.fromHex = _chunkQISMTRQFjs.fromHex; exports.fromRlp = _chunkQISMTRQFjs.fromRlp; exports.getAbiItem = _chunkQISMTRQFjs.getAbiItem; exports.getAddress = _chunkQISMTRQFjs.getAddress; exports.getContract = _chunkQISMTRQFjs.getContract; exports.getContractAddress = _chunkQISMTRQFjs.getContractAddress; exports.getContractError = _chunkQISMTRQFjs.getContractError; exports.getCreate2Address = _chunkQISMTRQFjs.getCreate2Address; exports.getCreateAddress = _chunkQISMTRQFjs.getCreateAddress; exports.getEventSelector = _chunkQISMTRQFjs.getEventSelector; exports.getFunctionSelector = _chunkQISMTRQFjs.getFunctionSelector; exports.getSerializedTransactionType = _chunkQISMTRQFjs.getSerializedTransactionType; exports.getTransactionType = _chunkQISMTRQFjs.getTransactionType; exports.gweiUnits = _chunkQISMTRQFjs.gweiUnits; exports.hashMessage = _chunkQISMTRQFjs.hashMessage; exports.hashTypedData = _chunkQISMTRQFjs.hashTypedData; exports.hexToBigInt = _chunkQISMTRQFjs.hexToBigInt; exports.hexToBool = _chunkQISMTRQFjs.hexToBool; exports.hexToBytes = _chunkQISMTRQFjs.hexToBytes; exports.hexToNumber = _chunkQISMTRQFjs.hexToNumber; exports.hexToString = _chunkQISMTRQFjs.hexToString; exports.http = http; exports.isAddress = _chunkQISMTRQFjs.isAddress; exports.isAddressEqual = _chunkQISMTRQFjs.isAddressEqual; exports.isBytes = _chunkQISMTRQFjs.isBytes; exports.isHash = _chunkQISMTRQFjs.isHash; exports.isHex = _chunkQISMTRQFjs.isHex; exports.keccak256 = _chunkQISMTRQFjs.keccak256; exports.labelhash = _chunkQISMTRQFjs.labelhash; exports.multicall3Abi = _chunkQISMTRQFjs.multicall3Abi; exports.namehash = _chunkQISMTRQFjs.namehash; exports.numberToBytes = _chunkQISMTRQFjs.numberToBytes; exports.numberToHex = _chunkQISMTRQFjs.numberToHex; exports.pad = _chunkQISMTRQFjs.pad; exports.padBytes = _chunkQISMTRQFjs.padBytes; exports.padHex = _chunkQISMTRQFjs.padHex; exports.parseAbi = _chunkQISMTRQFjs.parseAbi; exports.parseAbiItem = _chunkQISMTRQFjs.parseAbiItem; exports.parseAbiParameter = _chunkQISMTRQFjs.parseAbiParameter; exports.parseAbiParameters = _chunkQISMTRQFjs.parseAbiParameters; exports.parseEther = _chunkQISMTRQFjs.parseEther; exports.parseGwei = _chunkQISMTRQFjs.parseGwei; exports.parseTransaction = _chunkQISMTRQFjs.parseTransaction; exports.parseUnits = _chunkQISMTRQFjs.parseUnits; exports.prepareRequest = _chunkQISMTRQFjs.prepareRequest; exports.recoverAddress = _chunkQISMTRQFjs.recoverAddress; exports.recoverMessageAddress = _chunkQISMTRQFjs.recoverMessageAddress; exports.recoverTypedDataAddress = _chunkQISMTRQFjs.recoverTypedDataAddress; exports.serializeTransaction = _chunkQISMTRQFjs.serializeTransaction; exports.size = _chunkQISMTRQFjs.size; exports.slice = _chunkQISMTRQFjs.slice; exports.sliceBytes = _chunkQISMTRQFjs.sliceBytes; exports.sliceHex = _chunkQISMTRQFjs.sliceHex; exports.stringToBytes = _chunkQISMTRQFjs.stringToBytes; exports.stringToHex = _chunkQISMTRQFjs.stringToHex; exports.stringify = _chunkQISMTRQFjs.stringify; exports.toBytes = _chunkQISMTRQFjs.toBytes; exports.toHex = _chunkQISMTRQFjs.toHex; exports.toRlp = _chunkQISMTRQFjs.toRlp; exports.transactionType = _chunkQISMTRQFjs.transactionType; exports.trim = _chunkQISMTRQFjs.trim; exports.validateTypedData = _chunkQISMTRQFjs.validateTypedData; exports.verifyMessage = _chunkQISMTRQFjs.verifyMessage; exports.verifyTypedData = _chunkQISMTRQFjs.verifyTypedData; exports.webSocket = webSocket; exports.weiUnits = _chunkQISMTRQFjs.weiUnits;
926
+ exports.AbiConstructorNotFoundError = _chunkIAWAV7EZjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkIAWAV7EZjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkIAWAV7EZjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkIAWAV7EZjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkIAWAV7EZjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkIAWAV7EZjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkIAWAV7EZjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkIAWAV7EZjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkIAWAV7EZjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkIAWAV7EZjs.AbiEventNotFoundError; exports.AbiEventSignatureEmptyTopicsError = _chunkIAWAV7EZjs.AbiEventSignatureEmptyTopicsError; exports.AbiEventSignatureNotFoundError = _chunkIAWAV7EZjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkIAWAV7EZjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkIAWAV7EZjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkIAWAV7EZjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkIAWAV7EZjs.BaseError; exports.BlockNotFoundError = _chunkIAWAV7EZjs.BlockNotFoundError; exports.CallExecutionError = _chunkIAWAV7EZjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkIAWAV7EZjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkIAWAV7EZjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkIAWAV7EZjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkIAWAV7EZjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkIAWAV7EZjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkIAWAV7EZjs.DataLengthTooShortError; exports.DecodeLogTopicsMismatch = _chunkIAWAV7EZjs.DecodeLogTopicsMismatch; exports.EnsAvatarUriResolutionError = _chunkIAWAV7EZjs.EnsAvatarUriResolutionError; exports.EstimateGasExecutionError = _chunkIAWAV7EZjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkIAWAV7EZjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkIAWAV7EZjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkIAWAV7EZjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkIAWAV7EZjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkIAWAV7EZjs.HttpRequestError; exports.InsufficientFundsError = _chunkIAWAV7EZjs.InsufficientFundsError; exports.InternalRpcError = _chunkIAWAV7EZjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkIAWAV7EZjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkIAWAV7EZjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkIAWAV7EZjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkIAWAV7EZjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkIAWAV7EZjs.InvalidAddressError; exports.InvalidArrayError = _chunkIAWAV7EZjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkIAWAV7EZjs.InvalidBytesBooleanError; exports.InvalidChainIdError = _chunkIAWAV7EZjs.InvalidChainIdError; exports.InvalidDefinitionTypeError = _chunkIAWAV7EZjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkIAWAV7EZjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkIAWAV7EZjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkIAWAV7EZjs.InvalidInputRpcError; exports.InvalidLegacyVError = _chunkIAWAV7EZjs.InvalidLegacyVError; exports.InvalidParamsRpcError = _chunkIAWAV7EZjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkIAWAV7EZjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkIAWAV7EZjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkIAWAV7EZjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkIAWAV7EZjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkIAWAV7EZjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkIAWAV7EZjs.NonceMaxValueError; exports.NonceTooHighError = _chunkIAWAV7EZjs.NonceTooHighError; exports.NonceTooLowError = _chunkIAWAV7EZjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkIAWAV7EZjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkIAWAV7EZjs.ParseRpcError; exports.RawContractError = _chunkIAWAV7EZjs.RawContractError; exports.RequestError = _chunkIAWAV7EZjs.RequestError; exports.ResourceNotFoundRpcError = _chunkIAWAV7EZjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkIAWAV7EZjs.ResourceUnavailableRpcError; exports.RpcError = _chunkIAWAV7EZjs.RpcError; exports.RpcRequestError = _chunkIAWAV7EZjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkIAWAV7EZjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkIAWAV7EZjs.SwitchChainError; exports.TimeoutError = _chunkIAWAV7EZjs.TimeoutError; exports.TipAboveFeeCapError = _chunkIAWAV7EZjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkIAWAV7EZjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkIAWAV7EZjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkIAWAV7EZjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkIAWAV7EZjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkIAWAV7EZjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkIAWAV7EZjs.UnknownNodeError; exports.UnknownRpcError = _chunkIAWAV7EZjs.UnknownRpcError; exports.UrlRequiredError = _chunkIAWAV7EZjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkIAWAV7EZjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkIAWAV7EZjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkIAWAV7EZjs.WebSocketRequestError; exports.assertRequest = _chunkIAWAV7EZjs.assertRequest; exports.assertTransactionEIP1559 = _chunkIAWAV7EZjs.assertTransactionEIP1559; exports.assertTransactionEIP2930 = _chunkIAWAV7EZjs.assertTransactionEIP2930; exports.assertTransactionLegacy = _chunkIAWAV7EZjs.assertTransactionLegacy; exports.boolToBytes = _chunkIAWAV7EZjs.boolToBytes; exports.boolToHex = _chunkIAWAV7EZjs.boolToHex; exports.bytesToBigint = _chunkIAWAV7EZjs.bytesToBigint; exports.bytesToBool = _chunkIAWAV7EZjs.bytesToBool; exports.bytesToHex = _chunkIAWAV7EZjs.bytesToHex; exports.bytesToNumber = _chunkIAWAV7EZjs.bytesToNumber; exports.bytesToString = _chunkIAWAV7EZjs.bytesToString; exports.concat = _chunkIAWAV7EZjs.concat; exports.concatBytes = _chunkIAWAV7EZjs.concatBytes; exports.concatHex = _chunkIAWAV7EZjs.concatHex; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkIAWAV7EZjs.decodeAbiParameters; exports.decodeErrorResult = _chunkIAWAV7EZjs.decodeErrorResult; exports.decodeEventLog = _chunkIAWAV7EZjs.decodeEventLog; exports.decodeFunctionData = _chunkIAWAV7EZjs.decodeFunctionData; exports.decodeFunctionResult = _chunkIAWAV7EZjs.decodeFunctionResult; exports.defineBlock = _chunkIAWAV7EZjs.defineBlock; exports.defineChain = _chunkIAWAV7EZjs.defineChain; exports.defineTransaction = _chunkIAWAV7EZjs.defineTransaction; exports.defineTransactionReceipt = _chunkIAWAV7EZjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkIAWAV7EZjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkIAWAV7EZjs.encodeAbiParameters; exports.encodeDeployData = _chunkIAWAV7EZjs.encodeDeployData; exports.encodeErrorResult = _chunkIAWAV7EZjs.encodeErrorResult; exports.encodeEventTopics = _chunkIAWAV7EZjs.encodeEventTopics; exports.encodeFunctionData = _chunkIAWAV7EZjs.encodeFunctionData; exports.encodeFunctionResult = _chunkIAWAV7EZjs.encodeFunctionResult; exports.encodePacked = _chunkIAWAV7EZjs.encodePacked; exports.etherUnits = _chunkIAWAV7EZjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkIAWAV7EZjs.formatBlock; exports.formatEther = _chunkIAWAV7EZjs.formatEther; exports.formatGwei = _chunkIAWAV7EZjs.formatGwei; exports.formatTransaction = _chunkIAWAV7EZjs.formatTransaction; exports.formatTransactionRequest = _chunkIAWAV7EZjs.formatTransactionRequest; exports.formatUnits = _chunkIAWAV7EZjs.formatUnits; exports.fromBytes = _chunkIAWAV7EZjs.fromBytes; exports.fromHex = _chunkIAWAV7EZjs.fromHex; exports.fromRlp = _chunkIAWAV7EZjs.fromRlp; exports.getAbiItem = _chunkIAWAV7EZjs.getAbiItem; exports.getAddress = _chunkIAWAV7EZjs.getAddress; exports.getContract = _chunkIAWAV7EZjs.getContract; exports.getContractAddress = _chunkIAWAV7EZjs.getContractAddress; exports.getContractError = _chunkIAWAV7EZjs.getContractError; exports.getCreate2Address = _chunkIAWAV7EZjs.getCreate2Address; exports.getCreateAddress = _chunkIAWAV7EZjs.getCreateAddress; exports.getEventSelector = _chunkIAWAV7EZjs.getEventSelector; exports.getFunctionSelector = _chunkIAWAV7EZjs.getFunctionSelector; exports.getSerializedTransactionType = _chunkIAWAV7EZjs.getSerializedTransactionType; exports.getTransactionType = _chunkIAWAV7EZjs.getTransactionType; exports.gweiUnits = _chunkIAWAV7EZjs.gweiUnits; exports.hashMessage = _chunkIAWAV7EZjs.hashMessage; exports.hashTypedData = _chunkIAWAV7EZjs.hashTypedData; exports.hexToBigInt = _chunkIAWAV7EZjs.hexToBigInt; exports.hexToBool = _chunkIAWAV7EZjs.hexToBool; exports.hexToBytes = _chunkIAWAV7EZjs.hexToBytes; exports.hexToNumber = _chunkIAWAV7EZjs.hexToNumber; exports.hexToString = _chunkIAWAV7EZjs.hexToString; exports.http = http; exports.isAddress = _chunkIAWAV7EZjs.isAddress; exports.isAddressEqual = _chunkIAWAV7EZjs.isAddressEqual; exports.isBytes = _chunkIAWAV7EZjs.isBytes; exports.isHash = _chunkIAWAV7EZjs.isHash; exports.isHex = _chunkIAWAV7EZjs.isHex; exports.keccak256 = _chunkIAWAV7EZjs.keccak256; exports.labelhash = _chunkIAWAV7EZjs.labelhash; exports.multicall3Abi = _chunkIAWAV7EZjs.multicall3Abi; exports.namehash = _chunkIAWAV7EZjs.namehash; exports.numberToBytes = _chunkIAWAV7EZjs.numberToBytes; exports.numberToHex = _chunkIAWAV7EZjs.numberToHex; exports.pad = _chunkIAWAV7EZjs.pad; exports.padBytes = _chunkIAWAV7EZjs.padBytes; exports.padHex = _chunkIAWAV7EZjs.padHex; exports.parseAbi = _chunkIAWAV7EZjs.parseAbi; exports.parseAbiItem = _chunkIAWAV7EZjs.parseAbiItem; exports.parseAbiParameter = _chunkIAWAV7EZjs.parseAbiParameter; exports.parseAbiParameters = _chunkIAWAV7EZjs.parseAbiParameters; exports.parseEther = _chunkIAWAV7EZjs.parseEther; exports.parseGwei = _chunkIAWAV7EZjs.parseGwei; exports.parseTransaction = _chunkIAWAV7EZjs.parseTransaction; exports.parseUnits = _chunkIAWAV7EZjs.parseUnits; exports.prepareRequest = _chunkIAWAV7EZjs.prepareRequest; exports.recoverAddress = _chunkIAWAV7EZjs.recoverAddress; exports.recoverMessageAddress = _chunkIAWAV7EZjs.recoverMessageAddress; exports.recoverTypedDataAddress = _chunkIAWAV7EZjs.recoverTypedDataAddress; exports.serializeTransaction = _chunkIAWAV7EZjs.serializeTransaction; exports.size = _chunkIAWAV7EZjs.size; exports.slice = _chunkIAWAV7EZjs.slice; exports.sliceBytes = _chunkIAWAV7EZjs.sliceBytes; exports.sliceHex = _chunkIAWAV7EZjs.sliceHex; exports.stringToBytes = _chunkIAWAV7EZjs.stringToBytes; exports.stringToHex = _chunkIAWAV7EZjs.stringToHex; exports.stringify = _chunkIAWAV7EZjs.stringify; exports.toBytes = _chunkIAWAV7EZjs.toBytes; exports.toHex = _chunkIAWAV7EZjs.toHex; exports.toRlp = _chunkIAWAV7EZjs.toRlp; exports.transactionType = _chunkIAWAV7EZjs.transactionType; exports.trim = _chunkIAWAV7EZjs.trim; exports.validateTypedData = _chunkIAWAV7EZjs.validateTypedData; exports.verifyMessage = _chunkIAWAV7EZjs.verifyMessage; exports.verifyTypedData = _chunkIAWAV7EZjs.verifyTypedData; exports.webSocket = webSocket; exports.weiUnits = _chunkIAWAV7EZjs.weiUnits;
927
927
  //# sourceMappingURL=index.js.map
package/dist/index.mjs CHANGED
@@ -265,7 +265,7 @@ import {
265
265
  watchPendingTransactions,
266
266
  weiUnits,
267
267
  writeContract
268
- } from "./chunk-ZEA2O6V2.mjs";
268
+ } from "./chunk-BZBBEU5Z.mjs";
269
269
 
270
270
  // src/clients/transports/createTransport.ts
271
271
  function createTransport({
@@ -2,7 +2,7 @@ import { Address, Abi, TypedData } from 'abitype';
2
2
  import { B as ByteArray, H as Hex, C as Chain, a as Hash, i as BlockTag, ao as EventDefinition, a4 as TransactionSerialized, a5 as TransactionSerializedEIP1559, a6 as TransactionSerializedEIP2930, $ as TransactionSerializable, e as AccessList, a8 as TransactionType, a1 as TransactionSerializableEIP1559, a2 as TransactionSerializableEIP2930, a3 as TransactionSerializableLegacy, ap as Signature } from './chain-5507c6f0.js';
3
3
  import { A as Account, T as TypedDataDefinition } from './typedData-46b4d81f.js';
4
4
  import { i as CallParameters, p as EstimateGasParameters, ao as SendTransactionParameters, W as WalletClient, P as PublicClient, b3 as GetAccountParameter } from './getEnsResolver-ce85735b.js';
5
- import { a as DecodeErrorResultReturnType } from './encodeFunctionResult-c5185b98.js';
5
+ import { a as DecodeErrorResultReturnType } from './encodeFunctionResult-b4670cf7.js';
6
6
  import WebSocket from 'isomorphic-ws';
7
7
  import { a as Transport } from './createTransport-21a0d2b3.js';
8
8
 
package/dist/public.js CHANGED
@@ -26,7 +26,7 @@
26
26
 
27
27
 
28
28
 
29
- var _chunkQISMTRQFjs = require('./chunk-QISMTRQF.js');
29
+ var _chunkIAWAV7EZjs = require('./chunk-IAWAV7EZ.js');
30
30
 
31
31
 
32
32
 
@@ -55,5 +55,5 @@ var _chunkQISMTRQFjs = require('./chunk-QISMTRQF.js');
55
55
 
56
56
 
57
57
 
58
- exports.call = _chunkQISMTRQFjs.call; exports.createBlockFilter = _chunkQISMTRQFjs.createBlockFilter; exports.createEventFilter = _chunkQISMTRQFjs.createEventFilter; exports.createPendingTransactionFilter = _chunkQISMTRQFjs.createPendingTransactionFilter; exports.estimateGas = _chunkQISMTRQFjs.estimateGas; exports.getBalance = _chunkQISMTRQFjs.getBalance; exports.getBlock = _chunkQISMTRQFjs.getBlock; exports.getBlockNumber = _chunkQISMTRQFjs.getBlockNumber; exports.getBlockNumberCache = _chunkQISMTRQFjs.getBlockNumberCache; exports.getBlockTransactionCount = _chunkQISMTRQFjs.getBlockTransactionCount; exports.getBytecode = _chunkQISMTRQFjs.getBytecode; exports.getChainId = _chunkQISMTRQFjs.getChainId; exports.getFeeHistory = _chunkQISMTRQFjs.getFeeHistory; exports.getFilterChanges = _chunkQISMTRQFjs.getFilterChanges; exports.getFilterLogs = _chunkQISMTRQFjs.getFilterLogs; exports.getGasPrice = _chunkQISMTRQFjs.getGasPrice; exports.getLogs = _chunkQISMTRQFjs.getLogs; exports.getTransaction = _chunkQISMTRQFjs.getTransaction; exports.getTransactionConfirmations = _chunkQISMTRQFjs.getTransactionConfirmations; exports.getTransactionCount = _chunkQISMTRQFjs.getTransactionCount; exports.getTransactionReceipt = _chunkQISMTRQFjs.getTransactionReceipt; exports.uninstallFilter = _chunkQISMTRQFjs.uninstallFilter; exports.waitForTransactionReceipt = _chunkQISMTRQFjs.waitForTransactionReceipt; exports.watchBlockNumber = _chunkQISMTRQFjs.watchBlockNumber; exports.watchBlocks = _chunkQISMTRQFjs.watchBlocks; exports.watchEvent = _chunkQISMTRQFjs.watchEvent; exports.watchPendingTransactions = _chunkQISMTRQFjs.watchPendingTransactions;
58
+ exports.call = _chunkIAWAV7EZjs.call; exports.createBlockFilter = _chunkIAWAV7EZjs.createBlockFilter; exports.createEventFilter = _chunkIAWAV7EZjs.createEventFilter; exports.createPendingTransactionFilter = _chunkIAWAV7EZjs.createPendingTransactionFilter; exports.estimateGas = _chunkIAWAV7EZjs.estimateGas; exports.getBalance = _chunkIAWAV7EZjs.getBalance; exports.getBlock = _chunkIAWAV7EZjs.getBlock; exports.getBlockNumber = _chunkIAWAV7EZjs.getBlockNumber; exports.getBlockNumberCache = _chunkIAWAV7EZjs.getBlockNumberCache; exports.getBlockTransactionCount = _chunkIAWAV7EZjs.getBlockTransactionCount; exports.getBytecode = _chunkIAWAV7EZjs.getBytecode; exports.getChainId = _chunkIAWAV7EZjs.getChainId; exports.getFeeHistory = _chunkIAWAV7EZjs.getFeeHistory; exports.getFilterChanges = _chunkIAWAV7EZjs.getFilterChanges; exports.getFilterLogs = _chunkIAWAV7EZjs.getFilterLogs; exports.getGasPrice = _chunkIAWAV7EZjs.getGasPrice; exports.getLogs = _chunkIAWAV7EZjs.getLogs; exports.getTransaction = _chunkIAWAV7EZjs.getTransaction; exports.getTransactionConfirmations = _chunkIAWAV7EZjs.getTransactionConfirmations; exports.getTransactionCount = _chunkIAWAV7EZjs.getTransactionCount; exports.getTransactionReceipt = _chunkIAWAV7EZjs.getTransactionReceipt; exports.uninstallFilter = _chunkIAWAV7EZjs.uninstallFilter; exports.waitForTransactionReceipt = _chunkIAWAV7EZjs.waitForTransactionReceipt; exports.watchBlockNumber = _chunkIAWAV7EZjs.watchBlockNumber; exports.watchBlocks = _chunkIAWAV7EZjs.watchBlocks; exports.watchEvent = _chunkIAWAV7EZjs.watchEvent; exports.watchPendingTransactions = _chunkIAWAV7EZjs.watchPendingTransactions;
59
59
  //# sourceMappingURL=public.js.map
package/dist/public.mjs CHANGED
@@ -26,7 +26,7 @@ import {
26
26
  watchBlocks,
27
27
  watchEvent,
28
28
  watchPendingTransactions
29
- } from "./chunk-ZEA2O6V2.mjs";
29
+ } from "./chunk-BZBBEU5Z.mjs";
30
30
  export {
31
31
  call,
32
32
  createBlockFilter,