viem 0.3.0-main.20230404T072624 → 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 (41) hide show
  1. package/dist/abi.js +2 -2
  2. package/dist/abi.mjs +1 -1
  3. package/dist/accounts/index.d.ts +10 -19
  4. package/dist/accounts/index.js +29 -38
  5. package/dist/accounts/index.js.map +1 -1
  6. package/dist/accounts/index.mjs +22 -31
  7. package/dist/accounts/index.mjs.map +1 -1
  8. package/dist/chains.js +89 -89
  9. package/dist/chains.mjs +1 -1
  10. package/dist/{chunk-6JEMQ5UV.mjs → chunk-BZBBEU5Z.mjs} +2 -2
  11. package/dist/chunk-BZBBEU5Z.mjs.map +1 -0
  12. package/dist/{chunk-7K7536RW.mjs → chunk-DCXATNIZ.mjs} +2 -2
  13. package/dist/{chunk-G3YKZS76.js → chunk-DHKJBAMW.js} +6 -6
  14. package/dist/{chunk-YDG2GLYF.js → chunk-IAWAV7EZ.js} +2 -2
  15. package/dist/chunk-IAWAV7EZ.js.map +1 -0
  16. package/dist/contract.d.ts +2 -1
  17. package/dist/contract.js +2 -2
  18. package/dist/contract.mjs +1 -1
  19. package/dist/{encodeFunctionResult-c5185b98.d.ts → encodeFunctionResult-b4670cf7.d.ts} +12 -8
  20. package/dist/ens.js +2 -2
  21. package/dist/ens.mjs +1 -1
  22. package/dist/ethers.js +4 -4
  23. package/dist/ethers.mjs +2 -2
  24. package/dist/index.d.ts +4 -3
  25. package/dist/index.js +94 -94
  26. package/dist/index.mjs +1 -1
  27. package/dist/{parseGwei-280a3ff7.d.ts → parseGwei-4dcde2b8.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 +4 -3
  33. package/dist/utils/index.js +2 -2
  34. package/dist/utils/index.mjs +1 -1
  35. package/dist/wallet.js +2 -2
  36. package/dist/wallet.mjs +1 -1
  37. package/package.json +1 -1
  38. package/dist/chunk-6JEMQ5UV.mjs.map +0 -1
  39. package/dist/chunk-YDG2GLYF.js.map +0 -1
  40. /package/dist/{chunk-7K7536RW.mjs.map → chunk-DCXATNIZ.mjs.map} +0 -0
  41. /package/dist/{chunk-G3YKZS76.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 _chunkYDG2GLYFjs = require('./chunk-YDG2GLYF.js');
26
+ var _chunkIAWAV7EZjs = require('./chunk-IAWAV7EZ.js');
27
27
 
28
28
 
29
29
 
@@ -49,5 +49,5 @@ var _chunkYDG2GLYFjs = require('./chunk-YDG2GLYF.js');
49
49
 
50
50
 
51
51
 
52
- exports.createContractEventFilter = _chunkYDG2GLYFjs.createContractEventFilter; exports.decodeAbiParameters = _chunkYDG2GLYFjs.decodeAbiParameters; exports.decodeErrorResult = _chunkYDG2GLYFjs.decodeErrorResult; exports.decodeEventLog = _chunkYDG2GLYFjs.decodeEventLog; exports.decodeFunctionData = _chunkYDG2GLYFjs.decodeFunctionData; exports.decodeFunctionResult = _chunkYDG2GLYFjs.decodeFunctionResult; exports.deployContract = _chunkYDG2GLYFjs.deployContract; exports.encodeAbiParameters = _chunkYDG2GLYFjs.encodeAbiParameters; exports.encodeDeployData = _chunkYDG2GLYFjs.encodeDeployData; exports.encodeErrorResult = _chunkYDG2GLYFjs.encodeErrorResult; exports.encodeEventTopics = _chunkYDG2GLYFjs.encodeEventTopics; exports.encodeFunctionData = _chunkYDG2GLYFjs.encodeFunctionData; exports.encodeFunctionResult = _chunkYDG2GLYFjs.encodeFunctionResult; exports.estimateContractGas = _chunkYDG2GLYFjs.estimateContractGas; exports.formatAbiItem = _chunkYDG2GLYFjs.formatAbiItem; exports.formatAbiItemWithArgs = _chunkYDG2GLYFjs.formatAbiItemWithArgs; exports.getAbiItem = _chunkYDG2GLYFjs.getAbiItem; exports.getBytecode = _chunkYDG2GLYFjs.getBytecode; exports.getStorageAt = _chunkYDG2GLYFjs.getStorageAt; exports.multicall = _chunkYDG2GLYFjs.multicall; exports.readContract = _chunkYDG2GLYFjs.readContract; exports.simulateContract = _chunkYDG2GLYFjs.simulateContract; exports.watchContractEvent = _chunkYDG2GLYFjs.watchContractEvent; exports.writeContract = _chunkYDG2GLYFjs.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-6JEMQ5UV.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 _chunkYDG2GLYFjs = require('./chunk-YDG2GLYF.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 = _chunkYDG2GLYFjs.getEnsAddress; exports.getEnsAvatar = _chunkYDG2GLYFjs.getEnsAvatar; exports.getEnsName = _chunkYDG2GLYFjs.getEnsName; exports.getEnsResolver = _chunkYDG2GLYFjs.getEnsResolver; exports.getEnsText = _chunkYDG2GLYFjs.getEnsText; exports.labelhash = _chunkYDG2GLYFjs.labelhash; exports.namehash = _chunkYDG2GLYFjs.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-6JEMQ5UV.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 _chunkG3YKZS76js = require('./chunk-G3YKZS76.js');
3
+ var _chunkDHKJBAMWjs = require('./chunk-DHKJBAMW.js');
4
4
 
5
5
 
6
- var _chunkYDG2GLYFjs = require('./chunk-YDG2GLYF.js');
6
+ var _chunkIAWAV7EZjs = require('./chunk-IAWAV7EZ.js');
7
7
 
8
8
  // src/adapters/ethers.ts
9
- var ethersWalletToAccount = (wallet) => _chunkG3YKZS76js.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(_chunkYDG2GLYFjs.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-7K7536RW.mjs";
3
+ } from "./chunk-DCXATNIZ.mjs";
4
4
  import {
5
5
  toBytes
6
- } from "./chunk-6JEMQ5UV.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 _chunkYDG2GLYFjs = require('./chunk-YDG2GLYF.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: _chunkYDG2GLYFjs.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 (_chunkYDG2GLYFjs.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 _chunkYDG2GLYFjs.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, _chunkYDG2GLYFjs.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 _chunkYDG2GLYFjs.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, _chunkYDG2GLYFjs.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 _chunkYDG2GLYFjs.getSocket.call(void 0, url_);
472
- const { result } = await _chunkYDG2GLYFjs.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 _chunkYDG2GLYFjs.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 _chunkYDG2GLYFjs.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) => _chunkYDG2GLYFjs.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) => _chunkYDG2GLYFjs.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) => _chunkYDG2GLYFjs.call.call(void 0, client, args),
571
- createBlockFilter: () => _chunkYDG2GLYFjs.createBlockFilter.call(void 0, client),
572
- createContractEventFilter: (args) => _chunkYDG2GLYFjs.createContractEventFilter.call(void 0, client, args),
573
- createEventFilter: (args) => _chunkYDG2GLYFjs.createEventFilter.call(void 0, client, args),
574
- createPendingTransactionFilter: () => _chunkYDG2GLYFjs.createPendingTransactionFilter.call(void 0, client),
575
- estimateContractGas: (args) => _chunkYDG2GLYFjs.estimateContractGas.call(void 0, client, args),
576
- estimateGas: (args) => _chunkYDG2GLYFjs.estimateGas.call(void 0, client, args),
577
- getBalance: (args) => _chunkYDG2GLYFjs.getBalance.call(void 0, client, args),
578
- getBlock: (args) => _chunkYDG2GLYFjs.getBlock.call(void 0, client, args),
579
- getBlockNumber: (args) => _chunkYDG2GLYFjs.getBlockNumber.call(void 0, client, args),
580
- getBlockTransactionCount: (args) => _chunkYDG2GLYFjs.getBlockTransactionCount.call(void 0, client, args),
581
- getBytecode: (args) => _chunkYDG2GLYFjs.getBytecode.call(void 0, client, args),
582
- getChainId: () => _chunkYDG2GLYFjs.getChainId.call(void 0, client),
583
- getEnsAddress: (args) => _chunkYDG2GLYFjs.getEnsAddress.call(void 0, client, args),
584
- getEnsAvatar: (args) => _chunkYDG2GLYFjs.getEnsAvatar.call(void 0, client, args),
585
- getEnsName: (args) => _chunkYDG2GLYFjs.getEnsName.call(void 0, client, args),
586
- getEnsResolver: (args) => _chunkYDG2GLYFjs.getEnsResolver.call(void 0, client, args),
587
- getEnsText: (args) => _chunkYDG2GLYFjs.getEnsText.call(void 0, client, args),
588
- getFeeHistory: (args) => _chunkYDG2GLYFjs.getFeeHistory.call(void 0, client, args),
589
- getFilterChanges: (args) => _chunkYDG2GLYFjs.getFilterChanges.call(void 0, client, args),
590
- getFilterLogs: (args) => _chunkYDG2GLYFjs.getFilterLogs.call(void 0, client, args),
591
- getGasPrice: () => _chunkYDG2GLYFjs.getGasPrice.call(void 0, client),
592
- getLogs: (args) => _chunkYDG2GLYFjs.getLogs.call(void 0, client, args),
593
- getStorageAt: (args) => _chunkYDG2GLYFjs.getStorageAt.call(void 0, client, args),
594
- getTransaction: (args) => _chunkYDG2GLYFjs.getTransaction.call(void 0, client, args),
595
- getTransactionConfirmations: (args) => _chunkYDG2GLYFjs.getTransactionConfirmations.call(void 0, client, args),
596
- getTransactionCount: (args) => _chunkYDG2GLYFjs.getTransactionCount.call(void 0, client, args),
597
- getTransactionReceipt: (args) => _chunkYDG2GLYFjs.getTransactionReceipt.call(void 0, client, args),
598
- multicall: (args) => _chunkYDG2GLYFjs.multicall.call(void 0, client, args),
599
- readContract: (args) => _chunkYDG2GLYFjs.readContract.call(void 0, client, args),
600
- simulateContract: (args) => _chunkYDG2GLYFjs.simulateContract.call(void 0, client, args),
601
- uninstallFilter: (args) => _chunkYDG2GLYFjs.uninstallFilter.call(void 0, client, args),
602
- waitForTransactionReceipt: (args) => _chunkYDG2GLYFjs.waitForTransactionReceipt.call(void 0, client, args),
603
- watchBlocks: (args) => _chunkYDG2GLYFjs.watchBlocks.call(void 0, client, args),
604
- watchBlockNumber: (args) => _chunkYDG2GLYFjs.watchBlockNumber.call(void 0, client, args),
605
- watchContractEvent: (args) => _chunkYDG2GLYFjs.watchContractEvent.call(void 0, client, args),
606
- watchEvent: (args) => _chunkYDG2GLYFjs.watchEvent.call(void 0, client, args),
607
- watchPendingTransactions: (args) => _chunkYDG2GLYFjs.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) => _chunkYDG2GLYFjs.dropTransaction.call(void 0, client, args),
614
- getAutomine: () => _chunkYDG2GLYFjs.getAutomine.call(void 0, client),
615
- getTxpoolContent: () => _chunkYDG2GLYFjs.getTxpoolContent.call(void 0, client),
616
- getTxpoolStatus: () => _chunkYDG2GLYFjs.getTxpoolStatus.call(void 0, client),
617
- impersonateAccount: (args) => _chunkYDG2GLYFjs.impersonateAccount.call(void 0, client, args),
618
- increaseTime: (args) => _chunkYDG2GLYFjs.increaseTime.call(void 0, client, args),
619
- inspectTxpool: () => _chunkYDG2GLYFjs.inspectTxpool.call(void 0, client),
620
- mine: (args) => _chunkYDG2GLYFjs.mine.call(void 0, client, args),
621
- removeBlockTimestampInterval: () => _chunkYDG2GLYFjs.removeBlockTimestampInterval.call(void 0, client),
622
- reset: (args) => _chunkYDG2GLYFjs.reset.call(void 0, client, args),
623
- revert: (args) => _chunkYDG2GLYFjs.revert.call(void 0, client, args),
624
- sendUnsignedTransaction: (args) => _chunkYDG2GLYFjs.sendUnsignedTransaction.call(void 0, client, args),
625
- setAutomine: (args) => _chunkYDG2GLYFjs.setAutomine.call(void 0, client, args),
626
- setBalance: (args) => _chunkYDG2GLYFjs.setBalance.call(void 0, client, args),
627
- setBlockGasLimit: (args) => _chunkYDG2GLYFjs.setBlockGasLimit.call(void 0, client, args),
628
- setBlockTimestampInterval: (args) => _chunkYDG2GLYFjs.setBlockTimestampInterval.call(void 0, client, args),
629
- setCode: (args) => _chunkYDG2GLYFjs.setCode.call(void 0, client, args),
630
- setCoinbase: (args) => _chunkYDG2GLYFjs.setCoinbase.call(void 0, client, args),
631
- setIntervalMining: (args) => _chunkYDG2GLYFjs.setIntervalMining.call(void 0, client, args),
632
- setLoggingEnabled: (args) => _chunkYDG2GLYFjs.setLoggingEnabled.call(void 0, client, args),
633
- setMinGasPrice: (args) => _chunkYDG2GLYFjs.setMinGasPrice.call(void 0, client, args),
634
- setNextBlockBaseFeePerGas: (args) => _chunkYDG2GLYFjs.setNextBlockBaseFeePerGas.call(void 0, client, args),
635
- setNextBlockTimestamp: (args) => _chunkYDG2GLYFjs.setNextBlockTimestamp.call(void 0, client, args),
636
- setNonce: (args) => _chunkYDG2GLYFjs.setNonce.call(void 0, client, args),
637
- setRpcUrl: (args) => _chunkYDG2GLYFjs.setRpcUrl.call(void 0, client, args),
638
- setStorageAt: (args) => _chunkYDG2GLYFjs.setStorageAt.call(void 0, client, args),
639
- snapshot: () => _chunkYDG2GLYFjs.snapshot.call(void 0, client),
640
- stopImpersonatingAccount: (args) => _chunkYDG2GLYFjs.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) => _chunkYDG2GLYFjs.addChain.call(void 0, client, args),
647
- deployContract: (args) => _chunkYDG2GLYFjs.deployContract.call(void 0, client, args),
648
- getAddresses: () => _chunkYDG2GLYFjs.getAddresses.call(void 0, client),
649
- getChainId: () => _chunkYDG2GLYFjs.getChainId.call(void 0, client),
650
- getPermissions: () => _chunkYDG2GLYFjs.getPermissions.call(void 0, client),
651
- requestAddresses: () => _chunkYDG2GLYFjs.requestAddresses.call(void 0, client),
652
- requestPermissions: (args) => _chunkYDG2GLYFjs.requestPermissions.call(void 0, client, args),
653
- sendTransaction: (args) => _chunkYDG2GLYFjs.sendTransaction.call(void 0, client, args),
654
- signMessage: (args) => _chunkYDG2GLYFjs.signMessage.call(void 0, client, args),
655
- signTypedData: (args) => _chunkYDG2GLYFjs.signTypedData.call(void 0, client, args),
656
- switchChain: (args) => _chunkYDG2GLYFjs.switchChain.call(void 0, client, args),
657
- watchAsset: (args) => _chunkYDG2GLYFjs.watchAsset.call(void 0, client, args),
658
- writeContract: (args) => _chunkYDG2GLYFjs.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 ? _chunkYDG2GLYFjs.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 = _chunkYDG2GLYFjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkYDG2GLYFjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkYDG2GLYFjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkYDG2GLYFjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkYDG2GLYFjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkYDG2GLYFjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkYDG2GLYFjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkYDG2GLYFjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkYDG2GLYFjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkYDG2GLYFjs.AbiEventNotFoundError; exports.AbiEventSignatureEmptyTopicsError = _chunkYDG2GLYFjs.AbiEventSignatureEmptyTopicsError; exports.AbiEventSignatureNotFoundError = _chunkYDG2GLYFjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkYDG2GLYFjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkYDG2GLYFjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkYDG2GLYFjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkYDG2GLYFjs.BaseError; exports.BlockNotFoundError = _chunkYDG2GLYFjs.BlockNotFoundError; exports.CallExecutionError = _chunkYDG2GLYFjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkYDG2GLYFjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkYDG2GLYFjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkYDG2GLYFjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkYDG2GLYFjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkYDG2GLYFjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkYDG2GLYFjs.DataLengthTooShortError; exports.DecodeLogTopicsMismatch = _chunkYDG2GLYFjs.DecodeLogTopicsMismatch; exports.EnsAvatarUriResolutionError = _chunkYDG2GLYFjs.EnsAvatarUriResolutionError; exports.EstimateGasExecutionError = _chunkYDG2GLYFjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkYDG2GLYFjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkYDG2GLYFjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkYDG2GLYFjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkYDG2GLYFjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkYDG2GLYFjs.HttpRequestError; exports.InsufficientFundsError = _chunkYDG2GLYFjs.InsufficientFundsError; exports.InternalRpcError = _chunkYDG2GLYFjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkYDG2GLYFjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkYDG2GLYFjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkYDG2GLYFjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkYDG2GLYFjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkYDG2GLYFjs.InvalidAddressError; exports.InvalidArrayError = _chunkYDG2GLYFjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkYDG2GLYFjs.InvalidBytesBooleanError; exports.InvalidChainIdError = _chunkYDG2GLYFjs.InvalidChainIdError; exports.InvalidDefinitionTypeError = _chunkYDG2GLYFjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkYDG2GLYFjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkYDG2GLYFjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkYDG2GLYFjs.InvalidInputRpcError; exports.InvalidLegacyVError = _chunkYDG2GLYFjs.InvalidLegacyVError; exports.InvalidParamsRpcError = _chunkYDG2GLYFjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkYDG2GLYFjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkYDG2GLYFjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkYDG2GLYFjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkYDG2GLYFjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkYDG2GLYFjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkYDG2GLYFjs.NonceMaxValueError; exports.NonceTooHighError = _chunkYDG2GLYFjs.NonceTooHighError; exports.NonceTooLowError = _chunkYDG2GLYFjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkYDG2GLYFjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkYDG2GLYFjs.ParseRpcError; exports.RawContractError = _chunkYDG2GLYFjs.RawContractError; exports.RequestError = _chunkYDG2GLYFjs.RequestError; exports.ResourceNotFoundRpcError = _chunkYDG2GLYFjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkYDG2GLYFjs.ResourceUnavailableRpcError; exports.RpcError = _chunkYDG2GLYFjs.RpcError; exports.RpcRequestError = _chunkYDG2GLYFjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkYDG2GLYFjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkYDG2GLYFjs.SwitchChainError; exports.TimeoutError = _chunkYDG2GLYFjs.TimeoutError; exports.TipAboveFeeCapError = _chunkYDG2GLYFjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkYDG2GLYFjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkYDG2GLYFjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkYDG2GLYFjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkYDG2GLYFjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkYDG2GLYFjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkYDG2GLYFjs.UnknownNodeError; exports.UnknownRpcError = _chunkYDG2GLYFjs.UnknownRpcError; exports.UrlRequiredError = _chunkYDG2GLYFjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkYDG2GLYFjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkYDG2GLYFjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkYDG2GLYFjs.WebSocketRequestError; exports.assertRequest = _chunkYDG2GLYFjs.assertRequest; exports.assertTransactionEIP1559 = _chunkYDG2GLYFjs.assertTransactionEIP1559; exports.assertTransactionEIP2930 = _chunkYDG2GLYFjs.assertTransactionEIP2930; exports.assertTransactionLegacy = _chunkYDG2GLYFjs.assertTransactionLegacy; exports.boolToBytes = _chunkYDG2GLYFjs.boolToBytes; exports.boolToHex = _chunkYDG2GLYFjs.boolToHex; exports.bytesToBigint = _chunkYDG2GLYFjs.bytesToBigint; exports.bytesToBool = _chunkYDG2GLYFjs.bytesToBool; exports.bytesToHex = _chunkYDG2GLYFjs.bytesToHex; exports.bytesToNumber = _chunkYDG2GLYFjs.bytesToNumber; exports.bytesToString = _chunkYDG2GLYFjs.bytesToString; exports.concat = _chunkYDG2GLYFjs.concat; exports.concatBytes = _chunkYDG2GLYFjs.concatBytes; exports.concatHex = _chunkYDG2GLYFjs.concatHex; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkYDG2GLYFjs.decodeAbiParameters; exports.decodeErrorResult = _chunkYDG2GLYFjs.decodeErrorResult; exports.decodeEventLog = _chunkYDG2GLYFjs.decodeEventLog; exports.decodeFunctionData = _chunkYDG2GLYFjs.decodeFunctionData; exports.decodeFunctionResult = _chunkYDG2GLYFjs.decodeFunctionResult; exports.defineBlock = _chunkYDG2GLYFjs.defineBlock; exports.defineChain = _chunkYDG2GLYFjs.defineChain; exports.defineTransaction = _chunkYDG2GLYFjs.defineTransaction; exports.defineTransactionReceipt = _chunkYDG2GLYFjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkYDG2GLYFjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkYDG2GLYFjs.encodeAbiParameters; exports.encodeDeployData = _chunkYDG2GLYFjs.encodeDeployData; exports.encodeErrorResult = _chunkYDG2GLYFjs.encodeErrorResult; exports.encodeEventTopics = _chunkYDG2GLYFjs.encodeEventTopics; exports.encodeFunctionData = _chunkYDG2GLYFjs.encodeFunctionData; exports.encodeFunctionResult = _chunkYDG2GLYFjs.encodeFunctionResult; exports.encodePacked = _chunkYDG2GLYFjs.encodePacked; exports.etherUnits = _chunkYDG2GLYFjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkYDG2GLYFjs.formatBlock; exports.formatEther = _chunkYDG2GLYFjs.formatEther; exports.formatGwei = _chunkYDG2GLYFjs.formatGwei; exports.formatTransaction = _chunkYDG2GLYFjs.formatTransaction; exports.formatTransactionRequest = _chunkYDG2GLYFjs.formatTransactionRequest; exports.formatUnits = _chunkYDG2GLYFjs.formatUnits; exports.fromBytes = _chunkYDG2GLYFjs.fromBytes; exports.fromHex = _chunkYDG2GLYFjs.fromHex; exports.fromRlp = _chunkYDG2GLYFjs.fromRlp; exports.getAbiItem = _chunkYDG2GLYFjs.getAbiItem; exports.getAddress = _chunkYDG2GLYFjs.getAddress; exports.getContract = _chunkYDG2GLYFjs.getContract; exports.getContractAddress = _chunkYDG2GLYFjs.getContractAddress; exports.getContractError = _chunkYDG2GLYFjs.getContractError; exports.getCreate2Address = _chunkYDG2GLYFjs.getCreate2Address; exports.getCreateAddress = _chunkYDG2GLYFjs.getCreateAddress; exports.getEventSelector = _chunkYDG2GLYFjs.getEventSelector; exports.getFunctionSelector = _chunkYDG2GLYFjs.getFunctionSelector; exports.getSerializedTransactionType = _chunkYDG2GLYFjs.getSerializedTransactionType; exports.getTransactionType = _chunkYDG2GLYFjs.getTransactionType; exports.gweiUnits = _chunkYDG2GLYFjs.gweiUnits; exports.hashMessage = _chunkYDG2GLYFjs.hashMessage; exports.hashTypedData = _chunkYDG2GLYFjs.hashTypedData; exports.hexToBigInt = _chunkYDG2GLYFjs.hexToBigInt; exports.hexToBool = _chunkYDG2GLYFjs.hexToBool; exports.hexToBytes = _chunkYDG2GLYFjs.hexToBytes; exports.hexToNumber = _chunkYDG2GLYFjs.hexToNumber; exports.hexToString = _chunkYDG2GLYFjs.hexToString; exports.http = http; exports.isAddress = _chunkYDG2GLYFjs.isAddress; exports.isAddressEqual = _chunkYDG2GLYFjs.isAddressEqual; exports.isBytes = _chunkYDG2GLYFjs.isBytes; exports.isHash = _chunkYDG2GLYFjs.isHash; exports.isHex = _chunkYDG2GLYFjs.isHex; exports.keccak256 = _chunkYDG2GLYFjs.keccak256; exports.labelhash = _chunkYDG2GLYFjs.labelhash; exports.multicall3Abi = _chunkYDG2GLYFjs.multicall3Abi; exports.namehash = _chunkYDG2GLYFjs.namehash; exports.numberToBytes = _chunkYDG2GLYFjs.numberToBytes; exports.numberToHex = _chunkYDG2GLYFjs.numberToHex; exports.pad = _chunkYDG2GLYFjs.pad; exports.padBytes = _chunkYDG2GLYFjs.padBytes; exports.padHex = _chunkYDG2GLYFjs.padHex; exports.parseAbi = _chunkYDG2GLYFjs.parseAbi; exports.parseAbiItem = _chunkYDG2GLYFjs.parseAbiItem; exports.parseAbiParameter = _chunkYDG2GLYFjs.parseAbiParameter; exports.parseAbiParameters = _chunkYDG2GLYFjs.parseAbiParameters; exports.parseEther = _chunkYDG2GLYFjs.parseEther; exports.parseGwei = _chunkYDG2GLYFjs.parseGwei; exports.parseTransaction = _chunkYDG2GLYFjs.parseTransaction; exports.parseUnits = _chunkYDG2GLYFjs.parseUnits; exports.prepareRequest = _chunkYDG2GLYFjs.prepareRequest; exports.recoverAddress = _chunkYDG2GLYFjs.recoverAddress; exports.recoverMessageAddress = _chunkYDG2GLYFjs.recoverMessageAddress; exports.recoverTypedDataAddress = _chunkYDG2GLYFjs.recoverTypedDataAddress; exports.serializeTransaction = _chunkYDG2GLYFjs.serializeTransaction; exports.size = _chunkYDG2GLYFjs.size; exports.slice = _chunkYDG2GLYFjs.slice; exports.sliceBytes = _chunkYDG2GLYFjs.sliceBytes; exports.sliceHex = _chunkYDG2GLYFjs.sliceHex; exports.stringToBytes = _chunkYDG2GLYFjs.stringToBytes; exports.stringToHex = _chunkYDG2GLYFjs.stringToHex; exports.stringify = _chunkYDG2GLYFjs.stringify; exports.toBytes = _chunkYDG2GLYFjs.toBytes; exports.toHex = _chunkYDG2GLYFjs.toHex; exports.toRlp = _chunkYDG2GLYFjs.toRlp; exports.transactionType = _chunkYDG2GLYFjs.transactionType; exports.trim = _chunkYDG2GLYFjs.trim; exports.validateTypedData = _chunkYDG2GLYFjs.validateTypedData; exports.verifyMessage = _chunkYDG2GLYFjs.verifyMessage; exports.verifyTypedData = _chunkYDG2GLYFjs.verifyTypedData; exports.webSocket = webSocket; exports.weiUnits = _chunkYDG2GLYFjs.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-6JEMQ5UV.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 _chunkYDG2GLYFjs = require('./chunk-YDG2GLYF.js');
29
+ var _chunkIAWAV7EZjs = require('./chunk-IAWAV7EZ.js');
30
30
 
