viem 0.2.0-jxom-local-accounts.20230321T212822 → 0.2.0-main.20230323T084936
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.
- package/dist/abi.d.ts +3 -3
- package/dist/abi.js +2 -2
- package/dist/abi.mjs +1 -1
- package/dist/{chain-75b0942e.d.ts → chain-1b53ef88.d.ts} +48 -53
- package/dist/{chain-f8db473f.d.ts → chain-ec8c485d.d.ts} +1 -1
- package/dist/chains.d.ts +3 -3
- package/dist/chains.js +63 -63
- package/dist/chains.mjs +1 -1
- package/dist/{chunk-NJSAEA2H.js → chunk-BHAAXXGO.js} +154 -461
- package/dist/chunk-BHAAXXGO.js.map +1 -0
- package/dist/{chunk-IVRML3IK.mjs → chunk-FOJL5WVL.mjs} +85 -392
- package/dist/chunk-FOJL5WVL.mjs.map +1 -0
- package/dist/{chunk-6UKHPIXX.mjs → chunk-R7WEI5MQ.mjs} +2 -2
- package/dist/chunk-R7WEI5MQ.mjs.map +1 -0
- package/dist/{chunk-LYQKHD7R.js → chunk-ZIT7BMZO.js} +19 -19
- package/dist/{chunk-LYQKHD7R.js.map → chunk-ZIT7BMZO.js.map} +1 -1
- package/dist/contract.d.ts +7 -9
- package/dist/contract.js +2 -2
- package/dist/contract.mjs +1 -1
- package/dist/{createClient-f87255c1.d.ts → createClient-a28317a9.d.ts} +6 -6
- package/dist/{createPublicClient-d2c37c92.d.ts → createPublicClient-75540130.d.ts} +206 -160
- package/dist/{eip1193-ae706fd8.d.ts → eip1193-4f4e240c.d.ts} +1 -1
- package/dist/{encodeFunctionResult-4792a6a3.d.ts → encodeFunctionResult-1f324375.d.ts} +1 -1
- package/dist/{encodePacked-3fcdd54b.d.ts → encodePacked-d5d5264a.d.ts} +1 -1
- package/dist/ens.d.ts +4 -6
- package/dist/ens.js +3 -3
- package/dist/ens.mjs +2 -2
- package/dist/ethers.d.ts +6 -5
- package/dist/ethers.js +5 -7
- package/dist/ethers.js.map +1 -1
- package/dist/ethers.mjs +5 -7
- package/dist/ethers.mjs.map +1 -1
- package/dist/{formatAbiItem-765ebc53.d.ts → formatAbiItem-15e8817d.d.ts} +1 -1
- package/dist/{getAbiItem-693e6e1b.d.ts → getAbiItem-3e809ff9.d.ts} +1 -1
- package/dist/index.d.ts +13 -15
- package/dist/index.js +91 -99
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -13
- package/dist/index.mjs.map +1 -1
- package/dist/{parseGwei-377678bc.d.ts → parseGwei-6fff7cbe.d.ts} +13 -49
- package/dist/public.d.ts +4 -6
- package/dist/public.js +2 -2
- package/dist/public.mjs +1 -1
- package/dist/{test-98c0b642.d.ts → test-2bd23d7e.d.ts} +32 -33
- package/dist/test.d.ts +10 -10
- package/dist/test.js +2 -2
- package/dist/test.mjs +1 -1
- package/dist/utils/index.d.ts +18 -30
- package/dist/utils/index.js +2 -10
- package/dist/utils/index.mjs +5 -13
- package/dist/wallet.d.ts +4 -6
- package/dist/wallet.js +2 -2
- package/dist/wallet.mjs +1 -1
- package/dist/window.d.ts +2 -2
- package/package.json +1 -9
- package/accounts/package.json +0 -4
- package/dist/accounts/index.d.ts +0 -33
- package/dist/accounts/index.js +0 -89
- package/dist/accounts/index.js.map +0 -1
- package/dist/accounts/index.mjs +0 -89
- package/dist/accounts/index.mjs.map +0 -1
- package/dist/chunk-6UKHPIXX.mjs.map +0 -1
- package/dist/chunk-FNVFGFWN.mjs +0 -31
- package/dist/chunk-FNVFGFWN.mjs.map +0 -1
- package/dist/chunk-FQM5MF6U.js +0 -31
- package/dist/chunk-FQM5MF6U.js.map +0 -1
- package/dist/chunk-IVRML3IK.mjs.map +0 -1
- package/dist/chunk-NJSAEA2H.js.map +0 -1
- package/dist/parseAccount-2d7ea01d.d.ts +0 -6
- package/dist/typedData-ade018d6.d.ts +0 -93
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Address } from 'abitype';
|
2
|
-
import { a as Hash,
|
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';
|
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-
|
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';
|
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-
|
2
|
+
import { H as Hex } from './chain-1b53ef88.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,12 +1,10 @@
|
|
1
|
-
export {
|
1
|
+
export { a0 as GetEnsAddressParameters, a1 as GetEnsNameParameters, a2 as getEnsAddress, a3 as getEnsName } from './createPublicClient-75540130.js';
|
2
2
|
export { l as labelhash, n as namehash } from './namehash-afff0feb.js';
|
3
|
-
import './eip1193-
|
3
|
+
import './eip1193-4f4e240c.js';
|
4
4
|
import 'abitype';
|
5
|
-
import './chain-
|
5
|
+
import './chain-1b53ef88.js';
|
6
6
|
import '@wagmi/chains';
|
7
|
-
import './createClient-
|
8
|
-
import './typedData-ade018d6.js';
|
9
|
-
import '@scure/bip32';
|
7
|
+
import './createClient-a28317a9.js';
|
10
8
|
|
11
9
|
/**
|
12
10
|
* @description Normalizes ENS name
|
package/dist/ens.js
CHANGED
@@ -3,8 +3,8 @@
|
|
3
3
|
|
4
4
|
|
5
5
|
|
6
|
-
var
|
7
|
-
require('./chunk-
|
6
|
+
var _chunkZIT7BMZOjs = require('./chunk-ZIT7BMZO.js');
|
7
|
+
require('./chunk-BHAAXXGO.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 =
|
20
|
+
exports.getEnsAddress = _chunkZIT7BMZOjs.getEnsAddress; exports.getEnsName = _chunkZIT7BMZOjs.getEnsName; exports.labelhash = _chunkZIT7BMZOjs.labelhash; exports.namehash = _chunkZIT7BMZOjs.namehash; exports.normalize = normalize;
|
21
21
|
//# sourceMappingURL=ens.js.map
|
package/dist/ens.mjs
CHANGED
package/dist/ethers.d.ts
CHANGED
@@ -1,8 +1,9 @@
|
|
1
|
-
import {
|
2
|
-
import '
|
1
|
+
import { A as Account } from './createPublicClient-75540130.js';
|
2
|
+
import './eip1193-4f4e240c.js';
|
3
3
|
import 'abitype';
|
4
|
-
import './chain-
|
4
|
+
import './chain-1b53ef88.js';
|
5
5
|
import '@wagmi/chains';
|
6
|
+
import './createClient-a28317a9.js';
|
6
7
|
|
7
8
|
type BigNumberish = string | number | bigint;
|
8
9
|
type BytesLike = string | Uint8Array;
|
@@ -28,6 +29,6 @@ type EthersWallet = {
|
|
28
29
|
signTypedData?: never;
|
29
30
|
_signTypedData(domain: TypedDataDomain, types: Record<string, TypedDataField[]>, value: Record<string, any>): Promise<string>;
|
30
31
|
});
|
31
|
-
declare const
|
32
|
+
declare const getAccount: (wallet: EthersWallet) => Account;
|
32
33
|
|
33
|
-
export {
|
34
|
+
export { getAccount };
|
package/dist/ethers.js
CHANGED
@@ -1,15 +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
|
-
var _chunkFQM5MF6Ujs = require('./chunk-FQM5MF6U.js');
|
4
3
|
|
5
|
-
|
6
|
-
var _chunkNJSAEA2Hjs = require('./chunk-NJSAEA2H.js');
|
4
|
+
var _chunkBHAAXXGOjs = require('./chunk-BHAAXXGO.js');
|
7
5
|
|
8
6
|
// src/adapters/ethers.ts
|
9
|
-
var
|
7
|
+
var getAccount2 = (wallet) => _chunkBHAAXXGOjs.getAccount.call(void 0, {
|
10
8
|
address: wallet.address,
|
11
|
-
async signMessage(
|
12
|
-
return await wallet.signMessage(
|
9
|
+
async signMessage(message) {
|
10
|
+
return await wallet.signMessage(_chunkBHAAXXGOjs.toBytes.call(void 0, message));
|
13
11
|
},
|
14
12
|
async signTransaction(txn) {
|
15
13
|
return await wallet.signTransaction({
|
@@ -29,5 +27,5 @@ var ethersWalletToAccount = (wallet) => _chunkFQM5MF6Ujs.toAccount.call(void 0,
|
|
29
27
|
});
|
30
28
|
|
31
29
|
|
32
|
-
exports.
|
30
|
+
exports.getAccount = getAccount2;
|
33
31
|
//# sourceMappingURL=ethers.js.map
|
package/dist/ethers.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../src/adapters/ethers.ts"],"names":[],"mappings":"
|
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,gBACzB,OAAO,cAAc,KAAK,MAAM,IAChC,OAAO,eAAe,KAAK,MAAM;AACrC,WAAQ,MAAM;AAAA,MACZ,UAAU,CAAC;AAAA,MACX;AAAA,MACA;AAAA,IACF;AAAA,EACF;AACF,CAAC","sourcesContent":["import type { 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\n ? wallet.signTypedData.bind(wallet)\n : wallet._signTypedData.bind(wallet)\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,14 +1,12 @@
|
|
1
1
|
import {
|
2
|
-
|
3
|
-
} from "./chunk-FNVFGFWN.mjs";
|
4
|
-
import {
|
2
|
+
getAccount,
|
5
3
|
toBytes
|
6
|
-
} from "./chunk-
|
4
|
+
} from "./chunk-FOJL5WVL.mjs";
|
7
5
|
|
8
6
|
// src/adapters/ethers.ts
|
9
|
-
var
|
7
|
+
var getAccount2 = (wallet) => getAccount({
|
10
8
|
address: wallet.address,
|
11
|
-
async signMessage(
|
9
|
+
async signMessage(message) {
|
12
10
|
return await wallet.signMessage(toBytes(message));
|
13
11
|
},
|
14
12
|
async signTransaction(txn) {
|
@@ -28,6 +26,6 @@ var ethersWalletToAccount = (wallet) => toAccount({
|
|
28
26
|
}
|
29
27
|
});
|
30
28
|
export {
|
31
|
-
|
29
|
+
getAccount2 as getAccount
|
32
30
|
};
|
33
31
|
//# sourceMappingURL=ethers.mjs.map
|
package/dist/ethers.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../src/adapters/ethers.ts"],"sourcesContent":["import
|
1
|
+
{"version":3,"sources":["../src/adapters/ethers.ts"],"sourcesContent":["import type { 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\n ? wallet.signTypedData.bind(wallet)\n : wallet._signTypedData.bind(wallet)\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,gBACzB,OAAO,cAAc,KAAK,MAAM,IAChC,OAAO,eAAe,KAAK,MAAM;AACrC,WAAQ,MAAM;AAAA,MACZ,UAAU,CAAC;AAAA,MACX;AAAA,MACA;AAAA,IACF;AAAA,EACF;AACF,CAAC;","names":["getAccount"]}
|
@@ -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-
|
2
|
+
import { H as Hex, o as ExtractNameFromAbi, E as ExtractArgsFromAbi } from './chain-1b53ef88.js';
|
3
3
|
|
4
4
|
type DecodeAbiParametersReturnType<TParams extends readonly AbiParameter[] | readonly unknown[] = readonly AbiParameter[]> = AbiParametersToPrimitiveTypes<TParams extends readonly AbiParameter[] ? TParams : AbiParameter[]>;
|
5
5
|
declare function decodeAbiParameters<TParams extends readonly AbiParameter[] | readonly unknown[]>(params: Narrow<TParams>, data: Hex): DecodeAbiParametersReturnType<TParams>;
|
package/dist/index.d.ts
CHANGED
@@ -1,22 +1,20 @@
|
|
1
|
-
import { T as TransportConfig, a as Transport, B as BaseRpcRequests } from './createClient-
|
2
|
-
export { C as Client, b as ClientConfig, a as Transport, T as TransportConfig, c as createClient, d as createTransport } from './createClient-
|
3
|
-
import { B as BaseError, H as HttpOptions, R as RpcResponse } from './parseGwei-
|
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,
|
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';
|
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-
|
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-
|
8
|
-
export { B as BlockFormatter, F as FormattedBlock,
|
9
|
-
export { T as TestClient, a as TestClientConfig, c as createTestClient } from './test-
|
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';
|
10
10
|
import { AbiParameter } from 'abitype';
|
11
11
|
export { Address, ParseAbi, ParseAbiItem, ParseAbiParameter, ParseAbiParameters, parseAbi, parseAbiItem, parseAbiParameter, parseAbiParameters } from 'abitype';
|
12
12
|
export { l as labelhash, n as namehash } from './namehash-afff0feb.js';
|
13
|
-
export { D as DecodeAbiParametersReturnType, E as EncodeAbiParametersReturnType, G as GetAbiItemParameters, d as decodeAbiParameters, e as encodeAbiParameters, g as getAbiItem } from './getAbiItem-
|
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-
|
15
|
-
export { e as encodePacked } from './encodePacked-
|
16
|
-
export {
|
17
|
-
|
18
|
-
export { HDKey } from '@scure/bip32';
|
19
|
-
import './eip1193-ae706fd8.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';
|
20
18
|
import '@wagmi/chains';
|
21
19
|
|
22
20
|
declare class AbiConstructorNotFoundError extends BaseError {
|
package/dist/index.js
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
|
5
5
|
|
6
|
-
var
|
6
|
+
var _chunkZIT7BMZOjs = require('./chunk-ZIT7BMZO.js');
|
7
7
|
|
8
8
|
|
9
9
|
|
@@ -245,9 +245,7 @@ var _chunkLYQKHD7Rjs = require('./chunk-LYQKHD7R.js');
|
|
245
245
|
|
246
246
|
|
247
247
|
|
248
|
-
|
249
|
-
|
250
|
-
var _chunkNJSAEA2Hjs = require('./chunk-NJSAEA2H.js');
|
248
|
+
var _chunkBHAAXXGOjs = require('./chunk-BHAAXXGO.js');
|
251
249
|
|
252
250
|
// src/clients/transports/createTransport.ts
|
253
251
|
function createTransport({
|
@@ -261,7 +259,7 @@ function createTransport({
|
|
261
259
|
}, value) {
|
262
260
|
return {
|
263
261
|
config: { key, name, request, retryCount, retryDelay, timeout, type },
|
264
|
-
request:
|
262
|
+
request: _chunkBHAAXXGOjs.buildRequest.call(void 0, request, { retryCount, retryDelay }),
|
265
263
|
value
|
266
264
|
};
|
267
265
|
}
|
@@ -295,7 +293,7 @@ function fallback(transports, config = {}) {
|
|
295
293
|
params
|
296
294
|
});
|
297
295
|
} catch (err) {
|
298
|
-
if (
|
296
|
+
if (_chunkBHAAXXGOjs.isDeterministicError.call(void 0, err))
|
299
297
|
throw err;
|
300
298
|
if (i === transports.length - 1)
|
301
299
|
throw err;
|
@@ -329,13 +327,13 @@ function http(url, config = {}) {
|
|
329
327
|
const retryCount = _nullishCoalesce(config.retryCount, () => ( defaultRetryCount));
|
330
328
|
const url_ = url || _optionalChain([chain, 'optionalAccess', _ => _.rpcUrls, 'access', _2 => _2.default, 'access', _3 => _3.http, 'access', _4 => _4[0]]);
|
331
329
|
if (!url_)
|
332
|
-
throw new (0,
|
330
|
+
throw new (0, _chunkBHAAXXGOjs.UrlRequiredError)();
|
333
331
|
return createTransport(
|
334
332
|
{
|
335
333
|
key,
|
336
334
|
name,
|
337
335
|
async request({ method, params }) {
|
338
|
-
const { result } = await
|
336
|
+
const { result } = await _chunkBHAAXXGOjs.rpc.http(url_, {
|
339
337
|
body: {
|
340
338
|
method,
|
341
339
|
params
|
@@ -369,14 +367,14 @@ function webSocket(url, config = {}) {
|
|
369
367
|
const retryCount = _nullishCoalesce(config.retryCount, () => ( defaultRetryCount));
|
370
368
|
const url_ = url || _optionalChain([chain, 'optionalAccess', _5 => _5.rpcUrls, 'access', _6 => _6.default, 'access', _7 => _7.webSocket, 'optionalAccess', _8 => _8[0]]);
|
371
369
|
if (!url_)
|
372
|
-
throw new (0,
|
370
|
+
throw new (0, _chunkBHAAXXGOjs.UrlRequiredError)();
|
373
371
|
return createTransport(
|
374
372
|
{
|
375
373
|
key,
|
376
374
|
name,
|
377
375
|
async request({ method, params }) {
|
378
|
-
const socket = await
|
379
|
-
const { result } = await
|
376
|
+
const socket = await _chunkBHAAXXGOjs.getSocket.call(void 0, url_);
|
377
|
+
const { result } = await _chunkBHAAXXGOjs.rpc.webSocketAsync(socket, {
|
380
378
|
body: { method, params },
|
381
379
|
timeout
|
382
380
|
});
|
@@ -389,12 +387,12 @@ function webSocket(url, config = {}) {
|
|
389
387
|
},
|
390
388
|
{
|
391
389
|
getSocket() {
|
392
|
-
return
|
390
|
+
return _chunkBHAAXXGOjs.getSocket.call(void 0, url_);
|
393
391
|
},
|
394
392
|
async subscribe({ params, onData, onError }) {
|
395
|
-
const socket = await
|
393
|
+
const socket = await _chunkBHAAXXGOjs.getSocket.call(void 0, url_);
|
396
394
|
const { result: subscriptionId } = await new Promise(
|
397
|
-
(resolve, reject) =>
|
395
|
+
(resolve, reject) => _chunkBHAAXXGOjs.rpc.webSocket(socket, {
|
398
396
|
body: {
|
399
397
|
method: "eth_subscribe",
|
400
398
|
params
|
@@ -416,7 +414,7 @@ function webSocket(url, config = {}) {
|
|
416
414
|
subscriptionId,
|
417
415
|
async unsubscribe() {
|
418
416
|
return new Promise(
|
419
|
-
(resolve, reject) =>
|
417
|
+
(resolve, reject) => _chunkBHAAXXGOjs.rpc.webSocket(socket, {
|
420
418
|
body: {
|
421
419
|
method: "eth_unsubscribe",
|
422
420
|
params: [subscriptionId]
|
@@ -472,90 +470,90 @@ function createClient({
|
|
472
470
|
|
473
471
|
// src/clients/decorators/public.ts
|
474
472
|
var publicActions = (client) => ({
|
475
|
-
call: (args) =>
|
476
|
-
createBlockFilter: () =>
|
477
|
-
createContractEventFilter: (args) =>
|
478
|
-
createEventFilter: (args) =>
|
479
|
-
createPendingTransactionFilter: () =>
|
480
|
-
estimateContractGas: (args) =>
|
481
|
-
estimateGas: (args) =>
|
482
|
-
getBalance: (args) =>
|
483
|
-
getBlock: (args) =>
|
484
|
-
getBlockNumber: (args) =>
|
485
|
-
getBlockTransactionCount: (args) =>
|
486
|
-
getBytecode: (args) =>
|
487
|
-
getChainId: () =>
|
488
|
-
getEnsAddress: (args) =>
|
489
|
-
getEnsName: (args) =>
|
490
|
-
getFeeHistory: (args) =>
|
491
|
-
getFilterChanges: (args) =>
|
492
|
-
getFilterLogs: (args) =>
|
493
|
-
getGasPrice: () =>
|
494
|
-
getLogs: (args) =>
|
495
|
-
getStorageAt: (args) =>
|
496
|
-
getTransaction: (args) =>
|
497
|
-
getTransactionConfirmations: (args) =>
|
498
|
-
getTransactionCount: (args) =>
|
499
|
-
getTransactionReceipt: (args) =>
|
500
|
-
multicall: (args) =>
|
501
|
-
readContract: (args) =>
|
502
|
-
simulateContract: (args) =>
|
503
|
-
uninstallFilter: (args) =>
|
504
|
-
waitForTransactionReceipt: (args) =>
|
505
|
-
watchBlocks: (args) =>
|
506
|
-
watchBlockNumber: (args) =>
|
507
|
-
watchContractEvent: (args) =>
|
508
|
-
watchEvent: (args) =>
|
509
|
-
watchPendingTransactions: (args) =>
|
473
|
+
call: (args) => _chunkBHAAXXGOjs.call.call(void 0, client, args),
|
474
|
+
createBlockFilter: () => _chunkBHAAXXGOjs.createBlockFilter.call(void 0, client),
|
475
|
+
createContractEventFilter: (args) => _chunkBHAAXXGOjs.createContractEventFilter.call(void 0, client, args),
|
476
|
+
createEventFilter: (args) => _chunkBHAAXXGOjs.createEventFilter.call(void 0, client, args),
|
477
|
+
createPendingTransactionFilter: () => _chunkBHAAXXGOjs.createPendingTransactionFilter.call(void 0, client),
|
478
|
+
estimateContractGas: (args) => _chunkBHAAXXGOjs.estimateContractGas.call(void 0, client, args),
|
479
|
+
estimateGas: (args) => _chunkBHAAXXGOjs.estimateGas.call(void 0, client, args),
|
480
|
+
getBalance: (args) => _chunkBHAAXXGOjs.getBalance.call(void 0, client, args),
|
481
|
+
getBlock: (args) => _chunkBHAAXXGOjs.getBlock.call(void 0, client, args),
|
482
|
+
getBlockNumber: (args) => _chunkBHAAXXGOjs.getBlockNumber.call(void 0, client, args),
|
483
|
+
getBlockTransactionCount: (args) => _chunkBHAAXXGOjs.getBlockTransactionCount.call(void 0, client, args),
|
484
|
+
getBytecode: (args) => _chunkBHAAXXGOjs.getBytecode.call(void 0, client, args),
|
485
|
+
getChainId: () => _chunkBHAAXXGOjs.getChainId.call(void 0, client),
|
486
|
+
getEnsAddress: (args) => _chunkZIT7BMZOjs.getEnsAddress.call(void 0, client, args),
|
487
|
+
getEnsName: (args) => _chunkZIT7BMZOjs.getEnsName.call(void 0, client, args),
|
488
|
+
getFeeHistory: (args) => _chunkBHAAXXGOjs.getFeeHistory.call(void 0, client, args),
|
489
|
+
getFilterChanges: (args) => _chunkBHAAXXGOjs.getFilterChanges.call(void 0, client, args),
|
490
|
+
getFilterLogs: (args) => _chunkBHAAXXGOjs.getFilterLogs.call(void 0, client, args),
|
491
|
+
getGasPrice: () => _chunkBHAAXXGOjs.getGasPrice.call(void 0, client),
|
492
|
+
getLogs: (args) => _chunkBHAAXXGOjs.getLogs.call(void 0, client, args),
|
493
|
+
getStorageAt: (args) => _chunkBHAAXXGOjs.getStorageAt.call(void 0, client, args),
|
494
|
+
getTransaction: (args) => _chunkBHAAXXGOjs.getTransaction.call(void 0, client, args),
|
495
|
+
getTransactionConfirmations: (args) => _chunkBHAAXXGOjs.getTransactionConfirmations.call(void 0, client, args),
|
496
|
+
getTransactionCount: (args) => _chunkBHAAXXGOjs.getTransactionCount.call(void 0, client, args),
|
497
|
+
getTransactionReceipt: (args) => _chunkBHAAXXGOjs.getTransactionReceipt.call(void 0, client, args),
|
498
|
+
multicall: (args) => _chunkBHAAXXGOjs.multicall.call(void 0, client, args),
|
499
|
+
readContract: (args) => _chunkBHAAXXGOjs.readContract.call(void 0, client, args),
|
500
|
+
simulateContract: (args) => _chunkBHAAXXGOjs.simulateContract.call(void 0, client, args),
|
501
|
+
uninstallFilter: (args) => _chunkBHAAXXGOjs.uninstallFilter.call(void 0, client, args),
|
502
|
+
waitForTransactionReceipt: (args) => _chunkBHAAXXGOjs.waitForTransactionReceipt.call(void 0, client, args),
|
503
|
+
watchBlocks: (args) => _chunkBHAAXXGOjs.watchBlocks.call(void 0, client, args),
|
504
|
+
watchBlockNumber: (args) => _chunkBHAAXXGOjs.watchBlockNumber.call(void 0, client, args),
|
505
|
+
watchContractEvent: (args) => _chunkBHAAXXGOjs.watchContractEvent.call(void 0, client, args),
|
506
|
+
watchEvent: (args) => _chunkBHAAXXGOjs.watchEvent.call(void 0, client, args),
|
507
|
+
watchPendingTransactions: (args) => _chunkBHAAXXGOjs.watchPendingTransactions.call(void 0, client, args)
|
510
508
|
});
|
511
509
|
|
512
510
|
// src/clients/decorators/test.ts
|
513
511
|
var testActions = (client) => ({
|
514
|
-
dropTransaction: (args) =>
|
515
|
-
getAutomine: () =>
|
516
|
-
getTxpoolContent: () =>
|
517
|
-
getTxpoolStatus: () =>
|
518
|
-
impersonateAccount: (args) =>
|
519
|
-
increaseTime: (args) =>
|
520
|
-
inspectTxpool: () =>
|
521
|
-
mine: (args) =>
|
522
|
-
removeBlockTimestampInterval: () =>
|
523
|
-
reset: (args) =>
|
524
|
-
revert: (args) =>
|
525
|
-
sendUnsignedTransaction: (args) =>
|
526
|
-
setAutomine: (args) =>
|
527
|
-
setBalance: (args) =>
|
528
|
-
setBlockGasLimit: (args) =>
|
529
|
-
setBlockTimestampInterval: (args) =>
|
530
|
-
setCode: (args) =>
|
531
|
-
setCoinbase: (args) =>
|
532
|
-
setIntervalMining: (args) =>
|
533
|
-
setLoggingEnabled: (args) =>
|
534
|
-
setMinGasPrice: (args) =>
|
535
|
-
setNextBlockBaseFeePerGas: (args) =>
|
536
|
-
setNextBlockTimestamp: (args) =>
|
537
|
-
setNonce: (args) =>
|
538
|
-
setRpcUrl: (args) =>
|
539
|
-
setStorageAt: (args) =>
|
540
|
-
snapshot: () =>
|
541
|
-
stopImpersonatingAccount: (args) =>
|
512
|
+
dropTransaction: (args) => _chunkBHAAXXGOjs.dropTransaction.call(void 0, client, args),
|
513
|
+
getAutomine: () => _chunkBHAAXXGOjs.getAutomine.call(void 0, client),
|
514
|
+
getTxpoolContent: () => _chunkBHAAXXGOjs.getTxpoolContent.call(void 0, client),
|
515
|
+
getTxpoolStatus: () => _chunkBHAAXXGOjs.getTxpoolStatus.call(void 0, client),
|
516
|
+
impersonateAccount: (args) => _chunkBHAAXXGOjs.impersonateAccount.call(void 0, client, args),
|
517
|
+
increaseTime: (args) => _chunkBHAAXXGOjs.increaseTime.call(void 0, client, args),
|
518
|
+
inspectTxpool: () => _chunkBHAAXXGOjs.inspectTxpool.call(void 0, client),
|
519
|
+
mine: (args) => _chunkBHAAXXGOjs.mine.call(void 0, client, args),
|
520
|
+
removeBlockTimestampInterval: () => _chunkBHAAXXGOjs.removeBlockTimestampInterval.call(void 0, client),
|
521
|
+
reset: (args) => _chunkBHAAXXGOjs.reset.call(void 0, client, args),
|
522
|
+
revert: (args) => _chunkBHAAXXGOjs.revert.call(void 0, client, args),
|
523
|
+
sendUnsignedTransaction: (args) => _chunkBHAAXXGOjs.sendUnsignedTransaction.call(void 0, client, args),
|
524
|
+
setAutomine: (args) => _chunkBHAAXXGOjs.setAutomine.call(void 0, client, args),
|
525
|
+
setBalance: (args) => _chunkBHAAXXGOjs.setBalance.call(void 0, client, args),
|
526
|
+
setBlockGasLimit: (args) => _chunkBHAAXXGOjs.setBlockGasLimit.call(void 0, client, args),
|
527
|
+
setBlockTimestampInterval: (args) => _chunkBHAAXXGOjs.setBlockTimestampInterval.call(void 0, client, args),
|
528
|
+
setCode: (args) => _chunkBHAAXXGOjs.setCode.call(void 0, client, args),
|
529
|
+
setCoinbase: (args) => _chunkBHAAXXGOjs.setCoinbase.call(void 0, client, args),
|
530
|
+
setIntervalMining: (args) => _chunkBHAAXXGOjs.setIntervalMining.call(void 0, client, args),
|
531
|
+
setLoggingEnabled: (args) => _chunkBHAAXXGOjs.setLoggingEnabled.call(void 0, client, args),
|
532
|
+
setMinGasPrice: (args) => _chunkBHAAXXGOjs.setMinGasPrice.call(void 0, client, args),
|
533
|
+
setNextBlockBaseFeePerGas: (args) => _chunkBHAAXXGOjs.setNextBlockBaseFeePerGas.call(void 0, client, args),
|
534
|
+
setNextBlockTimestamp: (args) => _chunkBHAAXXGOjs.setNextBlockTimestamp.call(void 0, client, args),
|
535
|
+
setNonce: (args) => _chunkBHAAXXGOjs.setNonce.call(void 0, client, args),
|
536
|
+
setRpcUrl: (args) => _chunkBHAAXXGOjs.setRpcUrl.call(void 0, client, args),
|
537
|
+
setStorageAt: (args) => _chunkBHAAXXGOjs.setStorageAt.call(void 0, client, args),
|
538
|
+
snapshot: () => _chunkBHAAXXGOjs.snapshot.call(void 0, client),
|
539
|
+
stopImpersonatingAccount: (args) => _chunkBHAAXXGOjs.stopImpersonatingAccount.call(void 0, client, args)
|
542
540
|
});
|
543
541
|
|
544
542
|
// src/clients/decorators/wallet.ts
|
545
543
|
var walletActions = (client) => ({
|
546
|
-
addChain: (args) =>
|
547
|
-
deployContract: (args) =>
|
548
|
-
getAddresses: () =>
|
549
|
-
getChainId: () =>
|
550
|
-
getPermissions: () =>
|
551
|
-
requestAddresses: () =>
|
552
|
-
requestPermissions: (args) =>
|
553
|
-
sendTransaction: (args) =>
|
554
|
-
signMessage: (args) =>
|
555
|
-
signTypedData: (args) =>
|
556
|
-
switchChain: (args) =>
|
557
|
-
watchAsset: (args) =>
|
558
|
-
writeContract: (args) =>
|
544
|
+
addChain: (args) => _chunkBHAAXXGOjs.addChain.call(void 0, client, args),
|
545
|
+
deployContract: (args) => _chunkBHAAXXGOjs.deployContract.call(void 0, client, args),
|
546
|
+
getAddresses: () => _chunkBHAAXXGOjs.getAddresses.call(void 0, client),
|
547
|
+
getChainId: () => _chunkBHAAXXGOjs.getChainId.call(void 0, client),
|
548
|
+
getPermissions: () => _chunkBHAAXXGOjs.getPermissions.call(void 0, client),
|
549
|
+
requestAddresses: () => _chunkBHAAXXGOjs.requestAddresses.call(void 0, client),
|
550
|
+
requestPermissions: (args) => _chunkBHAAXXGOjs.requestPermissions.call(void 0, client, args),
|
551
|
+
sendTransaction: (args) => _chunkBHAAXXGOjs.sendTransaction.call(void 0, client, args),
|
552
|
+
signMessage: (args) => _chunkBHAAXXGOjs.signMessage.call(void 0, client, args),
|
553
|
+
signTypedData: (args) => _chunkBHAAXXGOjs.signTypedData.call(void 0, client, args),
|
554
|
+
switchChain: (args) => _chunkBHAAXXGOjs.switchChain.call(void 0, client, args),
|
555
|
+
watchAsset: (args) => _chunkBHAAXXGOjs.watchAsset.call(void 0, client, args),
|
556
|
+
writeContract: (args) => _chunkBHAAXXGOjs.writeContract.call(void 0, client, args)
|
559
557
|
});
|
560
558
|
|
561
559
|
// src/clients/createPublicClient.ts
|
@@ -608,14 +606,13 @@ function createTestClient({
|
|
608
606
|
|
609
607
|
// src/clients/createWalletClient.ts
|
610
608
|
function createWalletClient({
|
611
|
-
account,
|
612
609
|
chain,
|
613
610
|
transport,
|
614
611
|
key = "wallet",
|
615
612
|
name = "Wallet Client",
|
616
613
|
pollingInterval
|
617
614
|
}) {
|
618
|
-
const
|
615
|
+
const client = createClient({
|
619
616
|
chain,
|
620
617
|
key,
|
621
618
|
name,
|
@@ -623,10 +620,6 @@ function createWalletClient({
|
|
623
620
|
transport: () => transport({ retryCount: 0 }),
|
624
621
|
type: "walletClient"
|
625
622
|
});
|
626
|
-
const client = {
|
627
|
-
account: account ? _chunkNJSAEA2Hjs.parseAccount.call(void 0, account) : void 0,
|
628
|
-
...baseClient
|
629
|
-
};
|
630
623
|
return {
|
631
624
|
...client,
|
632
625
|
...walletActions(client)
|
@@ -807,6 +800,5 @@ function createWalletClient({
|
|
807
800
|
|
808
801
|
|
809
802
|
|
810
|
-
|
811
|
-
exports.AbiConstructorNotFoundError = _chunkNJSAEA2Hjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkNJSAEA2Hjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkNJSAEA2Hjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkNJSAEA2Hjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkNJSAEA2Hjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkNJSAEA2Hjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkNJSAEA2Hjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkNJSAEA2Hjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkNJSAEA2Hjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkNJSAEA2Hjs.AbiEventNotFoundError; exports.AbiEventSignatureEmptyTopicsError = _chunkNJSAEA2Hjs.AbiEventSignatureEmptyTopicsError; exports.AbiEventSignatureNotFoundError = _chunkNJSAEA2Hjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkNJSAEA2Hjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkNJSAEA2Hjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkNJSAEA2Hjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkNJSAEA2Hjs.BaseError; exports.BlockNotFoundError = _chunkNJSAEA2Hjs.BlockNotFoundError; exports.CallExecutionError = _chunkNJSAEA2Hjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkNJSAEA2Hjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkNJSAEA2Hjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkNJSAEA2Hjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkNJSAEA2Hjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkNJSAEA2Hjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkNJSAEA2Hjs.DataLengthTooShortError; exports.DecodeLogTopicsMismatch = _chunkNJSAEA2Hjs.DecodeLogTopicsMismatch; exports.EstimateGasExecutionError = _chunkNJSAEA2Hjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkNJSAEA2Hjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkNJSAEA2Hjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkNJSAEA2Hjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkNJSAEA2Hjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkNJSAEA2Hjs.HttpRequestError; exports.InsufficientFundsError = _chunkNJSAEA2Hjs.InsufficientFundsError; exports.InternalRpcError = _chunkNJSAEA2Hjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkNJSAEA2Hjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkNJSAEA2Hjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkNJSAEA2Hjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkNJSAEA2Hjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkNJSAEA2Hjs.InvalidAddressError; exports.InvalidArrayError = _chunkNJSAEA2Hjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkNJSAEA2Hjs.InvalidBytesBooleanError; exports.InvalidDefinitionTypeError = _chunkNJSAEA2Hjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkNJSAEA2Hjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkNJSAEA2Hjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkNJSAEA2Hjs.InvalidInputRpcError; exports.InvalidParamsRpcError = _chunkNJSAEA2Hjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkNJSAEA2Hjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkNJSAEA2Hjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkNJSAEA2Hjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkNJSAEA2Hjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkNJSAEA2Hjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkNJSAEA2Hjs.NonceMaxValueError; exports.NonceTooHighError = _chunkNJSAEA2Hjs.NonceTooHighError; exports.NonceTooLowError = _chunkNJSAEA2Hjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkNJSAEA2Hjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkNJSAEA2Hjs.ParseRpcError; exports.RawContractError = _chunkNJSAEA2Hjs.RawContractError; exports.RequestError = _chunkNJSAEA2Hjs.RequestError; exports.ResourceNotFoundRpcError = _chunkNJSAEA2Hjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkNJSAEA2Hjs.ResourceUnavailableRpcError; exports.RpcError = _chunkNJSAEA2Hjs.RpcError; exports.RpcRequestError = _chunkNJSAEA2Hjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkNJSAEA2Hjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkNJSAEA2Hjs.SwitchChainError; exports.TimeoutError = _chunkNJSAEA2Hjs.TimeoutError; exports.TipAboveFeeCapError = _chunkNJSAEA2Hjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkNJSAEA2Hjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkNJSAEA2Hjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkNJSAEA2Hjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkNJSAEA2Hjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkNJSAEA2Hjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkNJSAEA2Hjs.UnknownNodeError; exports.UnknownRpcError = _chunkNJSAEA2Hjs.UnknownRpcError; exports.UrlRequiredError = _chunkNJSAEA2Hjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkNJSAEA2Hjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkNJSAEA2Hjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkNJSAEA2Hjs.WebSocketRequestError; exports.boolToBytes = _chunkNJSAEA2Hjs.boolToBytes; exports.boolToHex = _chunkNJSAEA2Hjs.boolToHex; exports.bytesToBigint = _chunkNJSAEA2Hjs.bytesToBigint; exports.bytesToBool = _chunkNJSAEA2Hjs.bytesToBool; exports.bytesToHex = _chunkNJSAEA2Hjs.bytesToHex; exports.bytesToNumber = _chunkNJSAEA2Hjs.bytesToNumber; exports.bytesToString = _chunkNJSAEA2Hjs.bytesToString; exports.concat = _chunkNJSAEA2Hjs.concat; exports.concatBytes = _chunkNJSAEA2Hjs.concatBytes; exports.concatHex = _chunkNJSAEA2Hjs.concatHex; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkNJSAEA2Hjs.decodeAbiParameters; exports.decodeErrorResult = _chunkNJSAEA2Hjs.decodeErrorResult; exports.decodeEventLog = _chunkNJSAEA2Hjs.decodeEventLog; exports.decodeFunctionData = _chunkNJSAEA2Hjs.decodeFunctionData; exports.decodeFunctionResult = _chunkNJSAEA2Hjs.decodeFunctionResult; exports.defineBlock = _chunkNJSAEA2Hjs.defineBlock; exports.defineChain = _chunkNJSAEA2Hjs.defineChain; exports.defineTransaction = _chunkNJSAEA2Hjs.defineTransaction; exports.defineTransactionReceipt = _chunkNJSAEA2Hjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkNJSAEA2Hjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkNJSAEA2Hjs.encodeAbiParameters; exports.encodeDeployData = _chunkNJSAEA2Hjs.encodeDeployData; exports.encodeErrorResult = _chunkNJSAEA2Hjs.encodeErrorResult; exports.encodeEventTopics = _chunkNJSAEA2Hjs.encodeEventTopics; exports.encodeFunctionData = _chunkNJSAEA2Hjs.encodeFunctionData; exports.encodeFunctionResult = _chunkNJSAEA2Hjs.encodeFunctionResult; exports.encodePacked = _chunkNJSAEA2Hjs.encodePacked; exports.etherUnits = _chunkNJSAEA2Hjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkNJSAEA2Hjs.formatBlock; exports.formatEther = _chunkNJSAEA2Hjs.formatEther; exports.formatGwei = _chunkNJSAEA2Hjs.formatGwei; exports.formatTransaction = _chunkNJSAEA2Hjs.formatTransaction; exports.formatTransactionRequest = _chunkNJSAEA2Hjs.formatTransactionRequest; exports.formatUnits = _chunkNJSAEA2Hjs.formatUnits; exports.fromBytes = _chunkNJSAEA2Hjs.fromBytes; exports.fromHex = _chunkNJSAEA2Hjs.fromHex; exports.fromRlp = _chunkNJSAEA2Hjs.fromRlp; exports.getAbiItem = _chunkNJSAEA2Hjs.getAbiItem; exports.getAddress = _chunkNJSAEA2Hjs.getAddress; exports.getContractAddress = _chunkNJSAEA2Hjs.getContractAddress; exports.getContractError = _chunkNJSAEA2Hjs.getContractError; exports.getCreate2Address = _chunkNJSAEA2Hjs.getCreate2Address; exports.getCreateAddress = _chunkNJSAEA2Hjs.getCreateAddress; exports.getEventSelector = _chunkNJSAEA2Hjs.getEventSelector; exports.getFunctionSelector = _chunkNJSAEA2Hjs.getFunctionSelector; exports.gweiUnits = _chunkNJSAEA2Hjs.gweiUnits; exports.hashMessage = _chunkNJSAEA2Hjs.hashMessage; exports.hashTypedData = _chunkNJSAEA2Hjs.hashTypedData; exports.hexToBigInt = _chunkNJSAEA2Hjs.hexToBigInt; exports.hexToBool = _chunkNJSAEA2Hjs.hexToBool; exports.hexToBytes = _chunkNJSAEA2Hjs.hexToBytes; exports.hexToNumber = _chunkNJSAEA2Hjs.hexToNumber; exports.hexToString = _chunkNJSAEA2Hjs.hexToString; exports.http = http; exports.isAddress = _chunkNJSAEA2Hjs.isAddress; exports.isAddressEqual = _chunkNJSAEA2Hjs.isAddressEqual; exports.isBytes = _chunkNJSAEA2Hjs.isBytes; exports.isHex = _chunkNJSAEA2Hjs.isHex; exports.keccak256 = _chunkNJSAEA2Hjs.keccak256; exports.labelhash = _chunkLYQKHD7Rjs.labelhash; exports.multicall3Abi = _chunkNJSAEA2Hjs.multicall3Abi; exports.namehash = _chunkLYQKHD7Rjs.namehash; exports.numberToBytes = _chunkNJSAEA2Hjs.numberToBytes; exports.numberToHex = _chunkNJSAEA2Hjs.numberToHex; exports.pad = _chunkNJSAEA2Hjs.pad; exports.padBytes = _chunkNJSAEA2Hjs.padBytes; exports.padHex = _chunkNJSAEA2Hjs.padHex; exports.parseAbi = _chunkNJSAEA2Hjs.parseAbi; exports.parseAbiItem = _chunkNJSAEA2Hjs.parseAbiItem; exports.parseAbiParameter = _chunkNJSAEA2Hjs.parseAbiParameter; exports.parseAbiParameters = _chunkNJSAEA2Hjs.parseAbiParameters; exports.parseEther = _chunkNJSAEA2Hjs.parseEther; exports.parseGwei = _chunkNJSAEA2Hjs.parseGwei; exports.parseUnits = _chunkNJSAEA2Hjs.parseUnits; exports.recoverAddress = _chunkNJSAEA2Hjs.recoverAddress; exports.recoverMessageAddress = _chunkNJSAEA2Hjs.recoverMessageAddress; exports.size = _chunkNJSAEA2Hjs.size; exports.slice = _chunkNJSAEA2Hjs.slice; exports.sliceBytes = _chunkNJSAEA2Hjs.sliceBytes; exports.sliceHex = _chunkNJSAEA2Hjs.sliceHex; exports.stringToBytes = _chunkNJSAEA2Hjs.stringToBytes; exports.stringToHex = _chunkNJSAEA2Hjs.stringToHex; exports.stringify = _chunkNJSAEA2Hjs.stringify; exports.toBytes = _chunkNJSAEA2Hjs.toBytes; exports.toHex = _chunkNJSAEA2Hjs.toHex; exports.toRlp = _chunkNJSAEA2Hjs.toRlp; exports.transactionType = _chunkNJSAEA2Hjs.transactionType; exports.trim = _chunkNJSAEA2Hjs.trim; exports.validateTypedData = _chunkNJSAEA2Hjs.validateTypedData; exports.verifyMessage = _chunkNJSAEA2Hjs.verifyMessage; exports.webSocket = webSocket; exports.weiUnits = _chunkNJSAEA2Hjs.weiUnits;
|
803
|
+
exports.AbiConstructorNotFoundError = _chunkBHAAXXGOjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkBHAAXXGOjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkBHAAXXGOjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkBHAAXXGOjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkBHAAXXGOjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkBHAAXXGOjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkBHAAXXGOjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkBHAAXXGOjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkBHAAXXGOjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkBHAAXXGOjs.AbiEventNotFoundError; exports.AbiEventSignatureEmptyTopicsError = _chunkBHAAXXGOjs.AbiEventSignatureEmptyTopicsError; exports.AbiEventSignatureNotFoundError = _chunkBHAAXXGOjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkBHAAXXGOjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkBHAAXXGOjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkBHAAXXGOjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkBHAAXXGOjs.BaseError; exports.BlockNotFoundError = _chunkBHAAXXGOjs.BlockNotFoundError; exports.CallExecutionError = _chunkBHAAXXGOjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkBHAAXXGOjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkBHAAXXGOjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkBHAAXXGOjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkBHAAXXGOjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkBHAAXXGOjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkBHAAXXGOjs.DataLengthTooShortError; exports.DecodeLogTopicsMismatch = _chunkBHAAXXGOjs.DecodeLogTopicsMismatch; exports.EstimateGasExecutionError = _chunkBHAAXXGOjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkBHAAXXGOjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkBHAAXXGOjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkBHAAXXGOjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkBHAAXXGOjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkBHAAXXGOjs.HttpRequestError; exports.InsufficientFundsError = _chunkBHAAXXGOjs.InsufficientFundsError; exports.InternalRpcError = _chunkBHAAXXGOjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkBHAAXXGOjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkBHAAXXGOjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkBHAAXXGOjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkBHAAXXGOjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkBHAAXXGOjs.InvalidAddressError; exports.InvalidArrayError = _chunkBHAAXXGOjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkBHAAXXGOjs.InvalidBytesBooleanError; exports.InvalidDefinitionTypeError = _chunkBHAAXXGOjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkBHAAXXGOjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkBHAAXXGOjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkBHAAXXGOjs.InvalidInputRpcError; exports.InvalidParamsRpcError = _chunkBHAAXXGOjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkBHAAXXGOjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkBHAAXXGOjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkBHAAXXGOjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkBHAAXXGOjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkBHAAXXGOjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkBHAAXXGOjs.NonceMaxValueError; exports.NonceTooHighError = _chunkBHAAXXGOjs.NonceTooHighError; exports.NonceTooLowError = _chunkBHAAXXGOjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkBHAAXXGOjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkBHAAXXGOjs.ParseRpcError; exports.RawContractError = _chunkBHAAXXGOjs.RawContractError; exports.RequestError = _chunkBHAAXXGOjs.RequestError; exports.ResourceNotFoundRpcError = _chunkBHAAXXGOjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkBHAAXXGOjs.ResourceUnavailableRpcError; exports.RpcError = _chunkBHAAXXGOjs.RpcError; exports.RpcRequestError = _chunkBHAAXXGOjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkBHAAXXGOjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkBHAAXXGOjs.SwitchChainError; exports.TimeoutError = _chunkBHAAXXGOjs.TimeoutError; exports.TipAboveFeeCapError = _chunkBHAAXXGOjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkBHAAXXGOjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkBHAAXXGOjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkBHAAXXGOjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkBHAAXXGOjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkBHAAXXGOjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkBHAAXXGOjs.UnknownNodeError; exports.UnknownRpcError = _chunkBHAAXXGOjs.UnknownRpcError; exports.UrlRequiredError = _chunkBHAAXXGOjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkBHAAXXGOjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkBHAAXXGOjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkBHAAXXGOjs.WebSocketRequestError; exports.boolToBytes = _chunkBHAAXXGOjs.boolToBytes; exports.boolToHex = _chunkBHAAXXGOjs.boolToHex; exports.bytesToBigint = _chunkBHAAXXGOjs.bytesToBigint; exports.bytesToBool = _chunkBHAAXXGOjs.bytesToBool; exports.bytesToHex = _chunkBHAAXXGOjs.bytesToHex; exports.bytesToNumber = _chunkBHAAXXGOjs.bytesToNumber; exports.bytesToString = _chunkBHAAXXGOjs.bytesToString; exports.concat = _chunkBHAAXXGOjs.concat; exports.concatBytes = _chunkBHAAXXGOjs.concatBytes; exports.concatHex = _chunkBHAAXXGOjs.concatHex; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkBHAAXXGOjs.decodeAbiParameters; exports.decodeErrorResult = _chunkBHAAXXGOjs.decodeErrorResult; exports.decodeEventLog = _chunkBHAAXXGOjs.decodeEventLog; exports.decodeFunctionData = _chunkBHAAXXGOjs.decodeFunctionData; exports.decodeFunctionResult = _chunkBHAAXXGOjs.decodeFunctionResult; exports.defineBlock = _chunkBHAAXXGOjs.defineBlock; exports.defineChain = _chunkBHAAXXGOjs.defineChain; exports.defineTransaction = _chunkBHAAXXGOjs.defineTransaction; exports.defineTransactionReceipt = _chunkBHAAXXGOjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkBHAAXXGOjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkBHAAXXGOjs.encodeAbiParameters; exports.encodeDeployData = _chunkBHAAXXGOjs.encodeDeployData; exports.encodeErrorResult = _chunkBHAAXXGOjs.encodeErrorResult; exports.encodeEventTopics = _chunkBHAAXXGOjs.encodeEventTopics; exports.encodeFunctionData = _chunkBHAAXXGOjs.encodeFunctionData; exports.encodeFunctionResult = _chunkBHAAXXGOjs.encodeFunctionResult; exports.encodePacked = _chunkBHAAXXGOjs.encodePacked; exports.etherUnits = _chunkBHAAXXGOjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkBHAAXXGOjs.formatBlock; exports.formatEther = _chunkBHAAXXGOjs.formatEther; exports.formatGwei = _chunkBHAAXXGOjs.formatGwei; exports.formatTransaction = _chunkBHAAXXGOjs.formatTransaction; exports.formatTransactionRequest = _chunkBHAAXXGOjs.formatTransactionRequest; exports.formatUnits = _chunkBHAAXXGOjs.formatUnits; exports.fromBytes = _chunkBHAAXXGOjs.fromBytes; exports.fromHex = _chunkBHAAXXGOjs.fromHex; exports.fromRlp = _chunkBHAAXXGOjs.fromRlp; exports.getAbiItem = _chunkBHAAXXGOjs.getAbiItem; exports.getAccount = _chunkBHAAXXGOjs.getAccount; exports.getAddress = _chunkBHAAXXGOjs.getAddress; exports.getContractAddress = _chunkBHAAXXGOjs.getContractAddress; exports.getContractError = _chunkBHAAXXGOjs.getContractError; exports.getCreate2Address = _chunkBHAAXXGOjs.getCreate2Address; exports.getCreateAddress = _chunkBHAAXXGOjs.getCreateAddress; exports.getEventSelector = _chunkBHAAXXGOjs.getEventSelector; exports.getFunctionSelector = _chunkBHAAXXGOjs.getFunctionSelector; exports.gweiUnits = _chunkBHAAXXGOjs.gweiUnits; exports.hashMessage = _chunkBHAAXXGOjs.hashMessage; exports.hexToBigInt = _chunkBHAAXXGOjs.hexToBigInt; exports.hexToBool = _chunkBHAAXXGOjs.hexToBool; exports.hexToBytes = _chunkBHAAXXGOjs.hexToBytes; exports.hexToNumber = _chunkBHAAXXGOjs.hexToNumber; exports.hexToString = _chunkBHAAXXGOjs.hexToString; exports.http = http; exports.isAddress = _chunkBHAAXXGOjs.isAddress; exports.isAddressEqual = _chunkBHAAXXGOjs.isAddressEqual; exports.isBytes = _chunkBHAAXXGOjs.isBytes; exports.isHex = _chunkBHAAXXGOjs.isHex; exports.keccak256 = _chunkBHAAXXGOjs.keccak256; exports.labelhash = _chunkZIT7BMZOjs.labelhash; exports.multicall3Abi = _chunkBHAAXXGOjs.multicall3Abi; exports.namehash = _chunkZIT7BMZOjs.namehash; exports.numberToBytes = _chunkBHAAXXGOjs.numberToBytes; exports.numberToHex = _chunkBHAAXXGOjs.numberToHex; exports.pad = _chunkBHAAXXGOjs.pad; exports.padBytes = _chunkBHAAXXGOjs.padBytes; exports.padHex = _chunkBHAAXXGOjs.padHex; exports.parseAbi = _chunkBHAAXXGOjs.parseAbi; exports.parseAbiItem = _chunkBHAAXXGOjs.parseAbiItem; exports.parseAbiParameter = _chunkBHAAXXGOjs.parseAbiParameter; exports.parseAbiParameters = _chunkBHAAXXGOjs.parseAbiParameters; exports.parseEther = _chunkBHAAXXGOjs.parseEther; exports.parseGwei = _chunkBHAAXXGOjs.parseGwei; exports.parseUnits = _chunkBHAAXXGOjs.parseUnits; exports.recoverAddress = _chunkBHAAXXGOjs.recoverAddress; exports.recoverMessageAddress = _chunkBHAAXXGOjs.recoverMessageAddress; exports.size = _chunkBHAAXXGOjs.size; exports.slice = _chunkBHAAXXGOjs.slice; exports.sliceBytes = _chunkBHAAXXGOjs.sliceBytes; exports.sliceHex = _chunkBHAAXXGOjs.sliceHex; exports.stringToBytes = _chunkBHAAXXGOjs.stringToBytes; exports.stringToHex = _chunkBHAAXXGOjs.stringToHex; exports.stringify = _chunkBHAAXXGOjs.stringify; exports.toBytes = _chunkBHAAXXGOjs.toBytes; exports.toHex = _chunkBHAAXXGOjs.toHex; exports.toRlp = _chunkBHAAXXGOjs.toRlp; exports.transactionType = _chunkBHAAXXGOjs.transactionType; exports.trim = _chunkBHAAXXGOjs.trim; exports.verifyMessage = _chunkBHAAXXGOjs.verifyMessage; exports.webSocket = webSocket; exports.weiUnits = _chunkBHAAXXGOjs.weiUnits;
|
812
804
|
//# sourceMappingURL=index.js.map
|