viem 0.2.10 → 0.2.11

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 (42) 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-34RQIVOR.mjs → chunk-HU3K54ST.mjs} +122 -38
  8. package/dist/chunk-HU3K54ST.mjs.map +1 -0
  9. package/dist/{chunk-6PP4CMLN.js → chunk-MOM6LTRA.js} +126 -42
  10. package/dist/chunk-MOM6LTRA.js.map +1 -0
  11. package/dist/{chunk-AQJCWZV6.mjs → chunk-YABBVXPP.mjs} +2 -2
  12. package/dist/{chunk-I2RHOQQS.js → chunk-YAP7NKRV.js} +6 -6
  13. package/dist/contract.d.ts +2 -2
  14. package/dist/contract.js +2 -2
  15. package/dist/contract.mjs +1 -1
  16. package/dist/ens.d.ts +1 -1
  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/{formatAbiItem-e5bbcadb.d.ts → formatAbiItem-aaf282fc.d.ts} +5 -1
  22. package/dist/{getEnsResolver-314de6e9.d.ts → getEnsResolver-68329c3e.d.ts} +1 -1
  23. package/dist/index.d.ts +8 -5
  24. package/dist/index.js +94 -94
  25. package/dist/index.mjs +1 -1
  26. package/dist/{parseGwei-4fb29d96.d.ts → parseGwei-e2b004f8.d.ts} +1 -1
  27. package/dist/public.d.ts +1 -1
  28. package/dist/public.js +2 -2
  29. package/dist/public.mjs +1 -1
  30. package/dist/test.js +2 -2
  31. package/dist/test.mjs +1 -1
  32. package/dist/utils/index.d.ts +5 -5
  33. package/dist/utils/index.js +4 -2
  34. package/dist/utils/index.mjs +3 -1
  35. package/dist/wallet.d.ts +1 -1
  36. package/dist/wallet.js +2 -2
  37. package/dist/wallet.mjs +1 -1
  38. package/package.json +1 -1
  39. package/dist/chunk-34RQIVOR.mjs.map +0 -1
  40. package/dist/chunk-6PP4CMLN.js.map +0 -1
  41. /package/dist/{chunk-AQJCWZV6.mjs.map → chunk-YABBVXPP.mjs.map} +0 -0
  42. /package/dist/{chunk-I2RHOQQS.js.map → chunk-YAP7NKRV.js.map} +0 -0
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  InvalidAddressError,
3
3
  isAddress
4
- } from "./chunk-34RQIVOR.mjs";
4
+ } from "./chunk-HU3K54ST.mjs";
5
5
 
6
6
  // src/accounts/toAccount.ts
