viem 0.2.0-canary.20230314T023056 → 0.2.0-canary.20230314T215745

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 (44) hide show
  1. package/dist/abi.js +2 -2
  2. package/dist/abi.mjs +1 -1
  3. package/dist/chains.js +63 -63
  4. package/dist/chains.mjs +1 -1
  5. package/dist/{chunk-4EKORTIH.mjs → chunk-6CRQ2Z6Y.mjs} +2 -2
  6. package/dist/{chunk-XPAZ5N5B.js → chunk-EUMT64YW.js} +19 -19
  7. package/dist/{chunk-YJVNIQSC.mjs → chunk-S53L3VGF.mjs} +61 -5
  8. package/dist/chunk-S53L3VGF.mjs.map +1 -0
  9. package/dist/{chunk-E6DS7ZIH.js → chunk-SA6IPLJF.js} +62 -6
  10. package/dist/chunk-SA6IPLJF.js.map +1 -0
  11. package/dist/contract.d.ts +1 -1
  12. package/dist/contract.js +2 -2
  13. package/dist/contract.mjs +1 -1
  14. package/dist/{createPublicClient-6792b8e9.d.ts → createPublicClient-1e28879c.d.ts} +8 -2
  15. package/dist/ens.d.ts +1 -1
  16. package/dist/ens.js +3 -3
  17. package/dist/ens.mjs +2 -2
  18. package/dist/ethers.d.ts +7 -2
  19. package/dist/ethers.js +5 -4
  20. package/dist/ethers.js.map +1 -1
  21. package/dist/ethers.mjs +3 -2
  22. package/dist/ethers.mjs.map +1 -1
  23. package/dist/index.d.ts +3 -3
  24. package/dist/index.js +94 -90
  25. package/dist/index.js.map +1 -1
  26. package/dist/index.mjs +6 -2
  27. package/dist/index.mjs.map +1 -1
  28. package/dist/{parseGwei-21da474e.d.ts → parseGwei-da38c1af.d.ts} +19 -8
  29. package/dist/public.d.ts +1 -1
  30. package/dist/public.js +2 -2
  31. package/dist/public.mjs +1 -1
  32. package/dist/test.js +2 -2
  33. package/dist/test.mjs +1 -1
  34. package/dist/utils/index.d.ts +21 -6
  35. package/dist/utils/index.js +10 -2
  36. package/dist/utils/index.mjs +11 -3
  37. package/dist/wallet.d.ts +1 -1
  38. package/dist/wallet.js +2 -2
  39. package/dist/wallet.mjs +1 -1
  40. package/package.json +2 -1
  41. package/dist/chunk-E6DS7ZIH.js.map +0 -1
  42. package/dist/chunk-YJVNIQSC.mjs.map +0 -1
  43. /package/dist/{chunk-4EKORTIH.mjs.map → chunk-6CRQ2Z6Y.mjs.map} +0 -0
  44. /package/dist/{chunk-XPAZ5N5B.js.map → chunk-EUMT64YW.js.map} +0 -0
@@ -1,4 +1,4 @@
1
- export { m as CreateContractEventFilterParameters, n as CreateContractEventFilterReturnType, V as DeployContractParameters, X as DeployContractReturnType, o as EstimateContractGasParameters, p as EstimateContractGasReturnType, G as GetBytecodeParameters, q as GetBytecodeReturnType, r as GetStorageAtParameters, s as GetStorageAtReturnType, M as MulticallParameters, t as MulticallReturnType, O as OnLogsFn, u as OnLogsParameter, R as ReadContractParameters, v as ReadContractReturnType, w as SimulateContractParameters, x as SimulateContractReturnType, y as WatchContractEventParameters, Y as WriteContractParameters, Z as WriteContractReturnType, z as createContractEventFilter, _ as deployContract, D as estimateContractGas, H as getBytecode, I as getStorageAt, K as multicall, N as readContract, Q as simulateContract, U as watchContractEvent, $ as writeContract } from './createPublicClient-6792b8e9.js';
1
+ export { m as CreateContractEventFilterParameters, n as CreateContractEventFilterReturnType, V as DeployContractParameters, X as DeployContractReturnType, o as EstimateContractGasParameters, p as EstimateContractGasReturnType, G as GetBytecodeParameters, q as GetBytecodeReturnType, r as GetStorageAtParameters, s as GetStorageAtReturnType, M as MulticallParameters, t as MulticallReturnType, O as OnLogsFn, u as OnLogsParameter, R as ReadContractParameters, v as ReadContractReturnType, w as SimulateContractParameters, x as SimulateContractReturnType, y as WatchContractEventParameters, Y as WriteContractParameters, Z as WriteContractReturnType, z as createContractEventFilter, _ as deployContract, D as estimateContractGas, H as getBytecode, I as getStorageAt, K as multicall, N as readContract, Q as simulateContract, U as watchContractEvent, $ as writeContract } from './createPublicClient-1e28879c.js';
2
2
  export { D as DecodeAbiParametersReturnType, E as EncodeAbiParametersReturnType, G as GetAbiItemParameters, d as decodeAbiParameters, e as encodeAbiParameters, g as getAbiItem } from './getAbiItem-de2d6ac0.js';
3
3
  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-4d3bafb8.js';
4
4
  export { a as formatAbiItem, f as formatAbiItemWithArgs } from './formatAbiItem-e5d7437a.js';
package/dist/contract.js CHANGED
@@ -23,7 +23,7 @@
23
23
 
24
24
 
25
25
 
26
- var _chunkE6DS7ZIHjs = require('./chunk-E6DS7ZIH.js');
26
+ var _chunkSA6IPLJFjs = require('./chunk-SA6IPLJF.js');
27
27
 
28
28
 
29
29
 
@@ -49,5 +49,5 @@ var _chunkE6DS7ZIHjs = require('./chunk-E6DS7ZIH.js');
49
49
 
50
50
 
51
51
 
52
- exports.createContractEventFilter = _chunkE6DS7ZIHjs.createContractEventFilter; exports.decodeAbiParameters = _chunkE6DS7ZIHjs.decodeAbiParameters; exports.decodeErrorResult = _chunkE6DS7ZIHjs.decodeErrorResult; exports.decodeEventLog = _chunkE6DS7ZIHjs.decodeEventLog; exports.decodeFunctionData = _chunkE6DS7ZIHjs.decodeFunctionData; exports.decodeFunctionResult = _chunkE6DS7ZIHjs.decodeFunctionResult; exports.deployContract = _chunkE6DS7ZIHjs.deployContract; exports.encodeAbiParameters = _chunkE6DS7ZIHjs.encodeAbiParameters; exports.encodeDeployData = _chunkE6DS7ZIHjs.encodeDeployData; exports.encodeErrorResult = _chunkE6DS7ZIHjs.encodeErrorResult; exports.encodeEventTopics = _chunkE6DS7ZIHjs.encodeEventTopics; exports.encodeFunctionData = _chunkE6DS7ZIHjs.encodeFunctionData; exports.encodeFunctionResult = _chunkE6DS7ZIHjs.encodeFunctionResult; exports.estimateContractGas = _chunkE6DS7ZIHjs.estimateContractGas; exports.formatAbiItem = _chunkE6DS7ZIHjs.formatAbiItem; exports.formatAbiItemWithArgs = _chunkE6DS7ZIHjs.formatAbiItemWithArgs; exports.getAbiItem = _chunkE6DS7ZIHjs.getAbiItem; exports.getBytecode = _chunkE6DS7ZIHjs.getBytecode; exports.getStorageAt = _chunkE6DS7ZIHjs.getStorageAt; exports.multicall = _chunkE6DS7ZIHjs.multicall; exports.readContract = _chunkE6DS7ZIHjs.readContract; exports.simulateContract = _chunkE6DS7ZIHjs.simulateContract; exports.watchContractEvent = _chunkE6DS7ZIHjs.watchContractEvent; exports.writeContract = _chunkE6DS7ZIHjs.writeContract;
52
+ exports.createContractEventFilter = _chunkSA6IPLJFjs.createContractEventFilter; exports.decodeAbiParameters = _chunkSA6IPLJFjs.decodeAbiParameters; exports.decodeErrorResult = _chunkSA6IPLJFjs.decodeErrorResult; exports.decodeEventLog = _chunkSA6IPLJFjs.decodeEventLog; exports.decodeFunctionData = _chunkSA6IPLJFjs.decodeFunctionData; exports.decodeFunctionResult = _chunkSA6IPLJFjs.decodeFunctionResult; exports.deployContract = _chunkSA6IPLJFjs.deployContract; exports.encodeAbiParameters = _chunkSA6IPLJFjs.encodeAbiParameters; exports.encodeDeployData = _chunkSA6IPLJFjs.encodeDeployData; exports.encodeErrorResult = _chunkSA6IPLJFjs.encodeErrorResult; exports.encodeEventTopics = _chunkSA6IPLJFjs.encodeEventTopics; exports.encodeFunctionData = _chunkSA6IPLJFjs.encodeFunctionData; exports.encodeFunctionResult = _chunkSA6IPLJFjs.encodeFunctionResult; exports.estimateContractGas = _chunkSA6IPLJFjs.estimateContractGas; exports.formatAbiItem = _chunkSA6IPLJFjs.formatAbiItem; exports.formatAbiItemWithArgs = _chunkSA6IPLJFjs.formatAbiItemWithArgs; exports.getAbiItem = _chunkSA6IPLJFjs.getAbiItem; exports.getBytecode = _chunkSA6IPLJFjs.getBytecode; exports.getStorageAt = _chunkSA6IPLJFjs.getStorageAt; exports.multicall = _chunkSA6IPLJFjs.multicall; exports.readContract = _chunkSA6IPLJFjs.readContract; exports.simulateContract = _chunkSA6IPLJFjs.simulateContract; exports.watchContractEvent = _chunkSA6IPLJFjs.watchContractEvent; exports.writeContract = _chunkSA6IPLJFjs.writeContract;
53
53
  //# sourceMappingURL=contract.js.map
