viem 0.1.21 → 0.2.0-0-2-0.20230320T235312

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 (57) 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/account-07d04222.d.ts +74 -0
  5. package/dist/{chain-1b53ef88.d.ts → chain-b2e88e30.d.ts} +113 -108
  6. package/dist/{chain-ec8c485d.d.ts → chain-c4f924cf.d.ts} +1 -1
  7. package/dist/chains.d.ts +3 -3
  8. package/dist/chains.js +63 -63
  9. package/dist/chains.mjs +1 -1
  10. package/dist/{chunk-PCOB33JR.mjs → chunk-4DIN6KDM.mjs} +2 -2
  11. package/dist/chunk-4DIN6KDM.mjs.map +1 -0
  12. package/dist/{chunk-YYL4XXAP.js → chunk-BLB7NERO.js} +19 -19
  13. package/dist/{chunk-YYL4XXAP.js.map → chunk-BLB7NERO.js.map} +1 -1
  14. package/dist/{chunk-HZ3XNLWB.mjs → chunk-KOAJUBTN.mjs} +328 -30
  15. package/dist/chunk-KOAJUBTN.mjs.map +1 -0
  16. package/dist/{chunk-M5K2FJOM.js → chunk-T4AH4Y6Y.js} +397 -99
  17. package/dist/chunk-T4AH4Y6Y.js.map +1 -0
  18. package/dist/contract.d.ts +8 -7
  19. package/dist/contract.js +2 -2
  20. package/dist/contract.mjs +1 -1
  21. package/dist/{createClient-a28317a9.d.ts → createClient-d4f1dea1.d.ts} +6 -6
  22. package/dist/{createPublicClient-75540130.d.ts → createPublicClient-3a714a8d.d.ts} +154 -207
  23. package/dist/{eip1193-4f4e240c.d.ts → eip1193-cd3e872a.d.ts} +1 -1
  24. package/dist/{encodeFunctionResult-1f324375.d.ts → encodeFunctionResult-750c9055.d.ts} +1 -1
  25. package/dist/{encodePacked-d5d5264a.d.ts → encodePacked-de74201f.d.ts} +1 -1
  26. package/dist/ens.d.ts +5 -4
  27. package/dist/ens.js +3 -3
  28. package/dist/ens.mjs +2 -2
  29. package/dist/ethers.d.ts +3 -5
  30. package/dist/ethers.js +3 -3
  31. package/dist/ethers.mjs +1 -1
  32. package/dist/{formatAbiItem-15e8817d.d.ts → formatAbiItem-fdbdda39.d.ts} +1 -1
  33. package/dist/{getAbiItem-3e809ff9.d.ts → getAbiItem-9d709e3b.d.ts} +1 -1
  34. package/dist/index.d.ts +14 -13
  35. package/dist/index.js +99 -91
  36. package/dist/index.js.map +1 -1
  37. package/dist/index.mjs +11 -3
  38. package/dist/index.mjs.map +1 -1
  39. package/dist/{parseGwei-6fff7cbe.d.ts → parseGwei-f930d155.d.ts} +46 -9
  40. package/dist/public.d.ts +5 -4
  41. package/dist/public.js +2 -2
  42. package/dist/public.mjs +1 -1
  43. package/dist/{test-2bd23d7e.d.ts → test-c70126a6.d.ts} +33 -32
  44. package/dist/test.d.ts +10 -10
  45. package/dist/test.js +2 -2
  46. package/dist/test.mjs +1 -1
  47. package/dist/utils/index.d.ts +28 -18
  48. package/dist/utils/index.js +10 -2
  49. package/dist/utils/index.mjs +11 -3
  50. package/dist/wallet.d.ts +5 -4
  51. package/dist/wallet.js +2 -2
  52. package/dist/wallet.mjs +1 -1
  53. package/dist/window.d.ts +2 -2
  54. package/package.json +2 -2
  55. package/dist/chunk-HZ3XNLWB.mjs.map +0 -1
  56. package/dist/chunk-M5K2FJOM.js.map +0 -1
  57. package/dist/chunk-PCOB33JR.mjs.map +0 -1
@@ -1,5 +1,5 @@
1
1
  import { Address } from 'abitype';
2
- import { a as Hash, a9 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, ab as LogTopic, y as RpcTransaction, z as RpcTransactionReceipt, G as RpcUncle } from './chain-1b53ef88.js';
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-b2e88e30.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-1b53ef88.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-b2e88e30.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-1b53ef88.js';
2
+ import { H as Hex } from './chain-b2e88e30.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,10 +1,11 @@
1
- export { a0 as GetEnsAddressParameters, a1 as GetEnsNameParameters, a2 as getEnsAddress, a3 as getEnsName } from './createPublicClient-75540130.js';
1
+ export { Z as GetEnsAddressParameters, _ as GetEnsNameParameters, $ as getEnsAddress, a0 as getEnsName } from './createPublicClient-3a714a8d.js';
2
2
  export { l as labelhash, n as namehash } from './namehash-afff0feb.js';
3
- import './eip1193-4f4e240c.js';
3
+ import './eip1193-cd3e872a.js';
4
4
  import 'abitype';
5
- import './chain-1b53ef88.js';
5
+ import './chain-b2e88e30.js';
6
6
  import '@wagmi/chains';
7
- import './createClient-a28317a9.js';
7
+ import './createClient-d4f1dea1.js';
8
+ import './account-07d04222.js';
8
9
 
