viem 0.2.0-jxom-local-accounts.20230325T211645 → 0.2.0-jxom-local-accounts.20230327T004031

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 (69) hide show
  1. package/dist/abi.d.ts +3 -3
  2. package/dist/abi.js +2 -2
  3. package/dist/abi.mjs +1 -1
  4. package/dist/accounts/index.d.ts +4 -4
  5. package/dist/accounts/index.js +45 -16
  6. package/dist/accounts/index.js.map +1 -1
  7. package/dist/accounts/index.mjs +39 -10
  8. package/dist/accounts/index.mjs.map +1 -1
  9. package/dist/{chain-f8db473f.d.ts → chain-40443542.d.ts} +1 -1
  10. package/dist/{chain-75b0942e.d.ts → chain-4af995bf.d.ts} +63 -27
  11. package/dist/chains.d.ts +3 -3
  12. package/dist/chains.js +63 -63
  13. package/dist/chains.mjs +1 -1
  14. package/dist/{chunk-NJSAEA2H.js → chunk-CGTZNR2R.js} +507 -3
  15. package/dist/chunk-CGTZNR2R.js.map +1 -0
  16. package/dist/{chunk-IVRML3IK.mjs → chunk-HWVZ6VEQ.mjs} +506 -2
  17. package/dist/chunk-HWVZ6VEQ.mjs.map +1 -0
  18. package/dist/{chunk-ZHKTGT4Q.mjs → chunk-PVK5TA2L.mjs} +2 -2
  19. package/dist/{chunk-6UKHPIXX.mjs → chunk-UCNDS4FE.mjs} +2 -2
  20. package/dist/chunk-UCNDS4FE.mjs.map +1 -0
  21. package/dist/{chunk-LYQKHD7R.js → chunk-VSAG2LPH.js} +19 -19
  22. package/dist/chunk-VSAG2LPH.js.map +1 -0
  23. package/dist/{chunk-35AQXWIB.js → chunk-XLIQDCZW.js} +6 -6
  24. package/dist/contract.d.ts +8 -8
  25. package/dist/contract.js +2 -2
  26. package/dist/contract.mjs +1 -1
  27. package/dist/{createClient-f87255c1.d.ts → createClient-1f19be8d.d.ts} +23 -9
  28. package/dist/{createPublicClient-f876dff3.d.ts → createPublicClient-b53e3c3d.d.ts} +116 -116
  29. package/dist/{eip1193-ae706fd8.d.ts → eip1193-210ab776.d.ts} +1 -1
  30. package/dist/{encodeFunctionResult-4792a6a3.d.ts → encodeFunctionResult-a252fba1.d.ts} +1 -1
  31. package/dist/{encodePacked-3fcdd54b.d.ts → encodePacked-a9464e97.d.ts} +1 -1
  32. package/dist/ens.d.ts +5 -5
  33. package/dist/ens.js +3 -3
  34. package/dist/ens.mjs +2 -2
  35. package/dist/ethers.d.ts +3 -3
  36. package/dist/ethers.js +4 -4
  37. package/dist/ethers.mjs +2 -2
  38. package/dist/{formatAbiItem-765ebc53.d.ts → formatAbiItem-6ed70dbd.d.ts} +1 -1
  39. package/dist/{getAbiItem-693e6e1b.d.ts → getAbiItem-1ff0f41a.d.ts} +1 -1
  40. package/dist/index.d.ts +21 -15
  41. package/dist/index.js +127 -102
  42. package/dist/index.js.map +1 -1
  43. package/dist/index.mjs +67 -42
  44. package/dist/index.mjs.map +1 -1
  45. package/dist/{parseAccount-b6e8bc40.d.ts → parseAccount-8e131c73.d.ts} +1 -1
  46. package/dist/{parseGwei-1030ed5a.d.ts → parseGwei-b3a175f7.d.ts} +51 -7
  47. package/dist/public.d.ts +5 -5
  48. package/dist/public.js +2 -2
  49. package/dist/public.mjs +1 -1
  50. package/dist/test-e28db435.d.ts +198 -0
  51. package/dist/test.d.ts +11 -11
  52. package/dist/test.js +2 -2
  53. package/dist/test.mjs +1 -1
  54. package/dist/{typedData-7cfe4bb6.d.ts → typedData-848139b1.d.ts} +7 -11
  55. package/dist/utils/index.d.ts +16 -36
  56. package/dist/utils/index.js +18 -2
  57. package/dist/utils/index.mjs +17 -1
  58. package/dist/wallet.d.ts +5 -5
  59. package/dist/wallet.js +2 -2
  60. package/dist/wallet.mjs +1 -1
  61. package/dist/window.d.ts +2 -2
  62. package/package.json +1 -1
  63. package/dist/chunk-6UKHPIXX.mjs.map +0 -1
  64. package/dist/chunk-IVRML3IK.mjs.map +0 -1
  65. package/dist/chunk-LYQKHD7R.js.map +0 -1
  66. package/dist/chunk-NJSAEA2H.js.map +0 -1
  67. package/dist/test-98c0b642.d.ts +0 -206
  68. /package/dist/{chunk-ZHKTGT4Q.mjs.map → chunk-PVK5TA2L.mjs.map} +0 -0
  69. /package/dist/{chunk-35AQXWIB.js.map → chunk-XLIQDCZW.js.map} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { Address } from 'abitype';
2
- import { a as Hash, aa as Quantity, D as RpcTransactionRequest, u as RpcBlockNumber, f as BlockTag, t as RpcBlockIdentifier, H as Hex, v as RpcFeeHistory, R as RpcBlock, x as RpcLog, ac as LogTopic, y as RpcTransaction, z as RpcTransactionReceipt, G as RpcUncle } from './chain-75b0942e.js';
2
+ import { a as Hash, ak as Quantity, D as RpcTransactionRequest, u as RpcBlockNumber, f as BlockTag, t as RpcBlockIdentifier, H as Hex, v as RpcFeeHistory, R as RpcBlock, x as RpcLog, an as LogTopic, y as RpcTransaction, z as RpcTransactionReceipt, G as RpcUncle } from './chain-4af995bf.js';
3
3
 