31
31
 
32
32
 
@@ -55,5 +55,5 @@ var _chunkYDG2GLYFjs = require('./chunk-YDG2GLYF.js');
55
55
 
56
56
 
57
57
 
58
- exports.call = _chunkYDG2GLYFjs.call; exports.createBlockFilter = _chunkYDG2GLYFjs.createBlockFilter; exports.createEventFilter = _chunkYDG2GLYFjs.createEventFilter; exports.createPendingTransactionFilter = _chunkYDG2GLYFjs.createPendingTransactionFilter; exports.estimateGas = _chunkYDG2GLYFjs.estimateGas; exports.getBalance = _chunkYDG2GLYFjs.getBalance; exports.getBlock = _chunkYDG2GLYFjs.getBlock; exports.getBlockNumber = _chunkYDG2GLYFjs.getBlockNumber; exports.getBlockNumberCache = _chunkYDG2GLYFjs.getBlockNumberCache; exports.getBlockTransactionCount = _chunkYDG2GLYFjs.getBlockTransactionCount; exports.getBytecode = _chunkYDG2GLYFjs.getBytecode; exports.getChainId = _chunkYDG2GLYFjs.getChainId; exports.getFeeHistory = _chunkYDG2GLYFjs.getFeeHistory; exports.getFilterChanges = _chunkYDG2GLYFjs.getFilterChanges; exports.getFilterLogs = _chunkYDG2GLYFjs.getFilterLogs; exports.getGasPrice = _chunkYDG2GLYFjs.getGasPrice; exports.getLogs = _chunkYDG2GLYFjs.getLogs; exports.getTransaction = _chunkYDG2GLYFjs.getTransaction; exports.getTransactionConfirmations = _chunkYDG2GLYFjs.getTransactionConfirmations; exports.getTransactionCount = _chunkYDG2GLYFjs.getTransactionCount; exports.getTransactionReceipt = _chunkYDG2GLYFjs.getTransactionReceipt; exports.uninstallFilter = _chunkYDG2GLYFjs.uninstallFilter; exports.waitForTransactionReceipt = _chunkYDG2GLYFjs.waitForTransactionReceipt; exports.watchBlockNumber = _chunkYDG2GLYFjs.watchBlockNumber; exports.watchBlocks = _chunkYDG2GLYFjs.watchBlocks; exports.watchEvent = _chunkYDG2GLYFjs.watchEvent; exports.watchPendingTransactions = _chunkYDG2GLYFjs.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-6JEMQ5UV.mjs";
29
+ } from "./chunk-BZBBEU5Z.mjs";
30
30
  export {
31
31
  call,
32
32
  createBlockFilter,