package/dist/contract.mjs CHANGED
@@ -23,7 +23,7 @@ import {
23
23
  simulateContract,
24
24
  watchContractEvent,
25
25
  writeContract
26
- } from "./chunk-YJVNIQSC.mjs";
26
+ } from "./chunk-S53L3VGF.mjs";
27
27
  export {
28
28
  createContractEventFilter,
29
29
  decodeAbiParameters,
@@ -611,10 +611,16 @@ declare function sendTransaction<TChain extends Chain>(client: WalletClient, arg
611
611
 
612
612
  type SignMessageParameters = {
613
613
  account: Account;
614
+ } & ({
615
+ /** @deprecated – `data` will be removed in 0.2.0; use `message` instead. */
614
616
  data: string;
615
- };
617
+ message?: never;
618
+ } | {
619
+ data?: never;
620
+ message: string;
621
+ });
616
622
  type SignMessageReturnType = Hex;
617
- declare function signMessage(client: WalletClient, { account, data }: SignMessageParameters): Promise<SignMessageReturnType>;
623
+ declare function signMessage(client: WalletClient, { account, data, message }: SignMessageParameters): Promise<SignMessageReturnType>;
618
624
 
619
625
  type SignTypedDataParameters<TTypedData extends TypedData | {
620
626
  [key: string]: unknown;
package/dist/ens.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { a0 as GetEnsAddressParameters, a1 as GetEnsNameParameters, a2 as getEnsAddress, a3 as getEnsName } from './createPublicClient-6792b8e9.js';
1
+ export { a0 as GetEnsAddressParameters, a1 as GetEnsNameParameters, a2 as getEnsAddress, a3 as getEnsName } from './createPublicClient-1e28879c.js';
2
2
  export { l as labelhash, n as namehash } from './namehash-afff0feb.js';
3
3
  import './eip1193-343f2a94.js';
4
4
  import 'abitype';
package/dist/ens.js CHANGED
@@ -3,8 +3,8 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkXPAZ5N5Bjs = require('./chunk-XPAZ5N5B.js');
7
- require('./chunk-E6DS7ZIH.js');
6
+ var _chunkEUMT64YWjs = require('./chunk-EUMT64YW.js');
7
+ require('./chunk-SA6IPLJF.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 = _chunkXPAZ5N5Bjs.getEnsAddress; exports.getEnsName = _chunkXPAZ5N5Bjs.getEnsName; exports.labelhash = _chunkXPAZ5N5Bjs.labelhash; exports.namehash = _chunkXPAZ5N5Bjs.namehash; exports.normalize = normalize;
20
+ exports.getEnsAddress = _chunkEUMT64YWjs.getEnsAddress; exports.getEnsName = _chunkEUMT64YWjs.getEnsName; exports.labelhash = _chunkEUMT64YWjs.labelhash; exports.namehash = _chunkEUMT64YWjs.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-4EKORTIH.mjs";
7
- import "./chunk-YJVNIQSC.mjs";
6
+ } from "./chunk-6CRQ2Z6Y.mjs";
7
+ import "./chunk-S53L3VGF.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,4 +1,4 @@
1
- import { A as Account } from './createPublicClient-6792b8e9.js';
1
+ import { A as Account } from './createPublicClient-1e28879c.js';
2
2
  import './eip1193-343f2a94.js';
3
3
  import 'abitype';
4
4
  import './chain-3a97fb0b.js';
@@ -22,8 +22,13 @@ type EthersWallet = {
22
22
  address: string;
23
23
  signMessage(message: Uint8Array): Promise<string>;
24
24
  signTransaction(txn: any): Promise<string>;
25
+ } & ({
25
26
  signTypedData(domain: TypedDataDomain, types: Record<string, TypedDataField[]>, value: Record<string, any>): Promise<string>;
26
- };
27
+ _signTypedData?: never;
28
+ } | {
29
+ signTypedData?: never;
30
+ _signTypedData(domain: TypedDataDomain, types: Record<string, TypedDataField[]>, value: Record<string, any>): Promise<string>;
31
+ });
27
32
  declare const getAccount: (wallet: EthersWallet) => Account;
28
33
 
29
34
  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 _chunkE6DS7ZIHjs = require('./chunk-E6DS7ZIH.js');
4
+ var _chunkSA6IPLJFjs = require('./chunk-SA6IPLJF.js');
5
5
 
6
6
  // src/adapters/ethers.ts
7
- var getAccount2 = (wallet) => _chunkE6DS7ZIHjs.getAccount.call(void 0, {
7
+ var getAccount2 = (wallet) => _chunkSA6IPLJFjs.getAccount.call(void 0, {
8
8
  address: wallet.address,
9
9
  async signMessage(message) {
10
- return await wallet.signMessage(_chunkE6DS7ZIHjs.toBytes.call(void 0, message));
10
+ return await wallet.signMessage(_chunkSA6IPLJFjs.toBytes.call(void 0, message));
11
11
  },
12
12
  async signTransaction(txn) {
13
13
  return await wallet.signTransaction({
@@ -17,7 +17,8 @@ var getAccount2 = (wallet) => _chunkE6DS7ZIHjs.getAccount.call(void 0, {
17
17
  },
18
18
  async signTypedData({ domain, types: types_, message }) {
19
19
  const { EIP712Domain: _, ...types } = types_;
20
- return await wallet.signTypedData(
20
+ const signTypedData = wallet.signTypedData || wallet._signTypedData;
21
+ return await signTypedData(
21
22
  _nullishCoalesce(domain, () => ( {})),
22
23
  types,
23
24
  message
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/adapters/ethers.ts"],"names":["getAccount"],"mappings":";;;;;;AA6BO,IAAMA,cAAa,CAAC,WACzB,WAAY;AAAA,EACV,SAAS,OAAO;AAAA,EAChB,MAAM,YAAY,SAAS;AACzB,WAAQ,MAAM,OAAO,YAAY,QAAQ,OAAO,CAAC;AAAA,EACnD;AAAA,EACA,MAAM,gBAAgB,KAAK;AACzB,WAAQ,MAAM,OAAO,gBAAgB;AAAA,MACnC,GAAG;AAAA,MACH,UAAU,IAAI;AAAA,IAChB,CAAC;AAAA,EACH;AAAA,EACA,MAAM,cAAc,EAAE,QAAQ,OAAO,QAAQ,QAAQ,GAAG;AACtD,UAAM,EAAE,cAAc,GAAG,GAAG,MAAM,IAAI;AACtC,WAAQ,MAAM,OAAO;AAAA,MACnB,UAAU,CAAC;AAAA,MACX;AAAA,MACA;AAAA,IACF;AAAA,EACF;AACF,CAAC","sourcesContent":["import { Address, Hash } from '../types'\nimport { getAccount as getAccount_, toBytes } from '../utils'\n\ntype BigNumberish = string | number | bigint\ntype BytesLike = string | Uint8Array\n\ntype TypedDataDomain = {\n name?: string\n version?: string\n chainId?: BigNumberish\n verifyingContract?: string\n salt?: BytesLike\n}\ntype TypedDataField = {\n name: string\n type: string\n}\n\ntype EthersWallet = {\n address: string\n signMessage(message: Uint8Array): Promise<string>\n signTransaction(txn: any): Promise<string>\n signTypedData(\n domain: TypedDataDomain,\n types: Record<string, TypedDataField[]>,\n value: Record<string, any>,\n ): Promise<string>\n}\n\nexport const getAccount = (wallet: EthersWallet) =>\n getAccount_({\n address: wallet.address as Address,\n async signMessage(message) {\n return (await wallet.signMessage(toBytes(message))) as Hash\n },\n async signTransaction(txn) {\n return (await wallet.signTransaction({\n ...txn,\n gasLimit: txn.gas,\n })) as Hash\n },\n async signTypedData({ domain, types: types_, message }) {\n const { EIP712Domain: _, ...types } = types_ as any\n return (await wallet.signTypedData(\n domain ?? {},\n types as Record<string, TypedDataField[]>,\n message,\n )) as Hash\n },\n })\n"]}
1
+ {"version":3,"sources":["../src/adapters/ethers.ts"],"names":["getAccount"],"mappings":";;;;;;AAyCO,IAAMA,cAAa,CAAC,WACzB,WAAY;AAAA,EACV,SAAS,OAAO;AAAA,EAChB,MAAM,YAAY,SAAS;AACzB,WAAQ,MAAM,OAAO,YAAY,QAAQ,OAAO,CAAC;AAAA,EACnD;AAAA,EACA,MAAM,gBAAgB,KAAK;AACzB,WAAQ,MAAM,OAAO,gBAAgB;AAAA,MACnC,GAAG;AAAA,MACH,UAAU,IAAI;AAAA,IAChB,CAAC;AAAA,EACH;AAAA,EACA,MAAM,cAAc,EAAE,QAAQ,OAAO,QAAQ,QAAQ,GAAG;AACtD,UAAM,EAAE,cAAc,GAAG,GAAG,MAAM,IAAI;AACtC,UAAM,gBAAgB,OAAO,iBAAiB,OAAO;AACrD,WAAQ,MAAM;AAAA,MACZ,UAAU,CAAC;AAAA,MACX;AAAA,MACA;AAAA,IACF;AAAA,EACF;AACF,CAAC","sourcesContent":["import { Address, Hash } from '../types'\nimport { getAccount as getAccount_, toBytes } from '../utils'\n\ntype BigNumberish = string | number | bigint\ntype BytesLike = string | Uint8Array\n\ntype TypedDataDomain = {\n name?: string\n version?: string\n chainId?: BigNumberish\n verifyingContract?: string\n salt?: BytesLike\n}\ntype TypedDataField = {\n name: string\n type: string\n}\n\ntype EthersWallet = {\n address: string\n signMessage(message: Uint8Array): Promise<string>\n signTransaction(txn: any): Promise<string>\n} & (\n | {\n signTypedData(\n domain: TypedDataDomain,\n types: Record<string, TypedDataField[]>,\n value: Record<string, any>,\n ): Promise<string>\n _signTypedData?: never\n }\n | {\n signTypedData?: never\n _signTypedData(\n domain: TypedDataDomain,\n types: Record<string, TypedDataField[]>,\n value: Record<string, any>,\n ): Promise<string>\n }\n)\n\nexport const getAccount = (wallet: EthersWallet) =>\n getAccount_({\n address: wallet.address as Address,\n async signMessage(message) {\n return (await wallet.signMessage(toBytes(message))) as Hash\n },\n async signTransaction(txn) {\n return (await wallet.signTransaction({\n ...txn,\n gasLimit: txn.gas,\n })) as Hash\n },\n async signTypedData({ domain, types: types_, message }) {\n const { EIP712Domain: _, ...types } = types_ as any\n const signTypedData = wallet.signTypedData || wallet._signTypedData\n return (await signTypedData(\n domain ?? {},\n types as Record<string, TypedDataField[]>,\n message,\n )) as Hash\n },\n })\n"]}
package/dist/ethers.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getAccount,
3
3
  toBytes
4
- } from "./chunk-YJVNIQSC.mjs";
4
+ } from "./chunk-S53L3VGF.mjs";
5
5
 
6
6
  // src/adapters/ethers.ts
7
7
  var getAccount2 = (wallet) => getAccount({
@@ -17,7 +17,8 @@ var getAccount2 = (wallet) => getAccount({
17
17
  },
18
18
  async signTypedData({ domain, types: types_, message }) {
19
19
  const { EIP712Domain: _, ...types } = types_;
20
- return await wallet.signTypedData(
20
+ const signTypedData = wallet.signTypedData || wallet._signTypedData;
21
+ return await signTypedData(
21
22
  domain ?? {},
22
23
  types,
23
24
  message
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/adapters/ethers.ts"],"sourcesContent":["import { Address, Hash } from '../types'\nimport { getAccount as getAccount_, toBytes } from '../utils'\n\ntype BigNumberish = string | number | bigint\ntype BytesLike = string | Uint8Array\n\ntype TypedDataDomain = {\n name?: string\n version?: string\n chainId?: BigNumberish\n verifyingContract?: string\n salt?: BytesLike\n}\ntype TypedDataField = {\n name: string\n type: string\n}\n\ntype EthersWallet = {\n address: string\n signMessage(message: Uint8Array): Promise<string>\n signTransaction(txn: any): Promise<string>\n signTypedData(\n domain: TypedDataDomain,\n types: Record<string, TypedDataField[]>,\n value: Record<string, any>,\n ): Promise<string>\n}\n\nexport const getAccount = (wallet: EthersWallet) =>\n getAccount_({\n address: wallet.address as Address,\n async signMessage(message) {\n return (await wallet.signMessage(toBytes(message))) as Hash\n },\n async signTransaction(txn) {\n return (await wallet.signTransaction({\n ...txn,\n gasLimit: txn.gas,\n })) as Hash\n },\n async signTypedData({ domain, types: types_, message }) {\n const { EIP712Domain: _, ...types } = types_ as any\n return (await wallet.signTypedData(\n domain ?? {},\n types as Record<string, TypedDataField[]>,\n message,\n )) as Hash\n },\n })\n"],"mappings":";;;;;;AA6BO,IAAMA,cAAa,CAAC,WACzB,WAAY;AAAA,EACV,SAAS,OAAO;AAAA,EAChB,MAAM,YAAY,SAAS;AACzB,WAAQ,MAAM,OAAO,YAAY,QAAQ,OAAO,CAAC;AAAA,EACnD;AAAA,EACA,MAAM,gBAAgB,KAAK;AACzB,WAAQ,MAAM,OAAO,gBAAgB;AAAA,MACnC,GAAG;AAAA,MACH,UAAU,IAAI;AAAA,IAChB,CAAC;AAAA,EACH;AAAA,EACA,MAAM,cAAc,EAAE,QAAQ,OAAO,QAAQ,QAAQ,GAAG;AACtD,UAAM,EAAE,cAAc,GAAG,GAAG,MAAM,IAAI;AACtC,WAAQ,MAAM,OAAO;AAAA,MACnB,UAAU,CAAC;AAAA,MACX;AAAA,MACA;AAAA,IACF;AAAA,EACF;AACF,CAAC;","names":["getAccount"]}
1
+ {"version":3,"sources":["../src/adapters/ethers.ts"],"sourcesContent":["import { Address, Hash } from '../types'\nimport { getAccount as getAccount_, toBytes } from '../utils'\n\ntype BigNumberish = string | number | bigint\ntype BytesLike = string | Uint8Array\n\ntype TypedDataDomain = {\n name?: string\n version?: string\n chainId?: BigNumberish\n verifyingContract?: string\n salt?: BytesLike\n}\ntype TypedDataField = {\n name: string\n type: string\n}\n\ntype EthersWallet = {\n address: string\n signMessage(message: Uint8Array): Promise<string>\n signTransaction(txn: any): Promise<string>\n} & (\n | {\n signTypedData(\n domain: TypedDataDomain,\n types: Record<string, TypedDataField[]>,\n value: Record<string, any>,\n ): Promise<string>\n _signTypedData?: never\n }\n | {\n signTypedData?: never\n _signTypedData(\n domain: TypedDataDomain,\n types: Record<string, TypedDataField[]>,\n value: Record<string, any>,\n ): Promise<string>\n }\n)\n\nexport const getAccount = (wallet: EthersWallet) =>\n getAccount_({\n address: wallet.address as Address,\n async signMessage(message) {\n return (await wallet.signMessage(toBytes(message))) as Hash\n },\n async signTransaction(txn) {\n return (await wallet.signTransaction({\n ...txn,\n gasLimit: txn.gas,\n })) as Hash\n },\n async signTypedData({ domain, types: types_, message }) {\n const { EIP712Domain: _, ...types } = types_ as any\n const signTypedData = wallet.signTypedData || wallet._signTypedData\n return (await signTypedData(\n domain ?? {},\n types as Record<string, TypedDataField[]>,\n message,\n )) as Hash\n },\n })\n"],"mappings":";;;;;;AAyCO,IAAMA,cAAa,CAAC,WACzB,WAAY;AAAA,EACV,SAAS,OAAO;AAAA,EAChB,MAAM,YAAY,SAAS;AACzB,WAAQ,MAAM,OAAO,YAAY,QAAQ,OAAO,CAAC;AAAA,EACnD;AAAA,EACA,MAAM,gBAAgB,KAAK;AACzB,WAAQ,MAAM,OAAO,gBAAgB;AAAA,MACnC,GAAG;AAAA,MACH,UAAU,IAAI;AAAA,IAChB,CAAC;AAAA,EACH;AAAA,EACA,MAAM,cAAc,EAAE,QAAQ,OAAO,QAAQ,QAAQ,GAAG;AACtD,UAAM,EAAE,cAAc,GAAG,GAAG,MAAM,IAAI;AACtC,UAAM,gBAAgB,OAAO,iBAAiB,OAAO;AACrD,WAAQ,MAAM;AAAA,MACZ,UAAU,CAAC;AAAA,MACX;AAAA,MACA;AAAA,IACF;AAAA,EACF;AACF,CAAC;","names":["getAccount"]}
package/dist/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  import { T as TransportConfig, a as Transport, B as BaseRpcRequests } from './createClient-ddc3fa22.js';
2
2
  export { C as Client, b as ClientConfig, a as Transport, T as TransportConfig, c as createClient, d as createTransport } from './createClient-ddc3fa22.js';
3
- import { B as BaseError, H as HttpOptions, R as RpcResponse } from './parseGwei-21da474e.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 hexToBigInt, a0 as hexToBool, a1 as hexToBytes, a2 as hexToNumber, a3 as hexToString, a4 as isAddress, a5 as isAddressEqual, a6 as isBytes, a7 as isHex, a8 as keccak256, a9 as numberToBytes, aa as numberToHex, ab as pad, ac as padBytes, ad as padHex, ae as parseEther, af as parseGwei, ag as parseUnits, ah as size, ai as slice, aj as sliceBytes, ak as sliceHex, al as stringToBytes, am as stringToHex, an as stringify, ao as toBytes, ap as toHex, aq as toRlp, ar as trim } from './parseGwei-21da474e.js';
3
+ import { B as BaseError, H as HttpOptions, R as RpcResponse } from './parseGwei-da38c1af.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 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 } from './parseGwei-da38c1af.js';
5
5
  import WebSocket from 'isomorphic-ws';
6
6
  import { H as Hex, A as AbiItem, a as Hash, C as Chain, B as ByteArray } from './chain-3a97fb0b.js';
7
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, I as ExtractFormatter, F as FeeHistory, h as FeeValues, i as FeeValuesEIP1559, j as FeeValuesLegacy, J as Formatted, K as FormattedTransaction, a as Hash, H as Hex, L as Log, R as RpcBlock, k as RpcBlockIdentifier, l as RpcBlockNumber, m as RpcFeeHistory, n as RpcFeeValues, o as RpcLog, p as RpcTransaction, q as RpcTransactionReceipt, r as RpcTransactionRequest, s as RpcUncle, y as Transaction, z as TransactionBase, D as TransactionEIP1559, E as TransactionEIP2930, M as TransactionFormatter, G as TransactionLegacy, T as TransactionReceipt, t as TransactionRequest, u as TransactionRequestBase, v as TransactionRequestEIP1559, w as TransactionRequestEIP2930, x as TransactionRequestLegacy, U as Uncle, N as defineTransaction, O as formatTransaction, P as transactionType } from './chain-3a97fb0b.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-6792b8e9.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-1e28879c.js';
9
9
  export { T as TestClient, a as TestClientConfig, c as createTestClient } from './test-07a99259.js';
10
10
  import { AbiParameter } from 'abitype';
11
11
  export { Address, ParseAbi, ParseAbiItem, ParseAbiParameter, ParseAbiParameters, parseAbi, parseAbiItem, parseAbiParameter, parseAbiParameters } from 'abitype';
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkXPAZ5N5Bjs = require('./chunk-XPAZ5N5B.js');
6
+ var _chunkEUMT64YWjs = require('./chunk-EUMT64YW.js');
7
7
 
8
8
 
9
9
 
@@ -241,7 +241,9 @@ var _chunkXPAZ5N5Bjs = require('./chunk-XPAZ5N5B.js');
241
241
 
242
242
 
243
243
 
244
- var _chunkE6DS7ZIHjs = require('./chunk-E6DS7ZIH.js');
244
+
245
+
246
+ var _chunkSA6IPLJFjs = require('./chunk-SA6IPLJF.js');
245
247
 
246
248
  // src/clients/transports/createTransport.ts
247
249
  function createTransport({
@@ -255,7 +257,7 @@ function createTransport({
255
257
  }, value) {
256
258
  return {
257
259
  config: { key, name, request, retryCount, retryDelay, timeout, type },
258
- request: _chunkE6DS7ZIHjs.buildRequest.call(void 0, request, { retryCount, retryDelay }),
260
+ request: _chunkSA6IPLJFjs.buildRequest.call(void 0, request, { retryCount, retryDelay }),
259
261
  value
260
262
  };
261
263
  }
@@ -289,7 +291,7 @@ function fallback(transports, config = {}) {
289
291
  params
290
292
  });
291
293
  } catch (err) {
292
- if (_chunkE6DS7ZIHjs.isDeterministicError.call(void 0, err))
294
+ if (_chunkSA6IPLJFjs.isDeterministicError.call(void 0, err))
293
295
  throw err;
294
296
  if (i === transports.length - 1)
295
297
  throw err;
@@ -323,13 +325,13 @@ function http(url, config = {}) {
323
325
  const retryCount = _nullishCoalesce(config.retryCount, () => ( defaultRetryCount));
324
326
  const url_ = url || _optionalChain([chain, 'optionalAccess', _ => _.rpcUrls, 'access', _2 => _2.default, 'access', _3 => _3.http, 'access', _4 => _4[0]]);
325
327
  if (!url_)
326
- throw new (0, _chunkE6DS7ZIHjs.UrlRequiredError)();
328
+ throw new (0, _chunkSA6IPLJFjs.UrlRequiredError)();
327
329
  return createTransport(
328
330
  {
329
331
  key,
330
332
  name,
331
333
  async request({ method, params }) {
332
- const { result } = await _chunkE6DS7ZIHjs.rpc.http(url_, {
334
+ const { result } = await _chunkSA6IPLJFjs.rpc.http(url_, {
333
335
  body: {
334
336
  method,
335
337
  params
@@ -363,14 +365,14 @@ function webSocket(url, config = {}) {
363
365
  const retryCount = _nullishCoalesce(config.retryCount, () => ( defaultRetryCount));
364
366
  const url_ = url || _optionalChain([chain, 'optionalAccess', _5 => _5.rpcUrls, 'access', _6 => _6.default, 'access', _7 => _7.webSocket, 'optionalAccess', _8 => _8[0]]);
365
367
  if (!url_)
366
- throw new (0, _chunkE6DS7ZIHjs.UrlRequiredError)();
368
+ throw new (0, _chunkSA6IPLJFjs.UrlRequiredError)();
367
369
  return createTransport(
368
370
  {
369
371
  key,
370
372
  name,
371
373
  async request({ method, params }) {
372
- const socket = await _chunkE6DS7ZIHjs.getSocket.call(void 0, url_);
373
- const { result } = await _chunkE6DS7ZIHjs.rpc.webSocketAsync(socket, {
374
+ const socket = await _chunkSA6IPLJFjs.getSocket.call(void 0, url_);
375
+ const { result } = await _chunkSA6IPLJFjs.rpc.webSocketAsync(socket, {
374
376
  body: { method, params },
375
377
  timeout
376
378
  });
@@ -383,12 +385,12 @@ function webSocket(url, config = {}) {
383
385
  },
384
386
  {
385
387
  getSocket() {
386
- return _chunkE6DS7ZIHjs.getSocket.call(void 0, url_);
388
+ return _chunkSA6IPLJFjs.getSocket.call(void 0, url_);
387
389
  },
388
390
  async subscribe({ params, onData, onError }) {
389
- const socket = await _chunkE6DS7ZIHjs.getSocket.call(void 0, url_);
391
+ const socket = await _chunkSA6IPLJFjs.getSocket.call(void 0, url_);
390
392
  const { result: subscriptionId } = await new Promise(
391
- (resolve, reject) => _chunkE6DS7ZIHjs.rpc.webSocket(socket, {
393
+ (resolve, reject) => _chunkSA6IPLJFjs.rpc.webSocket(socket, {
392
394
  body: {
393
395
  method: "eth_subscribe",
394
396
  params
@@ -410,7 +412,7 @@ function webSocket(url, config = {}) {
410
412
  subscriptionId,
411
413
  async unsubscribe() {
412
414
  return new Promise(
413
- (resolve, reject) => _chunkE6DS7ZIHjs.rpc.webSocket(socket, {
415
+ (resolve, reject) => _chunkSA6IPLJFjs.rpc.webSocket(socket, {
414
416
  body: {
415
417
  method: "eth_unsubscribe",
416
418
  params: [subscriptionId]
@@ -466,90 +468,90 @@ function createClient({
466
468
 
467
469
  // src/clients/decorators/public.ts
468
470
  var publicActions = (client) => ({
469
- call: (args) => _chunkE6DS7ZIHjs.call.call(void 0, client, args),
470
- createBlockFilter: () => _chunkE6DS7ZIHjs.createBlockFilter.call(void 0, client),
471
- createContractEventFilter: (args) => _chunkE6DS7ZIHjs.createContractEventFilter.call(void 0, client, args),
472
- createEventFilter: (args) => _chunkE6DS7ZIHjs.createEventFilter.call(void 0, client, args),
473
- createPendingTransactionFilter: () => _chunkE6DS7ZIHjs.createPendingTransactionFilter.call(void 0, client),
474
- estimateContractGas: (args) => _chunkE6DS7ZIHjs.estimateContractGas.call(void 0, client, args),
475
- estimateGas: (args) => _chunkE6DS7ZIHjs.estimateGas.call(void 0, client, args),
476
- getBalance: (args) => _chunkE6DS7ZIHjs.getBalance.call(void 0, client, args),
477
- getBlock: (args) => _chunkE6DS7ZIHjs.getBlock.call(void 0, client, args),
478
- getBlockNumber: (args) => _chunkE6DS7ZIHjs.getBlockNumber.call(void 0, client, args),
479
- getBlockTransactionCount: (args) => _chunkE6DS7ZIHjs.getBlockTransactionCount.call(void 0, client, args),
480
- getBytecode: (args) => _chunkE6DS7ZIHjs.getBytecode.call(void 0, client, args),
481
- getChainId: () => _chunkE6DS7ZIHjs.getChainId.call(void 0, client),
482
- getEnsAddress: (args) => _chunkXPAZ5N5Bjs.getEnsAddress.call(void 0, client, args),
483
- getEnsName: (args) => _chunkXPAZ5N5Bjs.getEnsName.call(void 0, client, args),
484
- getFeeHistory: (args) => _chunkE6DS7ZIHjs.getFeeHistory.call(void 0, client, args),
485
- getFilterChanges: (args) => _chunkE6DS7ZIHjs.getFilterChanges.call(void 0, client, args),
486
- getFilterLogs: (args) => _chunkE6DS7ZIHjs.getFilterLogs.call(void 0, client, args),
487
- getGasPrice: () => _chunkE6DS7ZIHjs.getGasPrice.call(void 0, client),
488
- getLogs: (args) => _chunkE6DS7ZIHjs.getLogs.call(void 0, client, args),
489
- getStorageAt: (args) => _chunkE6DS7ZIHjs.getStorageAt.call(void 0, client, args),
490
- getTransaction: (args) => _chunkE6DS7ZIHjs.getTransaction.call(void 0, client, args),
491
- getTransactionConfirmations: (args) => _chunkE6DS7ZIHjs.getTransactionConfirmations.call(void 0, client, args),
492
- getTransactionCount: (args) => _chunkE6DS7ZIHjs.getTransactionCount.call(void 0, client, args),
493
- getTransactionReceipt: (args) => _chunkE6DS7ZIHjs.getTransactionReceipt.call(void 0, client, args),
494
- multicall: (args) => _chunkE6DS7ZIHjs.multicall.call(void 0, client, args),
495
- readContract: (args) => _chunkE6DS7ZIHjs.readContract.call(void 0, client, args),
496
- simulateContract: (args) => _chunkE6DS7ZIHjs.simulateContract.call(void 0, client, args),
497
- uninstallFilter: (args) => _chunkE6DS7ZIHjs.uninstallFilter.call(void 0, client, args),
498
- waitForTransactionReceipt: (args) => _chunkE6DS7ZIHjs.waitForTransactionReceipt.call(void 0, client, args),
499
- watchBlocks: (args) => _chunkE6DS7ZIHjs.watchBlocks.call(void 0, client, args),
500
- watchBlockNumber: (args) => _chunkE6DS7ZIHjs.watchBlockNumber.call(void 0, client, args),
501
- watchContractEvent: (args) => _chunkE6DS7ZIHjs.watchContractEvent.call(void 0, client, args),
502
- watchEvent: (args) => _chunkE6DS7ZIHjs.watchEvent.call(void 0, client, args),
503
- watchPendingTransactions: (args) => _chunkE6DS7ZIHjs.watchPendingTransactions.call(void 0, client, args)
471
+ call: (args) => _chunkSA6IPLJFjs.call.call(void 0, client, args),
472
+ createBlockFilter: () => _chunkSA6IPLJFjs.createBlockFilter.call(void 0, client),
473
+ createContractEventFilter: (args) => _chunkSA6IPLJFjs.createContractEventFilter.call(void 0, client, args),
474
+ createEventFilter: (args) => _chunkSA6IPLJFjs.createEventFilter.call(void 0, client, args),
475
+ createPendingTransactionFilter: () => _chunkSA6IPLJFjs.createPendingTransactionFilter.call(void 0, client),
476
+ estimateContractGas: (args) => _chunkSA6IPLJFjs.estimateContractGas.call(void 0, client, args),
477
+ estimateGas: (args) => _chunkSA6IPLJFjs.estimateGas.call(void 0, client, args),
478
+ getBalance: (args) => _chunkSA6IPLJFjs.getBalance.call(void 0, client, args),
479
+ getBlock: (args) => _chunkSA6IPLJFjs.getBlock.call(void 0, client, args),
480
+ getBlockNumber: (args) => _chunkSA6IPLJFjs.getBlockNumber.call(void 0, client, args),
481
+ getBlockTransactionCount: (args) => _chunkSA6IPLJFjs.getBlockTransactionCount.call(void 0, client, args),
482
+ getBytecode: (args) => _chunkSA6IPLJFjs.getBytecode.call(void 0, client, args),
483
+ getChainId: () => _chunkSA6IPLJFjs.getChainId.call(void 0, client),
484
+ getEnsAddress: (args) => _chunkEUMT64YWjs.getEnsAddress.call(void 0, client, args),
485
+ getEnsName: (args) => _chunkEUMT64YWjs.getEnsName.call(void 0, client, args),
486
+ getFeeHistory: (args) => _chunkSA6IPLJFjs.getFeeHistory.call(void 0, client, args),
487
+ getFilterChanges: (args) => _chunkSA6IPLJFjs.getFilterChanges.call(void 0, client, args),
488
+ getFilterLogs: (args) => _chunkSA6IPLJFjs.getFilterLogs.call(void 0, client, args),
489
+ getGasPrice: () => _chunkSA6IPLJFjs.getGasPrice.call(void 0, client),
490
+ getLogs: (args) => _chunkSA6IPLJFjs.getLogs.call(void 0, client, args),
491
+ getStorageAt: (args) => _chunkSA6IPLJFjs.getStorageAt.call(void 0, client, args),
492
+ getTransaction: (args) => _chunkSA6IPLJFjs.getTransaction.call(void 0, client, args),
493
+ getTransactionConfirmations: (args) => _chunkSA6IPLJFjs.getTransactionConfirmations.call(void 0, client, args),
494
+ getTransactionCount: (args) => _chunkSA6IPLJFjs.getTransactionCount.call(void 0, client, args),
495
+ getTransactionReceipt: (args) => _chunkSA6IPLJFjs.getTransactionReceipt.call(void 0, client, args),
496
+ multicall: (args) => _chunkSA6IPLJFjs.multicall.call(void 0, client, args),
497
+ readContract: (args) => _chunkSA6IPLJFjs.readContract.call(void 0, client, args),
498
+ simulateContract: (args) => _chunkSA6IPLJFjs.simulateContract.call(void 0, client, args),
499
+ uninstallFilter: (args) => _chunkSA6IPLJFjs.uninstallFilter.call(void 0, client, args),
500
+ waitForTransactionReceipt: (args) => _chunkSA6IPLJFjs.waitForTransactionReceipt.call(void 0, client, args),
501
+ watchBlocks: (args) => _chunkSA6IPLJFjs.watchBlocks.call(void 0, client, args),
502
+ watchBlockNumber: (args) => _chunkSA6IPLJFjs.watchBlockNumber.call(void 0, client, args),
503
+ watchContractEvent: (args) => _chunkSA6IPLJFjs.watchContractEvent.call(void 0, client, args),
504
+ watchEvent: (args) => _chunkSA6IPLJFjs.watchEvent.call(void 0, client, args),
505
+ watchPendingTransactions: (args) => _chunkSA6IPLJFjs.watchPendingTransactions.call(void 0, client, args)
504
506
  });
505
507
 
506
508
  // src/clients/decorators/test.ts
507
509
  var testActions = (client) => ({
508
- dropTransaction: (args) => _chunkE6DS7ZIHjs.dropTransaction.call(void 0, client, args),
509
- getAutomine: () => _chunkE6DS7ZIHjs.getAutomine.call(void 0, client),
510
- getTxpoolContent: () => _chunkE6DS7ZIHjs.getTxpoolContent.call(void 0, client),
511
- getTxpoolStatus: () => _chunkE6DS7ZIHjs.getTxpoolStatus.call(void 0, client),
512
- impersonateAccount: (args) => _chunkE6DS7ZIHjs.impersonateAccount.call(void 0, client, args),
513
- increaseTime: (args) => _chunkE6DS7ZIHjs.increaseTime.call(void 0, client, args),
514
- inspectTxpool: () => _chunkE6DS7ZIHjs.inspectTxpool.call(void 0, client),
515
- mine: (args) => _chunkE6DS7ZIHjs.mine.call(void 0, client, args),
516
- removeBlockTimestampInterval: () => _chunkE6DS7ZIHjs.removeBlockTimestampInterval.call(void 0, client),
517
- reset: (args) => _chunkE6DS7ZIHjs.reset.call(void 0, client, args),
518
- revert: (args) => _chunkE6DS7ZIHjs.revert.call(void 0, client, args),
519
- sendUnsignedTransaction: (args) => _chunkE6DS7ZIHjs.sendUnsignedTransaction.call(void 0, client, args),
520
- setAutomine: (args) => _chunkE6DS7ZIHjs.setAutomine.call(void 0, client, args),
521
- setBalance: (args) => _chunkE6DS7ZIHjs.setBalance.call(void 0, client, args),
522
- setBlockGasLimit: (args) => _chunkE6DS7ZIHjs.setBlockGasLimit.call(void 0, client, args),
523
- setBlockTimestampInterval: (args) => _chunkE6DS7ZIHjs.setBlockTimestampInterval.call(void 0, client, args),
524
- setCode: (args) => _chunkE6DS7ZIHjs.setCode.call(void 0, client, args),
525
- setCoinbase: (args) => _chunkE6DS7ZIHjs.setCoinbase.call(void 0, client, args),
526
- setIntervalMining: (args) => _chunkE6DS7ZIHjs.setIntervalMining.call(void 0, client, args),
527
- setLoggingEnabled: (args) => _chunkE6DS7ZIHjs.setLoggingEnabled.call(void 0, client, args),
528
- setMinGasPrice: (args) => _chunkE6DS7ZIHjs.setMinGasPrice.call(void 0, client, args),
529
- setNextBlockBaseFeePerGas: (args) => _chunkE6DS7ZIHjs.setNextBlockBaseFeePerGas.call(void 0, client, args),
530
- setNextBlockTimestamp: (args) => _chunkE6DS7ZIHjs.setNextBlockTimestamp.call(void 0, client, args),
531
- setNonce: (args) => _chunkE6DS7ZIHjs.setNonce.call(void 0, client, args),
532
- setRpcUrl: (args) => _chunkE6DS7ZIHjs.setRpcUrl.call(void 0, client, args),
533
- setStorageAt: (args) => _chunkE6DS7ZIHjs.setStorageAt.call(void 0, client, args),
534
- snapshot: () => _chunkE6DS7ZIHjs.snapshot.call(void 0, client),
535
- stopImpersonatingAccount: (args) => _chunkE6DS7ZIHjs.stopImpersonatingAccount.call(void 0, client, args)
510
+ dropTransaction: (args) => _chunkSA6IPLJFjs.dropTransaction.call(void 0, client, args),
511
+ getAutomine: () => _chunkSA6IPLJFjs.getAutomine.call(void 0, client),
512
+ getTxpoolContent: () => _chunkSA6IPLJFjs.getTxpoolContent.call(void 0, client),
513
+ getTxpoolStatus: () => _chunkSA6IPLJFjs.getTxpoolStatus.call(void 0, client),
514
+ impersonateAccount: (args) => _chunkSA6IPLJFjs.impersonateAccount.call(void 0, client, args),
515
+ increaseTime: (args) => _chunkSA6IPLJFjs.increaseTime.call(void 0, client, args),
516
+ inspectTxpool: () => _chunkSA6IPLJFjs.inspectTxpool.call(void 0, client),
517
+ mine: (args) => _chunkSA6IPLJFjs.mine.call(void 0, client, args),
518
+ removeBlockTimestampInterval: () => _chunkSA6IPLJFjs.removeBlockTimestampInterval.call(void 0, client),
519
+ reset: (args) => _chunkSA6IPLJFjs.reset.call(void 0, client, args),
520
+ revert: (args) => _chunkSA6IPLJFjs.revert.call(void 0, client, args),
521
+ sendUnsignedTransaction: (args) => _chunkSA6IPLJFjs.sendUnsignedTransaction.call(void 0, client, args),
522
+ setAutomine: (args) => _chunkSA6IPLJFjs.setAutomine.call(void 0, client, args),
523
+ setBalance: (args) => _chunkSA6IPLJFjs.setBalance.call(void 0, client, args),
524
+ setBlockGasLimit: (args) => _chunkSA6IPLJFjs.setBlockGasLimit.call(void 0, client, args),
525
+ setBlockTimestampInterval: (args) => _chunkSA6IPLJFjs.setBlockTimestampInterval.call(void 0, client, args),
526
+ setCode: (args) => _chunkSA6IPLJFjs.setCode.call(void 0, client, args),
527
+ setCoinbase: (args) => _chunkSA6IPLJFjs.setCoinbase.call(void 0, client, args),
528
+ setIntervalMining: (args) => _chunkSA6IPLJFjs.setIntervalMining.call(void 0, client, args),
529
+ setLoggingEnabled: (args) => _chunkSA6IPLJFjs.setLoggingEnabled.call(void 0, client, args),
530
+ setMinGasPrice: (args) => _chunkSA6IPLJFjs.setMinGasPrice.call(void 0, client, args),
531
+ setNextBlockBaseFeePerGas: (args) => _chunkSA6IPLJFjs.setNextBlockBaseFeePerGas.call(void 0, client, args),
532
+ setNextBlockTimestamp: (args) => _chunkSA6IPLJFjs.setNextBlockTimestamp.call(void 0, client, args),
533
+ setNonce: (args) => _chunkSA6IPLJFjs.setNonce.call(void 0, client, args),
534
+ setRpcUrl: (args) => _chunkSA6IPLJFjs.setRpcUrl.call(void 0, client, args),
535
+ setStorageAt: (args) => _chunkSA6IPLJFjs.setStorageAt.call(void 0, client, args),
536
+ snapshot: () => _chunkSA6IPLJFjs.snapshot.call(void 0, client),
537
+ stopImpersonatingAccount: (args) => _chunkSA6IPLJFjs.stopImpersonatingAccount.call(void 0, client, args)
536
538
  });
537
539
 
538
540
  // src/clients/decorators/wallet.ts
539
541
  var walletActions = (client) => ({
540
- addChain: (args) => _chunkE6DS7ZIHjs.addChain.call(void 0, client, args),
541
- deployContract: (args) => _chunkE6DS7ZIHjs.deployContract.call(void 0, client, args),
542
- getAddresses: () => _chunkE6DS7ZIHjs.getAddresses.call(void 0, client),
543
- getChainId: () => _chunkE6DS7ZIHjs.getChainId.call(void 0, client),
544
- getPermissions: () => _chunkE6DS7ZIHjs.getPermissions.call(void 0, client),
545
- requestAddresses: () => _chunkE6DS7ZIHjs.requestAddresses.call(void 0, client),
546
- requestPermissions: (args) => _chunkE6DS7ZIHjs.requestPermissions.call(void 0, client, args),
547
- sendTransaction: (args) => _chunkE6DS7ZIHjs.sendTransaction.call(void 0, client, args),
548
- signMessage: (args) => _chunkE6DS7ZIHjs.signMessage.call(void 0, client, args),
549
- signTypedData: (args) => _chunkE6DS7ZIHjs.signTypedData.call(void 0, client, args),
550
- switchChain: (args) => _chunkE6DS7ZIHjs.switchChain.call(void 0, client, args),
551
- watchAsset: (args) => _chunkE6DS7ZIHjs.watchAsset.call(void 0, client, args),
552
- writeContract: (args) => _chunkE6DS7ZIHjs.writeContract.call(void 0, client, args)
542
+ addChain: (args) => _chunkSA6IPLJFjs.addChain.call(void 0, client, args),
543
+ deployContract: (args) => _chunkSA6IPLJFjs.deployContract.call(void 0, client, args),
544
+ getAddresses: () => _chunkSA6IPLJFjs.getAddresses.call(void 0, client),
545
+ getChainId: () => _chunkSA6IPLJFjs.getChainId.call(void 0, client),
546
+ getPermissions: () => _chunkSA6IPLJFjs.getPermissions.call(void 0, client),
547
+ requestAddresses: () => _chunkSA6IPLJFjs.requestAddresses.call(void 0, client),
548
+ requestPermissions: (args) => _chunkSA6IPLJFjs.requestPermissions.call(void 0, client, args),
549
+ sendTransaction: (args) => _chunkSA6IPLJFjs.sendTransaction.call(void 0, client, args),
550
+ signMessage: (args) => _chunkSA6IPLJFjs.signMessage.call(void 0, client, args),
551
+ signTypedData: (args) => _chunkSA6IPLJFjs.signTypedData.call(void 0, client, args),
552
+ switchChain: (args) => _chunkSA6IPLJFjs.switchChain.call(void 0, client, args),
553
+ watchAsset: (args) => _chunkSA6IPLJFjs.watchAsset.call(void 0, client, args),
554
+ writeContract: (args) => _chunkSA6IPLJFjs.writeContract.call(void 0, client, args)
553
555
  });
554
556
 
555
557
  // src/clients/createPublicClient.ts
@@ -790,5 +792,7 @@ function createWalletClient({
790
792
 
791
793
 
792
794
 
793
- exports.AbiConstructorNotFoundError = _chunkE6DS7ZIHjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkE6DS7ZIHjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkE6DS7ZIHjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkE6DS7ZIHjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkE6DS7ZIHjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkE6DS7ZIHjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkE6DS7ZIHjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkE6DS7ZIHjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkE6DS7ZIHjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkE6DS7ZIHjs.AbiEventNotFoundError; exports.AbiEventSignatureEmptyTopicsError = _chunkE6DS7ZIHjs.AbiEventSignatureEmptyTopicsError; exports.AbiEventSignatureNotFoundError = _chunkE6DS7ZIHjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkE6DS7ZIHjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkE6DS7ZIHjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkE6DS7ZIHjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkE6DS7ZIHjs.BaseError; exports.BlockNotFoundError = _chunkE6DS7ZIHjs.BlockNotFoundError; exports.CallExecutionError = _chunkE6DS7ZIHjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkE6DS7ZIHjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkE6DS7ZIHjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkE6DS7ZIHjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkE6DS7ZIHjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkE6DS7ZIHjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkE6DS7ZIHjs.DataLengthTooShortError; exports.DecodeLogTopicsMismatch = _chunkE6DS7ZIHjs.DecodeLogTopicsMismatch; exports.EstimateGasExecutionError = _chunkE6DS7ZIHjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkE6DS7ZIHjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkE6DS7ZIHjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkE6DS7ZIHjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkE6DS7ZIHjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkE6DS7ZIHjs.HttpRequestError; exports.InsufficientFundsError = _chunkE6DS7ZIHjs.InsufficientFundsError; exports.InternalRpcError = _chunkE6DS7ZIHjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkE6DS7ZIHjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkE6DS7ZIHjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkE6DS7ZIHjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkE6DS7ZIHjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkE6DS7ZIHjs.InvalidAddressError; exports.InvalidArrayError = _chunkE6DS7ZIHjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkE6DS7ZIHjs.InvalidBytesBooleanError; exports.InvalidDefinitionTypeError = _chunkE6DS7ZIHjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkE6DS7ZIHjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkE6DS7ZIHjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkE6DS7ZIHjs.InvalidInputRpcError; exports.InvalidParamsRpcError = _chunkE6DS7ZIHjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkE6DS7ZIHjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkE6DS7ZIHjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkE6DS7ZIHjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkE6DS7ZIHjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkE6DS7ZIHjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkE6DS7ZIHjs.NonceMaxValueError; exports.NonceTooHighError = _chunkE6DS7ZIHjs.NonceTooHighError; exports.NonceTooLowError = _chunkE6DS7ZIHjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkE6DS7ZIHjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkE6DS7ZIHjs.ParseRpcError; exports.RawContractError = _chunkE6DS7ZIHjs.RawContractError; exports.RequestError = _chunkE6DS7ZIHjs.RequestError; exports.ResourceNotFoundRpcError = _chunkE6DS7ZIHjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkE6DS7ZIHjs.ResourceUnavailableRpcError; exports.RpcError = _chunkE6DS7ZIHjs.RpcError; exports.RpcRequestError = _chunkE6DS7ZIHjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkE6DS7ZIHjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkE6DS7ZIHjs.SwitchChainError; exports.TimeoutError = _chunkE6DS7ZIHjs.TimeoutError; exports.TipAboveFeeCapError = _chunkE6DS7ZIHjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkE6DS7ZIHjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkE6DS7ZIHjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkE6DS7ZIHjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkE6DS7ZIHjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkE6DS7ZIHjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkE6DS7ZIHjs.UnknownNodeError; exports.UnknownRpcError = _chunkE6DS7ZIHjs.UnknownRpcError; exports.UrlRequiredError = _chunkE6DS7ZIHjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkE6DS7ZIHjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkE6DS7ZIHjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkE6DS7ZIHjs.WebSocketRequestError; exports.boolToBytes = _chunkE6DS7ZIHjs.boolToBytes; exports.boolToHex = _chunkE6DS7ZIHjs.boolToHex; exports.bytesToBigint = _chunkE6DS7ZIHjs.bytesToBigint; exports.bytesToBool = _chunkE6DS7ZIHjs.bytesToBool; exports.bytesToHex = _chunkE6DS7ZIHjs.bytesToHex; exports.bytesToNumber = _chunkE6DS7ZIHjs.bytesToNumber; exports.bytesToString = _chunkE6DS7ZIHjs.bytesToString; exports.concat = _chunkE6DS7ZIHjs.concat; exports.concatBytes = _chunkE6DS7ZIHjs.concatBytes; exports.concatHex = _chunkE6DS7ZIHjs.concatHex; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkE6DS7ZIHjs.decodeAbiParameters; exports.decodeErrorResult = _chunkE6DS7ZIHjs.decodeErrorResult; exports.decodeEventLog = _chunkE6DS7ZIHjs.decodeEventLog; exports.decodeFunctionData = _chunkE6DS7ZIHjs.decodeFunctionData; exports.decodeFunctionResult = _chunkE6DS7ZIHjs.decodeFunctionResult; exports.defineBlock = _chunkE6DS7ZIHjs.defineBlock; exports.defineChain = _chunkE6DS7ZIHjs.defineChain; exports.defineTransaction = _chunkE6DS7ZIHjs.defineTransaction; exports.defineTransactionReceipt = _chunkE6DS7ZIHjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkE6DS7ZIHjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkE6DS7ZIHjs.encodeAbiParameters; exports.encodeDeployData = _chunkE6DS7ZIHjs.encodeDeployData; exports.encodeErrorResult = _chunkE6DS7ZIHjs.encodeErrorResult; exports.encodeEventTopics = _chunkE6DS7ZIHjs.encodeEventTopics; exports.encodeFunctionData = _chunkE6DS7ZIHjs.encodeFunctionData; exports.encodeFunctionResult = _chunkE6DS7ZIHjs.encodeFunctionResult; exports.encodePacked = _chunkE6DS7ZIHjs.encodePacked; exports.etherUnits = _chunkE6DS7ZIHjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkE6DS7ZIHjs.formatBlock; exports.formatEther = _chunkE6DS7ZIHjs.formatEther; exports.formatGwei = _chunkE6DS7ZIHjs.formatGwei; exports.formatTransaction = _chunkE6DS7ZIHjs.formatTransaction; exports.formatTransactionRequest = _chunkE6DS7ZIHjs.formatTransactionRequest; exports.formatUnits = _chunkE6DS7ZIHjs.formatUnits; exports.fromBytes = _chunkE6DS7ZIHjs.fromBytes; exports.fromHex = _chunkE6DS7ZIHjs.fromHex; exports.fromRlp = _chunkE6DS7ZIHjs.fromRlp; exports.getAbiItem = _chunkE6DS7ZIHjs.getAbiItem; exports.getAccount = _chunkE6DS7ZIHjs.getAccount; exports.getAddress = _chunkE6DS7ZIHjs.getAddress; exports.getContractAddress = _chunkE6DS7ZIHjs.getContractAddress; exports.getContractError = _chunkE6DS7ZIHjs.getContractError; exports.getCreate2Address = _chunkE6DS7ZIHjs.getCreate2Address; exports.getCreateAddress = _chunkE6DS7ZIHjs.getCreateAddress; exports.getEventSelector = _chunkE6DS7ZIHjs.getEventSelector; exports.getFunctionSelector = _chunkE6DS7ZIHjs.getFunctionSelector; exports.gweiUnits = _chunkE6DS7ZIHjs.gweiUnits; exports.hexToBigInt = _chunkE6DS7ZIHjs.hexToBigInt; exports.hexToBool = _chunkE6DS7ZIHjs.hexToBool; exports.hexToBytes = _chunkE6DS7ZIHjs.hexToBytes; exports.hexToNumber = _chunkE6DS7ZIHjs.hexToNumber; exports.hexToString = _chunkE6DS7ZIHjs.hexToString; exports.http = http; exports.isAddress = _chunkE6DS7ZIHjs.isAddress; exports.isAddressEqual = _chunkE6DS7ZIHjs.isAddressEqual; exports.isBytes = _chunkE6DS7ZIHjs.isBytes; exports.isHex = _chunkE6DS7ZIHjs.isHex; exports.keccak256 = _chunkE6DS7ZIHjs.keccak256; exports.labelhash = _chunkXPAZ5N5Bjs.labelhash; exports.multicall3Abi = _chunkE6DS7ZIHjs.multicall3Abi; exports.namehash = _chunkXPAZ5N5Bjs.namehash; exports.numberToBytes = _chunkE6DS7ZIHjs.numberToBytes; exports.numberToHex = _chunkE6DS7ZIHjs.numberToHex; exports.pad = _chunkE6DS7ZIHjs.pad; exports.padBytes = _chunkE6DS7ZIHjs.padBytes; exports.padHex = _chunkE6DS7ZIHjs.padHex; exports.parseAbi = _chunkE6DS7ZIHjs.parseAbi; exports.parseAbiItem = _chunkE6DS7ZIHjs.parseAbiItem; exports.parseAbiParameter = _chunkE6DS7ZIHjs.parseAbiParameter; exports.parseAbiParameters = _chunkE6DS7ZIHjs.parseAbiParameters; exports.parseEther = _chunkE6DS7ZIHjs.parseEther; exports.parseGwei = _chunkE6DS7ZIHjs.parseGwei; exports.parseUnits = _chunkE6DS7ZIHjs.parseUnits; exports.size = _chunkE6DS7ZIHjs.size; exports.slice = _chunkE6DS7ZIHjs.slice; exports.sliceBytes = _chunkE6DS7ZIHjs.sliceBytes; exports.sliceHex = _chunkE6DS7ZIHjs.sliceHex; exports.stringToBytes = _chunkE6DS7ZIHjs.stringToBytes; exports.stringToHex = _chunkE6DS7ZIHjs.stringToHex; exports.stringify = _chunkE6DS7ZIHjs.stringify; exports.toBytes = _chunkE6DS7ZIHjs.toBytes; exports.toHex = _chunkE6DS7ZIHjs.toHex; exports.toRlp = _chunkE6DS7ZIHjs.toRlp; exports.transactionType = _chunkE6DS7ZIHjs.transactionType; exports.trim = _chunkE6DS7ZIHjs.trim; exports.webSocket = webSocket; exports.weiUnits = _chunkE6DS7ZIHjs.weiUnits;
795
+
796
+
797
+ exports.AbiConstructorNotFoundError = _chunkSA6IPLJFjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkSA6IPLJFjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkSA6IPLJFjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkSA6IPLJFjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkSA6IPLJFjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkSA6IPLJFjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkSA6IPLJFjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkSA6IPLJFjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkSA6IPLJFjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkSA6IPLJFjs.AbiEventNotFoundError; exports.AbiEventSignatureEmptyTopicsError = _chunkSA6IPLJFjs.AbiEventSignatureEmptyTopicsError; exports.AbiEventSignatureNotFoundError = _chunkSA6IPLJFjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkSA6IPLJFjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkSA6IPLJFjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkSA6IPLJFjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkSA6IPLJFjs.BaseError; exports.BlockNotFoundError = _chunkSA6IPLJFjs.BlockNotFoundError; exports.CallExecutionError = _chunkSA6IPLJFjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkSA6IPLJFjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkSA6IPLJFjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkSA6IPLJFjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkSA6IPLJFjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkSA6IPLJFjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkSA6IPLJFjs.DataLengthTooShortError; exports.DecodeLogTopicsMismatch = _chunkSA6IPLJFjs.DecodeLogTopicsMismatch; exports.EstimateGasExecutionError = _chunkSA6IPLJFjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkSA6IPLJFjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkSA6IPLJFjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkSA6IPLJFjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkSA6IPLJFjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkSA6IPLJFjs.HttpRequestError; exports.InsufficientFundsError = _chunkSA6IPLJFjs.InsufficientFundsError; exports.InternalRpcError = _chunkSA6IPLJFjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkSA6IPLJFjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkSA6IPLJFjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkSA6IPLJFjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkSA6IPLJFjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkSA6IPLJFjs.InvalidAddressError; exports.InvalidArrayError = _chunkSA6IPLJFjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkSA6IPLJFjs.InvalidBytesBooleanError; exports.InvalidDefinitionTypeError = _chunkSA6IPLJFjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkSA6IPLJFjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkSA6IPLJFjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkSA6IPLJFjs.InvalidInputRpcError; exports.InvalidParamsRpcError = _chunkSA6IPLJFjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkSA6IPLJFjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkSA6IPLJFjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkSA6IPLJFjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkSA6IPLJFjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkSA6IPLJFjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkSA6IPLJFjs.NonceMaxValueError; exports.NonceTooHighError = _chunkSA6IPLJFjs.NonceTooHighError; exports.NonceTooLowError = _chunkSA6IPLJFjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkSA6IPLJFjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkSA6IPLJFjs.ParseRpcError; exports.RawContractError = _chunkSA6IPLJFjs.RawContractError; exports.RequestError = _chunkSA6IPLJFjs.RequestError; exports.ResourceNotFoundRpcError = _chunkSA6IPLJFjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkSA6IPLJFjs.ResourceUnavailableRpcError; exports.RpcError = _chunkSA6IPLJFjs.RpcError; exports.RpcRequestError = _chunkSA6IPLJFjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkSA6IPLJFjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkSA6IPLJFjs.SwitchChainError; exports.TimeoutError = _chunkSA6IPLJFjs.TimeoutError; exports.TipAboveFeeCapError = _chunkSA6IPLJFjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkSA6IPLJFjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkSA6IPLJFjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkSA6IPLJFjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkSA6IPLJFjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkSA6IPLJFjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkSA6IPLJFjs.UnknownNodeError; exports.UnknownRpcError = _chunkSA6IPLJFjs.UnknownRpcError; exports.UrlRequiredError = _chunkSA6IPLJFjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkSA6IPLJFjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkSA6IPLJFjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkSA6IPLJFjs.WebSocketRequestError; exports.boolToBytes = _chunkSA6IPLJFjs.boolToBytes; exports.boolToHex = _chunkSA6IPLJFjs.boolToHex; exports.bytesToBigint = _chunkSA6IPLJFjs.bytesToBigint; exports.bytesToBool = _chunkSA6IPLJFjs.bytesToBool; exports.bytesToHex = _chunkSA6IPLJFjs.bytesToHex; exports.bytesToNumber = _chunkSA6IPLJFjs.bytesToNumber; exports.bytesToString = _chunkSA6IPLJFjs.bytesToString; exports.concat = _chunkSA6IPLJFjs.concat; exports.concatBytes = _chunkSA6IPLJFjs.concatBytes; exports.concatHex = _chunkSA6IPLJFjs.concatHex; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkSA6IPLJFjs.decodeAbiParameters; exports.decodeErrorResult = _chunkSA6IPLJFjs.decodeErrorResult; exports.decodeEventLog = _chunkSA6IPLJFjs.decodeEventLog; exports.decodeFunctionData = _chunkSA6IPLJFjs.decodeFunctionData; exports.decodeFunctionResult = _chunkSA6IPLJFjs.decodeFunctionResult; exports.defineBlock = _chunkSA6IPLJFjs.defineBlock; exports.defineChain = _chunkSA6IPLJFjs.defineChain; exports.defineTransaction = _chunkSA6IPLJFjs.defineTransaction; exports.defineTransactionReceipt = _chunkSA6IPLJFjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkSA6IPLJFjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkSA6IPLJFjs.encodeAbiParameters; exports.encodeDeployData = _chunkSA6IPLJFjs.encodeDeployData; exports.encodeErrorResult = _chunkSA6IPLJFjs.encodeErrorResult; exports.encodeEventTopics = _chunkSA6IPLJFjs.encodeEventTopics; exports.encodeFunctionData = _chunkSA6IPLJFjs.encodeFunctionData; exports.encodeFunctionResult = _chunkSA6IPLJFjs.encodeFunctionResult; exports.encodePacked = _chunkSA6IPLJFjs.encodePacked; exports.etherUnits = _chunkSA6IPLJFjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkSA6IPLJFjs.formatBlock; exports.formatEther = _chunkSA6IPLJFjs.formatEther; exports.formatGwei = _chunkSA6IPLJFjs.formatGwei; exports.formatTransaction = _chunkSA6IPLJFjs.formatTransaction; exports.formatTransactionRequest = _chunkSA6IPLJFjs.formatTransactionRequest; exports.formatUnits = _chunkSA6IPLJFjs.formatUnits; exports.fromBytes = _chunkSA6IPLJFjs.fromBytes; exports.fromHex = _chunkSA6IPLJFjs.fromHex; exports.fromRlp = _chunkSA6IPLJFjs.fromRlp; exports.getAbiItem = _chunkSA6IPLJFjs.getAbiItem; exports.getAccount = _chunkSA6IPLJFjs.getAccount; exports.getAddress = _chunkSA6IPLJFjs.getAddress; exports.getContractAddress = _chunkSA6IPLJFjs.getContractAddress; exports.getContractError = _chunkSA6IPLJFjs.getContractError; exports.getCreate2Address = _chunkSA6IPLJFjs.getCreate2Address; exports.getCreateAddress = _chunkSA6IPLJFjs.getCreateAddress; exports.getEventSelector = _chunkSA6IPLJFjs.getEventSelector; exports.getFunctionSelector = _chunkSA6IPLJFjs.getFunctionSelector; exports.gweiUnits = _chunkSA6IPLJFjs.gweiUnits; exports.hashMessage = _chunkSA6IPLJFjs.hashMessage; exports.hexToBigInt = _chunkSA6IPLJFjs.hexToBigInt; exports.hexToBool = _chunkSA6IPLJFjs.hexToBool; exports.hexToBytes = _chunkSA6IPLJFjs.hexToBytes; exports.hexToNumber = _chunkSA6IPLJFjs.hexToNumber; exports.hexToString = _chunkSA6IPLJFjs.hexToString; exports.http = http; exports.isAddress = _chunkSA6IPLJFjs.isAddress; exports.isAddressEqual = _chunkSA6IPLJFjs.isAddressEqual; exports.isBytes = _chunkSA6IPLJFjs.isBytes; exports.isHex = _chunkSA6IPLJFjs.isHex; exports.keccak256 = _chunkSA6IPLJFjs.keccak256; exports.labelhash = _chunkEUMT64YWjs.labelhash; exports.multicall3Abi = _chunkSA6IPLJFjs.multicall3Abi; exports.namehash = _chunkEUMT64YWjs.namehash; exports.numberToBytes = _chunkSA6IPLJFjs.numberToBytes; exports.numberToHex = _chunkSA6IPLJFjs.numberToHex; exports.pad = _chunkSA6IPLJFjs.pad; exports.padBytes = _chunkSA6IPLJFjs.padBytes; exports.padHex = _chunkSA6IPLJFjs.padHex; exports.parseAbi = _chunkSA6IPLJFjs.parseAbi; exports.parseAbiItem = _chunkSA6IPLJFjs.parseAbiItem; exports.parseAbiParameter = _chunkSA6IPLJFjs.parseAbiParameter; exports.parseAbiParameters = _chunkSA6IPLJFjs.parseAbiParameters; exports.parseEther = _chunkSA6IPLJFjs.parseEther; exports.parseGwei = _chunkSA6IPLJFjs.parseGwei; exports.parseUnits = _chunkSA6IPLJFjs.parseUnits; exports.recoverAddress = _chunkSA6IPLJFjs.recoverAddress; exports.size = _chunkSA6IPLJFjs.size; exports.slice = _chunkSA6IPLJFjs.slice; exports.sliceBytes = _chunkSA6IPLJFjs.sliceBytes; exports.sliceHex = _chunkSA6IPLJFjs.sliceHex; exports.stringToBytes = _chunkSA6IPLJFjs.stringToBytes; exports.stringToHex = _chunkSA6IPLJFjs.stringToHex; exports.stringify = _chunkSA6IPLJFjs.stringify; exports.toBytes = _chunkSA6IPLJFjs.toBytes; exports.toHex = _chunkSA6IPLJFjs.toHex; exports.toRlp = _chunkSA6IPLJFjs.toRlp; exports.transactionType = _chunkSA6IPLJFjs.transactionType; exports.trim = _chunkSA6IPLJFjs.trim; exports.webSocket = webSocket; exports.weiUnits = _chunkSA6IPLJFjs.weiUnits;
794
798
  //# sourceMappingURL=index.js.map