4
4
  declare class RpcError extends Error {
5
5
  code: number;
@@ -1,5 +1,5 @@
1
1
  import { Abi, Narrow } from 'abitype';
2
- import { H as Hex, A as AbiItem, m as ExtractEventNameFromAbi, l as ExtractEventArgsFromTopics, n as ExtractFunctionNameFromAbi, E as ExtractArgsFromAbi, p as ExtractResultFromAbi, h as ExtractConstructorArgsFromAbi, j as ExtractErrorNameFromAbi, i as ExtractErrorArgsFromAbi, k as ExtractEventArgsFromAbi } from './chain-75b0942e.js';
2
+ import { H as Hex, A as AbiItem, m as ExtractEventNameFromAbi, l as ExtractEventArgsFromTopics, n as ExtractFunctionNameFromAbi, E as ExtractArgsFromAbi, p as ExtractResultFromAbi, h as ExtractConstructorArgsFromAbi, j as ExtractErrorNameFromAbi, i as ExtractErrorArgsFromAbi, k as ExtractEventArgsFromAbi } from './chain-4af995bf.js';
3
3
 
4
4
  type DecodeErrorResultParameters = {
5
5
  abi?: Abi;
@@ -1,5 +1,5 @@
1
1
  import { Narrow, SolidityAddress, SolidityBool, SolidityBytes, SolidityInt, SolidityString, SolidityArrayWithoutTuple, AbiType, AbiParameterToPrimitiveType } from 'abitype';
2
- import { H as Hex } from './chain-75b0942e.js';
2
+ import { H as Hex } from './chain-4af995bf.js';
3
3
 
4
4
  type PackedAbiType = SolidityAddress | SolidityBool | SolidityBytes | SolidityInt | SolidityString | SolidityArrayWithoutTuple;
5
5
  type EncodePackedValues<TPackedAbiTypes extends PackedAbiType[] | unknown[]> = {
package/dist/ens.d.ts CHANGED
@@ -1,11 +1,11 @@
1
- export { _ as GetEnsAddressParameters, $ as GetEnsNameParameters, a0 as getEnsAddress, a1 as getEnsName } from './createPublicClient-f876dff3.js';
1
+ export { $ as GetEnsAddressParameters, a0 as GetEnsNameParameters, a1 as getEnsAddress, a2 as getEnsName } from './createPublicClient-b53e3c3d.js';
2
2
  export { l as labelhash, n as namehash } from './namehash-afff0feb.js';
3
- import './eip1193-ae706fd8.js';
3
+ import './eip1193-210ab776.js';
4
4
  import 'abitype';
5
- import './chain-75b0942e.js';
5
+ import './chain-4af995bf.js';
6
6
  import '@wagmi/chains';
7
- import './createClient-f87255c1.js';
8
- import './typedData-7cfe4bb6.js';
7
+ import './createClient-1f19be8d.js';
8
+ import './typedData-848139b1.js';
9
9
  import '@scure/bip32';
10
10
 
11
11
  /**
package/dist/ens.js CHANGED
@@ -3,8 +3,8 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkLYQKHD7Rjs = require('./chunk-LYQKHD7R.js');
7
- require('./chunk-NJSAEA2H.js');
6
+ var _chunkVSAG2LPHjs = require('./chunk-VSAG2LPH.js');
7
+ require('./chunk-CGTZNR2R.js');
8
8
 
9
9
  // src/utils/ens/normalize.ts
10
10
  var _idnauts46hx = require('idna-uts46-hx');
@@ -17,5 +17,5 @@ function normalize(name) {
17
17
 
18
18
 
19
19
 
20
- exports.getEnsAddress = _chunkLYQKHD7Rjs.getEnsAddress; exports.getEnsName = _chunkLYQKHD7Rjs.getEnsName; exports.labelhash = _chunkLYQKHD7Rjs.labelhash; exports.namehash = _chunkLYQKHD7Rjs.namehash; exports.normalize = normalize;
20
+ exports.getEnsAddress = _chunkVSAG2LPHjs.getEnsAddress; exports.getEnsName = _chunkVSAG2LPHjs.getEnsName; exports.labelhash = _chunkVSAG2LPHjs.labelhash; exports.namehash = _chunkVSAG2LPHjs.namehash; exports.normalize = normalize;
21
21
  //# sourceMappingURL=ens.js.map
package/dist/ens.mjs CHANGED
@@ -3,8 +3,8 @@ import {
3
3
  getEnsName,
4
4
  labelhash,
5
5
  namehash
6
- } from "./chunk-6UKHPIXX.mjs";
7
- import "./chunk-IVRML3IK.mjs";
6
+ } from "./chunk-UCNDS4FE.mjs";
7
+ import "./chunk-HWVZ6VEQ.mjs";
8
8
 
9
9
  // src/utils/ens/normalize.ts
10
10
  import { toUnicode } from "idna-uts46-hx";
package/dist/ethers.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { L as LocalAccount } from './typedData-7cfe4bb6.js';
1
+ import { L as LocalAccount } from './typedData-848139b1.js';
2
2
  import '@scure/bip32';
3
3
  import 'abitype';
4
- import './chain-75b0942e.js';
4
+ import './chain-4af995bf.js';
5
5
  import '@wagmi/chains';
6
6
 
7
7
  type BigNumberish = string | number | bigint;
@@ -28,6 +28,6 @@ type EthersWallet = {
28
28
  signTypedData?: never;
29
29
  _signTypedData(domain: TypedDataDomain, types: Record<string, TypedDataField[]>, value: Record<string, any>): Promise<string>;
30
30
  });
31
- declare const ethersWalletToAccount: (wallet: EthersWallet) => LocalAccount<"custom">;
31
+ declare const ethersWalletToAccount: (wallet: EthersWallet) => LocalAccount<"custom", `0x${string}`>;
32
32
 
33
33
  export { ethersWalletToAccount };
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 _chunk35AQXWIBjs = require('./chunk-35AQXWIB.js');
3
+ var _chunkXLIQDCZWjs = require('./chunk-XLIQDCZW.js');
4
4
 
5
5
 
6
- var _chunkNJSAEA2Hjs = require('./chunk-NJSAEA2H.js');
6
+ var _chunkCGTZNR2Rjs = require('./chunk-CGTZNR2R.js');
7
7
 
8
8
  // src/adapters/ethers.ts
9
- var ethersWalletToAccount = (wallet) => _chunk35AQXWIBjs.toAccount.call(void 0, {
9
+ var ethersWalletToAccount = (wallet) => _chunkXLIQDCZWjs.toAccount.call(void 0, {
10
10
  address: wallet.address,
11
11
  async signMessage({ message }) {
12
- return await wallet.signMessage(_chunkNJSAEA2Hjs.toBytes.call(void 0, message));
12
+ return await wallet.signMessage(_chunkCGTZNR2Rjs.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-ZHKTGT4Q.mjs";
3
+ } from "./chunk-PVK5TA2L.mjs";
4
4
  import {
5
5
  toBytes
6
- } from "./chunk-IVRML3IK.mjs";
6
+ } from "./chunk-HWVZ6VEQ.mjs";
7
7
 
8
8
  // src/adapters/ethers.ts
9
9
  var ethersWalletToAccount = (wallet) => toAccount({
@@ -1,4 +1,4 @@
1
- import { A as AbiItem } from './chain-75b0942e.js';
1
+ import { A as AbiItem } from './chain-4af995bf.js';
2
2
 
3
3
  declare function formatAbiItemWithArgs({ abiItem, args, includeFunctionName, includeName, }: {
4
4
  abiItem: AbiItem;
@@ -1,5 +1,5 @@
1
1
  import { AbiParameter, AbiParametersToPrimitiveTypes, Narrow, Abi } from 'abitype';
2
- import { H as Hex, o as ExtractNameFromAbi, E as ExtractArgsFromAbi } from './chain-75b0942e.js';
2
+ import { H as Hex, o as ExtractNameFromAbi, E as ExtractArgsFromAbi } from './chain-4af995bf.js';
3
3
 
4
4
  type DecodeAbiParametersReturnType<TParams extends readonly AbiParameter[] | readonly unknown[] = readonly AbiParameter[]> = AbiParametersToPrimitiveTypes<TParams extends readonly AbiParameter[] ? TParams : AbiParameter[]>;
5
5
  declare function decodeAbiParameters<TParams extends readonly AbiParameter[] | readonly unknown[]>(params: Narrow<TParams>, data: Hex): DecodeAbiParametersReturnType<TParams>;
package/dist/index.d.ts CHANGED
@@ -1,22 +1,22 @@
1
- import { T as TransportConfig, a as Transport, B as BaseRpcRequests } from './createClient-f87255c1.js';
2
- export { C as Client, b as ClientConfig, a as Transport, T as TransportConfig, c as createClient, d as createTransport } from './createClient-f87255c1.js';
3
- import { B as BaseError, H as HttpOptions, R as RpcResponse } from './parseGwei-1030ed5a.js';
4
- export { B as BaseError, C as CallExecutionError, a as ContractFunctionExecutionError, b as ContractFunctionRevertedError, c as ContractFunctionZeroDataError, E as EstimateGasExecutionError, d as ExecutionRevertedError, F as FeeCapTooHighError, e as FeeCapTooLowError, G as GetContractAddressOptions, o as GetCreate2AddressOptions, p as GetCreateAddressOptions, q as HashTypedDataParameters, r as HashTypedDataReturnType, I as InsufficientFundsError, f as IntrinsicGasTooHighError, g as IntrinsicGasTooLowError, N as NonceMaxValueError, h as NonceTooHighError, i as NonceTooLowError, j as RawContractError, s as RecoverAddressParameters, t as RecoverAddressReturnType, u as RecoverMessageAddressParameters, v as RecoverMessageAddressReturnType, w as RecoverTypedDataAddressParameters, x as RecoverTypedDataAddressReturnType, T as TipAboveFeeCapError, y as ToRlpReturnType, k as TransactionExecutionError, m as TransactionNotFoundError, n as TransactionReceiptNotFoundError, l as TransactionTypeNotSupportedError, U as UnknownNodeError, V as VerifyMessageParameters, z as VerifyMessageReturnType, A as VerifyTypedDataParameters, D as VerifyTypedDataReturnType, W as WaitForTransactionReceiptTimeoutError, J as boolToBytes, K as boolToHex, L as bytesToBigint, M as bytesToBool, O as bytesToHex, P as bytesToNumber, Q as bytesToString, S as concat, X as concatBytes, Y as concatHex, Z as formatEther, _ as formatGwei, $ as formatUnits, a0 as fromBytes, a1 as fromHex, a2 as fromRlp, a3 as getAddress, a4 as getContractAddress, a5 as getContractError, a6 as getCreate2Address, a7 as getCreateAddress, a8 as getEventSelector, a9 as getFunctionSelector, aa as hashMessage, ab as hashTypedData, ac as hexToBigInt, ad as hexToBool, ae as hexToBytes, af as hexToNumber, ag as hexToString, ah as isAddress, ai as isAddressEqual, aj as isBytes, ak as isHex, al as keccak256, am as numberToBytes, an as numberToHex, ao as pad, ap as padBytes, aq as padHex, ar as parseEther, as as parseGwei, at as parseUnits, au as recoverAddress, av as recoverMessageAddress, aw as size, ax as slice, ay as sliceBytes, az as sliceHex, aA as stringToBytes, aB as stringToHex, aC as stringify, aD as toBytes, aE as toHex, aF as toRlp, aG as trim, aH as validateTypedData, aI as verifyMessage } from './parseGwei-1030ed5a.js';
1
+ import { T as TransportConfig, a as Transport, B as BaseRpcRequests } from './createClient-1f19be8d.js';
2
+ export { C as Client, b as ClientConfig, a as Transport, T as TransportConfig, c as createClient, d as createTransport } from './createClient-1f19be8d.js';
3
+ import { B as BaseError, H as HttpOptions, R as RpcResponse } from './parseGwei-b3a175f7.js';
4
+ export { B as BaseError, C as CallExecutionError, a as ContractFunctionExecutionError, b as ContractFunctionRevertedError, c as ContractFunctionZeroDataError, E as EstimateGasExecutionError, d as ExecutionRevertedError, F as FeeCapTooHighError, e as FeeCapTooLowError, G as GetContractAddressOptions, 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 serializeTransaction, aJ as size, aK as slice, aL as sliceBytes, aM as sliceHex, aN as stringToBytes, aO as stringToHex, aP as stringify, aQ as toBytes, aR as toHex, aS as toRlp, aT as trim, aU as validateTypedData, aV as verifyMessage } from './parseGwei-b3a175f7.js';
5
5
  import WebSocket from 'isomorphic-ws';
6
- import { H as Hex, A as AbiItem, a as Hash, C as Chain, B as ByteArray } from './chain-75b0942e.js';
7
- export { A as AbiItem, b as AccessList, c as Block, d as BlockIdentifier, e as BlockNumber, f as BlockTag, B as ByteArray, C as Chain, g as ContractConfig, E as ExtractArgsFromAbi, h as ExtractConstructorArgsFromAbi, i as ExtractErrorArgsFromAbi, j as ExtractErrorNameFromAbi, k as ExtractEventArgsFromAbi, l as ExtractEventArgsFromTopics, m as ExtractEventNameFromAbi, W as ExtractFormatter, n as ExtractFunctionNameFromAbi, o as ExtractNameFromAbi, p as ExtractResultFromAbi, F as FeeHistory, q as FeeValues, r as FeeValuesEIP1559, s as FeeValuesLegacy, X as Formatted, Y as FormattedTransaction, a as Hash, H as Hex, L as Log, R as RpcBlock, t as RpcBlockIdentifier, u as RpcBlockNumber, v as RpcFeeHistory, w as RpcFeeValues, x as RpcLog, y as RpcTransaction, z as RpcTransactionReceipt, D as RpcTransactionRequest, G as RpcUncle, O as Transaction, P as TransactionBase, Q as TransactionEIP1559, S as TransactionEIP2930, Z as TransactionFormatter, U as TransactionLegacy, T as TransactionReceipt, I as TransactionRequest, J as TransactionRequestBase, K as TransactionRequestEIP1559, M as TransactionRequestEIP2930, N as TransactionRequestLegacy, V as Uncle, _ as defineTransaction, $ as formatTransaction, a0 as transactionType } from './chain-75b0942e.js';
8
- export { B as BlockFormatter, F as FormattedBlock, f as FormattedTransactionReceipt, g as FormattedTransactionRequest, e as ParseAccount, P as PublicClient, a as PublicClientConfig, T as TransactionReceiptFormatter, h as TransactionRequestFormatter, W as WalletClient, b as WalletClientConfig, c as createPublicClient, d as createWalletClient, i as defineBlock, j as defineTransactionReceipt, k as defineTransactionRequest, l as formatBlock, m as formatTransactionRequest } from './createPublicClient-f876dff3.js';
9
- export { T as TestClient, a as TestClientConfig, c as createTestClient } from './test-98c0b642.js';
6
+ import { H as Hex, A as AbiItem, a as Hash, C as Chain, B as ByteArray } from './chain-4af995bf.js';
7
+ export { A as AbiItem, b as AccessList, c as Block, d as BlockIdentifier, e as BlockNumber, f as BlockTag, B as ByteArray, C as Chain, g as ContractConfig, E as ExtractArgsFromAbi, h as ExtractConstructorArgsFromAbi, i as ExtractErrorArgsFromAbi, j as ExtractErrorNameFromAbi, k as ExtractEventArgsFromAbi, l as ExtractEventArgsFromTopics, m as ExtractEventNameFromAbi, a4 as ExtractFormatter, n as ExtractFunctionNameFromAbi, o as ExtractNameFromAbi, p as ExtractResultFromAbi, F as FeeHistory, q as FeeValues, r as FeeValuesEIP1559, s as FeeValuesLegacy, a5 as Formatted, a6 as FormattedTransaction, a as Hash, H as Hex, L as Log, R as RpcBlock, t as RpcBlockIdentifier, u as RpcBlockNumber, v as RpcFeeHistory, w as RpcFeeValues, x as RpcLog, y as RpcTransaction, z as RpcTransactionReceipt, D as RpcTransactionRequest, G as RpcUncle, T as Transaction, J as TransactionBase, K as TransactionEIP1559, M as TransactionEIP2930, a7 as TransactionFormatter, N as TransactionLegacy, O as TransactionReceipt, P as TransactionRequest, Q as TransactionRequestBase, S as TransactionRequestEIP1559, U as TransactionRequestEIP2930, V as TransactionRequestLegacy, W as TransactionSerializable, X as TransactionSerializableBase, Y as TransactionSerializableEIP1559, Z as TransactionSerializableEIP2930, _ as TransactionSerializableLegacy, $ as TransactionSerialized, a0 as TransactionSerializedEIP1559, a1 as TransactionSerializedEIP2930, a2 as TransactionSerializedLegacy, I as TransactionType, a3 as Uncle, a8 as defineTransaction, a9 as formatTransaction, aa as transactionType } from './chain-4af995bf.js';
8
+ export { B as BlockFormatter, F as FormattedBlock, f as FormattedTransactionReceipt, g as FormattedTransactionRequest, e as ParseAccount, P as PublicClient, a as PublicClientConfig, T as TransactionReceiptFormatter, h as TransactionRequestFormatter, W as WalletClient, b as WalletClientConfig, c as createPublicClient, d as createWalletClient, i as defineBlock, j as defineTransactionReceipt, k as defineTransactionRequest, l as formatBlock, m as formatTransactionRequest } from './createPublicClient-b53e3c3d.js';
9
+ export { T as TestClient, a as TestClientConfig, c as createTestClient } from './test-e28db435.js';
10
10
  import { AbiParameter } from 'abitype';
11
11
  export { Address, ParseAbi, ParseAbiItem, ParseAbiParameter, ParseAbiParameters, parseAbi, parseAbiItem, parseAbiParameter, parseAbiParameters } from 'abitype';
12
12
  export { l as labelhash, n as namehash } from './namehash-afff0feb.js';
13
- export { D as DecodeAbiParametersReturnType, E as EncodeAbiParametersReturnType, G as GetAbiItemParameters, d as decodeAbiParameters, e as encodeAbiParameters, g as getAbiItem } from './getAbiItem-693e6e1b.js';
14
- 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-4792a6a3.js';
15
- export { e as encodePacked } from './encodePacked-3fcdd54b.js';
16
- export { A as Account, a as AccountSource, C as CustomSource, H as HDAccount, b as HDOptions, J as JsonRpcAccount, L as LocalAccount } from './typedData-7cfe4bb6.js';
17
- export { d as defineChain } from './chain-f8db473f.js';
13
+ export { D as DecodeAbiParametersReturnType, E as EncodeAbiParametersReturnType, G as GetAbiItemParameters, d as decodeAbiParameters, e as encodeAbiParameters, g as getAbiItem } from './getAbiItem-1ff0f41a.js';
14
+ 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-a252fba1.js';
15
+ export { e as encodePacked } from './encodePacked-a9464e97.js';
16
+ export { A as Account, a as AccountSource, C as CustomSource, H as HDAccount, b as HDOptions, J as JsonRpcAccount, L as LocalAccount } from './typedData-848139b1.js';
17
+ export { d as defineChain } from './chain-40443542.js';
18
18
  export { HDKey } from '@scure/bip32';
19
- import './eip1193-ae706fd8.js';
19
+ import './eip1193-210ab776.js';
20
20
  import '@wagmi/chains';
21
21
 
22
22
  declare class AbiConstructorNotFoundError extends BaseError {
@@ -164,6 +164,12 @@ declare class ChainDoesNotSupportContract extends BaseError {
164
164
  };
165
165
  });
166
166
  }
167
+ declare class InvalidChainIdError extends BaseError {
168
+ name: string;
169
+ constructor({ chainId }: {
170
+ chainId: number;
171
+ });
172
+ }
167
173
 
168
174
  declare class SizeExceedsPaddingSizeError extends BaseError {
169
175
  name: string;
@@ -503,4 +509,4 @@ declare const weiUnits: {
503
509
  gwei: number;
504
510
  };
505
511
 
506
- export { AbiConstructorNotFoundError, AbiConstructorParamsNotFoundError, AbiDecodingDataSizeInvalidError, AbiDecodingZeroDataError, AbiEncodingArrayLengthMismatchError, AbiEncodingLengthMismatchError, AbiErrorInputsNotFoundError, AbiErrorNotFoundError, AbiErrorSignatureNotFoundError, AbiEventNotFoundError, AbiEventSignatureEmptyTopicsError, AbiEventSignatureNotFoundError, AbiFunctionNotFoundError, AbiFunctionOutputsNotFoundError, AbiFunctionSignatureNotFoundError, BlockNotFoundError, ChainDoesNotSupportContract, CustomTransport, CustomTransportConfig, DataLengthTooLongError, DataLengthTooShortError, DecodeLogTopicsMismatch, FallbackTransport, FallbackTransportConfig, FilterTypeNotSupportedError, HttpRequestError, HttpTransport, HttpTransportConfig, InternalRpcError, InvalidAbiDecodingTypeError, InvalidAbiEncodingTypeError, InvalidAddressError, InvalidArrayError, InvalidBytesBooleanError, InvalidDefinitionTypeError, InvalidHexBooleanError, InvalidHexValueError, InvalidInputRpcError, InvalidParamsRpcError, InvalidRequestRpcError, JsonRpcVersionUnsupportedError, LimitExceededRpcError, MethodNotFoundRpcError, MethodNotSupportedRpcError, OffsetOutOfBoundsError, ParseRpcError, RequestError, ResourceNotFoundRpcError, ResourceUnavailableRpcError, RpcError, RpcRequestError, SizeExceedsPaddingSizeError, SwitchChainError, TimeoutError, TransactionRejectedRpcError, UnknownRpcError, UrlRequiredError, UserRejectedRequestError, WebSocketRequestError, WebSocketTransport, WebSocketTransportConfig, custom, etherUnits, fallback, gweiUnits, http, multicall3Abi, webSocket, weiUnits };
512
+ export { AbiConstructorNotFoundError, AbiConstructorParamsNotFoundError, AbiDecodingDataSizeInvalidError, AbiDecodingZeroDataError, AbiEncodingArrayLengthMismatchError, AbiEncodingLengthMismatchError, AbiErrorInputsNotFoundError, AbiErrorNotFoundError, AbiErrorSignatureNotFoundError, AbiEventNotFoundError, AbiEventSignatureEmptyTopicsError, AbiEventSignatureNotFoundError, AbiFunctionNotFoundError, AbiFunctionOutputsNotFoundError, AbiFunctionSignatureNotFoundError, BlockNotFoundError, ChainDoesNotSupportContract, CustomTransport, CustomTransportConfig, DataLengthTooLongError, DataLengthTooShortError, DecodeLogTopicsMismatch, FallbackTransport, FallbackTransportConfig, FilterTypeNotSupportedError, HttpRequestError, HttpTransport, HttpTransportConfig, InternalRpcError, InvalidAbiDecodingTypeError, InvalidAbiEncodingTypeError, InvalidAddressError, InvalidArrayError, InvalidBytesBooleanError, InvalidChainIdError, InvalidDefinitionTypeError, InvalidHexBooleanError, InvalidHexValueError, InvalidInputRpcError, InvalidParamsRpcError, InvalidRequestRpcError, JsonRpcVersionUnsupportedError, LimitExceededRpcError, MethodNotFoundRpcError, MethodNotSupportedRpcError, OffsetOutOfBoundsError, ParseRpcError, RequestError, ResourceNotFoundRpcError, ResourceUnavailableRpcError, RpcError, RpcRequestError, SizeExceedsPaddingSizeError, SwitchChainError, TimeoutError, TransactionRejectedRpcError, UnknownRpcError, UrlRequiredError, UserRejectedRequestError, WebSocketRequestError, WebSocketTransport, WebSocketTransportConfig, custom, etherUnits, fallback, gweiUnits, http, multicall3Abi, webSocket, weiUnits };
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkLYQKHD7Rjs = require('./chunk-LYQKHD7R.js');
6
+ var _chunkVSAG2LPHjs = require('./chunk-VSAG2LPH.js');
7
7
 
8
8
 
9
9
 
@@ -247,7 +247,19 @@ var _chunkLYQKHD7Rjs = require('./chunk-LYQKHD7R.js');
247
247
 
248
248
 
249
249
 
250
- var _chunkNJSAEA2Hjs = require('./chunk-NJSAEA2H.js');
250
+
251
+
252
+
253
+
254
+
255
+
256
+
257
+
258
+
259
+
260
+
261
+
262
+ var _chunkCGTZNR2Rjs = require('./chunk-CGTZNR2R.js');
251
263
 
252
264
  // src/clients/transports/createTransport.ts
253
265
  function createTransport({
@@ -261,7 +273,7 @@ function createTransport({
261
273
  }, value) {
262
274
  return {
263
275
  config: { key, name, request, retryCount, retryDelay, timeout, type },
264
- request: _chunkNJSAEA2Hjs.buildRequest.call(void 0, request, { retryCount, retryDelay }),
276
+ request: _chunkCGTZNR2Rjs.buildRequest.call(void 0, request, { retryCount, retryDelay }),
265
277
  value
266
278
  };
267
279
  }
@@ -295,7 +307,7 @@ function fallback(transports, config = {}) {
295
307
  params
296
308
  });
297
309
  } catch (err) {
298
- if (_chunkNJSAEA2Hjs.isDeterministicError.call(void 0, err))
310
+ if (_chunkCGTZNR2Rjs.isDeterministicError.call(void 0, err))
299
311
  throw err;
300
312
  if (i === transports.length - 1)
301
313
  throw err;
@@ -329,13 +341,13 @@ function http(url, config = {}) {
329
341
  const retryCount = _nullishCoalesce(config.retryCount, () => ( defaultRetryCount));
330
342
  const url_ = url || _optionalChain([chain, 'optionalAccess', _ => _.rpcUrls, 'access', _2 => _2.default, 'access', _3 => _3.http, 'access', _4 => _4[0]]);
331
343
  if (!url_)
332
- throw new (0, _chunkNJSAEA2Hjs.UrlRequiredError)();
344
+ throw new (0, _chunkCGTZNR2Rjs.UrlRequiredError)();
333
345
  return createTransport(
334
346
  {
335
347
  key,
336
348
  name,
337
349
  async request({ method, params }) {
338
- const { result } = await _chunkNJSAEA2Hjs.rpc.http(url_, {
350
+ const { result } = await _chunkCGTZNR2Rjs.rpc.http(url_, {
339
351
  body: {
340
352
  method,
341
353
  params
@@ -369,14 +381,14 @@ function webSocket(url, config = {}) {
369
381
  const retryCount = _nullishCoalesce(config.retryCount, () => ( defaultRetryCount));
370
382
  const url_ = url || _optionalChain([chain, 'optionalAccess', _5 => _5.rpcUrls, 'access', _6 => _6.default, 'access', _7 => _7.webSocket, 'optionalAccess', _8 => _8[0]]);
371
383
  if (!url_)
372
- throw new (0, _chunkNJSAEA2Hjs.UrlRequiredError)();
384
+ throw new (0, _chunkCGTZNR2Rjs.UrlRequiredError)();
373
385
  return createTransport(
374
386
  {
375
387
  key,
376
388
  name,
377
389
  async request({ method, params }) {
378
- const socket = await _chunkNJSAEA2Hjs.getSocket.call(void 0, url_);
379
- const { result } = await _chunkNJSAEA2Hjs.rpc.webSocketAsync(socket, {
390
+ const socket = await _chunkCGTZNR2Rjs.getSocket.call(void 0, url_);
391
+ const { result } = await _chunkCGTZNR2Rjs.rpc.webSocketAsync(socket, {
380
392
  body: { method, params },
381
393
  timeout
382
394
  });
@@ -389,12 +401,12 @@ function webSocket(url, config = {}) {
389
401
  },
390
402
  {
391
403
  getSocket() {
392
- return _chunkNJSAEA2Hjs.getSocket.call(void 0, url_);
404
+ return _chunkCGTZNR2Rjs.getSocket.call(void 0, url_);
393
405
  },
394
406
  async subscribe({ params, onData, onError }) {
395
- const socket = await _chunkNJSAEA2Hjs.getSocket.call(void 0, url_);
407
+ const socket = await _chunkCGTZNR2Rjs.getSocket.call(void 0, url_);
396
408
  const { result: subscriptionId } = await new Promise(
397
- (resolve, reject) => _chunkNJSAEA2Hjs.rpc.webSocket(socket, {
409
+ (resolve, reject) => _chunkCGTZNR2Rjs.rpc.webSocket(socket, {
398
410
  body: {
399
411
  method: "eth_subscribe",
400
412
  params
@@ -416,7 +428,7 @@ function webSocket(url, config = {}) {
416
428
  subscriptionId,
417
429
  async unsubscribe() {
418
430
  return new Promise(
419
- (resolve, reject) => _chunkNJSAEA2Hjs.rpc.webSocket(socket, {
431
+ (resolve, reject) => _chunkCGTZNR2Rjs.rpc.webSocket(socket, {
420
432
  body: {
421
433
  method: "eth_unsubscribe",
422
434
  params: [subscriptionId]
@@ -472,90 +484,92 @@ function createClient({
472
484
 
473
485
  // src/clients/decorators/public.ts
474
486
  var publicActions = (client) => ({
475
- call: (args) => _chunkNJSAEA2Hjs.call.call(void 0, client, args),
476
- createBlockFilter: () => _chunkNJSAEA2Hjs.createBlockFilter.call(void 0, client),
477
- createContractEventFilter: (args) => _chunkNJSAEA2Hjs.createContractEventFilter.call(void 0, client, args),
478
- createEventFilter: (args) => _chunkNJSAEA2Hjs.createEventFilter.call(void 0, client, args),
479
- createPendingTransactionFilter: () => _chunkNJSAEA2Hjs.createPendingTransactionFilter.call(void 0, client),
480
- estimateContractGas: (args) => _chunkNJSAEA2Hjs.estimateContractGas.call(void 0, client, args),
481
- estimateGas: (args) => _chunkNJSAEA2Hjs.estimateGas.call(void 0, client, args),
482
- getBalance: (args) => _chunkNJSAEA2Hjs.getBalance.call(void 0, client, args),
483
- getBlock: (args) => _chunkNJSAEA2Hjs.getBlock.call(void 0, client, args),
484
- getBlockNumber: (args) => _chunkNJSAEA2Hjs.getBlockNumber.call(void 0, client, args),
485
- getBlockTransactionCount: (args) => _chunkNJSAEA2Hjs.getBlockTransactionCount.call(void 0, client, args),
486
- getBytecode: (args) => _chunkNJSAEA2Hjs.getBytecode.call(void 0, client, args),
487
- getChainId: () => _chunkNJSAEA2Hjs.getChainId.call(void 0, client),
488
- getEnsAddress: (args) => _chunkLYQKHD7Rjs.getEnsAddress.call(void 0, client, args),
489
- getEnsName: (args) => _chunkLYQKHD7Rjs.getEnsName.call(void 0, client, args),
490
- getFeeHistory: (args) => _chunkNJSAEA2Hjs.getFeeHistory.call(void 0, client, args),
491
- getFilterChanges: (args) => _chunkNJSAEA2Hjs.getFilterChanges.call(void 0, client, args),
492
- getFilterLogs: (args) => _chunkNJSAEA2Hjs.getFilterLogs.call(void 0, client, args),
493
- getGasPrice: () => _chunkNJSAEA2Hjs.getGasPrice.call(void 0, client),
494
- getLogs: (args) => _chunkNJSAEA2Hjs.getLogs.call(void 0, client, args),
495
- getStorageAt: (args) => _chunkNJSAEA2Hjs.getStorageAt.call(void 0, client, args),
496
- getTransaction: (args) => _chunkNJSAEA2Hjs.getTransaction.call(void 0, client, args),
497
- getTransactionConfirmations: (args) => _chunkNJSAEA2Hjs.getTransactionConfirmations.call(void 0, client, args),
498
- getTransactionCount: (args) => _chunkNJSAEA2Hjs.getTransactionCount.call(void 0, client, args),
499
- getTransactionReceipt: (args) => _chunkNJSAEA2Hjs.getTransactionReceipt.call(void 0, client, args),
500
- multicall: (args) => _chunkNJSAEA2Hjs.multicall.call(void 0, client, args),
501
- readContract: (args) => _chunkNJSAEA2Hjs.readContract.call(void 0, client, args),
502
- simulateContract: (args) => _chunkNJSAEA2Hjs.simulateContract.call(void 0, client, args),
503
- uninstallFilter: (args) => _chunkNJSAEA2Hjs.uninstallFilter.call(void 0, client, args),
504
- waitForTransactionReceipt: (args) => _chunkNJSAEA2Hjs.waitForTransactionReceipt.call(void 0, client, args),
505
- watchBlocks: (args) => _chunkNJSAEA2Hjs.watchBlocks.call(void 0, client, args),
506
- watchBlockNumber: (args) => _chunkNJSAEA2Hjs.watchBlockNumber.call(void 0, client, args),
507
- watchContractEvent: (args) => _chunkNJSAEA2Hjs.watchContractEvent.call(void 0, client, args),
508
- watchEvent: (args) => _chunkNJSAEA2Hjs.watchEvent.call(void 0, client, args),
509
- watchPendingTransactions: (args) => _chunkNJSAEA2Hjs.watchPendingTransactions.call(void 0, client, args)
487
+ call: (args) => _chunkCGTZNR2Rjs.call.call(void 0, client, args),
488
+ createBlockFilter: () => _chunkCGTZNR2Rjs.createBlockFilter.call(void 0, client),
489
+ createContractEventFilter: (args) => _chunkCGTZNR2Rjs.createContractEventFilter.call(void 0, client, args),
490
+ createEventFilter: (args) => _chunkCGTZNR2Rjs.createEventFilter.call(void 0, client, args),
491
+ createPendingTransactionFilter: () => _chunkCGTZNR2Rjs.createPendingTransactionFilter.call(void 0, client),
492
+ estimateContractGas: (args) => _chunkCGTZNR2Rjs.estimateContractGas.call(void 0, client, args),
493
+ estimateGas: (args) => _chunkCGTZNR2Rjs.estimateGas.call(void 0, client, args),
494
+ getBalance: (args) => _chunkCGTZNR2Rjs.getBalance.call(void 0, client, args),
495
+ getBlock: (args) => _chunkCGTZNR2Rjs.getBlock.call(void 0, client, args),
496
+ getBlockNumber: (args) => _chunkCGTZNR2Rjs.getBlockNumber.call(void 0, client, args),
497
+ getBlockTransactionCount: (args) => _chunkCGTZNR2Rjs.getBlockTransactionCount.call(void 0, client, args),
498
+ getBytecode: (args) => _chunkCGTZNR2Rjs.getBytecode.call(void 0, client, args),
499
+ getChainId: () => _chunkCGTZNR2Rjs.getChainId.call(void 0, client),
500
+ getEnsAddress: (args) => _chunkVSAG2LPHjs.getEnsAddress.call(void 0, client, args),
501
+ getEnsName: (args) => _chunkVSAG2LPHjs.getEnsName.call(void 0, client, args),
502
+ getFeeHistory: (args) => _chunkCGTZNR2Rjs.getFeeHistory.call(void 0, client, args),
503
+ getFilterChanges: (args) => _chunkCGTZNR2Rjs.getFilterChanges.call(void 0, client, args),
504
+ getFilterLogs: (args) => _chunkCGTZNR2Rjs.getFilterLogs.call(void 0, client, args),
505
+ getGasPrice: () => _chunkCGTZNR2Rjs.getGasPrice.call(void 0, client),
506
+ getLogs: (args) => _chunkCGTZNR2Rjs.getLogs.call(void 0, client, args),
507
+ getStorageAt: (args) => _chunkCGTZNR2Rjs.getStorageAt.call(void 0, client, args),
508
+ getTransaction: (args) => _chunkCGTZNR2Rjs.getTransaction.call(void 0, client, args),
509
+ getTransactionConfirmations: (args) => _chunkCGTZNR2Rjs.getTransactionConfirmations.call(void 0, client, args),
510
+ getTransactionCount: (args) => _chunkCGTZNR2Rjs.getTransactionCount.call(void 0, client, args),
511
+ getTransactionReceipt: (args) => _chunkCGTZNR2Rjs.getTransactionReceipt.call(void 0, client, args),
512
+ multicall: (args) => _chunkCGTZNR2Rjs.multicall.call(void 0, client, args),
513
+ readContract: (args) => _chunkCGTZNR2Rjs.readContract.call(void 0, client, args),
514
+ simulateContract: (args) => _chunkCGTZNR2Rjs.simulateContract.call(void 0, client, args),
515
+ uninstallFilter: (args) => _chunkCGTZNR2Rjs.uninstallFilter.call(void 0, client, args),
516
+ waitForTransactionReceipt: (args) => _chunkCGTZNR2Rjs.waitForTransactionReceipt.call(void 0, client, args),
517
+ watchBlocks: (args) => _chunkCGTZNR2Rjs.watchBlocks.call(void 0, client, args),
518
+ watchBlockNumber: (args) => _chunkCGTZNR2Rjs.watchBlockNumber.call(void 0, client, args),
519
+ watchContractEvent: (args) => _chunkCGTZNR2Rjs.watchContractEvent.call(void 0, client, args),
520
+ watchEvent: (args) => _chunkCGTZNR2Rjs.watchEvent.call(void 0, client, args),
521
+ watchPendingTransactions: (args) => _chunkCGTZNR2Rjs.watchPendingTransactions.call(void 0, client, args)
510
522
  });
511
523
 
512
524
  // src/clients/decorators/test.ts
513
- var testActions = (client) => ({
514
- dropTransaction: (args) => _chunkNJSAEA2Hjs.dropTransaction.call(void 0, client, args),
515
- getAutomine: () => _chunkNJSAEA2Hjs.getAutomine.call(void 0, client),
516
- getTxpoolContent: () => _chunkNJSAEA2Hjs.getTxpoolContent.call(void 0, client),
517
- getTxpoolStatus: () => _chunkNJSAEA2Hjs.getTxpoolStatus.call(void 0, client),
518
- impersonateAccount: (args) => _chunkNJSAEA2Hjs.impersonateAccount.call(void 0, client, args),
519
- increaseTime: (args) => _chunkNJSAEA2Hjs.increaseTime.call(void 0, client, args),
520
- inspectTxpool: () => _chunkNJSAEA2Hjs.inspectTxpool.call(void 0, client),
521
- mine: (args) => _chunkNJSAEA2Hjs.mine.call(void 0, client, args),
522
- removeBlockTimestampInterval: () => _chunkNJSAEA2Hjs.removeBlockTimestampInterval.call(void 0, client),
523
- reset: (args) => _chunkNJSAEA2Hjs.reset.call(void 0, client, args),
524
- revert: (args) => _chunkNJSAEA2Hjs.revert.call(void 0, client, args),
525
- sendUnsignedTransaction: (args) => _chunkNJSAEA2Hjs.sendUnsignedTransaction.call(void 0, client, args),
526
- setAutomine: (args) => _chunkNJSAEA2Hjs.setAutomine.call(void 0, client, args),
527
- setBalance: (args) => _chunkNJSAEA2Hjs.setBalance.call(void 0, client, args),
528
- setBlockGasLimit: (args) => _chunkNJSAEA2Hjs.setBlockGasLimit.call(void 0, client, args),
529
- setBlockTimestampInterval: (args) => _chunkNJSAEA2Hjs.setBlockTimestampInterval.call(void 0, client, args),
530
- setCode: (args) => _chunkNJSAEA2Hjs.setCode.call(void 0, client, args),
531
- setCoinbase: (args) => _chunkNJSAEA2Hjs.setCoinbase.call(void 0, client, args),
532
- setIntervalMining: (args) => _chunkNJSAEA2Hjs.setIntervalMining.call(void 0, client, args),
533
- setLoggingEnabled: (args) => _chunkNJSAEA2Hjs.setLoggingEnabled.call(void 0, client, args),
534
- setMinGasPrice: (args) => _chunkNJSAEA2Hjs.setMinGasPrice.call(void 0, client, args),
535
- setNextBlockBaseFeePerGas: (args) => _chunkNJSAEA2Hjs.setNextBlockBaseFeePerGas.call(void 0, client, args),
536
- setNextBlockTimestamp: (args) => _chunkNJSAEA2Hjs.setNextBlockTimestamp.call(void 0, client, args),
537
- setNonce: (args) => _chunkNJSAEA2Hjs.setNonce.call(void 0, client, args),
538
- setRpcUrl: (args) => _chunkNJSAEA2Hjs.setRpcUrl.call(void 0, client, args),
539
- setStorageAt: (args) => _chunkNJSAEA2Hjs.setStorageAt.call(void 0, client, args),
540
- snapshot: () => _chunkNJSAEA2Hjs.snapshot.call(void 0, client),
541
- stopImpersonatingAccount: (args) => _chunkNJSAEA2Hjs.stopImpersonatingAccount.call(void 0, client, args)
542
- });
525
+ function testActions(client) {
526
+ return {
527
+ dropTransaction: (args) => _chunkCGTZNR2Rjs.dropTransaction.call(void 0, client, args),
528
+ getAutomine: () => _chunkCGTZNR2Rjs.getAutomine.call(void 0, client),
529
+ getTxpoolContent: () => _chunkCGTZNR2Rjs.getTxpoolContent.call(void 0, client),
530
+ getTxpoolStatus: () => _chunkCGTZNR2Rjs.getTxpoolStatus.call(void 0, client),
531
+ impersonateAccount: (args) => _chunkCGTZNR2Rjs.impersonateAccount.call(void 0, client, args),
532
+ increaseTime: (args) => _chunkCGTZNR2Rjs.increaseTime.call(void 0, client, args),
533
+ inspectTxpool: () => _chunkCGTZNR2Rjs.inspectTxpool.call(void 0, client),
534
+ mine: (args) => _chunkCGTZNR2Rjs.mine.call(void 0, client, args),
535
+ removeBlockTimestampInterval: () => _chunkCGTZNR2Rjs.removeBlockTimestampInterval.call(void 0, client),
536
+ reset: (args) => _chunkCGTZNR2Rjs.reset.call(void 0, client, args),
537
+ revert: (args) => _chunkCGTZNR2Rjs.revert.call(void 0, client, args),
538
+ sendUnsignedTransaction: (args) => _chunkCGTZNR2Rjs.sendUnsignedTransaction.call(void 0, client, args),
539
+ setAutomine: (args) => _chunkCGTZNR2Rjs.setAutomine.call(void 0, client, args),
540
+ setBalance: (args) => _chunkCGTZNR2Rjs.setBalance.call(void 0, client, args),
541
+ setBlockGasLimit: (args) => _chunkCGTZNR2Rjs.setBlockGasLimit.call(void 0, client, args),
542
+ setBlockTimestampInterval: (args) => _chunkCGTZNR2Rjs.setBlockTimestampInterval.call(void 0, client, args),
543
+ setCode: (args) => _chunkCGTZNR2Rjs.setCode.call(void 0, client, args),
544
+ setCoinbase: (args) => _chunkCGTZNR2Rjs.setCoinbase.call(void 0, client, args),
545
+ setIntervalMining: (args) => _chunkCGTZNR2Rjs.setIntervalMining.call(void 0, client, args),
546
+ setLoggingEnabled: (args) => _chunkCGTZNR2Rjs.setLoggingEnabled.call(void 0, client, args),
547
+ setMinGasPrice: (args) => _chunkCGTZNR2Rjs.setMinGasPrice.call(void 0, client, args),
548
+ setNextBlockBaseFeePerGas: (args) => _chunkCGTZNR2Rjs.setNextBlockBaseFeePerGas.call(void 0, client, args),
549
+ setNextBlockTimestamp: (args) => _chunkCGTZNR2Rjs.setNextBlockTimestamp.call(void 0, client, args),
550
+ setNonce: (args) => _chunkCGTZNR2Rjs.setNonce.call(void 0, client, args),
551
+ setRpcUrl: (args) => _chunkCGTZNR2Rjs.setRpcUrl.call(void 0, client, args),
552
+ setStorageAt: (args) => _chunkCGTZNR2Rjs.setStorageAt.call(void 0, client, args),
553
+ snapshot: () => _chunkCGTZNR2Rjs.snapshot.call(void 0, client),
554
+ stopImpersonatingAccount: (args) => _chunkCGTZNR2Rjs.stopImpersonatingAccount.call(void 0, client, args)
555
+ };
556
+ }
543
557
 
544
558
  // src/clients/decorators/wallet.ts
545
559
  var walletActions = (client) => ({
546
- addChain: (args) => _chunkNJSAEA2Hjs.addChain.call(void 0, client, args),
547
- deployContract: (args) => _chunkNJSAEA2Hjs.deployContract.call(void 0, client, args),
548
- getAddresses: () => _chunkNJSAEA2Hjs.getAddresses.call(void 0, client),
549
- getChainId: () => _chunkNJSAEA2Hjs.getChainId.call(void 0, client),
550
- getPermissions: () => _chunkNJSAEA2Hjs.getPermissions.call(void 0, client),
551
- requestAddresses: () => _chunkNJSAEA2Hjs.requestAddresses.call(void 0, client),
552
- requestPermissions: (args) => _chunkNJSAEA2Hjs.requestPermissions.call(void 0, client, args),
553
- sendTransaction: (args) => _chunkNJSAEA2Hjs.sendTransaction.call(void 0, client, args),
554
- signMessage: (args) => _chunkNJSAEA2Hjs.signMessage.call(void 0, client, args),
555
- signTypedData: (args) => _chunkNJSAEA2Hjs.signTypedData.call(void 0, client, args),
556
- switchChain: (args) => _chunkNJSAEA2Hjs.switchChain.call(void 0, client, args),
557
- watchAsset: (args) => _chunkNJSAEA2Hjs.watchAsset.call(void 0, client, args),
558
- writeContract: (args) => _chunkNJSAEA2Hjs.writeContract.call(void 0, client, args)
560
+ addChain: (args) => _chunkCGTZNR2Rjs.addChain.call(void 0, client, args),
561
+ deployContract: (args) => _chunkCGTZNR2Rjs.deployContract.call(void 0, client, args),
562
+ getAddresses: () => _chunkCGTZNR2Rjs.getAddresses.call(void 0, client),
563
+ getChainId: () => _chunkCGTZNR2Rjs.getChainId.call(void 0, client),
564
+ getPermissions: () => _chunkCGTZNR2Rjs.getPermissions.call(void 0, client),
565
+ requestAddresses: () => _chunkCGTZNR2Rjs.requestAddresses.call(void 0, client),
566
+ requestPermissions: (args) => _chunkCGTZNR2Rjs.requestPermissions.call(void 0, client, args),
567
+ sendTransaction: (args) => _chunkCGTZNR2Rjs.sendTransaction.call(void 0, client, args),
568
+ signMessage: (args) => _chunkCGTZNR2Rjs.signMessage.call(void 0, client, args),
569
+ signTypedData: (args) => _chunkCGTZNR2Rjs.signTypedData.call(void 0, client, args),
570
+ switchChain: (args) => _chunkCGTZNR2Rjs.switchChain.call(void 0, client, args),
571
+ watchAsset: (args) => _chunkCGTZNR2Rjs.watchAsset.call(void 0, client, args),
572
+ writeContract: (args) => _chunkCGTZNR2Rjs.writeContract.call(void 0, client, args)
559
573
  });
560
574
 
561
575
  // src/clients/createPublicClient.ts
@@ -615,17 +629,16 @@ function createWalletClient({
615
629
  name = "Wallet Client",
616
630
  pollingInterval
617
631
  }) {
618
- const baseClient = createClient({
619
- chain,
620
- key,
621
- name,
622
- pollingInterval,
623
- transport: () => transport({ retryCount: 0 }),
624
- type: "walletClient"
625
- });
626
632
  const client = {
627
- account: account ? _chunkNJSAEA2Hjs.parseAccount.call(void 0, account) : void 0,
628
- ...baseClient
633
+ ...createClient({
634
+ chain,
635
+ key,
636
+ name,
637
+ pollingInterval,
638
+ transport: () => transport({ retryCount: 0 }),
639
+ type: "walletClient"
640
+ }),
641
+ account: account ? _chunkCGTZNR2Rjs.parseAccount.call(void 0, account) : void 0
629
642
  };
630
643
  return {
631
644
  ...client,
@@ -808,5 +821,17 @@ function createWalletClient({
808
821
 
809
822
 
810
823
 
811
- exports.AbiConstructorNotFoundError = _chunkNJSAEA2Hjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkNJSAEA2Hjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkNJSAEA2Hjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkNJSAEA2Hjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkNJSAEA2Hjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkNJSAEA2Hjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkNJSAEA2Hjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkNJSAEA2Hjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkNJSAEA2Hjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkNJSAEA2Hjs.AbiEventNotFoundError; exports.AbiEventSignatureEmptyTopicsError = _chunkNJSAEA2Hjs.AbiEventSignatureEmptyTopicsError; exports.AbiEventSignatureNotFoundError = _chunkNJSAEA2Hjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkNJSAEA2Hjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkNJSAEA2Hjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkNJSAEA2Hjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkNJSAEA2Hjs.BaseError; exports.BlockNotFoundError = _chunkNJSAEA2Hjs.BlockNotFoundError; exports.CallExecutionError = _chunkNJSAEA2Hjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkNJSAEA2Hjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkNJSAEA2Hjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkNJSAEA2Hjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkNJSAEA2Hjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkNJSAEA2Hjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkNJSAEA2Hjs.DataLengthTooShortError; exports.DecodeLogTopicsMismatch = _chunkNJSAEA2Hjs.DecodeLogTopicsMismatch; exports.EstimateGasExecutionError = _chunkNJSAEA2Hjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkNJSAEA2Hjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkNJSAEA2Hjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkNJSAEA2Hjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkNJSAEA2Hjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkNJSAEA2Hjs.HttpRequestError; exports.InsufficientFundsError = _chunkNJSAEA2Hjs.InsufficientFundsError; exports.InternalRpcError = _chunkNJSAEA2Hjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkNJSAEA2Hjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkNJSAEA2Hjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkNJSAEA2Hjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkNJSAEA2Hjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkNJSAEA2Hjs.InvalidAddressError; exports.InvalidArrayError = _chunkNJSAEA2Hjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkNJSAEA2Hjs.InvalidBytesBooleanError; exports.InvalidDefinitionTypeError = _chunkNJSAEA2Hjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkNJSAEA2Hjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkNJSAEA2Hjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkNJSAEA2Hjs.InvalidInputRpcError; exports.InvalidParamsRpcError = _chunkNJSAEA2Hjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkNJSAEA2Hjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkNJSAEA2Hjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkNJSAEA2Hjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkNJSAEA2Hjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkNJSAEA2Hjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkNJSAEA2Hjs.NonceMaxValueError; exports.NonceTooHighError = _chunkNJSAEA2Hjs.NonceTooHighError; exports.NonceTooLowError = _chunkNJSAEA2Hjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkNJSAEA2Hjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkNJSAEA2Hjs.ParseRpcError; exports.RawContractError = _chunkNJSAEA2Hjs.RawContractError; exports.RequestError = _chunkNJSAEA2Hjs.RequestError; exports.ResourceNotFoundRpcError = _chunkNJSAEA2Hjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkNJSAEA2Hjs.ResourceUnavailableRpcError; exports.RpcError = _chunkNJSAEA2Hjs.RpcError; exports.RpcRequestError = _chunkNJSAEA2Hjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkNJSAEA2Hjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkNJSAEA2Hjs.SwitchChainError; exports.TimeoutError = _chunkNJSAEA2Hjs.TimeoutError; exports.TipAboveFeeCapError = _chunkNJSAEA2Hjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkNJSAEA2Hjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkNJSAEA2Hjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkNJSAEA2Hjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkNJSAEA2Hjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkNJSAEA2Hjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkNJSAEA2Hjs.UnknownNodeError; exports.UnknownRpcError = _chunkNJSAEA2Hjs.UnknownRpcError; exports.UrlRequiredError = _chunkNJSAEA2Hjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkNJSAEA2Hjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkNJSAEA2Hjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkNJSAEA2Hjs.WebSocketRequestError; exports.boolToBytes = _chunkNJSAEA2Hjs.boolToBytes; exports.boolToHex = _chunkNJSAEA2Hjs.boolToHex; exports.bytesToBigint = _chunkNJSAEA2Hjs.bytesToBigint; exports.bytesToBool = _chunkNJSAEA2Hjs.bytesToBool; exports.bytesToHex = _chunkNJSAEA2Hjs.bytesToHex; exports.bytesToNumber = _chunkNJSAEA2Hjs.bytesToNumber; exports.bytesToString = _chunkNJSAEA2Hjs.bytesToString; exports.concat = _chunkNJSAEA2Hjs.concat; exports.concatBytes = _chunkNJSAEA2Hjs.concatBytes; exports.concatHex = _chunkNJSAEA2Hjs.concatHex; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkNJSAEA2Hjs.decodeAbiParameters; exports.decodeErrorResult = _chunkNJSAEA2Hjs.decodeErrorResult; exports.decodeEventLog = _chunkNJSAEA2Hjs.decodeEventLog; exports.decodeFunctionData = _chunkNJSAEA2Hjs.decodeFunctionData; exports.decodeFunctionResult = _chunkNJSAEA2Hjs.decodeFunctionResult; exports.defineBlock = _chunkNJSAEA2Hjs.defineBlock; exports.defineChain = _chunkNJSAEA2Hjs.defineChain; exports.defineTransaction = _chunkNJSAEA2Hjs.defineTransaction; exports.defineTransactionReceipt = _chunkNJSAEA2Hjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkNJSAEA2Hjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkNJSAEA2Hjs.encodeAbiParameters; exports.encodeDeployData = _chunkNJSAEA2Hjs.encodeDeployData; exports.encodeErrorResult = _chunkNJSAEA2Hjs.encodeErrorResult; exports.encodeEventTopics = _chunkNJSAEA2Hjs.encodeEventTopics; exports.encodeFunctionData = _chunkNJSAEA2Hjs.encodeFunctionData; exports.encodeFunctionResult = _chunkNJSAEA2Hjs.encodeFunctionResult; exports.encodePacked = _chunkNJSAEA2Hjs.encodePacked; exports.etherUnits = _chunkNJSAEA2Hjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkNJSAEA2Hjs.formatBlock; exports.formatEther = _chunkNJSAEA2Hjs.formatEther; exports.formatGwei = _chunkNJSAEA2Hjs.formatGwei; exports.formatTransaction = _chunkNJSAEA2Hjs.formatTransaction; exports.formatTransactionRequest = _chunkNJSAEA2Hjs.formatTransactionRequest; exports.formatUnits = _chunkNJSAEA2Hjs.formatUnits; exports.fromBytes = _chunkNJSAEA2Hjs.fromBytes; exports.fromHex = _chunkNJSAEA2Hjs.fromHex; exports.fromRlp = _chunkNJSAEA2Hjs.fromRlp; exports.getAbiItem = _chunkNJSAEA2Hjs.getAbiItem; exports.getAddress = _chunkNJSAEA2Hjs.getAddress; exports.getContractAddress = _chunkNJSAEA2Hjs.getContractAddress; exports.getContractError = _chunkNJSAEA2Hjs.getContractError; exports.getCreate2Address = _chunkNJSAEA2Hjs.getCreate2Address; exports.getCreateAddress = _chunkNJSAEA2Hjs.getCreateAddress; exports.getEventSelector = _chunkNJSAEA2Hjs.getEventSelector; exports.getFunctionSelector = _chunkNJSAEA2Hjs.getFunctionSelector; exports.gweiUnits = _chunkNJSAEA2Hjs.gweiUnits; exports.hashMessage = _chunkNJSAEA2Hjs.hashMessage; exports.hashTypedData = _chunkNJSAEA2Hjs.hashTypedData; exports.hexToBigInt = _chunkNJSAEA2Hjs.hexToBigInt; exports.hexToBool = _chunkNJSAEA2Hjs.hexToBool; exports.hexToBytes = _chunkNJSAEA2Hjs.hexToBytes; exports.hexToNumber = _chunkNJSAEA2Hjs.hexToNumber; exports.hexToString = _chunkNJSAEA2Hjs.hexToString; exports.http = http; exports.isAddress = _chunkNJSAEA2Hjs.isAddress; exports.isAddressEqual = _chunkNJSAEA2Hjs.isAddressEqual; exports.isBytes = _chunkNJSAEA2Hjs.isBytes; exports.isHex = _chunkNJSAEA2Hjs.isHex; exports.keccak256 = _chunkNJSAEA2Hjs.keccak256; exports.labelhash = _chunkLYQKHD7Rjs.labelhash; exports.multicall3Abi = _chunkNJSAEA2Hjs.multicall3Abi; exports.namehash = _chunkLYQKHD7Rjs.namehash; exports.numberToBytes = _chunkNJSAEA2Hjs.numberToBytes; exports.numberToHex = _chunkNJSAEA2Hjs.numberToHex; exports.pad = _chunkNJSAEA2Hjs.pad; exports.padBytes = _chunkNJSAEA2Hjs.padBytes; exports.padHex = _chunkNJSAEA2Hjs.padHex; exports.parseAbi = _chunkNJSAEA2Hjs.parseAbi; exports.parseAbiItem = _chunkNJSAEA2Hjs.parseAbiItem; exports.parseAbiParameter = _chunkNJSAEA2Hjs.parseAbiParameter; exports.parseAbiParameters = _chunkNJSAEA2Hjs.parseAbiParameters; exports.parseEther = _chunkNJSAEA2Hjs.parseEther; exports.parseGwei = _chunkNJSAEA2Hjs.parseGwei; exports.parseUnits = _chunkNJSAEA2Hjs.parseUnits; exports.recoverAddress = _chunkNJSAEA2Hjs.recoverAddress; exports.recoverMessageAddress = _chunkNJSAEA2Hjs.recoverMessageAddress; exports.size = _chunkNJSAEA2Hjs.size; exports.slice = _chunkNJSAEA2Hjs.slice; exports.sliceBytes = _chunkNJSAEA2Hjs.sliceBytes; exports.sliceHex = _chunkNJSAEA2Hjs.sliceHex; exports.stringToBytes = _chunkNJSAEA2Hjs.stringToBytes; exports.stringToHex = _chunkNJSAEA2Hjs.stringToHex; exports.stringify = _chunkNJSAEA2Hjs.stringify; exports.toBytes = _chunkNJSAEA2Hjs.toBytes; exports.toHex = _chunkNJSAEA2Hjs.toHex; exports.toRlp = _chunkNJSAEA2Hjs.toRlp; exports.transactionType = _chunkNJSAEA2Hjs.transactionType; exports.trim = _chunkNJSAEA2Hjs.trim; exports.validateTypedData = _chunkNJSAEA2Hjs.validateTypedData; exports.verifyMessage = _chunkNJSAEA2Hjs.verifyMessage; exports.webSocket = webSocket; exports.weiUnits = _chunkNJSAEA2Hjs.weiUnits;
824
+
825
+
826
+
827
+
828
+
829
+
830
+
831
+
832
+
833
+
834
+
835
+
836
+ exports.AbiConstructorNotFoundError = _chunkCGTZNR2Rjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkCGTZNR2Rjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkCGTZNR2Rjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkCGTZNR2Rjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkCGTZNR2Rjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkCGTZNR2Rjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkCGTZNR2Rjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkCGTZNR2Rjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkCGTZNR2Rjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkCGTZNR2Rjs.AbiEventNotFoundError; exports.AbiEventSignatureEmptyTopicsError = _chunkCGTZNR2Rjs.AbiEventSignatureEmptyTopicsError; exports.AbiEventSignatureNotFoundError = _chunkCGTZNR2Rjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkCGTZNR2Rjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkCGTZNR2Rjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkCGTZNR2Rjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkCGTZNR2Rjs.BaseError; exports.BlockNotFoundError = _chunkCGTZNR2Rjs.BlockNotFoundError; exports.CallExecutionError = _chunkCGTZNR2Rjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkCGTZNR2Rjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkCGTZNR2Rjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkCGTZNR2Rjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkCGTZNR2Rjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkCGTZNR2Rjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkCGTZNR2Rjs.DataLengthTooShortError; exports.DecodeLogTopicsMismatch = _chunkCGTZNR2Rjs.DecodeLogTopicsMismatch; exports.EstimateGasExecutionError = _chunkCGTZNR2Rjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkCGTZNR2Rjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkCGTZNR2Rjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkCGTZNR2Rjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkCGTZNR2Rjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkCGTZNR2Rjs.HttpRequestError; exports.InsufficientFundsError = _chunkCGTZNR2Rjs.InsufficientFundsError; exports.InternalRpcError = _chunkCGTZNR2Rjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkCGTZNR2Rjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkCGTZNR2Rjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkCGTZNR2Rjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkCGTZNR2Rjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkCGTZNR2Rjs.InvalidAddressError; exports.InvalidArrayError = _chunkCGTZNR2Rjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkCGTZNR2Rjs.InvalidBytesBooleanError; exports.InvalidChainIdError = _chunkCGTZNR2Rjs.InvalidChainIdError; exports.InvalidDefinitionTypeError = _chunkCGTZNR2Rjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkCGTZNR2Rjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkCGTZNR2Rjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkCGTZNR2Rjs.InvalidInputRpcError; exports.InvalidLegacyVError = _chunkCGTZNR2Rjs.InvalidLegacyVError; exports.InvalidParamsRpcError = _chunkCGTZNR2Rjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkCGTZNR2Rjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkCGTZNR2Rjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkCGTZNR2Rjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkCGTZNR2Rjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkCGTZNR2Rjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkCGTZNR2Rjs.NonceMaxValueError; exports.NonceTooHighError = _chunkCGTZNR2Rjs.NonceTooHighError; exports.NonceTooLowError = _chunkCGTZNR2Rjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkCGTZNR2Rjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkCGTZNR2Rjs.ParseRpcError; exports.RawContractError = _chunkCGTZNR2Rjs.RawContractError; exports.RequestError = _chunkCGTZNR2Rjs.RequestError; exports.ResourceNotFoundRpcError = _chunkCGTZNR2Rjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkCGTZNR2Rjs.ResourceUnavailableRpcError; exports.RpcError = _chunkCGTZNR2Rjs.RpcError; exports.RpcRequestError = _chunkCGTZNR2Rjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkCGTZNR2Rjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkCGTZNR2Rjs.SwitchChainError; exports.TimeoutError = _chunkCGTZNR2Rjs.TimeoutError; exports.TipAboveFeeCapError = _chunkCGTZNR2Rjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkCGTZNR2Rjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkCGTZNR2Rjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkCGTZNR2Rjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkCGTZNR2Rjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkCGTZNR2Rjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkCGTZNR2Rjs.UnknownNodeError; exports.UnknownRpcError = _chunkCGTZNR2Rjs.UnknownRpcError; exports.UrlRequiredError = _chunkCGTZNR2Rjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkCGTZNR2Rjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkCGTZNR2Rjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkCGTZNR2Rjs.WebSocketRequestError; exports.assertRequest = _chunkCGTZNR2Rjs.assertRequest; exports.assertTransactionEIP1559 = _chunkCGTZNR2Rjs.assertTransactionEIP1559; exports.assertTransactionEIP2930 = _chunkCGTZNR2Rjs.assertTransactionEIP2930; exports.assertTransactionLegacy = _chunkCGTZNR2Rjs.assertTransactionLegacy; exports.boolToBytes = _chunkCGTZNR2Rjs.boolToBytes; exports.boolToHex = _chunkCGTZNR2Rjs.boolToHex; exports.bytesToBigint = _chunkCGTZNR2Rjs.bytesToBigint; exports.bytesToBool = _chunkCGTZNR2Rjs.bytesToBool; exports.bytesToHex = _chunkCGTZNR2Rjs.bytesToHex; exports.bytesToNumber = _chunkCGTZNR2Rjs.bytesToNumber; exports.bytesToString = _chunkCGTZNR2Rjs.bytesToString; exports.concat = _chunkCGTZNR2Rjs.concat; exports.concatBytes = _chunkCGTZNR2Rjs.concatBytes; exports.concatHex = _chunkCGTZNR2Rjs.concatHex; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkCGTZNR2Rjs.decodeAbiParameters; exports.decodeErrorResult = _chunkCGTZNR2Rjs.decodeErrorResult; exports.decodeEventLog = _chunkCGTZNR2Rjs.decodeEventLog; exports.decodeFunctionData = _chunkCGTZNR2Rjs.decodeFunctionData; exports.decodeFunctionResult = _chunkCGTZNR2Rjs.decodeFunctionResult; exports.defineBlock = _chunkCGTZNR2Rjs.defineBlock; exports.defineChain = _chunkCGTZNR2Rjs.defineChain; exports.defineTransaction = _chunkCGTZNR2Rjs.defineTransaction; exports.defineTransactionReceipt = _chunkCGTZNR2Rjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkCGTZNR2Rjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkCGTZNR2Rjs.encodeAbiParameters; exports.encodeDeployData = _chunkCGTZNR2Rjs.encodeDeployData; exports.encodeErrorResult = _chunkCGTZNR2Rjs.encodeErrorResult; exports.encodeEventTopics = _chunkCGTZNR2Rjs.encodeEventTopics; exports.encodeFunctionData = _chunkCGTZNR2Rjs.encodeFunctionData; exports.encodeFunctionResult = _chunkCGTZNR2Rjs.encodeFunctionResult; exports.encodePacked = _chunkCGTZNR2Rjs.encodePacked; exports.etherUnits = _chunkCGTZNR2Rjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkCGTZNR2Rjs.formatBlock; exports.formatEther = _chunkCGTZNR2Rjs.formatEther; exports.formatGwei = _chunkCGTZNR2Rjs.formatGwei; exports.formatTransaction = _chunkCGTZNR2Rjs.formatTransaction; exports.formatTransactionRequest = _chunkCGTZNR2Rjs.formatTransactionRequest; exports.formatUnits = _chunkCGTZNR2Rjs.formatUnits; exports.fromBytes = _chunkCGTZNR2Rjs.fromBytes; exports.fromHex = _chunkCGTZNR2Rjs.fromHex; exports.fromRlp = _chunkCGTZNR2Rjs.fromRlp; exports.getAbiItem = _chunkCGTZNR2Rjs.getAbiItem; exports.getAddress = _chunkCGTZNR2Rjs.getAddress; exports.getContractAddress = _chunkCGTZNR2Rjs.getContractAddress; exports.getContractError = _chunkCGTZNR2Rjs.getContractError; exports.getCreate2Address = _chunkCGTZNR2Rjs.getCreate2Address; exports.getCreateAddress = _chunkCGTZNR2Rjs.getCreateAddress; exports.getEventSelector = _chunkCGTZNR2Rjs.getEventSelector; exports.getFunctionSelector = _chunkCGTZNR2Rjs.getFunctionSelector; exports.getSerializedTransactionType = _chunkCGTZNR2Rjs.getSerializedTransactionType; exports.getTransactionType = _chunkCGTZNR2Rjs.getTransactionType; exports.gweiUnits = _chunkCGTZNR2Rjs.gweiUnits; exports.hashMessage = _chunkCGTZNR2Rjs.hashMessage; exports.hashTypedData = _chunkCGTZNR2Rjs.hashTypedData; exports.hexToBigInt = _chunkCGTZNR2Rjs.hexToBigInt; exports.hexToBool = _chunkCGTZNR2Rjs.hexToBool; exports.hexToBytes = _chunkCGTZNR2Rjs.hexToBytes; exports.hexToNumber = _chunkCGTZNR2Rjs.hexToNumber; exports.hexToString = _chunkCGTZNR2Rjs.hexToString; exports.http = http; exports.isAddress = _chunkCGTZNR2Rjs.isAddress; exports.isAddressEqual = _chunkCGTZNR2Rjs.isAddressEqual; exports.isBytes = _chunkCGTZNR2Rjs.isBytes; exports.isHash = _chunkCGTZNR2Rjs.isHash; exports.isHex = _chunkCGTZNR2Rjs.isHex; exports.keccak256 = _chunkCGTZNR2Rjs.keccak256; exports.labelhash = _chunkVSAG2LPHjs.labelhash; exports.multicall3Abi = _chunkCGTZNR2Rjs.multicall3Abi; exports.namehash = _chunkVSAG2LPHjs.namehash; exports.numberToBytes = _chunkCGTZNR2Rjs.numberToBytes; exports.numberToHex = _chunkCGTZNR2Rjs.numberToHex; exports.pad = _chunkCGTZNR2Rjs.pad; exports.padBytes = _chunkCGTZNR2Rjs.padBytes; exports.padHex = _chunkCGTZNR2Rjs.padHex; exports.parseAbi = _chunkCGTZNR2Rjs.parseAbi; exports.parseAbiItem = _chunkCGTZNR2Rjs.parseAbiItem; exports.parseAbiParameter = _chunkCGTZNR2Rjs.parseAbiParameter; exports.parseAbiParameters = _chunkCGTZNR2Rjs.parseAbiParameters; exports.parseEther = _chunkCGTZNR2Rjs.parseEther; exports.parseGwei = _chunkCGTZNR2Rjs.parseGwei; exports.parseTransaction = _chunkCGTZNR2Rjs.parseTransaction; exports.parseUnits = _chunkCGTZNR2Rjs.parseUnits; exports.prepareRequest = _chunkCGTZNR2Rjs.prepareRequest; exports.recoverAddress = _chunkCGTZNR2Rjs.recoverAddress; exports.recoverMessageAddress = _chunkCGTZNR2Rjs.recoverMessageAddress; exports.serializeTransaction = _chunkCGTZNR2Rjs.serializeTransaction; exports.size = _chunkCGTZNR2Rjs.size; exports.slice = _chunkCGTZNR2Rjs.slice; exports.sliceBytes = _chunkCGTZNR2Rjs.sliceBytes; exports.sliceHex = _chunkCGTZNR2Rjs.sliceHex; exports.stringToBytes = _chunkCGTZNR2Rjs.stringToBytes; exports.stringToHex = _chunkCGTZNR2Rjs.stringToHex; exports.stringify = _chunkCGTZNR2Rjs.stringify; exports.toBytes = _chunkCGTZNR2Rjs.toBytes; exports.toHex = _chunkCGTZNR2Rjs.toHex; exports.toRlp = _chunkCGTZNR2Rjs.toRlp; exports.transactionType = _chunkCGTZNR2Rjs.transactionType; exports.trim = _chunkCGTZNR2Rjs.trim; exports.validateTypedData = _chunkCGTZNR2Rjs.validateTypedData; exports.verifyMessage = _chunkCGTZNR2Rjs.verifyMessage; exports.webSocket = webSocket; exports.weiUnits = _chunkCGTZNR2Rjs.weiUnits;
812
837
  //# sourceMappingURL=index.js.map