7
7
  function toAccount(source) {
@@ -28,4 +28,4 @@ function toAccount(source) {
28
28
  export {
29
29
  toAccount
30
30
  };
31
- //# sourceMappingURL=chunk-AQJCWZV6.mjs.map
31
+ //# sourceMappingURL=chunk-YABBVXPP.mjs.map
@@ -1,20 +1,20 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunk6PP4CMLNjs = require('./chunk-6PP4CMLN.js');
4
+ var _chunkMOM6LTRAjs = require('./chunk-MOM6LTRA.js');
5
5
 
6
6
  // src/accounts/toAccount.ts
7
7
  function toAccount(source) {
8
8
  if (typeof source === "string") {
9
- if (!_chunk6PP4CMLNjs.isAddress.call(void 0, source))
10
- throw new (0, _chunk6PP4CMLNjs.InvalidAddressError)({ address: source });
9
+ if (!_chunkMOM6LTRAjs.isAddress.call(void 0, source))
10
+ throw new (0, _chunkMOM6LTRAjs.InvalidAddressError)({ address: source });
11
11
  return {
12
12
  address: source,
13
13
  type: "json-rpc"
14
14
  };
15
15
  }
16
- if (!_chunk6PP4CMLNjs.isAddress.call(void 0, source.address))
17
- throw new (0, _chunk6PP4CMLNjs.InvalidAddressError)({ address: source.address });
16
+ if (!_chunkMOM6LTRAjs.isAddress.call(void 0, source.address))
17
+ throw new (0, _chunkMOM6LTRAjs.InvalidAddressError)({ address: source.address });
18
18
  return {
19
19
  address: source.address,
20
20
  signMessage: source.signMessage,
@@ -28,4 +28,4 @@ function toAccount(source) {
28
28
 
29
29
 
30
30
  exports.toAccount = toAccount;
31
- //# sourceMappingURL=chunk-I2RHOQQS.js.map
31
+ //# sourceMappingURL=chunk-YAP7NKRV.js.map
@@ -1,7 +1,7 @@
1
1
  export { D as DecodeAbiParametersReturnType, E as EncodeAbiParametersReturnType, G as GetAbiItemParameters, d as decodeAbiParameters, e as encodeAbiParameters, g as getAbiItem } from './getAbiItem-443d91a0.js';
2
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-f7c8e382.js';
3
- export { a as formatAbiItem, f as formatAbiItemWithArgs } from './formatAbiItem-e5bbcadb.js';
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-314de6e9.js';
3
+ export { a as formatAbiItem, f as formatAbiItemWithArgs } from './formatAbiItem-aaf282fc.js';
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-68329c3e.js';
5
5
  import 'abitype';
6
6
  import './chain-02c77999.js';
7
7
  import '@wagmi/chains';
package/dist/contract.js CHANGED
@@ -23,7 +23,7 @@
23
23
 
24
24
 
25
25
 
26
- var _chunk6PP4CMLNjs = require('./chunk-6PP4CMLN.js');
26
+ var _chunkMOM6LTRAjs = require('./chunk-MOM6LTRA.js');
27
27
 
28
28
 
29
29
 
@@ -49,5 +49,5 @@ var _chunk6PP4CMLNjs = require('./chunk-6PP4CMLN.js');
49
49
 
50
50
 
51
51
 
52
- exports.createContractEventFilter = _chunk6PP4CMLNjs.createContractEventFilter; exports.decodeAbiParameters = _chunk6PP4CMLNjs.decodeAbiParameters; exports.decodeErrorResult = _chunk6PP4CMLNjs.decodeErrorResult; exports.decodeEventLog = _chunk6PP4CMLNjs.decodeEventLog; exports.decodeFunctionData = _chunk6PP4CMLNjs.decodeFunctionData; exports.decodeFunctionResult = _chunk6PP4CMLNjs.decodeFunctionResult; exports.deployContract = _chunk6PP4CMLNjs.deployContract; exports.encodeAbiParameters = _chunk6PP4CMLNjs.encodeAbiParameters; exports.encodeDeployData = _chunk6PP4CMLNjs.encodeDeployData; exports.encodeErrorResult = _chunk6PP4CMLNjs.encodeErrorResult; exports.encodeEventTopics = _chunk6PP4CMLNjs.encodeEventTopics; exports.encodeFunctionData = _chunk6PP4CMLNjs.encodeFunctionData; exports.encodeFunctionResult = _chunk6PP4CMLNjs.encodeFunctionResult; exports.estimateContractGas = _chunk6PP4CMLNjs.estimateContractGas; exports.formatAbiItem = _chunk6PP4CMLNjs.formatAbiItem; exports.formatAbiItemWithArgs = _chunk6PP4CMLNjs.formatAbiItemWithArgs; exports.getAbiItem = _chunk6PP4CMLNjs.getAbiItem; exports.getBytecode = _chunk6PP4CMLNjs.getBytecode; exports.getStorageAt = _chunk6PP4CMLNjs.getStorageAt; exports.multicall = _chunk6PP4CMLNjs.multicall; exports.readContract = _chunk6PP4CMLNjs.readContract; exports.simulateContract = _chunk6PP4CMLNjs.simulateContract; exports.watchContractEvent = _chunk6PP4CMLNjs.watchContractEvent; exports.writeContract = _chunk6PP4CMLNjs.writeContract;
52
+ exports.createContractEventFilter = _chunkMOM6LTRAjs.createContractEventFilter; exports.decodeAbiParameters = _chunkMOM6LTRAjs.decodeAbiParameters; exports.decodeErrorResult = _chunkMOM6LTRAjs.decodeErrorResult; exports.decodeEventLog = _chunkMOM6LTRAjs.decodeEventLog; exports.decodeFunctionData = _chunkMOM6LTRAjs.decodeFunctionData; exports.decodeFunctionResult = _chunkMOM6LTRAjs.decodeFunctionResult; exports.deployContract = _chunkMOM6LTRAjs.deployContract; exports.encodeAbiParameters = _chunkMOM6LTRAjs.encodeAbiParameters; exports.encodeDeployData = _chunkMOM6LTRAjs.encodeDeployData; exports.encodeErrorResult = _chunkMOM6LTRAjs.encodeErrorResult; exports.encodeEventTopics = _chunkMOM6LTRAjs.encodeEventTopics; exports.encodeFunctionData = _chunkMOM6LTRAjs.encodeFunctionData; exports.encodeFunctionResult = _chunkMOM6LTRAjs.encodeFunctionResult; exports.estimateContractGas = _chunkMOM6LTRAjs.estimateContractGas; exports.formatAbiItem = _chunkMOM6LTRAjs.formatAbiItem; exports.formatAbiItemWithArgs = _chunkMOM6LTRAjs.formatAbiItemWithArgs; exports.getAbiItem = _chunkMOM6LTRAjs.getAbiItem; exports.getBytecode = _chunkMOM6LTRAjs.getBytecode; exports.getStorageAt = _chunkMOM6LTRAjs.getStorageAt; exports.multicall = _chunkMOM6LTRAjs.multicall; exports.readContract = _chunkMOM6LTRAjs.readContract; exports.simulateContract = _chunkMOM6LTRAjs.simulateContract; exports.watchContractEvent = _chunkMOM6LTRAjs.watchContractEvent; exports.writeContract = _chunkMOM6LTRAjs.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-34RQIVOR.mjs";
26
+ } from "./chunk-HU3K54ST.mjs";
27
27
  export {
28
28
  createContractEventFilter,
29
29
  decodeAbiParameters,
package/dist/ens.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { H as GetEnsAddressParameters, I as GetEnsAddressReturnType, be as GetEnsAvatarParameters, bf as GetEnsAvatarReturnType, J as GetEnsNameParameters, K as GetEnsNameReturnType, L as GetEnsResolverParameters, M as GetEnsResolverReturnType, bg as GetEnsTextParameters, bh as GetEnsTextReturnType, bi as getEnsAddress, bj as getEnsAvatar, bk as getEnsName, bl as getEnsResolver, bm as getEnsText } from './getEnsResolver-314de6e9.js';
1
+ export { H as GetEnsAddressParameters, I as GetEnsAddressReturnType, be as GetEnsAvatarParameters, bf as GetEnsAvatarReturnType, J as GetEnsNameParameters, K as GetEnsNameReturnType, L as GetEnsResolverParameters, M as GetEnsResolverReturnType, bg as GetEnsTextParameters, bh as GetEnsTextReturnType, bi as getEnsAddress, bj as getEnsAvatar, bk as getEnsName, bl as getEnsResolver, bm as getEnsText } from './getEnsResolver-68329c3e.js';
2
2
  export { l as labelhash, n as namehash } from './namehash-afff0feb.js';
3
3
  import './createTransport-55339615.js';
4
4
  import './eip1193-07d9c47f.js';
package/dist/ens.js CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
 
8
8
 
9
- var _chunk6PP4CMLNjs = require('./chunk-6PP4CMLN.js');
9
+ var _chunkMOM6LTRAjs = require('./chunk-MOM6LTRA.js');
10
10
 
11
11
  // src/utils/ens/normalize.ts
12
12
  var _ensnormalize = require('@adraffy/ens-normalize');
@@ -22,5 +22,5 @@ function normalize(name) {
22
22
 
23
23
 
24
24
 
25
- exports.getEnsAddress = _chunk6PP4CMLNjs.getEnsAddress; exports.getEnsAvatar = _chunk6PP4CMLNjs.getEnsAvatar; exports.getEnsName = _chunk6PP4CMLNjs.getEnsName; exports.getEnsResolver = _chunk6PP4CMLNjs.getEnsResolver; exports.getEnsText = _chunk6PP4CMLNjs.getEnsText; exports.labelhash = _chunk6PP4CMLNjs.labelhash; exports.namehash = _chunk6PP4CMLNjs.namehash; exports.normalize = normalize;
25
+ exports.getEnsAddress = _chunkMOM6LTRAjs.getEnsAddress; exports.getEnsAvatar = _chunkMOM6LTRAjs.getEnsAvatar; exports.getEnsName = _chunkMOM6LTRAjs.getEnsName; exports.getEnsResolver = _chunkMOM6LTRAjs.getEnsResolver; exports.getEnsText = _chunkMOM6LTRAjs.getEnsText; exports.labelhash = _chunkMOM6LTRAjs.labelhash; exports.namehash = _chunkMOM6LTRAjs.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-34RQIVOR.mjs";
9
+ } from "./chunk-HU3K54ST.mjs";
10
10
 
11
11
  // src/utils/ens/normalize.ts
12
12
  import { ens_normalize } from "@adraffy/ens-normalize";
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 _chunkI2RHOQQSjs = require('./chunk-I2RHOQQS.js');
3
+ var _chunkYAP7NKRVjs = require('./chunk-YAP7NKRV.js');
4
4
 
5
5
 
6
- var _chunk6PP4CMLNjs = require('./chunk-6PP4CMLN.js');
6
+ var _chunkMOM6LTRAjs = require('./chunk-MOM6LTRA.js');
7
7
 
8
8
  // src/adapters/ethers.ts
9
- var ethersWalletToAccount = (wallet) => _chunkI2RHOQQSjs.toAccount.call(void 0, {
9
+ var ethersWalletToAccount = (wallet) => _chunkYAP7NKRVjs.toAccount.call(void 0, {
10
10
  address: wallet.address,
11
11
  async signMessage({ message }) {
12
- return await wallet.signMessage(_chunk6PP4CMLNjs.toBytes.call(void 0, message));
12
+ return await wallet.signMessage(_chunkMOM6LTRAjs.toBytes.call(void 0, message));
13
13
  },
14
14
  async signTransaction(txn) {
15
15
  let type = null;
package/dist/ethers.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  toAccount
3
- } from "./chunk-AQJCWZV6.mjs";
3
+ } from "./chunk-YABBVXPP.mjs";
4
4
  import {
5
5
  toBytes
6
- } from "./chunk-34RQIVOR.mjs";
6
+ } from "./chunk-HU3K54ST.mjs";
7
7
 
8
8
  // src/adapters/ethers.ts
9
9
  var ethersWalletToAccount = (wallet) => toAccount({
@@ -1,4 +1,5 @@
1
1
  import { A as AbiItem } from './chain-02c77999.js';
2
+ import { AbiParameter } from 'abitype';
2
3
 
3
4
  declare function formatAbiItemWithArgs({ abiItem, args, includeFunctionName, includeName, }: {
4
5
  abiItem: AbiItem;
@@ -10,5 +11,8 @@ declare function formatAbiItemWithArgs({ abiItem, args, includeFunctionName, inc
10
11
  declare function formatAbiItem(abiItem: AbiItem, { includeName }?: {
11
12
  includeName?: boolean;
12
13
  }): string;
14
+ declare function formatAbiParams(params: readonly AbiParameter[] | undefined, { includeName }?: {
15
+ includeName?: boolean;
16
+ }): string;
13
17
 
14
- export { formatAbiItem as a, formatAbiItemWithArgs as f };
18
+ export { formatAbiItem as a, formatAbiParams as b, formatAbiItemWithArgs as f };
@@ -32,7 +32,7 @@ type FormattedTransactionRequest$1<TFormatter extends Formatter | undefined = Fo
32
32
  declare function formatTransactionRequest(transactionRequest: Partial<TransactionRequest>): RpcTransactionRequest;
33
33
  declare const defineTransactionRequest: <TFormat extends Formatter<Partial<TransactionRequest<bigint, number>>, Partial<RpcTransactionRequest> & {
34
34
  [key: string]: unknown;
35
- }>, TExclude extends ("value" | "data" | "gasPrice" | "maxFeePerGas" | "maxPriorityFeePerGas" | "from" | "accessList" | "to" | "gas" | "nonce")[] = []>({ exclude, format: formatOverride, }: {
35
+ }>, TExclude extends ("data" | "value" | "gasPrice" | "maxFeePerGas" | "maxPriorityFeePerGas" | "from" | "accessList" | "to" | "gas" | "nonce")[] = []>({ exclude, format: formatOverride, }: {
36
36
  exclude?: TExclude | undefined;
37
37
  format?: TFormat | undefined;
38
38
  }) => (data: Partial<TransactionRequest<bigint, number>> & {
package/dist/index.d.ts CHANGED
@@ -1,9 +1,9 @@
1
- import { P as PublicClient, W as WalletClient, R as ReadContractParameters, a as ReadContractReturnType, E as EstimateContractGasParameters, b as EstimateContractGasReturnType, S as SimulateContractParameters, c as SimulateContractReturnType, d as WriteContractParameters, e as WriteContractReturnType, C as CreateContractEventFilterParameters, f as CreateContractEventFilterReturnType, g as WatchContractEventParameters, h as WatchContractEventReturnType } from './getEnsResolver-314de6e9.js';
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-314de6e9.js';
1
+ import { P as PublicClient, W as WalletClient, R as ReadContractParameters, a as ReadContractReturnType, E as EstimateContractGasParameters, b as EstimateContractGasReturnType, S as SimulateContractParameters, c as SimulateContractReturnType, d as WriteContractParameters, e as WriteContractReturnType, C as CreateContractEventFilterParameters, f as CreateContractEventFilterReturnType, g as WatchContractEventParameters, h as WatchContractEventReturnType } from './getEnsResolver-68329c3e.js';
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-68329c3e.js';
3
3
  import { T as TransportConfig, a as Transport, B as BaseRpcRequests } from './createTransport-55339615.js';
4
4
  export { C as Client, b as ClientConfig, a as Transport, T as TransportConfig, c as createClient, d as createTransport } from './createTransport-55339615.js';
5
- import { B as BaseError, H as HttpOptions, R as RpcResponse } from './parseGwei-4fb29d96.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-4fb29d96.js';
5
+ import { B as BaseError, H as HttpOptions, R as RpcResponse } from './parseGwei-e2b004f8.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-e2b004f8.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-02c77999.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, ab as ExtractFormatter, F as FeeHistory, l as FeeValues, m as FeeValuesEIP1559, n as FeeValuesLegacy, ac as Formatted, ad as FormattedTransaction, G as GetConstructorArgs, o as GetErrorArgs, p as GetEventArgs, q as GetEventArgsFromTopics, r as GetFunctionArgs, s as GetValue, a as Hash, H as Hex, t as InferErrorName, u as InferEventName, v as InferFunctionName, w as InferItemName, L as Log, R as RpcBlock, x as RpcBlockIdentifier, y as RpcBlockNumber, z as RpcFeeHistory, D as RpcFeeValues, E as RpcLog, J as RpcTransaction, K as RpcTransactionReceipt, N as RpcTransactionRequest, O as RpcUncle, T as Transaction, Q as TransactionBase, S as TransactionEIP1559, U as TransactionEIP2930, ae as TransactionFormatter, V as TransactionLegacy, W as TransactionReceipt, X as TransactionRequest, Y as TransactionRequestBase, Z as TransactionRequestEIP1559, _ as TransactionRequestEIP2930, $ as TransactionRequestLegacy, a0 as TransactionSerializable, a1 as TransactionSerializableBase, a2 as TransactionSerializableEIP1559, a3 as TransactionSerializableEIP2930, a4 as TransactionSerializableLegacy, a5 as TransactionSerialized, a6 as TransactionSerializedEIP1559, a7 as TransactionSerializedEIP2930, a8 as TransactionSerializedLegacy, a9 as TransactionType, aa as Uncle, af as defineTransaction, ag as formatTransaction, ah as transactionType } from './chain-02c77999.js';
@@ -36,7 +36,10 @@ declare class AbiConstructorParamsNotFoundError extends BaseError {
36
36
  }
37
37
  declare class AbiDecodingDataSizeInvalidError extends BaseError {
38
38
  name: string;
39
- constructor(size: number);
39
+ constructor({ data, size }: {
40
+ data: Hex;
41
+ size: number;
42
+ });
40
43
  }
41
44
  declare class AbiDecodingZeroDataError extends BaseError {
42
45
  name: string;
package/dist/index.js CHANGED
@@ -265,7 +265,7 @@
265
265
 
266
266
 
267
267
 
268
- var _chunk6PP4CMLNjs = require('./chunk-6PP4CMLN.js');
268
+ var _chunkMOM6LTRAjs = require('./chunk-MOM6LTRA.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: _chunk6PP4CMLNjs.buildRequest.call(void 0, request, { retryCount, retryDelay }),
282
+ request: _chunkMOM6LTRAjs.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 (_chunk6PP4CMLNjs.isDeterministicError.call(void 0, err))
324
+ if (_chunkMOM6LTRAjs.isDeterministicError.call(void 0, err))
325
325
  throw err;
326
326
  if (i === transports.length - 1)
327
327
  throw err;
@@ -405,7 +405,7 @@ function rankTransports({
405
405
  ];
406
406
  }).sort((a, b) => b[0] - a[0]);
407
407
  onTransports(scores.map(([, i]) => transports[i]));
408
- await _chunk6PP4CMLNjs.wait.call(void 0, interval);
408
+ await _chunkMOM6LTRAjs.wait.call(void 0, interval);
409
409
  rankTransports_();
410
410
  };
411
411
  rankTransports_();
@@ -424,13 +424,13 @@ function http(url, config = {}) {
424
424
  const timeout = _nullishCoalesce(_nullishCoalesce(timeout_, () => ( config.timeout)), () => ( 1e4));
425
425
  const url_ = url || _optionalChain([chain, 'optionalAccess', _2 => _2.rpcUrls, 'access', _3 => _3.default, 'access', _4 => _4.http, 'access', _5 => _5[0]]);
426
426
  if (!url_)
427
- throw new (0, _chunk6PP4CMLNjs.UrlRequiredError)();
427
+ throw new (0, _chunkMOM6LTRAjs.UrlRequiredError)();
428
428
  return createTransport(
429
429
  {
430
430
  key,
431
431
  name,
432
432
  async request({ method, params }) {
433
- const { result } = await _chunk6PP4CMLNjs.rpc.http(url_, {
433
+ const { result } = await _chunkMOM6LTRAjs.rpc.http(url_, {
434
434
  body: {
435
435
  method,
436
436
  params
@@ -460,14 +460,14 @@ function webSocket(url, config = {}) {
460
460
  const timeout = _nullishCoalesce(_nullishCoalesce(timeout_, () => ( config.timeout)), () => ( 1e4));
461
461
  const url_ = url || _optionalChain([chain, 'optionalAccess', _6 => _6.rpcUrls, 'access', _7 => _7.default, 'access', _8 => _8.webSocket, 'optionalAccess', _9 => _9[0]]);
462
462
  if (!url_)
463
- throw new (0, _chunk6PP4CMLNjs.UrlRequiredError)();
463
+ throw new (0, _chunkMOM6LTRAjs.UrlRequiredError)();
464
464
  return createTransport(
465
465
  {
466
466
  key,
467
467
  name,
468
468
  async request({ method, params }) {
469
- const socket = await _chunk6PP4CMLNjs.getSocket.call(void 0, url_);
470
- const { result } = await _chunk6PP4CMLNjs.rpc.webSocketAsync(socket, {
469
+ const socket = await _chunkMOM6LTRAjs.getSocket.call(void 0, url_);
470
+ const { result } = await _chunkMOM6LTRAjs.rpc.webSocketAsync(socket, {
471
471
  body: { method, params },
472
472
  timeout
473
473
  });
@@ -480,12 +480,12 @@ function webSocket(url, config = {}) {
480
480
  },
481
481
  {
482
482
  getSocket() {
483
- return _chunk6PP4CMLNjs.getSocket.call(void 0, url_);
483
+ return _chunkMOM6LTRAjs.getSocket.call(void 0, url_);
484
484
  },
485
485
  async subscribe({ params, onData, onError }) {
486
- const socket = await _chunk6PP4CMLNjs.getSocket.call(void 0, url_);
486
+ const socket = await _chunkMOM6LTRAjs.getSocket.call(void 0, url_);
487
487
  const { result: subscriptionId } = await new Promise(
488
- (resolve, reject) => _chunk6PP4CMLNjs.rpc.webSocket(socket, {
488
+ (resolve, reject) => _chunkMOM6LTRAjs.rpc.webSocket(socket, {
489
489
  body: {
490
490
  method: "eth_subscribe",
491
491
  params
@@ -509,7 +509,7 @@ function webSocket(url, config = {}) {
509
509
  subscriptionId,
510
510
  async unsubscribe() {
511
511
  return new Promise(
512
- (resolve, reject) => _chunk6PP4CMLNjs.rpc.webSocket(socket, {
512
+ (resolve, reject) => _chunkMOM6LTRAjs.rpc.webSocket(socket, {
513
513
  body: {
514
514
  method: "eth_unsubscribe",
515
515
  params: [subscriptionId]
@@ -565,95 +565,95 @@ function createClient({
565
565
 
566
566
  // src/clients/decorators/public.ts
567
567
  var publicActions = (client) => ({
568
- call: (args) => _chunk6PP4CMLNjs.call.call(void 0, client, args),
569
- createBlockFilter: () => _chunk6PP4CMLNjs.createBlockFilter.call(void 0, client),
570
- createContractEventFilter: (args) => _chunk6PP4CMLNjs.createContractEventFilter.call(void 0, client, args),
571
- createEventFilter: (args) => _chunk6PP4CMLNjs.createEventFilter.call(void 0, client, args),
572
- createPendingTransactionFilter: () => _chunk6PP4CMLNjs.createPendingTransactionFilter.call(void 0, client),
573
- estimateContractGas: (args) => _chunk6PP4CMLNjs.estimateContractGas.call(void 0, client, args),
574
- estimateGas: (args) => _chunk6PP4CMLNjs.estimateGas.call(void 0, client, args),
575
- getBalance: (args) => _chunk6PP4CMLNjs.getBalance.call(void 0, client, args),
576
- getBlock: (args) => _chunk6PP4CMLNjs.getBlock.call(void 0, client, args),
577
- getBlockNumber: (args) => _chunk6PP4CMLNjs.getBlockNumber.call(void 0, client, args),
578
- getBlockTransactionCount: (args) => _chunk6PP4CMLNjs.getBlockTransactionCount.call(void 0, client, args),
579
- getBytecode: (args) => _chunk6PP4CMLNjs.getBytecode.call(void 0, client, args),
580
- getChainId: () => _chunk6PP4CMLNjs.getChainId.call(void 0, client),
581
- getEnsAddress: (args) => _chunk6PP4CMLNjs.getEnsAddress.call(void 0, client, args),
582
- getEnsAvatar: (args) => _chunk6PP4CMLNjs.getEnsAvatar.call(void 0, client, args),
583
- getEnsName: (args) => _chunk6PP4CMLNjs.getEnsName.call(void 0, client, args),
584
- getEnsResolver: (args) => _chunk6PP4CMLNjs.getEnsResolver.call(void 0, client, args),
585
- getEnsText: (args) => _chunk6PP4CMLNjs.getEnsText.call(void 0, client, args),
586
- getFeeHistory: (args) => _chunk6PP4CMLNjs.getFeeHistory.call(void 0, client, args),
587
- getFilterChanges: (args) => _chunk6PP4CMLNjs.getFilterChanges.call(void 0, client, args),
588
- getFilterLogs: (args) => _chunk6PP4CMLNjs.getFilterLogs.call(void 0, client, args),
589
- getGasPrice: () => _chunk6PP4CMLNjs.getGasPrice.call(void 0, client),
590
- getLogs: (args) => _chunk6PP4CMLNjs.getLogs.call(void 0, client, args),
591
- getStorageAt: (args) => _chunk6PP4CMLNjs.getStorageAt.call(void 0, client, args),
592
- getTransaction: (args) => _chunk6PP4CMLNjs.getTransaction.call(void 0, client, args),
593
- getTransactionConfirmations: (args) => _chunk6PP4CMLNjs.getTransactionConfirmations.call(void 0, client, args),
594
- getTransactionCount: (args) => _chunk6PP4CMLNjs.getTransactionCount.call(void 0, client, args),
595
- getTransactionReceipt: (args) => _chunk6PP4CMLNjs.getTransactionReceipt.call(void 0, client, args),
596
- multicall: (args) => _chunk6PP4CMLNjs.multicall.call(void 0, client, args),
597
- readContract: (args) => _chunk6PP4CMLNjs.readContract.call(void 0, client, args),
598
- simulateContract: (args) => _chunk6PP4CMLNjs.simulateContract.call(void 0, client, args),
599
- uninstallFilter: (args) => _chunk6PP4CMLNjs.uninstallFilter.call(void 0, client, args),
600
- waitForTransactionReceipt: (args) => _chunk6PP4CMLNjs.waitForTransactionReceipt.call(void 0, client, args),
601
- watchBlocks: (args) => _chunk6PP4CMLNjs.watchBlocks.call(void 0, client, args),
602
- watchBlockNumber: (args) => _chunk6PP4CMLNjs.watchBlockNumber.call(void 0, client, args),
603
- watchContractEvent: (args) => _chunk6PP4CMLNjs.watchContractEvent.call(void 0, client, args),
604
- watchEvent: (args) => _chunk6PP4CMLNjs.watchEvent.call(void 0, client, args),
605
- watchPendingTransactions: (args) => _chunk6PP4CMLNjs.watchPendingTransactions.call(void 0, client, args)
568
+ call: (args) => _chunkMOM6LTRAjs.call.call(void 0, client, args),
569
+ createBlockFilter: () => _chunkMOM6LTRAjs.createBlockFilter.call(void 0, client),
570
+ createContractEventFilter: (args) => _chunkMOM6LTRAjs.createContractEventFilter.call(void 0, client, args),
571
+ createEventFilter: (args) => _chunkMOM6LTRAjs.createEventFilter.call(void 0, client, args),
572
+ createPendingTransactionFilter: () => _chunkMOM6LTRAjs.createPendingTransactionFilter.call(void 0, client),
573
+ estimateContractGas: (args) => _chunkMOM6LTRAjs.estimateContractGas.call(void 0, client, args),
574
+ estimateGas: (args) => _chunkMOM6LTRAjs.estimateGas.call(void 0, client, args),
575
+ getBalance: (args) => _chunkMOM6LTRAjs.getBalance.call(void 0, client, args),
576
+ getBlock: (args) => _chunkMOM6LTRAjs.getBlock.call(void 0, client, args),
577
+ getBlockNumber: (args) => _chunkMOM6LTRAjs.getBlockNumber.call(void 0, client, args),
578
+ getBlockTransactionCount: (args) => _chunkMOM6LTRAjs.getBlockTransactionCount.call(void 0, client, args),
579
+ getBytecode: (args) => _chunkMOM6LTRAjs.getBytecode.call(void 0, client, args),
580
+ getChainId: () => _chunkMOM6LTRAjs.getChainId.call(void 0, client),
581
+ getEnsAddress: (args) => _chunkMOM6LTRAjs.getEnsAddress.call(void 0, client, args),
582
+ getEnsAvatar: (args) => _chunkMOM6LTRAjs.getEnsAvatar.call(void 0, client, args),
583
+ getEnsName: (args) => _chunkMOM6LTRAjs.getEnsName.call(void 0, client, args),
584
+ getEnsResolver: (args) => _chunkMOM6LTRAjs.getEnsResolver.call(void 0, client, args),
585
+ getEnsText: (args) => _chunkMOM6LTRAjs.getEnsText.call(void 0, client, args),
586
+ getFeeHistory: (args) => _chunkMOM6LTRAjs.getFeeHistory.call(void 0, client, args),
587
+ getFilterChanges: (args) => _chunkMOM6LTRAjs.getFilterChanges.call(void 0, client, args),
588
+ getFilterLogs: (args) => _chunkMOM6LTRAjs.getFilterLogs.call(void 0, client, args),
589
+ getGasPrice: () => _chunkMOM6LTRAjs.getGasPrice.call(void 0, client),
590
+ getLogs: (args) => _chunkMOM6LTRAjs.getLogs.call(void 0, client, args),
591
+ getStorageAt: (args) => _chunkMOM6LTRAjs.getStorageAt.call(void 0, client, args),
592
+ getTransaction: (args) => _chunkMOM6LTRAjs.getTransaction.call(void 0, client, args),
593
+ getTransactionConfirmations: (args) => _chunkMOM6LTRAjs.getTransactionConfirmations.call(void 0, client, args),
594
+ getTransactionCount: (args) => _chunkMOM6LTRAjs.getTransactionCount.call(void 0, client, args),
595
+ getTransactionReceipt: (args) => _chunkMOM6LTRAjs.getTransactionReceipt.call(void 0, client, args),
596
+ multicall: (args) => _chunkMOM6LTRAjs.multicall.call(void 0, client, args),
597
+ readContract: (args) => _chunkMOM6LTRAjs.readContract.call(void 0, client, args),
598
+ simulateContract: (args) => _chunkMOM6LTRAjs.simulateContract.call(void 0, client, args),
599
+ uninstallFilter: (args) => _chunkMOM6LTRAjs.uninstallFilter.call(void 0, client, args),
600
+ waitForTransactionReceipt: (args) => _chunkMOM6LTRAjs.waitForTransactionReceipt.call(void 0, client, args),
601
+ watchBlocks: (args) => _chunkMOM6LTRAjs.watchBlocks.call(void 0, client, args),
602
+ watchBlockNumber: (args) => _chunkMOM6LTRAjs.watchBlockNumber.call(void 0, client, args),
603
+ watchContractEvent: (args) => _chunkMOM6LTRAjs.watchContractEvent.call(void 0, client, args),
604
+ watchEvent: (args) => _chunkMOM6LTRAjs.watchEvent.call(void 0, client, args),
605
+ watchPendingTransactions: (args) => _chunkMOM6LTRAjs.watchPendingTransactions.call(void 0, client, args)
606
606
  });
607
607
 
608
608
  // src/clients/decorators/test.ts
609
609
  function testActions(client) {
610
610
  return {
611
- dropTransaction: (args) => _chunk6PP4CMLNjs.dropTransaction.call(void 0, client, args),
612
- getAutomine: () => _chunk6PP4CMLNjs.getAutomine.call(void 0, client),
613
- getTxpoolContent: () => _chunk6PP4CMLNjs.getTxpoolContent.call(void 0, client),
614
- getTxpoolStatus: () => _chunk6PP4CMLNjs.getTxpoolStatus.call(void 0, client),
615
- impersonateAccount: (args) => _chunk6PP4CMLNjs.impersonateAccount.call(void 0, client, args),
616
- increaseTime: (args) => _chunk6PP4CMLNjs.increaseTime.call(void 0, client, args),
617
- inspectTxpool: () => _chunk6PP4CMLNjs.inspectTxpool.call(void 0, client),
618
- mine: (args) => _chunk6PP4CMLNjs.mine.call(void 0, client, args),
619
- removeBlockTimestampInterval: () => _chunk6PP4CMLNjs.removeBlockTimestampInterval.call(void 0, client),
620
- reset: (args) => _chunk6PP4CMLNjs.reset.call(void 0, client, args),
621
- revert: (args) => _chunk6PP4CMLNjs.revert.call(void 0, client, args),
622
- sendUnsignedTransaction: (args) => _chunk6PP4CMLNjs.sendUnsignedTransaction.call(void 0, client, args),
623
- setAutomine: (args) => _chunk6PP4CMLNjs.setAutomine.call(void 0, client, args),
624
- setBalance: (args) => _chunk6PP4CMLNjs.setBalance.call(void 0, client, args),
625
- setBlockGasLimit: (args) => _chunk6PP4CMLNjs.setBlockGasLimit.call(void 0, client, args),
626
- setBlockTimestampInterval: (args) => _chunk6PP4CMLNjs.setBlockTimestampInterval.call(void 0, client, args),
627
- setCode: (args) => _chunk6PP4CMLNjs.setCode.call(void 0, client, args),
628
- setCoinbase: (args) => _chunk6PP4CMLNjs.setCoinbase.call(void 0, client, args),
629
- setIntervalMining: (args) => _chunk6PP4CMLNjs.setIntervalMining.call(void 0, client, args),
630
- setLoggingEnabled: (args) => _chunk6PP4CMLNjs.setLoggingEnabled.call(void 0, client, args),
631
- setMinGasPrice: (args) => _chunk6PP4CMLNjs.setMinGasPrice.call(void 0, client, args),
632
- setNextBlockBaseFeePerGas: (args) => _chunk6PP4CMLNjs.setNextBlockBaseFeePerGas.call(void 0, client, args),
633
- setNextBlockTimestamp: (args) => _chunk6PP4CMLNjs.setNextBlockTimestamp.call(void 0, client, args),
634
- setNonce: (args) => _chunk6PP4CMLNjs.setNonce.call(void 0, client, args),
635
- setRpcUrl: (args) => _chunk6PP4CMLNjs.setRpcUrl.call(void 0, client, args),
636
- setStorageAt: (args) => _chunk6PP4CMLNjs.setStorageAt.call(void 0, client, args),
637
- snapshot: () => _chunk6PP4CMLNjs.snapshot.call(void 0, client),
638
- stopImpersonatingAccount: (args) => _chunk6PP4CMLNjs.stopImpersonatingAccount.call(void 0, client, args)
611
+ dropTransaction: (args) => _chunkMOM6LTRAjs.dropTransaction.call(void 0, client, args),
612
+ getAutomine: () => _chunkMOM6LTRAjs.getAutomine.call(void 0, client),
613
+ getTxpoolContent: () => _chunkMOM6LTRAjs.getTxpoolContent.call(void 0, client),
614
+ getTxpoolStatus: () => _chunkMOM6LTRAjs.getTxpoolStatus.call(void 0, client),
615
+ impersonateAccount: (args) => _chunkMOM6LTRAjs.impersonateAccount.call(void 0, client, args),
616
+ increaseTime: (args) => _chunkMOM6LTRAjs.increaseTime.call(void 0, client, args),
617
+ inspectTxpool: () => _chunkMOM6LTRAjs.inspectTxpool.call(void 0, client),
618
+ mine: (args) => _chunkMOM6LTRAjs.mine.call(void 0, client, args),
619
+ removeBlockTimestampInterval: () => _chunkMOM6LTRAjs.removeBlockTimestampInterval.call(void 0, client),
620
+ reset: (args) => _chunkMOM6LTRAjs.reset.call(void 0, client, args),
621
+ revert: (args) => _chunkMOM6LTRAjs.revert.call(void 0, client, args),
622
+ sendUnsignedTransaction: (args) => _chunkMOM6LTRAjs.sendUnsignedTransaction.call(void 0, client, args),
623
+ setAutomine: (args) => _chunkMOM6LTRAjs.setAutomine.call(void 0, client, args),
624
+ setBalance: (args) => _chunkMOM6LTRAjs.setBalance.call(void 0, client, args),
625
+ setBlockGasLimit: (args) => _chunkMOM6LTRAjs.setBlockGasLimit.call(void 0, client, args),
626
+ setBlockTimestampInterval: (args) => _chunkMOM6LTRAjs.setBlockTimestampInterval.call(void 0, client, args),
627
+ setCode: (args) => _chunkMOM6LTRAjs.setCode.call(void 0, client, args),
628
+ setCoinbase: (args) => _chunkMOM6LTRAjs.setCoinbase.call(void 0, client, args),
629
+ setIntervalMining: (args) => _chunkMOM6LTRAjs.setIntervalMining.call(void 0, client, args),
630
+ setLoggingEnabled: (args) => _chunkMOM6LTRAjs.setLoggingEnabled.call(void 0, client, args),
631
+ setMinGasPrice: (args) => _chunkMOM6LTRAjs.setMinGasPrice.call(void 0, client, args),
632
+ setNextBlockBaseFeePerGas: (args) => _chunkMOM6LTRAjs.setNextBlockBaseFeePerGas.call(void 0, client, args),
633
+ setNextBlockTimestamp: (args) => _chunkMOM6LTRAjs.setNextBlockTimestamp.call(void 0, client, args),
634
+ setNonce: (args) => _chunkMOM6LTRAjs.setNonce.call(void 0, client, args),
635
+ setRpcUrl: (args) => _chunkMOM6LTRAjs.setRpcUrl.call(void 0, client, args),
636
+ setStorageAt: (args) => _chunkMOM6LTRAjs.setStorageAt.call(void 0, client, args),
637
+ snapshot: () => _chunkMOM6LTRAjs.snapshot.call(void 0, client),
638
+ stopImpersonatingAccount: (args) => _chunkMOM6LTRAjs.stopImpersonatingAccount.call(void 0, client, args)
639
639
  };
640
640
  }
641
641
 
642
642
  // src/clients/decorators/wallet.ts
643
643
  var walletActions = (client) => ({
644
- addChain: (args) => _chunk6PP4CMLNjs.addChain.call(void 0, client, args),
645
- deployContract: (args) => _chunk6PP4CMLNjs.deployContract.call(void 0, client, args),
646
- getAddresses: () => _chunk6PP4CMLNjs.getAddresses.call(void 0, client),
647
- getChainId: () => _chunk6PP4CMLNjs.getChainId.call(void 0, client),
648
- getPermissions: () => _chunk6PP4CMLNjs.getPermissions.call(void 0, client),
649
- requestAddresses: () => _chunk6PP4CMLNjs.requestAddresses.call(void 0, client),
650
- requestPermissions: (args) => _chunk6PP4CMLNjs.requestPermissions.call(void 0, client, args),
651
- sendTransaction: (args) => _chunk6PP4CMLNjs.sendTransaction.call(void 0, client, args),
652
- signMessage: (args) => _chunk6PP4CMLNjs.signMessage.call(void 0, client, args),
653
- signTypedData: (args) => _chunk6PP4CMLNjs.signTypedData.call(void 0, client, args),
654
- switchChain: (args) => _chunk6PP4CMLNjs.switchChain.call(void 0, client, args),
655
- watchAsset: (args) => _chunk6PP4CMLNjs.watchAsset.call(void 0, client, args),
656
- writeContract: (args) => _chunk6PP4CMLNjs.writeContract.call(void 0, client, args)
644
+ addChain: (args) => _chunkMOM6LTRAjs.addChain.call(void 0, client, args),
645
+ deployContract: (args) => _chunkMOM6LTRAjs.deployContract.call(void 0, client, args),
646
+ getAddresses: () => _chunkMOM6LTRAjs.getAddresses.call(void 0, client),
647
+ getChainId: () => _chunkMOM6LTRAjs.getChainId.call(void 0, client),
648
+ getPermissions: () => _chunkMOM6LTRAjs.getPermissions.call(void 0, client),
649
+ requestAddresses: () => _chunkMOM6LTRAjs.requestAddresses.call(void 0, client),
650
+ requestPermissions: (args) => _chunkMOM6LTRAjs.requestPermissions.call(void 0, client, args),
651
+ sendTransaction: (args) => _chunkMOM6LTRAjs.sendTransaction.call(void 0, client, args),
652
+ signMessage: (args) => _chunkMOM6LTRAjs.signMessage.call(void 0, client, args),
653
+ signTypedData: (args) => _chunkMOM6LTRAjs.signTypedData.call(void 0, client, args),
654
+ switchChain: (args) => _chunkMOM6LTRAjs.switchChain.call(void 0, client, args),
655
+ watchAsset: (args) => _chunkMOM6LTRAjs.watchAsset.call(void 0, client, args),
656
+ writeContract: (args) => _chunkMOM6LTRAjs.writeContract.call(void 0, client, args)
657
657
  });
658
658
 
659
659
  // src/clients/createPublicClient.ts
@@ -722,7 +722,7 @@ function createWalletClient({
722
722
  transport: (opts) => transport({ ...opts, retryCount: 0 }),
723
723
  type: "walletClient"
724
724
  }),
725
- account: account ? _chunk6PP4CMLNjs.parseAccount.call(void 0, account) : void 0
725
+ account: account ? _chunkMOM6LTRAjs.parseAccount.call(void 0, account) : void 0
726
726
  };
727
727
  return {
728
728
  ...client,
@@ -921,5 +921,5 @@ function createWalletClient({
921
921
 
922
922
 
923
923
 
924
- exports.AbiConstructorNotFoundError = _chunk6PP4CMLNjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunk6PP4CMLNjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunk6PP4CMLNjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunk6PP4CMLNjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunk6PP4CMLNjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunk6PP4CMLNjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunk6PP4CMLNjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunk6PP4CMLNjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunk6PP4CMLNjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunk6PP4CMLNjs.AbiEventNotFoundError; exports.AbiEventSignatureEmptyTopicsError = _chunk6PP4CMLNjs.AbiEventSignatureEmptyTopicsError; exports.AbiEventSignatureNotFoundError = _chunk6PP4CMLNjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunk6PP4CMLNjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunk6PP4CMLNjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunk6PP4CMLNjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunk6PP4CMLNjs.BaseError; exports.BlockNotFoundError = _chunk6PP4CMLNjs.BlockNotFoundError; exports.CallExecutionError = _chunk6PP4CMLNjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunk6PP4CMLNjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunk6PP4CMLNjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunk6PP4CMLNjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunk6PP4CMLNjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunk6PP4CMLNjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunk6PP4CMLNjs.DataLengthTooShortError; exports.DecodeLogTopicsMismatch = _chunk6PP4CMLNjs.DecodeLogTopicsMismatch; exports.EnsAvatarUriResolutionError = _chunk6PP4CMLNjs.EnsAvatarUriResolutionError; exports.EstimateGasExecutionError = _chunk6PP4CMLNjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunk6PP4CMLNjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunk6PP4CMLNjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunk6PP4CMLNjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunk6PP4CMLNjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunk6PP4CMLNjs.HttpRequestError; exports.InsufficientFundsError = _chunk6PP4CMLNjs.InsufficientFundsError; exports.InternalRpcError = _chunk6PP4CMLNjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunk6PP4CMLNjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunk6PP4CMLNjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunk6PP4CMLNjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunk6PP4CMLNjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunk6PP4CMLNjs.InvalidAddressError; exports.InvalidArrayError = _chunk6PP4CMLNjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunk6PP4CMLNjs.InvalidBytesBooleanError; exports.InvalidChainIdError = _chunk6PP4CMLNjs.InvalidChainIdError; exports.InvalidDefinitionTypeError = _chunk6PP4CMLNjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunk6PP4CMLNjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunk6PP4CMLNjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunk6PP4CMLNjs.InvalidInputRpcError; exports.InvalidLegacyVError = _chunk6PP4CMLNjs.InvalidLegacyVError; exports.InvalidParamsRpcError = _chunk6PP4CMLNjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunk6PP4CMLNjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunk6PP4CMLNjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunk6PP4CMLNjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunk6PP4CMLNjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunk6PP4CMLNjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunk6PP4CMLNjs.NonceMaxValueError; exports.NonceTooHighError = _chunk6PP4CMLNjs.NonceTooHighError; exports.NonceTooLowError = _chunk6PP4CMLNjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunk6PP4CMLNjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunk6PP4CMLNjs.ParseRpcError; exports.RawContractError = _chunk6PP4CMLNjs.RawContractError; exports.RequestError = _chunk6PP4CMLNjs.RequestError; exports.ResourceNotFoundRpcError = _chunk6PP4CMLNjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunk6PP4CMLNjs.ResourceUnavailableRpcError; exports.RpcError = _chunk6PP4CMLNjs.RpcError; exports.RpcRequestError = _chunk6PP4CMLNjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunk6PP4CMLNjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunk6PP4CMLNjs.SwitchChainError; exports.TimeoutError = _chunk6PP4CMLNjs.TimeoutError; exports.TipAboveFeeCapError = _chunk6PP4CMLNjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunk6PP4CMLNjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunk6PP4CMLNjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunk6PP4CMLNjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunk6PP4CMLNjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunk6PP4CMLNjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunk6PP4CMLNjs.UnknownNodeError; exports.UnknownRpcError = _chunk6PP4CMLNjs.UnknownRpcError; exports.UrlRequiredError = _chunk6PP4CMLNjs.UrlRequiredError; exports.UserRejectedRequestError = _chunk6PP4CMLNjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunk6PP4CMLNjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunk6PP4CMLNjs.WebSocketRequestError; exports.assertRequest = _chunk6PP4CMLNjs.assertRequest; exports.assertTransactionEIP1559 = _chunk6PP4CMLNjs.assertTransactionEIP1559; exports.assertTransactionEIP2930 = _chunk6PP4CMLNjs.assertTransactionEIP2930; exports.assertTransactionLegacy = _chunk6PP4CMLNjs.assertTransactionLegacy; exports.boolToBytes = _chunk6PP4CMLNjs.boolToBytes; exports.boolToHex = _chunk6PP4CMLNjs.boolToHex; exports.bytesToBigint = _chunk6PP4CMLNjs.bytesToBigint; exports.bytesToBool = _chunk6PP4CMLNjs.bytesToBool; exports.bytesToHex = _chunk6PP4CMLNjs.bytesToHex; exports.bytesToNumber = _chunk6PP4CMLNjs.bytesToNumber; exports.bytesToString = _chunk6PP4CMLNjs.bytesToString; exports.concat = _chunk6PP4CMLNjs.concat; exports.concatBytes = _chunk6PP4CMLNjs.concatBytes; exports.concatHex = _chunk6PP4CMLNjs.concatHex; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunk6PP4CMLNjs.decodeAbiParameters; exports.decodeErrorResult = _chunk6PP4CMLNjs.decodeErrorResult; exports.decodeEventLog = _chunk6PP4CMLNjs.decodeEventLog; exports.decodeFunctionData = _chunk6PP4CMLNjs.decodeFunctionData; exports.decodeFunctionResult = _chunk6PP4CMLNjs.decodeFunctionResult; exports.defineBlock = _chunk6PP4CMLNjs.defineBlock; exports.defineChain = _chunk6PP4CMLNjs.defineChain; exports.defineTransaction = _chunk6PP4CMLNjs.defineTransaction; exports.defineTransactionReceipt = _chunk6PP4CMLNjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunk6PP4CMLNjs.defineTransactionRequest; exports.encodeAbiParameters = _chunk6PP4CMLNjs.encodeAbiParameters; exports.encodeDeployData = _chunk6PP4CMLNjs.encodeDeployData; exports.encodeErrorResult = _chunk6PP4CMLNjs.encodeErrorResult; exports.encodeEventTopics = _chunk6PP4CMLNjs.encodeEventTopics; exports.encodeFunctionData = _chunk6PP4CMLNjs.encodeFunctionData; exports.encodeFunctionResult = _chunk6PP4CMLNjs.encodeFunctionResult; exports.encodePacked = _chunk6PP4CMLNjs.encodePacked; exports.etherUnits = _chunk6PP4CMLNjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunk6PP4CMLNjs.formatBlock; exports.formatEther = _chunk6PP4CMLNjs.formatEther; exports.formatGwei = _chunk6PP4CMLNjs.formatGwei; exports.formatTransaction = _chunk6PP4CMLNjs.formatTransaction; exports.formatTransactionRequest = _chunk6PP4CMLNjs.formatTransactionRequest; exports.formatUnits = _chunk6PP4CMLNjs.formatUnits; exports.fromBytes = _chunk6PP4CMLNjs.fromBytes; exports.fromHex = _chunk6PP4CMLNjs.fromHex; exports.fromRlp = _chunk6PP4CMLNjs.fromRlp; exports.getAbiItem = _chunk6PP4CMLNjs.getAbiItem; exports.getAddress = _chunk6PP4CMLNjs.getAddress; exports.getContract = _chunk6PP4CMLNjs.getContract; exports.getContractAddress = _chunk6PP4CMLNjs.getContractAddress; exports.getContractError = _chunk6PP4CMLNjs.getContractError; exports.getCreate2Address = _chunk6PP4CMLNjs.getCreate2Address; exports.getCreateAddress = _chunk6PP4CMLNjs.getCreateAddress; exports.getEventSelector = _chunk6PP4CMLNjs.getEventSelector; exports.getFunctionSelector = _chunk6PP4CMLNjs.getFunctionSelector; exports.getSerializedTransactionType = _chunk6PP4CMLNjs.getSerializedTransactionType; exports.getTransactionType = _chunk6PP4CMLNjs.getTransactionType; exports.gweiUnits = _chunk6PP4CMLNjs.gweiUnits; exports.hashMessage = _chunk6PP4CMLNjs.hashMessage; exports.hashTypedData = _chunk6PP4CMLNjs.hashTypedData; exports.hexToBigInt = _chunk6PP4CMLNjs.hexToBigInt; exports.hexToBool = _chunk6PP4CMLNjs.hexToBool; exports.hexToBytes = _chunk6PP4CMLNjs.hexToBytes; exports.hexToNumber = _chunk6PP4CMLNjs.hexToNumber; exports.hexToString = _chunk6PP4CMLNjs.hexToString; exports.http = http; exports.isAddress = _chunk6PP4CMLNjs.isAddress; exports.isAddressEqual = _chunk6PP4CMLNjs.isAddressEqual; exports.isBytes = _chunk6PP4CMLNjs.isBytes; exports.isHash = _chunk6PP4CMLNjs.isHash; exports.isHex = _chunk6PP4CMLNjs.isHex; exports.keccak256 = _chunk6PP4CMLNjs.keccak256; exports.labelhash = _chunk6PP4CMLNjs.labelhash; exports.multicall3Abi = _chunk6PP4CMLNjs.multicall3Abi; exports.namehash = _chunk6PP4CMLNjs.namehash; exports.numberToBytes = _chunk6PP4CMLNjs.numberToBytes; exports.numberToHex = _chunk6PP4CMLNjs.numberToHex; exports.pad = _chunk6PP4CMLNjs.pad; exports.padBytes = _chunk6PP4CMLNjs.padBytes; exports.padHex = _chunk6PP4CMLNjs.padHex; exports.parseAbi = _chunk6PP4CMLNjs.parseAbi; exports.parseAbiItem = _chunk6PP4CMLNjs.parseAbiItem; exports.parseAbiParameter = _chunk6PP4CMLNjs.parseAbiParameter; exports.parseAbiParameters = _chunk6PP4CMLNjs.parseAbiParameters; exports.parseEther = _chunk6PP4CMLNjs.parseEther; exports.parseGwei = _chunk6PP4CMLNjs.parseGwei; exports.parseTransaction = _chunk6PP4CMLNjs.parseTransaction; exports.parseUnits = _chunk6PP4CMLNjs.parseUnits; exports.prepareRequest = _chunk6PP4CMLNjs.prepareRequest; exports.recoverAddress = _chunk6PP4CMLNjs.recoverAddress; exports.recoverMessageAddress = _chunk6PP4CMLNjs.recoverMessageAddress; exports.recoverTypedDataAddress = _chunk6PP4CMLNjs.recoverTypedDataAddress; exports.serializeTransaction = _chunk6PP4CMLNjs.serializeTransaction; exports.size = _chunk6PP4CMLNjs.size; exports.slice = _chunk6PP4CMLNjs.slice; exports.sliceBytes = _chunk6PP4CMLNjs.sliceBytes; exports.sliceHex = _chunk6PP4CMLNjs.sliceHex; exports.stringToBytes = _chunk6PP4CMLNjs.stringToBytes; exports.stringToHex = _chunk6PP4CMLNjs.stringToHex; exports.stringify = _chunk6PP4CMLNjs.stringify; exports.toBytes = _chunk6PP4CMLNjs.toBytes; exports.toHex = _chunk6PP4CMLNjs.toHex; exports.toRlp = _chunk6PP4CMLNjs.toRlp; exports.transactionType = _chunk6PP4CMLNjs.transactionType; exports.trim = _chunk6PP4CMLNjs.trim; exports.validateTypedData = _chunk6PP4CMLNjs.validateTypedData; exports.verifyMessage = _chunk6PP4CMLNjs.verifyMessage; exports.verifyTypedData = _chunk6PP4CMLNjs.verifyTypedData; exports.webSocket = webSocket; exports.weiUnits = _chunk6PP4CMLNjs.weiUnits;
924
+ exports.AbiConstructorNotFoundError = _chunkMOM6LTRAjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkMOM6LTRAjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkMOM6LTRAjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkMOM6LTRAjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkMOM6LTRAjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkMOM6LTRAjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkMOM6LTRAjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkMOM6LTRAjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkMOM6LTRAjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkMOM6LTRAjs.AbiEventNotFoundError; exports.AbiEventSignatureEmptyTopicsError = _chunkMOM6LTRAjs.AbiEventSignatureEmptyTopicsError; exports.AbiEventSignatureNotFoundError = _chunkMOM6LTRAjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkMOM6LTRAjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkMOM6LTRAjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkMOM6LTRAjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkMOM6LTRAjs.BaseError; exports.BlockNotFoundError = _chunkMOM6LTRAjs.BlockNotFoundError; exports.CallExecutionError = _chunkMOM6LTRAjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkMOM6LTRAjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkMOM6LTRAjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkMOM6LTRAjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkMOM6LTRAjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkMOM6LTRAjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkMOM6LTRAjs.DataLengthTooShortError; exports.DecodeLogTopicsMismatch = _chunkMOM6LTRAjs.DecodeLogTopicsMismatch; exports.EnsAvatarUriResolutionError = _chunkMOM6LTRAjs.EnsAvatarUriResolutionError; exports.EstimateGasExecutionError = _chunkMOM6LTRAjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkMOM6LTRAjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkMOM6LTRAjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkMOM6LTRAjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkMOM6LTRAjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkMOM6LTRAjs.HttpRequestError; exports.InsufficientFundsError = _chunkMOM6LTRAjs.InsufficientFundsError; exports.InternalRpcError = _chunkMOM6LTRAjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkMOM6LTRAjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkMOM6LTRAjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkMOM6LTRAjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkMOM6LTRAjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkMOM6LTRAjs.InvalidAddressError; exports.InvalidArrayError = _chunkMOM6LTRAjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkMOM6LTRAjs.InvalidBytesBooleanError; exports.InvalidChainIdError = _chunkMOM6LTRAjs.InvalidChainIdError; exports.InvalidDefinitionTypeError = _chunkMOM6LTRAjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkMOM6LTRAjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkMOM6LTRAjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkMOM6LTRAjs.InvalidInputRpcError; exports.InvalidLegacyVError = _chunkMOM6LTRAjs.InvalidLegacyVError; exports.InvalidParamsRpcError = _chunkMOM6LTRAjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkMOM6LTRAjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkMOM6LTRAjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkMOM6LTRAjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkMOM6LTRAjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkMOM6LTRAjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkMOM6LTRAjs.NonceMaxValueError; exports.NonceTooHighError = _chunkMOM6LTRAjs.NonceTooHighError; exports.NonceTooLowError = _chunkMOM6LTRAjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkMOM6LTRAjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkMOM6LTRAjs.ParseRpcError; exports.RawContractError = _chunkMOM6LTRAjs.RawContractError; exports.RequestError = _chunkMOM6LTRAjs.RequestError; exports.ResourceNotFoundRpcError = _chunkMOM6LTRAjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkMOM6LTRAjs.ResourceUnavailableRpcError; exports.RpcError = _chunkMOM6LTRAjs.RpcError; exports.RpcRequestError = _chunkMOM6LTRAjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkMOM6LTRAjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkMOM6LTRAjs.SwitchChainError; exports.TimeoutError = _chunkMOM6LTRAjs.TimeoutError; exports.TipAboveFeeCapError = _chunkMOM6LTRAjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkMOM6LTRAjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkMOM6LTRAjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkMOM6LTRAjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkMOM6LTRAjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkMOM6LTRAjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkMOM6LTRAjs.UnknownNodeError; exports.UnknownRpcError = _chunkMOM6LTRAjs.UnknownRpcError; exports.UrlRequiredError = _chunkMOM6LTRAjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkMOM6LTRAjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkMOM6LTRAjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkMOM6LTRAjs.WebSocketRequestError; exports.assertRequest = _chunkMOM6LTRAjs.assertRequest; exports.assertTransactionEIP1559 = _chunkMOM6LTRAjs.assertTransactionEIP1559; exports.assertTransactionEIP2930 = _chunkMOM6LTRAjs.assertTransactionEIP2930; exports.assertTransactionLegacy = _chunkMOM6LTRAjs.assertTransactionLegacy; exports.boolToBytes = _chunkMOM6LTRAjs.boolToBytes; exports.boolToHex = _chunkMOM6LTRAjs.boolToHex; exports.bytesToBigint = _chunkMOM6LTRAjs.bytesToBigint; exports.bytesToBool = _chunkMOM6LTRAjs.bytesToBool; exports.bytesToHex = _chunkMOM6LTRAjs.bytesToHex; exports.bytesToNumber = _chunkMOM6LTRAjs.bytesToNumber; exports.bytesToString = _chunkMOM6LTRAjs.bytesToString; exports.concat = _chunkMOM6LTRAjs.concat; exports.concatBytes = _chunkMOM6LTRAjs.concatBytes; exports.concatHex = _chunkMOM6LTRAjs.concatHex; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkMOM6LTRAjs.decodeAbiParameters; exports.decodeErrorResult = _chunkMOM6LTRAjs.decodeErrorResult; exports.decodeEventLog = _chunkMOM6LTRAjs.decodeEventLog; exports.decodeFunctionData = _chunkMOM6LTRAjs.decodeFunctionData; exports.decodeFunctionResult = _chunkMOM6LTRAjs.decodeFunctionResult; exports.defineBlock = _chunkMOM6LTRAjs.defineBlock; exports.defineChain = _chunkMOM6LTRAjs.defineChain; exports.defineTransaction = _chunkMOM6LTRAjs.defineTransaction; exports.defineTransactionReceipt = _chunkMOM6LTRAjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkMOM6LTRAjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkMOM6LTRAjs.encodeAbiParameters; exports.encodeDeployData = _chunkMOM6LTRAjs.encodeDeployData; exports.encodeErrorResult = _chunkMOM6LTRAjs.encodeErrorResult; exports.encodeEventTopics = _chunkMOM6LTRAjs.encodeEventTopics; exports.encodeFunctionData = _chunkMOM6LTRAjs.encodeFunctionData; exports.encodeFunctionResult = _chunkMOM6LTRAjs.encodeFunctionResult; exports.encodePacked = _chunkMOM6LTRAjs.encodePacked; exports.etherUnits = _chunkMOM6LTRAjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkMOM6LTRAjs.formatBlock; exports.formatEther = _chunkMOM6LTRAjs.formatEther; exports.formatGwei = _chunkMOM6LTRAjs.formatGwei; exports.formatTransaction = _chunkMOM6LTRAjs.formatTransaction; exports.formatTransactionRequest = _chunkMOM6LTRAjs.formatTransactionRequest; exports.formatUnits = _chunkMOM6LTRAjs.formatUnits; exports.fromBytes = _chunkMOM6LTRAjs.fromBytes; exports.fromHex = _chunkMOM6LTRAjs.fromHex; exports.fromRlp = _chunkMOM6LTRAjs.fromRlp; exports.getAbiItem = _chunkMOM6LTRAjs.getAbiItem; exports.getAddress = _chunkMOM6LTRAjs.getAddress; exports.getContract = _chunkMOM6LTRAjs.getContract; exports.getContractAddress = _chunkMOM6LTRAjs.getContractAddress; exports.getContractError = _chunkMOM6LTRAjs.getContractError; exports.getCreate2Address = _chunkMOM6LTRAjs.getCreate2Address; exports.getCreateAddress = _chunkMOM6LTRAjs.getCreateAddress; exports.getEventSelector = _chunkMOM6LTRAjs.getEventSelector; exports.getFunctionSelector = _chunkMOM6LTRAjs.getFunctionSelector; exports.getSerializedTransactionType = _chunkMOM6LTRAjs.getSerializedTransactionType; exports.getTransactionType = _chunkMOM6LTRAjs.getTransactionType; exports.gweiUnits = _chunkMOM6LTRAjs.gweiUnits; exports.hashMessage = _chunkMOM6LTRAjs.hashMessage; exports.hashTypedData = _chunkMOM6LTRAjs.hashTypedData; exports.hexToBigInt = _chunkMOM6LTRAjs.hexToBigInt; exports.hexToBool = _chunkMOM6LTRAjs.hexToBool; exports.hexToBytes = _chunkMOM6LTRAjs.hexToBytes; exports.hexToNumber = _chunkMOM6LTRAjs.hexToNumber; exports.hexToString = _chunkMOM6LTRAjs.hexToString; exports.http = http; exports.isAddress = _chunkMOM6LTRAjs.isAddress; exports.isAddressEqual = _chunkMOM6LTRAjs.isAddressEqual; exports.isBytes = _chunkMOM6LTRAjs.isBytes; exports.isHash = _chunkMOM6LTRAjs.isHash; exports.isHex = _chunkMOM6LTRAjs.isHex; exports.keccak256 = _chunkMOM6LTRAjs.keccak256; exports.labelhash = _chunkMOM6LTRAjs.labelhash; exports.multicall3Abi = _chunkMOM6LTRAjs.multicall3Abi; exports.namehash = _chunkMOM6LTRAjs.namehash; exports.numberToBytes = _chunkMOM6LTRAjs.numberToBytes; exports.numberToHex = _chunkMOM6LTRAjs.numberToHex; exports.pad = _chunkMOM6LTRAjs.pad; exports.padBytes = _chunkMOM6LTRAjs.padBytes; exports.padHex = _chunkMOM6LTRAjs.padHex; exports.parseAbi = _chunkMOM6LTRAjs.parseAbi; exports.parseAbiItem = _chunkMOM6LTRAjs.parseAbiItem; exports.parseAbiParameter = _chunkMOM6LTRAjs.parseAbiParameter; exports.parseAbiParameters = _chunkMOM6LTRAjs.parseAbiParameters; exports.parseEther = _chunkMOM6LTRAjs.parseEther; exports.parseGwei = _chunkMOM6LTRAjs.parseGwei; exports.parseTransaction = _chunkMOM6LTRAjs.parseTransaction; exports.parseUnits = _chunkMOM6LTRAjs.parseUnits; exports.prepareRequest = _chunkMOM6LTRAjs.prepareRequest; exports.recoverAddress = _chunkMOM6LTRAjs.recoverAddress; exports.recoverMessageAddress = _chunkMOM6LTRAjs.recoverMessageAddress; exports.recoverTypedDataAddress = _chunkMOM6LTRAjs.recoverTypedDataAddress; exports.serializeTransaction = _chunkMOM6LTRAjs.serializeTransaction; exports.size = _chunkMOM6LTRAjs.size; exports.slice = _chunkMOM6LTRAjs.slice; exports.sliceBytes = _chunkMOM6LTRAjs.sliceBytes; exports.sliceHex = _chunkMOM6LTRAjs.sliceHex; exports.stringToBytes = _chunkMOM6LTRAjs.stringToBytes; exports.stringToHex = _chunkMOM6LTRAjs.stringToHex; exports.stringify = _chunkMOM6LTRAjs.stringify; exports.toBytes = _chunkMOM6LTRAjs.toBytes; exports.toHex = _chunkMOM6LTRAjs.toHex; exports.toRlp = _chunkMOM6LTRAjs.toRlp; exports.transactionType = _chunkMOM6LTRAjs.transactionType; exports.trim = _chunkMOM6LTRAjs.trim; exports.validateTypedData = _chunkMOM6LTRAjs.validateTypedData; exports.verifyMessage = _chunkMOM6LTRAjs.verifyMessage; exports.verifyTypedData = _chunkMOM6LTRAjs.verifyTypedData; exports.webSocket = webSocket; exports.weiUnits = _chunkMOM6LTRAjs.weiUnits;
925
925
  //# 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-34RQIVOR.mjs";
268
+ } from "./chunk-HU3K54ST.mjs";
269
269
 
270
270
  // src/clients/transports/createTransport.ts
271
271
  function createTransport({
@@ -1,7 +1,7 @@
1
1
  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, a5 as TransactionSerialized, a6 as TransactionSerializedEIP1559, a7 as TransactionSerializedEIP2930, a0 as TransactionSerializable, e as AccessList, a9 as TransactionType, a2 as TransactionSerializableEIP1559, a3 as TransactionSerializableEIP2930, a4 as TransactionSerializableLegacy, ap as Signature } from './chain-02c77999.js';
3
3
  import { A as Account, T as TypedDataDefinition } from './typedData-337e8d8f.js';
4
- import { i as CallParameters, p as EstimateGasParameters, ao as SendTransactionParameters, W as WalletClient, P as PublicClient, b3 as GetAccountParameter } from './getEnsResolver-314de6e9.js';
4
+ import { i as CallParameters, p as EstimateGasParameters, ao as SendTransactionParameters, W as WalletClient, P as PublicClient, b3 as GetAccountParameter } from './getEnsResolver-68329c3e.js';
5
5
  import { a as DecodeErrorResultReturnType } from './encodeFunctionResult-f7c8e382.js';
6
6
  import WebSocket from 'isomorphic-ws';
7
7
  import { a as Transport } from './createTransport-55339615.js';