9
10
  /**
10
11
  * @description Normalizes ENS name
package/dist/ens.js CHANGED
@@ -3,8 +3,8 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkYYL4XXAPjs = require('./chunk-YYL4XXAP.js');
7
- require('./chunk-M5K2FJOM.js');
6
+ var _chunkBLB7NEROjs = require('./chunk-BLB7NERO.js');
7
+ require('./chunk-T4AH4Y6Y.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 = _chunkYYL4XXAPjs.getEnsAddress; exports.getEnsName = _chunkYYL4XXAPjs.getEnsName; exports.labelhash = _chunkYYL4XXAPjs.labelhash; exports.namehash = _chunkYYL4XXAPjs.namehash; exports.normalize = normalize;
20
+ exports.getEnsAddress = _chunkBLB7NEROjs.getEnsAddress; exports.getEnsName = _chunkBLB7NEROjs.getEnsName; exports.labelhash = _chunkBLB7NEROjs.labelhash; exports.namehash = _chunkBLB7NEROjs.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-PCOB33JR.mjs";
7
- import "./chunk-HZ3XNLWB.mjs";
6
+ } from "./chunk-4DIN6KDM.mjs";
7
+ import "./chunk-KOAJUBTN.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,9 +1,7 @@
1
- import { A as Account } from './createPublicClient-75540130.js';
2
- import './eip1193-4f4e240c.js';
1
+ import { L as LocalAccount } from './account-07d04222.js';
3
2
  import 'abitype';
4
- import './chain-1b53ef88.js';
3
+ import './chain-b2e88e30.js';
5
4
  import '@wagmi/chains';
6
- import './createClient-a28317a9.js';
7
5
 
8
6
  type BigNumberish = string | number | bigint;
9
7
  type BytesLike = string | Uint8Array;
@@ -29,6 +27,6 @@ type EthersWallet = {
29
27
  signTypedData?: never;
30
28
  _signTypedData(domain: TypedDataDomain, types: Record<string, TypedDataField[]>, value: Record<string, any>): Promise<string>;
31
29
  });
32
- declare const getAccount: (wallet: EthersWallet) => Account;
30
+ declare const getAccount: (wallet: EthersWallet) => LocalAccount;
33
31
 
34
32
  export { getAccount };
package/dist/ethers.js CHANGED
@@ -1,13 +1,13 @@
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
3
 
4
- var _chunkM5K2FJOMjs = require('./chunk-M5K2FJOM.js');
4
+ var _chunkT4AH4Y6Yjs = require('./chunk-T4AH4Y6Y.js');
5
5
 
6
6
  // src/adapters/ethers.ts
7
- var getAccount2 = (wallet) => _chunkM5K2FJOMjs.getAccount.call(void 0, {
7
+ var getAccount2 = (wallet) => _chunkT4AH4Y6Yjs.getAccount.call(void 0, {
8
8
  address: wallet.address,
9
9
  async signMessage(message) {
10
- return await wallet.signMessage(_chunkM5K2FJOMjs.toBytes.call(void 0, message));
10
+ return await wallet.signMessage(_chunkT4AH4Y6Yjs.toBytes.call(void 0, message));
11
11
  },
12
12
  async signTransaction(txn) {
13
13
  return await wallet.signTransaction({
package/dist/ethers.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getAccount,
3
3
  toBytes
4
- } from "./chunk-HZ3XNLWB.mjs";
4
+ } from "./chunk-KOAJUBTN.mjs";
5
5
 
6
6
  // src/adapters/ethers.ts
7
7
  var getAccount2 = (wallet) => getAccount({
@@ -1,4 +1,4 @@
1
- import { A as AbiItem } from './chain-1b53ef88.js';
1
+ import { A as AbiItem } from './chain-b2e88e30.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-1b53ef88.js';
2
+ import { H as Hex, o as ExtractNameFromAbi, E as ExtractArgsFromAbi } from './chain-b2e88e30.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,20 +1,21 @@
1
- import { T as TransportConfig, a as Transport, B as BaseRpcRequests } from './createClient-a28317a9.js';
2
- export { C as Client, b as ClientConfig, a as Transport, T as TransportConfig, c as createClient, d as createTransport } from './createClient-a28317a9.js';
3
- import { B as BaseError, H as HttpOptions, R as RpcResponse } from './parseGwei-6fff7cbe.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, I as InsufficientFundsError, f as IntrinsicGasTooHighError, g as IntrinsicGasTooLowError, N as NonceMaxValueError, h as NonceTooHighError, i as NonceTooLowError, j as RawContractError, T as TipAboveFeeCapError, q as ToRlpReturnType, k as TransactionExecutionError, m as TransactionNotFoundError, n as TransactionReceiptNotFoundError, l as TransactionTypeNotSupportedError, U as UnknownNodeError, W as WaitForTransactionReceiptTimeoutError, r as boolToBytes, s as boolToHex, t as bytesToBigint, u as bytesToBool, v as bytesToHex, w as bytesToNumber, x as bytesToString, y as concat, z as concatBytes, A as concatHex, D as formatEther, J as formatGwei, K as formatUnits, L as fromBytes, M as fromHex, O as fromRlp, P as getAccount, Q as getAddress, S as getContractAddress, V as getContractError, X as getCreate2Address, Y as getCreateAddress, Z as getEventSelector, _ as getFunctionSelector, $ as hashMessage, a0 as hexToBigInt, a1 as hexToBool, a2 as hexToBytes, a3 as hexToNumber, a4 as hexToString, a5 as isAddress, a6 as isAddressEqual, a7 as isBytes, a8 as isHex, a9 as keccak256, aa as numberToBytes, ab as numberToHex, ac as pad, ad as padBytes, ae as padHex, af as parseEther, ag as parseGwei, ah as parseUnits, ai as recoverAddress, aj as recoverMessageAddress, 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 verifyMessage } from './parseGwei-6fff7cbe.js';
1
+ import { T as TransportConfig, a as Transport, B as BaseRpcRequests } from './createClient-d4f1dea1.js';
2
+ export { C as Client, b as ClientConfig, a as Transport, T as TransportConfig, c as createClient, d as createTransport } from './createClient-d4f1dea1.js';
3
+ import { B as BaseError, H as HttpOptions, R as RpcResponse } from './parseGwei-f930d155.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 getAccount, a4 as getAddress, a5 as getContractAddress, a6 as getContractError, a7 as getCreate2Address, a8 as getCreateAddress, a9 as getEventSelector, aa as getFunctionSelector, ab as hashMessage, ac as hashTypedData, ad as hexToBigInt, ae as hexToBool, af as hexToBytes, ag as hexToNumber, ah as hexToString, ai as isAddress, aj as isAddressEqual, ak as isBytes, al as isHex, am as keccak256, an as numberToBytes, ao as numberToHex, ap as pad, aq as padBytes, ar as padHex, as as parseEther, at as parseGwei, au as parseUnits, av as recoverAddress, aw as recoverMessageAddress, ax as size, ay as slice, az as sliceBytes, aA as sliceHex, aB as stringToBytes, aC as stringToHex, aD as stringify, aE as toBytes, aF as toHex, aG as toRlp, aH as trim, aI as verifyMessage } from './parseGwei-f930d155.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-1b53ef88.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-1b53ef88.js';
8
- export { A as Account, B as BlockFormatter, F as FormattedBlock, e as FormattedTransactionReceipt, f as FormattedTransactionRequest, J as JsonRpcAccount, L as LocalAccount, P as PublicClient, a as PublicClientConfig, T as TransactionReceiptFormatter, g as TransactionRequestFormatter, W as WalletClient, b as WalletClientConfig, c as createPublicClient, d as createWalletClient, h as defineBlock, i as defineTransactionReceipt, j as defineTransactionRequest, k as formatBlock, l as formatTransactionRequest } from './createPublicClient-75540130.js';
9
- export { T as TestClient, a as TestClientConfig, c as createTestClient } from './test-2bd23d7e.js';
6
+ import { H as Hex, A as AbiItem, a as Hash, C as Chain, B as ByteArray } from './chain-b2e88e30.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-b2e88e30.js';
8
+ export { B as BlockFormatter, F as FormattedBlock, e as FormattedTransactionReceipt, f as FormattedTransactionRequest, P as PublicClient, a as PublicClientConfig, T as TransactionReceiptFormatter, g as TransactionRequestFormatter, W as WalletClient, b as WalletClientConfig, c as createPublicClient, d as createWalletClient, h as defineBlock, i as defineTransactionReceipt, j as defineTransactionRequest, k as formatBlock, l as formatTransactionRequest } from './createPublicClient-3a714a8d.js';
9
+ export { T as TestClient, a as TestClientConfig, c as createTestClient } from './test-c70126a6.js';
10
10
  import { AbiParameter } from 'abitype';
11
11
  export { Address, ParseAbi, ParseAbiItem, ParseAbiParameter, ParseAbiParameters, parseAbi, parseAbiItem, parseAbiParameter, parseAbiParameters } from 'abitype';
12
+ export { A as Account, J as JsonRpcAccount, L as LocalAccount } from './account-07d04222.js';
12
13
  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-3e809ff9.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-1f324375.js';
15
- export { e as encodePacked } from './encodePacked-d5d5264a.js';
16
- export { d as defineChain } from './chain-ec8c485d.js';
17
- import './eip1193-4f4e240c.js';
14
+ export { D as DecodeAbiParametersReturnType, E as EncodeAbiParametersReturnType, G as GetAbiItemParameters, d as decodeAbiParameters, e as encodeAbiParameters, g as getAbiItem } from './getAbiItem-9d709e3b.js';
15
+ 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-750c9055.js';
16
+ export { e as encodePacked } from './encodePacked-de74201f.js';
17
+ export { d as defineChain } from './chain-c4f924cf.js';
18
+ import './eip1193-cd3e872a.js';
18
19
  import '@wagmi/chains';
19
20
 
20
21
  declare class AbiConstructorNotFoundError extends BaseError {
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkYYL4XXAPjs = require('./chunk-YYL4XXAP.js');
6
+ var _chunkBLB7NEROjs = require('./chunk-BLB7NERO.js');
7
7
 
8
8
 
9
9
 
@@ -245,7 +245,9 @@ var _chunkYYL4XXAPjs = require('./chunk-YYL4XXAP.js');
245
245
 
246
246
 
247
247
 
248
- var _chunkM5K2FJOMjs = require('./chunk-M5K2FJOM.js');
248
+
249
+
250
+ var _chunkT4AH4Y6Yjs = require('./chunk-T4AH4Y6Y.js');
249
251
 
250
252
  // src/clients/transports/createTransport.ts
251
253
  function createTransport({
@@ -259,7 +261,7 @@ function createTransport({
259
261
  }, value) {
260
262
  return {
261
263
  config: { key, name, request, retryCount, retryDelay, timeout, type },
262
- request: _chunkM5K2FJOMjs.buildRequest.call(void 0, request, { retryCount, retryDelay }),
264
+ request: _chunkT4AH4Y6Yjs.buildRequest.call(void 0, request, { retryCount, retryDelay }),
263
265
  value
264
266
  };
265
267
  }
@@ -293,7 +295,7 @@ function fallback(transports, config = {}) {
293
295
  params
294
296
  });
295
297
  } catch (err) {
296
- if (_chunkM5K2FJOMjs.isDeterministicError.call(void 0, err))
298
+ if (_chunkT4AH4Y6Yjs.isDeterministicError.call(void 0, err))
297
299
  throw err;
298
300
  if (i === transports.length - 1)
299
301
  throw err;
@@ -327,13 +329,13 @@ function http(url, config = {}) {
327
329
  const retryCount = _nullishCoalesce(config.retryCount, () => ( defaultRetryCount));
328
330
  const url_ = url || _optionalChain([chain, 'optionalAccess', _ => _.rpcUrls, 'access', _2 => _2.default, 'access', _3 => _3.http, 'access', _4 => _4[0]]);
329
331
  if (!url_)
330
- throw new (0, _chunkM5K2FJOMjs.UrlRequiredError)();
332
+ throw new (0, _chunkT4AH4Y6Yjs.UrlRequiredError)();
331
333
  return createTransport(
332
334
  {
333
335
  key,
334
336
  name,
335
337
  async request({ method, params }) {
336
- const { result } = await _chunkM5K2FJOMjs.rpc.http(url_, {
338
+ const { result } = await _chunkT4AH4Y6Yjs.rpc.http(url_, {
337
339
  body: {
338
340
  method,
339
341
  params
@@ -367,14 +369,14 @@ function webSocket(url, config = {}) {
367
369
  const retryCount = _nullishCoalesce(config.retryCount, () => ( defaultRetryCount));
368
370
  const url_ = url || _optionalChain([chain, 'optionalAccess', _5 => _5.rpcUrls, 'access', _6 => _6.default, 'access', _7 => _7.webSocket, 'optionalAccess', _8 => _8[0]]);
369
371
  if (!url_)
370
- throw new (0, _chunkM5K2FJOMjs.UrlRequiredError)();
372
+ throw new (0, _chunkT4AH4Y6Yjs.UrlRequiredError)();
371
373
  return createTransport(
372
374
  {
373
375
  key,
374
376
  name,
375
377
  async request({ method, params }) {
376
- const socket = await _chunkM5K2FJOMjs.getSocket.call(void 0, url_);
377
- const { result } = await _chunkM5K2FJOMjs.rpc.webSocketAsync(socket, {
378
+ const socket = await _chunkT4AH4Y6Yjs.getSocket.call(void 0, url_);
379
+ const { result } = await _chunkT4AH4Y6Yjs.rpc.webSocketAsync(socket, {
378
380
  body: { method, params },
379
381
  timeout
380
382
  });
@@ -387,12 +389,12 @@ function webSocket(url, config = {}) {
387
389
  },
388
390
  {
389
391
  getSocket() {
390
- return _chunkM5K2FJOMjs.getSocket.call(void 0, url_);
392
+ return _chunkT4AH4Y6Yjs.getSocket.call(void 0, url_);
391
393
  },
392
394
  async subscribe({ params, onData, onError }) {
393
- const socket = await _chunkM5K2FJOMjs.getSocket.call(void 0, url_);
395
+ const socket = await _chunkT4AH4Y6Yjs.getSocket.call(void 0, url_);
394
396
  const { result: subscriptionId } = await new Promise(
395
- (resolve, reject) => _chunkM5K2FJOMjs.rpc.webSocket(socket, {
397
+ (resolve, reject) => _chunkT4AH4Y6Yjs.rpc.webSocket(socket, {
396
398
  body: {
397
399
  method: "eth_subscribe",
398
400
  params
@@ -414,7 +416,7 @@ function webSocket(url, config = {}) {
414
416
  subscriptionId,
415
417
  async unsubscribe() {
416
418
  return new Promise(
417
- (resolve, reject) => _chunkM5K2FJOMjs.rpc.webSocket(socket, {
419
+ (resolve, reject) => _chunkT4AH4Y6Yjs.rpc.webSocket(socket, {
418
420
  body: {
419
421
  method: "eth_unsubscribe",
420
422
  params: [subscriptionId]
@@ -470,90 +472,90 @@ function createClient({
470
472
 
471
473
  // src/clients/decorators/public.ts
472
474
  var publicActions = (client) => ({
473
- call: (args) => _chunkM5K2FJOMjs.call.call(void 0, client, args),
474
- createBlockFilter: () => _chunkM5K2FJOMjs.createBlockFilter.call(void 0, client),
475
- createContractEventFilter: (args) => _chunkM5K2FJOMjs.createContractEventFilter.call(void 0, client, args),
476
- createEventFilter: (args) => _chunkM5K2FJOMjs.createEventFilter.call(void 0, client, args),
477
- createPendingTransactionFilter: () => _chunkM5K2FJOMjs.createPendingTransactionFilter.call(void 0, client),
478
- estimateContractGas: (args) => _chunkM5K2FJOMjs.estimateContractGas.call(void 0, client, args),
479
- estimateGas: (args) => _chunkM5K2FJOMjs.estimateGas.call(void 0, client, args),
480
- getBalance: (args) => _chunkM5K2FJOMjs.getBalance.call(void 0, client, args),
481
- getBlock: (args) => _chunkM5K2FJOMjs.getBlock.call(void 0, client, args),
482
- getBlockNumber: (args) => _chunkM5K2FJOMjs.getBlockNumber.call(void 0, client, args),
483
- getBlockTransactionCount: (args) => _chunkM5K2FJOMjs.getBlockTransactionCount.call(void 0, client, args),
484
- getBytecode: (args) => _chunkM5K2FJOMjs.getBytecode.call(void 0, client, args),
485
- getChainId: () => _chunkM5K2FJOMjs.getChainId.call(void 0, client),
486
- getEnsAddress: (args) => _chunkYYL4XXAPjs.getEnsAddress.call(void 0, client, args),
487
- getEnsName: (args) => _chunkYYL4XXAPjs.getEnsName.call(void 0, client, args),
488
- getFeeHistory: (args) => _chunkM5K2FJOMjs.getFeeHistory.call(void 0, client, args),
489
- getFilterChanges: (args) => _chunkM5K2FJOMjs.getFilterChanges.call(void 0, client, args),
490
- getFilterLogs: (args) => _chunkM5K2FJOMjs.getFilterLogs.call(void 0, client, args),
491
- getGasPrice: () => _chunkM5K2FJOMjs.getGasPrice.call(void 0, client),
492
- getLogs: (args) => _chunkM5K2FJOMjs.getLogs.call(void 0, client, args),
493
- getStorageAt: (args) => _chunkM5K2FJOMjs.getStorageAt.call(void 0, client, args),
494
- getTransaction: (args) => _chunkM5K2FJOMjs.getTransaction.call(void 0, client, args),
495
- getTransactionConfirmations: (args) => _chunkM5K2FJOMjs.getTransactionConfirmations.call(void 0, client, args),
496
- getTransactionCount: (args) => _chunkM5K2FJOMjs.getTransactionCount.call(void 0, client, args),
497
- getTransactionReceipt: (args) => _chunkM5K2FJOMjs.getTransactionReceipt.call(void 0, client, args),
498
- multicall: (args) => _chunkM5K2FJOMjs.multicall.call(void 0, client, args),
499
- readContract: (args) => _chunkM5K2FJOMjs.readContract.call(void 0, client, args),
500
- simulateContract: (args) => _chunkM5K2FJOMjs.simulateContract.call(void 0, client, args),
501
- uninstallFilter: (args) => _chunkM5K2FJOMjs.uninstallFilter.call(void 0, client, args),
502
- waitForTransactionReceipt: (args) => _chunkM5K2FJOMjs.waitForTransactionReceipt.call(void 0, client, args),
503
- watchBlocks: (args) => _chunkM5K2FJOMjs.watchBlocks.call(void 0, client, args),
504
- watchBlockNumber: (args) => _chunkM5K2FJOMjs.watchBlockNumber.call(void 0, client, args),
505
- watchContractEvent: (args) => _chunkM5K2FJOMjs.watchContractEvent.call(void 0, client, args),
506
- watchEvent: (args) => _chunkM5K2FJOMjs.watchEvent.call(void 0, client, args),
507
- watchPendingTransactions: (args) => _chunkM5K2FJOMjs.watchPendingTransactions.call(void 0, client, args)
475
+ call: (args) => _chunkT4AH4Y6Yjs.call.call(void 0, client, args),
476
+ createBlockFilter: () => _chunkT4AH4Y6Yjs.createBlockFilter.call(void 0, client),
477
+ createContractEventFilter: (args) => _chunkT4AH4Y6Yjs.createContractEventFilter.call(void 0, client, args),
478
+ createEventFilter: (args) => _chunkT4AH4Y6Yjs.createEventFilter.call(void 0, client, args),
479
+ createPendingTransactionFilter: () => _chunkT4AH4Y6Yjs.createPendingTransactionFilter.call(void 0, client),
480
+ estimateContractGas: (args) => _chunkT4AH4Y6Yjs.estimateContractGas.call(void 0, client, args),
481
+ estimateGas: (args) => _chunkT4AH4Y6Yjs.estimateGas.call(void 0, client, args),
482
+ getBalance: (args) => _chunkT4AH4Y6Yjs.getBalance.call(void 0, client, args),
483
+ getBlock: (args) => _chunkT4AH4Y6Yjs.getBlock.call(void 0, client, args),
484
+ getBlockNumber: (args) => _chunkT4AH4Y6Yjs.getBlockNumber.call(void 0, client, args),
485
+ getBlockTransactionCount: (args) => _chunkT4AH4Y6Yjs.getBlockTransactionCount.call(void 0, client, args),
486
+ getBytecode: (args) => _chunkT4AH4Y6Yjs.getBytecode.call(void 0, client, args),
487
+ getChainId: () => _chunkT4AH4Y6Yjs.getChainId.call(void 0, client),
488
+ getEnsAddress: (args) => _chunkBLB7NEROjs.getEnsAddress.call(void 0, client, args),
489
+ getEnsName: (args) => _chunkBLB7NEROjs.getEnsName.call(void 0, client, args),
490
+ getFeeHistory: (args) => _chunkT4AH4Y6Yjs.getFeeHistory.call(void 0, client, args),
491
+ getFilterChanges: (args) => _chunkT4AH4Y6Yjs.getFilterChanges.call(void 0, client, args),
492
+ getFilterLogs: (args) => _chunkT4AH4Y6Yjs.getFilterLogs.call(void 0, client, args),
493
+ getGasPrice: () => _chunkT4AH4Y6Yjs.getGasPrice.call(void 0, client),
494
+ getLogs: (args) => _chunkT4AH4Y6Yjs.getLogs.call(void 0, client, args),
495
+ getStorageAt: (args) => _chunkT4AH4Y6Yjs.getStorageAt.call(void 0, client, args),
496
+ getTransaction: (args) => _chunkT4AH4Y6Yjs.getTransaction.call(void 0, client, args),
497
+ getTransactionConfirmations: (args) => _chunkT4AH4Y6Yjs.getTransactionConfirmations.call(void 0, client, args),
498
+ getTransactionCount: (args) => _chunkT4AH4Y6Yjs.getTransactionCount.call(void 0, client, args),
499
+ getTransactionReceipt: (args) => _chunkT4AH4Y6Yjs.getTransactionReceipt.call(void 0, client, args),
500
+ multicall: (args) => _chunkT4AH4Y6Yjs.multicall.call(void 0, client, args),
501
+ readContract: (args) => _chunkT4AH4Y6Yjs.readContract.call(void 0, client, args),
502
+ simulateContract: (args) => _chunkT4AH4Y6Yjs.simulateContract.call(void 0, client, args),
503
+ uninstallFilter: (args) => _chunkT4AH4Y6Yjs.uninstallFilter.call(void 0, client, args),
504
+ waitForTransactionReceipt: (args) => _chunkT4AH4Y6Yjs.waitForTransactionReceipt.call(void 0, client, args),
505
+ watchBlocks: (args) => _chunkT4AH4Y6Yjs.watchBlocks.call(void 0, client, args),
506
+ watchBlockNumber: (args) => _chunkT4AH4Y6Yjs.watchBlockNumber.call(void 0, client, args),
507
+ watchContractEvent: (args) => _chunkT4AH4Y6Yjs.watchContractEvent.call(void 0, client, args),
508
+ watchEvent: (args) => _chunkT4AH4Y6Yjs.watchEvent.call(void 0, client, args),
509
+ watchPendingTransactions: (args) => _chunkT4AH4Y6Yjs.watchPendingTransactions.call(void 0, client, args)
508
510
  });
509
511
 
510
512
  // src/clients/decorators/test.ts
511
513
  var testActions = (client) => ({
512
- dropTransaction: (args) => _chunkM5K2FJOMjs.dropTransaction.call(void 0, client, args),
513
- getAutomine: () => _chunkM5K2FJOMjs.getAutomine.call(void 0, client),
514
- getTxpoolContent: () => _chunkM5K2FJOMjs.getTxpoolContent.call(void 0, client),
515
- getTxpoolStatus: () => _chunkM5K2FJOMjs.getTxpoolStatus.call(void 0, client),
516
- impersonateAccount: (args) => _chunkM5K2FJOMjs.impersonateAccount.call(void 0, client, args),
517
- increaseTime: (args) => _chunkM5K2FJOMjs.increaseTime.call(void 0, client, args),
518
- inspectTxpool: () => _chunkM5K2FJOMjs.inspectTxpool.call(void 0, client),
519
- mine: (args) => _chunkM5K2FJOMjs.mine.call(void 0, client, args),
520
- removeBlockTimestampInterval: () => _chunkM5K2FJOMjs.removeBlockTimestampInterval.call(void 0, client),
521
- reset: (args) => _chunkM5K2FJOMjs.reset.call(void 0, client, args),
522
- revert: (args) => _chunkM5K2FJOMjs.revert.call(void 0, client, args),
523
- sendUnsignedTransaction: (args) => _chunkM5K2FJOMjs.sendUnsignedTransaction.call(void 0, client, args),
524
- setAutomine: (args) => _chunkM5K2FJOMjs.setAutomine.call(void 0, client, args),
525
- setBalance: (args) => _chunkM5K2FJOMjs.setBalance.call(void 0, client, args),
526
- setBlockGasLimit: (args) => _chunkM5K2FJOMjs.setBlockGasLimit.call(void 0, client, args),
527
- setBlockTimestampInterval: (args) => _chunkM5K2FJOMjs.setBlockTimestampInterval.call(void 0, client, args),
528
- setCode: (args) => _chunkM5K2FJOMjs.setCode.call(void 0, client, args),
529
- setCoinbase: (args) => _chunkM5K2FJOMjs.setCoinbase.call(void 0, client, args),
530
- setIntervalMining: (args) => _chunkM5K2FJOMjs.setIntervalMining.call(void 0, client, args),
531
- setLoggingEnabled: (args) => _chunkM5K2FJOMjs.setLoggingEnabled.call(void 0, client, args),
532
- setMinGasPrice: (args) => _chunkM5K2FJOMjs.setMinGasPrice.call(void 0, client, args),
533
- setNextBlockBaseFeePerGas: (args) => _chunkM5K2FJOMjs.setNextBlockBaseFeePerGas.call(void 0, client, args),
534
- setNextBlockTimestamp: (args) => _chunkM5K2FJOMjs.setNextBlockTimestamp.call(void 0, client, args),
535
- setNonce: (args) => _chunkM5K2FJOMjs.setNonce.call(void 0, client, args),
536
- setRpcUrl: (args) => _chunkM5K2FJOMjs.setRpcUrl.call(void 0, client, args),
537
- setStorageAt: (args) => _chunkM5K2FJOMjs.setStorageAt.call(void 0, client, args),
538
- snapshot: () => _chunkM5K2FJOMjs.snapshot.call(void 0, client),
539
- stopImpersonatingAccount: (args) => _chunkM5K2FJOMjs.stopImpersonatingAccount.call(void 0, client, args)
514
+ dropTransaction: (args) => _chunkT4AH4Y6Yjs.dropTransaction.call(void 0, client, args),
515
+ getAutomine: () => _chunkT4AH4Y6Yjs.getAutomine.call(void 0, client),
516
+ getTxpoolContent: () => _chunkT4AH4Y6Yjs.getTxpoolContent.call(void 0, client),
517
+ getTxpoolStatus: () => _chunkT4AH4Y6Yjs.getTxpoolStatus.call(void 0, client),
518
+ impersonateAccount: (args) => _chunkT4AH4Y6Yjs.impersonateAccount.call(void 0, client, args),
519
+ increaseTime: (args) => _chunkT4AH4Y6Yjs.increaseTime.call(void 0, client, args),
520
+ inspectTxpool: () => _chunkT4AH4Y6Yjs.inspectTxpool.call(void 0, client),
521
+ mine: (args) => _chunkT4AH4Y6Yjs.mine.call(void 0, client, args),
522
+ removeBlockTimestampInterval: () => _chunkT4AH4Y6Yjs.removeBlockTimestampInterval.call(void 0, client),
523
+ reset: (args) => _chunkT4AH4Y6Yjs.reset.call(void 0, client, args),
524
+ revert: (args) => _chunkT4AH4Y6Yjs.revert.call(void 0, client, args),
525
+ sendUnsignedTransaction: (args) => _chunkT4AH4Y6Yjs.sendUnsignedTransaction.call(void 0, client, args),
526
+ setAutomine: (args) => _chunkT4AH4Y6Yjs.setAutomine.call(void 0, client, args),
527
+ setBalance: (args) => _chunkT4AH4Y6Yjs.setBalance.call(void 0, client, args),
528
+ setBlockGasLimit: (args) => _chunkT4AH4Y6Yjs.setBlockGasLimit.call(void 0, client, args),
529
+ setBlockTimestampInterval: (args) => _chunkT4AH4Y6Yjs.setBlockTimestampInterval.call(void 0, client, args),
530
+ setCode: (args) => _chunkT4AH4Y6Yjs.setCode.call(void 0, client, args),
531
+ setCoinbase: (args) => _chunkT4AH4Y6Yjs.setCoinbase.call(void 0, client, args),
532
+ setIntervalMining: (args) => _chunkT4AH4Y6Yjs.setIntervalMining.call(void 0, client, args),
533
+ setLoggingEnabled: (args) => _chunkT4AH4Y6Yjs.setLoggingEnabled.call(void 0, client, args),
534
+ setMinGasPrice: (args) => _chunkT4AH4Y6Yjs.setMinGasPrice.call(void 0, client, args),
535
+ setNextBlockBaseFeePerGas: (args) => _chunkT4AH4Y6Yjs.setNextBlockBaseFeePerGas.call(void 0, client, args),
536
+ setNextBlockTimestamp: (args) => _chunkT4AH4Y6Yjs.setNextBlockTimestamp.call(void 0, client, args),
537
+ setNonce: (args) => _chunkT4AH4Y6Yjs.setNonce.call(void 0, client, args),
538
+ setRpcUrl: (args) => _chunkT4AH4Y6Yjs.setRpcUrl.call(void 0, client, args),
539
+ setStorageAt: (args) => _chunkT4AH4Y6Yjs.setStorageAt.call(void 0, client, args),
540
+ snapshot: () => _chunkT4AH4Y6Yjs.snapshot.call(void 0, client),
541
+ stopImpersonatingAccount: (args) => _chunkT4AH4Y6Yjs.stopImpersonatingAccount.call(void 0, client, args)
540
542
  });
541
543
 
542
544
  // src/clients/decorators/wallet.ts
543
545
  var walletActions = (client) => ({
544
- addChain: (args) => _chunkM5K2FJOMjs.addChain.call(void 0, client, args),
545
- deployContract: (args) => _chunkM5K2FJOMjs.deployContract.call(void 0, client, args),
546
- getAddresses: () => _chunkM5K2FJOMjs.getAddresses.call(void 0, client),
547
- getChainId: () => _chunkM5K2FJOMjs.getChainId.call(void 0, client),
548
- getPermissions: () => _chunkM5K2FJOMjs.getPermissions.call(void 0, client),
549
- requestAddresses: () => _chunkM5K2FJOMjs.requestAddresses.call(void 0, client),
550
- requestPermissions: (args) => _chunkM5K2FJOMjs.requestPermissions.call(void 0, client, args),
551
- sendTransaction: (args) => _chunkM5K2FJOMjs.sendTransaction.call(void 0, client, args),
552
- signMessage: (args) => _chunkM5K2FJOMjs.signMessage.call(void 0, client, args),
553
- signTypedData: (args) => _chunkM5K2FJOMjs.signTypedData.call(void 0, client, args),
554
- switchChain: (args) => _chunkM5K2FJOMjs.switchChain.call(void 0, client, args),
555
- watchAsset: (args) => _chunkM5K2FJOMjs.watchAsset.call(void 0, client, args),
556
- writeContract: (args) => _chunkM5K2FJOMjs.writeContract.call(void 0, client, args)
546
+ addChain: (args) => _chunkT4AH4Y6Yjs.addChain.call(void 0, client, args),
547
+ deployContract: (args) => _chunkT4AH4Y6Yjs.deployContract.call(void 0, client, args),
548
+ getAddresses: () => _chunkT4AH4Y6Yjs.getAddresses.call(void 0, client),
549
+ getChainId: () => _chunkT4AH4Y6Yjs.getChainId.call(void 0, client),
550
+ getPermissions: () => _chunkT4AH4Y6Yjs.getPermissions.call(void 0, client),
551
+ requestAddresses: () => _chunkT4AH4Y6Yjs.requestAddresses.call(void 0, client),
552
+ requestPermissions: (args) => _chunkT4AH4Y6Yjs.requestPermissions.call(void 0, client, args),
553
+ sendTransaction: (args) => _chunkT4AH4Y6Yjs.sendTransaction.call(void 0, client, args),
554
+ signMessage: (args) => _chunkT4AH4Y6Yjs.signMessage.call(void 0, client, args),
555
+ signTypedData: (args) => _chunkT4AH4Y6Yjs.signTypedData.call(void 0, client, args),
556
+ switchChain: (args) => _chunkT4AH4Y6Yjs.switchChain.call(void 0, client, args),
557
+ watchAsset: (args) => _chunkT4AH4Y6Yjs.watchAsset.call(void 0, client, args),
558
+ writeContract: (args) => _chunkT4AH4Y6Yjs.writeContract.call(void 0, client, args)
557
559
  });
558
560
 
559
561
  // src/clients/createPublicClient.ts
@@ -606,13 +608,14 @@ function createTestClient({
606
608
 
607
609
  // src/clients/createWalletClient.ts
608
610
  function createWalletClient({
611
+ account,
609
612
  chain,
610
613
  transport,
611
614
  key = "wallet",
612
615
  name = "Wallet Client",
613
616
  pollingInterval
614
617
  }) {
615
- const client = createClient({
618
+ const baseClient = createClient({
616
619
  chain,
617
620
  key,
618
621
  name,
@@ -620,6 +623,10 @@ function createWalletClient({
620
623
  transport: () => transport({ retryCount: 0 }),
621
624
  type: "walletClient"
622
625
  });
626
+ const client = {
627
+ account: account ? _chunkT4AH4Y6Yjs.parseAccount.call(void 0, account) : void 0,
628
+ ...baseClient
629
+ };
623
630
  return {
624
631
  ...client,
625
632
  ...walletActions(client)
@@ -800,5 +807,6 @@ function createWalletClient({
800
807
 
801
808
 
802
809
 
803
- exports.AbiConstructorNotFoundError = _chunkM5K2FJOMjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkM5K2FJOMjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkM5K2FJOMjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkM5K2FJOMjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkM5K2FJOMjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkM5K2FJOMjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkM5K2FJOMjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkM5K2FJOMjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkM5K2FJOMjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkM5K2FJOMjs.AbiEventNotFoundError; exports.AbiEventSignatureEmptyTopicsError = _chunkM5K2FJOMjs.AbiEventSignatureEmptyTopicsError; exports.AbiEventSignatureNotFoundError = _chunkM5K2FJOMjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkM5K2FJOMjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkM5K2FJOMjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkM5K2FJOMjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkM5K2FJOMjs.BaseError; exports.BlockNotFoundError = _chunkM5K2FJOMjs.BlockNotFoundError; exports.CallExecutionError = _chunkM5K2FJOMjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkM5K2FJOMjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkM5K2FJOMjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkM5K2FJOMjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkM5K2FJOMjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkM5K2FJOMjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkM5K2FJOMjs.DataLengthTooShortError; exports.DecodeLogTopicsMismatch = _chunkM5K2FJOMjs.DecodeLogTopicsMismatch; exports.EstimateGasExecutionError = _chunkM5K2FJOMjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkM5K2FJOMjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkM5K2FJOMjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkM5K2FJOMjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkM5K2FJOMjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkM5K2FJOMjs.HttpRequestError; exports.InsufficientFundsError = _chunkM5K2FJOMjs.InsufficientFundsError; exports.InternalRpcError = _chunkM5K2FJOMjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkM5K2FJOMjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkM5K2FJOMjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkM5K2FJOMjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkM5K2FJOMjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkM5K2FJOMjs.InvalidAddressError; exports.InvalidArrayError = _chunkM5K2FJOMjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkM5K2FJOMjs.InvalidBytesBooleanError; exports.InvalidDefinitionTypeError = _chunkM5K2FJOMjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkM5K2FJOMjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkM5K2FJOMjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkM5K2FJOMjs.InvalidInputRpcError; exports.InvalidParamsRpcError = _chunkM5K2FJOMjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkM5K2FJOMjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkM5K2FJOMjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkM5K2FJOMjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkM5K2FJOMjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkM5K2FJOMjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkM5K2FJOMjs.NonceMaxValueError; exports.NonceTooHighError = _chunkM5K2FJOMjs.NonceTooHighError; exports.NonceTooLowError = _chunkM5K2FJOMjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkM5K2FJOMjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkM5K2FJOMjs.ParseRpcError; exports.RawContractError = _chunkM5K2FJOMjs.RawContractError; exports.RequestError = _chunkM5K2FJOMjs.RequestError; exports.ResourceNotFoundRpcError = _chunkM5K2FJOMjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkM5K2FJOMjs.ResourceUnavailableRpcError; exports.RpcError = _chunkM5K2FJOMjs.RpcError; exports.RpcRequestError = _chunkM5K2FJOMjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkM5K2FJOMjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkM5K2FJOMjs.SwitchChainError; exports.TimeoutError = _chunkM5K2FJOMjs.TimeoutError; exports.TipAboveFeeCapError = _chunkM5K2FJOMjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkM5K2FJOMjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkM5K2FJOMjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkM5K2FJOMjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkM5K2FJOMjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkM5K2FJOMjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkM5K2FJOMjs.UnknownNodeError; exports.UnknownRpcError = _chunkM5K2FJOMjs.UnknownRpcError; exports.UrlRequiredError = _chunkM5K2FJOMjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkM5K2FJOMjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkM5K2FJOMjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkM5K2FJOMjs.WebSocketRequestError; exports.boolToBytes = _chunkM5K2FJOMjs.boolToBytes; exports.boolToHex = _chunkM5K2FJOMjs.boolToHex; exports.bytesToBigint = _chunkM5K2FJOMjs.bytesToBigint; exports.bytesToBool = _chunkM5K2FJOMjs.bytesToBool; exports.bytesToHex = _chunkM5K2FJOMjs.bytesToHex; exports.bytesToNumber = _chunkM5K2FJOMjs.bytesToNumber; exports.bytesToString = _chunkM5K2FJOMjs.bytesToString; exports.concat = _chunkM5K2FJOMjs.concat; exports.concatBytes = _chunkM5K2FJOMjs.concatBytes; exports.concatHex = _chunkM5K2FJOMjs.concatHex; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkM5K2FJOMjs.decodeAbiParameters; exports.decodeErrorResult = _chunkM5K2FJOMjs.decodeErrorResult; exports.decodeEventLog = _chunkM5K2FJOMjs.decodeEventLog; exports.decodeFunctionData = _chunkM5K2FJOMjs.decodeFunctionData; exports.decodeFunctionResult = _chunkM5K2FJOMjs.decodeFunctionResult; exports.defineBlock = _chunkM5K2FJOMjs.defineBlock; exports.defineChain = _chunkM5K2FJOMjs.defineChain; exports.defineTransaction = _chunkM5K2FJOMjs.defineTransaction; exports.defineTransactionReceipt = _chunkM5K2FJOMjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkM5K2FJOMjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkM5K2FJOMjs.encodeAbiParameters; exports.encodeDeployData = _chunkM5K2FJOMjs.encodeDeployData; exports.encodeErrorResult = _chunkM5K2FJOMjs.encodeErrorResult; exports.encodeEventTopics = _chunkM5K2FJOMjs.encodeEventTopics; exports.encodeFunctionData = _chunkM5K2FJOMjs.encodeFunctionData; exports.encodeFunctionResult = _chunkM5K2FJOMjs.encodeFunctionResult; exports.encodePacked = _chunkM5K2FJOMjs.encodePacked; exports.etherUnits = _chunkM5K2FJOMjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkM5K2FJOMjs.formatBlock; exports.formatEther = _chunkM5K2FJOMjs.formatEther; exports.formatGwei = _chunkM5K2FJOMjs.formatGwei; exports.formatTransaction = _chunkM5K2FJOMjs.formatTransaction; exports.formatTransactionRequest = _chunkM5K2FJOMjs.formatTransactionRequest; exports.formatUnits = _chunkM5K2FJOMjs.formatUnits; exports.fromBytes = _chunkM5K2FJOMjs.fromBytes; exports.fromHex = _chunkM5K2FJOMjs.fromHex; exports.fromRlp = _chunkM5K2FJOMjs.fromRlp; exports.getAbiItem = _chunkM5K2FJOMjs.getAbiItem; exports.getAccount = _chunkM5K2FJOMjs.getAccount; exports.getAddress = _chunkM5K2FJOMjs.getAddress; exports.getContractAddress = _chunkM5K2FJOMjs.getContractAddress; exports.getContractError = _chunkM5K2FJOMjs.getContractError; exports.getCreate2Address = _chunkM5K2FJOMjs.getCreate2Address; exports.getCreateAddress = _chunkM5K2FJOMjs.getCreateAddress; exports.getEventSelector = _chunkM5K2FJOMjs.getEventSelector; exports.getFunctionSelector = _chunkM5K2FJOMjs.getFunctionSelector; exports.gweiUnits = _chunkM5K2FJOMjs.gweiUnits; exports.hashMessage = _chunkM5K2FJOMjs.hashMessage; exports.hexToBigInt = _chunkM5K2FJOMjs.hexToBigInt; exports.hexToBool = _chunkM5K2FJOMjs.hexToBool; exports.hexToBytes = _chunkM5K2FJOMjs.hexToBytes; exports.hexToNumber = _chunkM5K2FJOMjs.hexToNumber; exports.hexToString = _chunkM5K2FJOMjs.hexToString; exports.http = http; exports.isAddress = _chunkM5K2FJOMjs.isAddress; exports.isAddressEqual = _chunkM5K2FJOMjs.isAddressEqual; exports.isBytes = _chunkM5K2FJOMjs.isBytes; exports.isHex = _chunkM5K2FJOMjs.isHex; exports.keccak256 = _chunkM5K2FJOMjs.keccak256; exports.labelhash = _chunkYYL4XXAPjs.labelhash; exports.multicall3Abi = _chunkM5K2FJOMjs.multicall3Abi; exports.namehash = _chunkYYL4XXAPjs.namehash; exports.numberToBytes = _chunkM5K2FJOMjs.numberToBytes; exports.numberToHex = _chunkM5K2FJOMjs.numberToHex; exports.pad = _chunkM5K2FJOMjs.pad; exports.padBytes = _chunkM5K2FJOMjs.padBytes; exports.padHex = _chunkM5K2FJOMjs.padHex; exports.parseAbi = _chunkM5K2FJOMjs.parseAbi; exports.parseAbiItem = _chunkM5K2FJOMjs.parseAbiItem; exports.parseAbiParameter = _chunkM5K2FJOMjs.parseAbiParameter; exports.parseAbiParameters = _chunkM5K2FJOMjs.parseAbiParameters; exports.parseEther = _chunkM5K2FJOMjs.parseEther; exports.parseGwei = _chunkM5K2FJOMjs.parseGwei; exports.parseUnits = _chunkM5K2FJOMjs.parseUnits; exports.recoverAddress = _chunkM5K2FJOMjs.recoverAddress; exports.recoverMessageAddress = _chunkM5K2FJOMjs.recoverMessageAddress; exports.size = _chunkM5K2FJOMjs.size; exports.slice = _chunkM5K2FJOMjs.slice; exports.sliceBytes = _chunkM5K2FJOMjs.sliceBytes; exports.sliceHex = _chunkM5K2FJOMjs.sliceHex; exports.stringToBytes = _chunkM5K2FJOMjs.stringToBytes; exports.stringToHex = _chunkM5K2FJOMjs.stringToHex; exports.stringify = _chunkM5K2FJOMjs.stringify; exports.toBytes = _chunkM5K2FJOMjs.toBytes; exports.toHex = _chunkM5K2FJOMjs.toHex; exports.toRlp = _chunkM5K2FJOMjs.toRlp; exports.transactionType = _chunkM5K2FJOMjs.transactionType; exports.trim = _chunkM5K2FJOMjs.trim; exports.verifyMessage = _chunkM5K2FJOMjs.verifyMessage; exports.webSocket = webSocket; exports.weiUnits = _chunkM5K2FJOMjs.weiUnits;
810
+
811
+ exports.AbiConstructorNotFoundError = _chunkT4AH4Y6Yjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkT4AH4Y6Yjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkT4AH4Y6Yjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkT4AH4Y6Yjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkT4AH4Y6Yjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkT4AH4Y6Yjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkT4AH4Y6Yjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkT4AH4Y6Yjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkT4AH4Y6Yjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkT4AH4Y6Yjs.AbiEventNotFoundError; exports.AbiEventSignatureEmptyTopicsError = _chunkT4AH4Y6Yjs.AbiEventSignatureEmptyTopicsError; exports.AbiEventSignatureNotFoundError = _chunkT4AH4Y6Yjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkT4AH4Y6Yjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkT4AH4Y6Yjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkT4AH4Y6Yjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkT4AH4Y6Yjs.BaseError; exports.BlockNotFoundError = _chunkT4AH4Y6Yjs.BlockNotFoundError; exports.CallExecutionError = _chunkT4AH4Y6Yjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkT4AH4Y6Yjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkT4AH4Y6Yjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkT4AH4Y6Yjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkT4AH4Y6Yjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkT4AH4Y6Yjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkT4AH4Y6Yjs.DataLengthTooShortError; exports.DecodeLogTopicsMismatch = _chunkT4AH4Y6Yjs.DecodeLogTopicsMismatch; exports.EstimateGasExecutionError = _chunkT4AH4Y6Yjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkT4AH4Y6Yjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkT4AH4Y6Yjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkT4AH4Y6Yjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkT4AH4Y6Yjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkT4AH4Y6Yjs.HttpRequestError; exports.InsufficientFundsError = _chunkT4AH4Y6Yjs.InsufficientFundsError; exports.InternalRpcError = _chunkT4AH4Y6Yjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkT4AH4Y6Yjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkT4AH4Y6Yjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkT4AH4Y6Yjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkT4AH4Y6Yjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkT4AH4Y6Yjs.InvalidAddressError; exports.InvalidArrayError = _chunkT4AH4Y6Yjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkT4AH4Y6Yjs.InvalidBytesBooleanError; exports.InvalidDefinitionTypeError = _chunkT4AH4Y6Yjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkT4AH4Y6Yjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkT4AH4Y6Yjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkT4AH4Y6Yjs.InvalidInputRpcError; exports.InvalidParamsRpcError = _chunkT4AH4Y6Yjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkT4AH4Y6Yjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkT4AH4Y6Yjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkT4AH4Y6Yjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkT4AH4Y6Yjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkT4AH4Y6Yjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkT4AH4Y6Yjs.NonceMaxValueError; exports.NonceTooHighError = _chunkT4AH4Y6Yjs.NonceTooHighError; exports.NonceTooLowError = _chunkT4AH4Y6Yjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkT4AH4Y6Yjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkT4AH4Y6Yjs.ParseRpcError; exports.RawContractError = _chunkT4AH4Y6Yjs.RawContractError; exports.RequestError = _chunkT4AH4Y6Yjs.RequestError; exports.ResourceNotFoundRpcError = _chunkT4AH4Y6Yjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkT4AH4Y6Yjs.ResourceUnavailableRpcError; exports.RpcError = _chunkT4AH4Y6Yjs.RpcError; exports.RpcRequestError = _chunkT4AH4Y6Yjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkT4AH4Y6Yjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkT4AH4Y6Yjs.SwitchChainError; exports.TimeoutError = _chunkT4AH4Y6Yjs.TimeoutError; exports.TipAboveFeeCapError = _chunkT4AH4Y6Yjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkT4AH4Y6Yjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkT4AH4Y6Yjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkT4AH4Y6Yjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkT4AH4Y6Yjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkT4AH4Y6Yjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkT4AH4Y6Yjs.UnknownNodeError; exports.UnknownRpcError = _chunkT4AH4Y6Yjs.UnknownRpcError; exports.UrlRequiredError = _chunkT4AH4Y6Yjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkT4AH4Y6Yjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkT4AH4Y6Yjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkT4AH4Y6Yjs.WebSocketRequestError; exports.boolToBytes = _chunkT4AH4Y6Yjs.boolToBytes; exports.boolToHex = _chunkT4AH4Y6Yjs.boolToHex; exports.bytesToBigint = _chunkT4AH4Y6Yjs.bytesToBigint; exports.bytesToBool = _chunkT4AH4Y6Yjs.bytesToBool; exports.bytesToHex = _chunkT4AH4Y6Yjs.bytesToHex; exports.bytesToNumber = _chunkT4AH4Y6Yjs.bytesToNumber; exports.bytesToString = _chunkT4AH4Y6Yjs.bytesToString; exports.concat = _chunkT4AH4Y6Yjs.concat; exports.concatBytes = _chunkT4AH4Y6Yjs.concatBytes; exports.concatHex = _chunkT4AH4Y6Yjs.concatHex; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkT4AH4Y6Yjs.decodeAbiParameters; exports.decodeErrorResult = _chunkT4AH4Y6Yjs.decodeErrorResult; exports.decodeEventLog = _chunkT4AH4Y6Yjs.decodeEventLog; exports.decodeFunctionData = _chunkT4AH4Y6Yjs.decodeFunctionData; exports.decodeFunctionResult = _chunkT4AH4Y6Yjs.decodeFunctionResult; exports.defineBlock = _chunkT4AH4Y6Yjs.defineBlock; exports.defineChain = _chunkT4AH4Y6Yjs.defineChain; exports.defineTransaction = _chunkT4AH4Y6Yjs.defineTransaction; exports.defineTransactionReceipt = _chunkT4AH4Y6Yjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkT4AH4Y6Yjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkT4AH4Y6Yjs.encodeAbiParameters; exports.encodeDeployData = _chunkT4AH4Y6Yjs.encodeDeployData; exports.encodeErrorResult = _chunkT4AH4Y6Yjs.encodeErrorResult; exports.encodeEventTopics = _chunkT4AH4Y6Yjs.encodeEventTopics; exports.encodeFunctionData = _chunkT4AH4Y6Yjs.encodeFunctionData; exports.encodeFunctionResult = _chunkT4AH4Y6Yjs.encodeFunctionResult; exports.encodePacked = _chunkT4AH4Y6Yjs.encodePacked; exports.etherUnits = _chunkT4AH4Y6Yjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkT4AH4Y6Yjs.formatBlock; exports.formatEther = _chunkT4AH4Y6Yjs.formatEther; exports.formatGwei = _chunkT4AH4Y6Yjs.formatGwei; exports.formatTransaction = _chunkT4AH4Y6Yjs.formatTransaction; exports.formatTransactionRequest = _chunkT4AH4Y6Yjs.formatTransactionRequest; exports.formatUnits = _chunkT4AH4Y6Yjs.formatUnits; exports.fromBytes = _chunkT4AH4Y6Yjs.fromBytes; exports.fromHex = _chunkT4AH4Y6Yjs.fromHex; exports.fromRlp = _chunkT4AH4Y6Yjs.fromRlp; exports.getAbiItem = _chunkT4AH4Y6Yjs.getAbiItem; exports.getAccount = _chunkT4AH4Y6Yjs.getAccount; exports.getAddress = _chunkT4AH4Y6Yjs.getAddress; exports.getContractAddress = _chunkT4AH4Y6Yjs.getContractAddress; exports.getContractError = _chunkT4AH4Y6Yjs.getContractError; exports.getCreate2Address = _chunkT4AH4Y6Yjs.getCreate2Address; exports.getCreateAddress = _chunkT4AH4Y6Yjs.getCreateAddress; exports.getEventSelector = _chunkT4AH4Y6Yjs.getEventSelector; exports.getFunctionSelector = _chunkT4AH4Y6Yjs.getFunctionSelector; exports.gweiUnits = _chunkT4AH4Y6Yjs.gweiUnits; exports.hashMessage = _chunkT4AH4Y6Yjs.hashMessage; exports.hashTypedData = _chunkT4AH4Y6Yjs.hashTypedData; exports.hexToBigInt = _chunkT4AH4Y6Yjs.hexToBigInt; exports.hexToBool = _chunkT4AH4Y6Yjs.hexToBool; exports.hexToBytes = _chunkT4AH4Y6Yjs.hexToBytes; exports.hexToNumber = _chunkT4AH4Y6Yjs.hexToNumber; exports.hexToString = _chunkT4AH4Y6Yjs.hexToString; exports.http = http; exports.isAddress = _chunkT4AH4Y6Yjs.isAddress; exports.isAddressEqual = _chunkT4AH4Y6Yjs.isAddressEqual; exports.isBytes = _chunkT4AH4Y6Yjs.isBytes; exports.isHex = _chunkT4AH4Y6Yjs.isHex; exports.keccak256 = _chunkT4AH4Y6Yjs.keccak256; exports.labelhash = _chunkBLB7NEROjs.labelhash; exports.multicall3Abi = _chunkT4AH4Y6Yjs.multicall3Abi; exports.namehash = _chunkBLB7NEROjs.namehash; exports.numberToBytes = _chunkT4AH4Y6Yjs.numberToBytes; exports.numberToHex = _chunkT4AH4Y6Yjs.numberToHex; exports.pad = _chunkT4AH4Y6Yjs.pad; exports.padBytes = _chunkT4AH4Y6Yjs.padBytes; exports.padHex = _chunkT4AH4Y6Yjs.padHex; exports.parseAbi = _chunkT4AH4Y6Yjs.parseAbi; exports.parseAbiItem = _chunkT4AH4Y6Yjs.parseAbiItem; exports.parseAbiParameter = _chunkT4AH4Y6Yjs.parseAbiParameter; exports.parseAbiParameters = _chunkT4AH4Y6Yjs.parseAbiParameters; exports.parseEther = _chunkT4AH4Y6Yjs.parseEther; exports.parseGwei = _chunkT4AH4Y6Yjs.parseGwei; exports.parseUnits = _chunkT4AH4Y6Yjs.parseUnits; exports.recoverAddress = _chunkT4AH4Y6Yjs.recoverAddress; exports.recoverMessageAddress = _chunkT4AH4Y6Yjs.recoverMessageAddress; exports.size = _chunkT4AH4Y6Yjs.size; exports.slice = _chunkT4AH4Y6Yjs.slice; exports.sliceBytes = _chunkT4AH4Y6Yjs.sliceBytes; exports.sliceHex = _chunkT4AH4Y6Yjs.sliceHex; exports.stringToBytes = _chunkT4AH4Y6Yjs.stringToBytes; exports.stringToHex = _chunkT4AH4Y6Yjs.stringToHex; exports.stringify = _chunkT4AH4Y6Yjs.stringify; exports.toBytes = _chunkT4AH4Y6Yjs.toBytes; exports.toHex = _chunkT4AH4Y6Yjs.toHex; exports.toRlp = _chunkT4AH4Y6Yjs.toRlp; exports.transactionType = _chunkT4AH4Y6Yjs.transactionType; exports.trim = _chunkT4AH4Y6Yjs.trim; exports.verifyMessage = _chunkT4AH4Y6Yjs.verifyMessage; exports.webSocket = webSocket; exports.weiUnits = _chunkT4AH4Y6Yjs.weiUnits;
804
812
  //# sourceMappingURL=index.js.map