viem 0.2.3 → 0.2.5
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.js +2 -2
- package/dist/abi.mjs +1 -1
- package/dist/accounts/index.d.ts +10 -19
- package/dist/accounts/index.js +29 -38
- package/dist/accounts/index.js.map +1 -1
- package/dist/accounts/index.mjs +22 -31
- package/dist/accounts/index.mjs.map +1 -1
- package/dist/chains.js +89 -89
- package/dist/chains.mjs +1 -1
- package/dist/{chunk-ZM26BDGF.mjs → chunk-2QM6UMZ2.mjs} +8 -3
- package/dist/{chunk-ZM26BDGF.mjs.map → chunk-2QM6UMZ2.mjs.map} +1 -1
- package/dist/{chunk-TXGT3ARS.js → chunk-7MFQVE5P.js} +6 -6
- package/dist/{chunk-FYMFYRJQ.mjs → chunk-LLPICH7U.mjs} +2 -2
- package/dist/{chunk-E6JLGC6W.js → chunk-QWBI757J.js} +8 -3
- package/dist/chunk-QWBI757J.js.map +1 -0
- package/dist/contract.d.ts +1 -1
- package/dist/contract.js +2 -2
- package/dist/contract.mjs +1 -1
- package/dist/ens.d.ts +1 -1
- package/dist/ens.js +2 -2
- package/dist/ens.mjs +1 -1
- package/dist/ethers.js +4 -4
- package/dist/ethers.mjs +2 -2
- package/dist/{getEnsResolver-9e26c596.d.ts → getEnsResolver-ce85735b.d.ts} +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +94 -94
- package/dist/index.mjs +1 -1
- package/dist/{parseGwei-d2147f8b.d.ts → parseGwei-280a3ff7.d.ts} +1 -1
- package/dist/public.d.ts +1 -1
- package/dist/public.js +2 -2
- package/dist/public.mjs +1 -1
- package/dist/test.js +2 -2
- package/dist/test.mjs +1 -1
- package/dist/utils/index.d.ts +4 -4
- package/dist/utils/index.js +2 -2
- package/dist/utils/index.mjs +1 -1
- package/dist/wallet.d.ts +1 -1
- package/dist/wallet.js +2 -2
- package/dist/wallet.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-E6JLGC6W.js.map +0 -1
- /package/dist/{chunk-TXGT3ARS.js.map → chunk-7MFQVE5P.js.map} +0 -0
- /package/dist/{chunk-FYMFYRJQ.mjs.map → chunk-LLPICH7U.mjs.map} +0 -0
package/dist/contract.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
export { D as DecodeAbiParametersReturnType, E as EncodeAbiParametersReturnType, G as GetAbiItemParameters, d as decodeAbiParameters, e as encodeAbiParameters, g as getAbiItem } from './getAbiItem-bfba73d1.js';
|
2
2
|
export { D as DecodeErrorResultParameters, a as DecodeErrorResultReturnType, b as DecodeEventLogParameters, c as DecodeEventLogReturnType, d as DecodeFunctionDataParameters, e as DecodeFunctionResultParameters, f as DecodeFunctionResultReturnType, E as EncodeDeployDataParameters, g as EncodeErrorResultParameters, h as EncodeEventTopicsParameters, i as EncodeFunctionDataParameters, j as EncodeFunctionResultParameters, k as decodeErrorResult, l as decodeEventLog, m as decodeFunctionData, n as decodeFunctionResult, o as encodeDeployData, p as encodeErrorResult, q as encodeEventTopics, r as encodeFunctionData, s as encodeFunctionResult } from './encodeFunctionResult-c5185b98.js';
|
3
3
|
export { a as formatAbiItem, f as formatAbiItemWithArgs } from './formatAbiItem-56dff508.js';
|
4
|
-
export { C as CreateContractEventFilterParameters, f as CreateContractEventFilterReturnType, D as DeployContractParameters, o as DeployContractReturnType, E as EstimateContractGasParameters, b as EstimateContractGasReturnType, z as GetBytecodeParameters, B as GetBytecodeReturnType, $ as GetStorageAtParameters, a0 as GetStorageAtReturnType, a9 as MulticallParameters, aa as MulticallReturnType, af as OnLogsFn, ag as OnLogsParameter, R as ReadContractParameters, a as ReadContractReturnType, S as SimulateContractParameters, c as SimulateContractReturnType, g as WatchContractEventParameters, d as WriteContractParameters, e as WriteContractReturnType, b4 as createContractEventFilter, bc as deployContract, b5 as estimateContractGas, b6 as getBytecode, b7 as getStorageAt, b8 as multicall, b9 as readContract, ba as simulateContract, bb as watchContractEvent, bd as writeContract } from './getEnsResolver-
|
4
|
+
export { C as CreateContractEventFilterParameters, f as CreateContractEventFilterReturnType, D as DeployContractParameters, o as DeployContractReturnType, E as EstimateContractGasParameters, b as EstimateContractGasReturnType, z as GetBytecodeParameters, B as GetBytecodeReturnType, $ as GetStorageAtParameters, a0 as GetStorageAtReturnType, a9 as MulticallParameters, aa as MulticallReturnType, af as OnLogsFn, ag as OnLogsParameter, R as ReadContractParameters, a as ReadContractReturnType, S as SimulateContractParameters, c as SimulateContractReturnType, g as WatchContractEventParameters, d as WriteContractParameters, e as WriteContractReturnType, b4 as createContractEventFilter, bc as deployContract, b5 as estimateContractGas, b6 as getBytecode, b7 as getStorageAt, b8 as multicall, b9 as readContract, ba as simulateContract, bb as watchContractEvent, bd as writeContract } from './getEnsResolver-ce85735b.js';
|
5
5
|
import 'abitype';
|
6
6
|
import './chain-5507c6f0.js';
|
7
7
|
import '@wagmi/chains';
|
package/dist/contract.js
CHANGED
@@ -23,7 +23,7 @@
|
|
23
23
|
|
24
24
|
|
25
25
|
|
26
|
-
var
|
26
|
+
var _chunkQWBI757Jjs = require('./chunk-QWBI757J.js');
|
27
27
|
|
28
28
|
|
29
29
|
|
@@ -49,5 +49,5 @@ var _chunkE6JLGC6Wjs = require('./chunk-E6JLGC6W.js');
|
|
49
49
|
|
50
50
|
|
51
51
|
|
52
|
-
exports.createContractEventFilter =
|
52
|
+
exports.createContractEventFilter = _chunkQWBI757Jjs.createContractEventFilter; exports.decodeAbiParameters = _chunkQWBI757Jjs.decodeAbiParameters; exports.decodeErrorResult = _chunkQWBI757Jjs.decodeErrorResult; exports.decodeEventLog = _chunkQWBI757Jjs.decodeEventLog; exports.decodeFunctionData = _chunkQWBI757Jjs.decodeFunctionData; exports.decodeFunctionResult = _chunkQWBI757Jjs.decodeFunctionResult; exports.deployContract = _chunkQWBI757Jjs.deployContract; exports.encodeAbiParameters = _chunkQWBI757Jjs.encodeAbiParameters; exports.encodeDeployData = _chunkQWBI757Jjs.encodeDeployData; exports.encodeErrorResult = _chunkQWBI757Jjs.encodeErrorResult; exports.encodeEventTopics = _chunkQWBI757Jjs.encodeEventTopics; exports.encodeFunctionData = _chunkQWBI757Jjs.encodeFunctionData; exports.encodeFunctionResult = _chunkQWBI757Jjs.encodeFunctionResult; exports.estimateContractGas = _chunkQWBI757Jjs.estimateContractGas; exports.formatAbiItem = _chunkQWBI757Jjs.formatAbiItem; exports.formatAbiItemWithArgs = _chunkQWBI757Jjs.formatAbiItemWithArgs; exports.getAbiItem = _chunkQWBI757Jjs.getAbiItem; exports.getBytecode = _chunkQWBI757Jjs.getBytecode; exports.getStorageAt = _chunkQWBI757Jjs.getStorageAt; exports.multicall = _chunkQWBI757Jjs.multicall; exports.readContract = _chunkQWBI757Jjs.readContract; exports.simulateContract = _chunkQWBI757Jjs.simulateContract; exports.watchContractEvent = _chunkQWBI757Jjs.watchContractEvent; exports.writeContract = _chunkQWBI757Jjs.writeContract;
|
53
53
|
//# sourceMappingURL=contract.js.map
|
package/dist/contract.mjs
CHANGED
package/dist/ens.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export { H as GetEnsAddressParameters, I as GetEnsAddressReturnType, be as GetEnsAvatarParameters, bf as GetEnsAvatarReturnType, J as GetEnsNameParameters, K as GetEnsNameReturnType, L as GetEnsResolverParameters, M as GetEnsResolverReturnType, bg as GetEnsTextParameters, bh as GetEnsTextReturnType, bi as getEnsAddress, bj as getEnsAvatar, bk as getEnsName, bl as getEnsResolver, bm as getEnsText } from './getEnsResolver-
|
1
|
+
export { H as GetEnsAddressParameters, I as GetEnsAddressReturnType, be as GetEnsAvatarParameters, bf as GetEnsAvatarReturnType, J as GetEnsNameParameters, K as GetEnsNameReturnType, L as GetEnsResolverParameters, M as GetEnsResolverReturnType, bg as GetEnsTextParameters, bh as GetEnsTextReturnType, bi as getEnsAddress, bj as getEnsAvatar, bk as getEnsName, bl as getEnsResolver, bm as getEnsText } from './getEnsResolver-ce85735b.js';
|
2
2
|
export { l as labelhash, n as namehash } from './namehash-afff0feb.js';
|
3
3
|
import './createTransport-21a0d2b3.js';
|
4
4
|
import './eip1193-2f3a9cd2.js';
|
package/dist/ens.js
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
|
8
8
|
|
9
|
-
var
|
9
|
+
var _chunkQWBI757Jjs = require('./chunk-QWBI757J.js');
|
10
10
|
|
11
11
|
// src/utils/ens/normalize.ts
|
12
12
|
var _idnauts46hx = require('idna-uts46-hx'); var _idnauts46hx2 = _interopRequireDefault(_idnauts46hx);
|
@@ -22,5 +22,5 @@ function normalize(name) {
|
|
22
22
|
|
23
23
|
|
24
24
|
|
25
|
-
exports.getEnsAddress =
|
25
|
+
exports.getEnsAddress = _chunkQWBI757Jjs.getEnsAddress; exports.getEnsAvatar = _chunkQWBI757Jjs.getEnsAvatar; exports.getEnsName = _chunkQWBI757Jjs.getEnsName; exports.getEnsResolver = _chunkQWBI757Jjs.getEnsResolver; exports.getEnsText = _chunkQWBI757Jjs.getEnsText; exports.labelhash = _chunkQWBI757Jjs.labelhash; exports.namehash = _chunkQWBI757Jjs.namehash; exports.normalize = normalize;
|
26
26
|
//# sourceMappingURL=ens.js.map
|
package/dist/ens.mjs
CHANGED
package/dist/ethers.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
2
2
|
|
3
|
-
var
|
3
|
+
var _chunk7MFQVE5Pjs = require('./chunk-7MFQVE5P.js');
|
4
4
|
|
5
5
|
|
6
|
-
var
|
6
|
+
var _chunkQWBI757Jjs = require('./chunk-QWBI757J.js');
|
7
7
|
|
8
8
|
// src/adapters/ethers.ts
|
9
|
-
var ethersWalletToAccount = (wallet) =>
|
9
|
+
var ethersWalletToAccount = (wallet) => _chunk7MFQVE5Pjs.toAccount.call(void 0, {
|
10
10
|
address: wallet.address,
|
11
11
|
async signMessage({ message }) {
|
12
|
-
return await wallet.signMessage(
|
12
|
+
return await wallet.signMessage(_chunkQWBI757Jjs.toBytes.call(void 0, message));
|
13
13
|
},
|
14
14
|
async signTransaction(txn) {
|
15
15
|
return await wallet.signTransaction({
|
package/dist/ethers.mjs
CHANGED
@@ -796,7 +796,7 @@ type GetEnsAddressParameters = Prettify<Pick<ReadContractParameters, 'blockNumbe
|
|
796
796
|
/** Address of ENS Universal Resolver Contract */
|
797
797
|
universalResolverAddress?: Address;
|
798
798
|
}>;
|
799
|
-
type GetEnsAddressReturnType = Address;
|
799
|
+
type GetEnsAddressReturnType = Address | null;
|
800
800
|
/**
|
801
801
|
* @description Gets address for ENS name.
|
802
802
|
*
|
package/dist/index.d.ts
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
import { P as PublicClient, W as WalletClient, R as ReadContractParameters, a as ReadContractReturnType, E as EstimateContractGasParameters, b as EstimateContractGasReturnType, S as SimulateContractParameters, c as SimulateContractReturnType, d as WriteContractParameters, e as WriteContractReturnType, C as CreateContractEventFilterParameters, f as CreateContractEventFilterReturnType, g as WatchContractEventParameters, h as WatchContractEventReturnType } from './getEnsResolver-
|
2
|
-
export { A as AddChainParameters, aN as AssetGateway, aO as AssetGatewayUrls, aU as BlockFormatter, i as CallParameters, j as CallReturnType, k as CreateBlockFilterReturnType, C as CreateContractEventFilterParameters, f as CreateContractEventFilterReturnType, l as CreateEventFilterParameters, m as CreateEventFilterReturnType, n as CreatePendingTransactionFilterReturnType, D as DeployContractParameters, o as DeployContractReturnType, p as EstimateGasParameters, q as EstimateGasReturnType, aV as FormattedBlock, aW as FormattedTransactionReceipt, aX as FormattedTransactionRequest, G as GetAddressesReturnType, r as GetBalanceParameters, s as GetBalanceReturnType, t as GetBlockNumberParameters, u as GetBlockNumberReturnType, v as GetBlockParameters, w as GetBlockReturnType, x as GetBlockTransactionCountParameters, y as GetBlockTransactionCountReturnType, z as GetBytecodeParameters, B as GetBytecodeReturnType, F as GetChainIdReturnType, H as GetEnsAddressParameters, I as GetEnsAddressReturnType, J as GetEnsNameParameters, K as GetEnsNameReturnType, L as GetEnsResolverParameters, M as GetEnsResolverReturnType, N as GetFeeHistoryParameters, O as GetFeeHistoryReturnType, Q as GetFilterChangesParameters, T as GetFilterChangesReturnType, U as GetFilterLogsParameters, V as GetFilterLogsReturnType, X as GetGasPriceReturnType, Y as GetLogsParameters, Z as GetLogsReturnType, _ as GetPermissionsReturnType, $ as GetStorageAtParameters, a0 as GetStorageAtReturnType, a1 as GetTransactionConfirmationsParameters, a3 as GetTransactionConfirmationsReturnType, a2 as GetTransactionCountParameters, a4 as GetTransactionCountReturnType, a5 as GetTransactionParameters, a6 as GetTransactionReceiptParameters, a7 as GetTransactionReceiptReturnType, a8 as GetTransactionReturnType, aP as GetTransportConfig, aQ as MulticallContracts, a9 as MulticallParameters, aR as MulticallResult, aS as MulticallResults, aa as MulticallReturnType, ab as OnBlock, ac as OnBlockNumberFn, ad as OnBlockNumberParameter, ae as OnBlockParameter, af as OnLogsFn, ag as OnLogsParameter, ah as OnTransactionsFn, ai as OnTransactionsParameter, aT as ParseAccount, P as PublicClient, aJ as PublicClientConfig, R as ReadContractParameters, a as ReadContractReturnType, aj as ReplacementReason, ak as ReplacementReturnType, al as RequestAddressesReturnType, an as RequestPermissionsParameters, am as RequestPermissionsReturnType, ao as SendTransactionParameters, ap as SendTransactionReturnType, aq as SignMessageParameters, ar as SignMessageReturnType, as as SignTypedDataParameters, at as SignTypedDataReturnType, S as SimulateContractParameters, c as SimulateContractReturnType, au as SwitchChainParameters, aY as TransactionReceiptFormatter, aZ as TransactionRequestFormatter, av as UninstallFilterParameters, aw as UninstallFilterReturnType, ax as WaitForTransactionReceiptParameters, ay as WaitForTransactionReceiptReturnType, W as WalletClient, aK as WalletClientConfig, az as WatchAssetParameters, aA as WatchAssetReturnType, aB as WatchBlockNumberParameters, aC as WatchBlockNumberReturnType, aD as WatchBlocksParameters, aE as WatchBlocksReturnType, g as WatchContractEventParameters, h as WatchContractEventReturnType, aF as WatchEventParameters, aG as WatchEventReturnType, aH as WatchPendingTransactionsParameters, aI as WatchPendingTransactionsReturnType, d as WriteContractParameters, e as WriteContractReturnType, aL as createPublicClient, aM as createWalletClient, a_ as defineBlock, a$ as defineTransactionReceipt, b0 as defineTransactionRequest, b1 as formatBlock, b2 as formatTransactionRequest } from './getEnsResolver-
|
1
|
+
import { P as PublicClient, W as WalletClient, R as ReadContractParameters, a as ReadContractReturnType, E as EstimateContractGasParameters, b as EstimateContractGasReturnType, S as SimulateContractParameters, c as SimulateContractReturnType, d as WriteContractParameters, e as WriteContractReturnType, C as CreateContractEventFilterParameters, f as CreateContractEventFilterReturnType, g as WatchContractEventParameters, h as WatchContractEventReturnType } from './getEnsResolver-ce85735b.js';
|
2
|
+
export { A as AddChainParameters, aN as AssetGateway, aO as AssetGatewayUrls, aU as BlockFormatter, i as CallParameters, j as CallReturnType, k as CreateBlockFilterReturnType, C as CreateContractEventFilterParameters, f as CreateContractEventFilterReturnType, l as CreateEventFilterParameters, m as CreateEventFilterReturnType, n as CreatePendingTransactionFilterReturnType, D as DeployContractParameters, o as DeployContractReturnType, p as EstimateGasParameters, q as EstimateGasReturnType, aV as FormattedBlock, aW as FormattedTransactionReceipt, aX as FormattedTransactionRequest, G as GetAddressesReturnType, r as GetBalanceParameters, s as GetBalanceReturnType, t as GetBlockNumberParameters, u as GetBlockNumberReturnType, v as GetBlockParameters, w as GetBlockReturnType, x as GetBlockTransactionCountParameters, y as GetBlockTransactionCountReturnType, z as GetBytecodeParameters, B as GetBytecodeReturnType, F as GetChainIdReturnType, H as GetEnsAddressParameters, I as GetEnsAddressReturnType, J as GetEnsNameParameters, K as GetEnsNameReturnType, L as GetEnsResolverParameters, M as GetEnsResolverReturnType, N as GetFeeHistoryParameters, O as GetFeeHistoryReturnType, Q as GetFilterChangesParameters, T as GetFilterChangesReturnType, U as GetFilterLogsParameters, V as GetFilterLogsReturnType, X as GetGasPriceReturnType, Y as GetLogsParameters, Z as GetLogsReturnType, _ as GetPermissionsReturnType, $ as GetStorageAtParameters, a0 as GetStorageAtReturnType, a1 as GetTransactionConfirmationsParameters, a3 as GetTransactionConfirmationsReturnType, a2 as GetTransactionCountParameters, a4 as GetTransactionCountReturnType, a5 as GetTransactionParameters, a6 as GetTransactionReceiptParameters, a7 as GetTransactionReceiptReturnType, a8 as GetTransactionReturnType, aP as GetTransportConfig, aQ as MulticallContracts, a9 as MulticallParameters, aR as MulticallResult, aS as MulticallResults, aa as MulticallReturnType, ab as OnBlock, ac as OnBlockNumberFn, ad as OnBlockNumberParameter, ae as OnBlockParameter, af as OnLogsFn, ag as OnLogsParameter, ah as OnTransactionsFn, ai as OnTransactionsParameter, aT as ParseAccount, P as PublicClient, aJ as PublicClientConfig, R as ReadContractParameters, a as ReadContractReturnType, aj as ReplacementReason, ak as ReplacementReturnType, al as RequestAddressesReturnType, an as RequestPermissionsParameters, am as RequestPermissionsReturnType, ao as SendTransactionParameters, ap as SendTransactionReturnType, aq as SignMessageParameters, ar as SignMessageReturnType, as as SignTypedDataParameters, at as SignTypedDataReturnType, S as SimulateContractParameters, c as SimulateContractReturnType, au as SwitchChainParameters, aY as TransactionReceiptFormatter, aZ as TransactionRequestFormatter, av as UninstallFilterParameters, aw as UninstallFilterReturnType, ax as WaitForTransactionReceiptParameters, ay as WaitForTransactionReceiptReturnType, W as WalletClient, aK as WalletClientConfig, az as WatchAssetParameters, aA as WatchAssetReturnType, aB as WatchBlockNumberParameters, aC as WatchBlockNumberReturnType, aD as WatchBlocksParameters, aE as WatchBlocksReturnType, g as WatchContractEventParameters, h as WatchContractEventReturnType, aF as WatchEventParameters, aG as WatchEventReturnType, aH as WatchPendingTransactionsParameters, aI as WatchPendingTransactionsReturnType, d as WriteContractParameters, e as WriteContractReturnType, aL as createPublicClient, aM as createWalletClient, a_ as defineBlock, a$ as defineTransactionReceipt, b0 as defineTransactionRequest, b1 as formatBlock, b2 as formatTransactionRequest } from './getEnsResolver-ce85735b.js';
|
3
3
|
import { T as TransportConfig, a as Transport, B as BaseRpcRequests } from './createTransport-21a0d2b3.js';
|
4
4
|
export { C as Client, b as ClientConfig, a as Transport, T as TransportConfig, c as createClient, d as createTransport } from './createTransport-21a0d2b3.js';
|
5
|
-
import { B as BaseError, H as HttpOptions, R as RpcResponse } from './parseGwei-
|
6
|
-
export { B as BaseError, C as CallExecutionError, a as ContractFunctionExecutionError, b as ContractFunctionRevertedError, c as ContractFunctionZeroDataError, E as EstimateGasExecutionError, d as ExecutionRevertedError, F as FeeCapTooHighError, e as FeeCapTooLowError, G as GetContractAddressOptions, p as GetCreate2AddressOptions, q as GetCreateAddressOptions, r as GetSerializedTransactionType, s as GetTransactionType, t as HashTypedDataParameters, u as HashTypedDataReturnType, I as InsufficientFundsError, f as IntrinsicGasTooHighError, g as IntrinsicGasTooLowError, h as InvalidLegacyVError, N as NonceMaxValueError, i as NonceTooHighError, j as NonceTooLowError, k as RawContractError, v as RecoverAddressParameters, w as RecoverAddressReturnType, x as RecoverMessageAddressParameters, y as RecoverMessageAddressReturnType, z as RecoverTypedDataAddressParameters, A as RecoverTypedDataAddressReturnType, T as TipAboveFeeCapError, D as ToRlpReturnType, l as TransactionExecutionError, n as TransactionNotFoundError, o as TransactionReceiptNotFoundError, m as TransactionTypeNotSupportedError, U as UnknownNodeError, V as VerifyMessageParameters, J as VerifyMessageReturnType, K as VerifyTypedDataParameters, L as VerifyTypedDataReturnType, W as WaitForTransactionReceiptTimeoutError, M as assertRequest, O as assertTransactionEIP1559, P as assertTransactionEIP2930, Q as assertTransactionLegacy, S as boolToBytes, X as boolToHex, Y as bytesToBigint, Z as bytesToBool, _ as bytesToHex, $ as bytesToNumber, a0 as bytesToString, a1 as concat, a2 as concatBytes, a3 as concatHex, a4 as formatEther, a5 as formatGwei, a6 as formatUnits, a7 as fromBytes, a8 as fromHex, a9 as fromRlp, aa as getAddress, ab as getContractAddress, ac as getContractError, ad as getCreate2Address, ae as getCreateAddress, af as getEventSelector, ag as getFunctionSelector, ah as getSerializedTransactionType, ai as getTransactionType, aj as hashMessage, ak as hashTypedData, al as hexToBigInt, am as hexToBool, an as hexToBytes, ao as hexToNumber, ap as hexToString, aq as isAddress, ar as isAddressEqual, as as isBytes, at as isHash, au as isHex, av as keccak256, aw as numberToBytes, ax as numberToHex, ay as pad, az as padBytes, aA as padHex, aB as parseEther, aC as parseGwei, aD as parseTransaction, aE as parseUnits, aF as prepareRequest, aG as recoverAddress, aH as recoverMessageAddress, aI as recoverTypedDataAddress, aJ as serializeTransaction, aK as size, aL as slice, aM as sliceBytes, aN as sliceHex, aO as stringToBytes, aP as stringToHex, aQ as stringify, aR as toBytes, aS as toHex, aT as toRlp, aU as trim, aV as validateTypedData, aW as verifyMessage, aX as verifyTypedData } from './parseGwei-
|
5
|
+
import { B as BaseError, H as HttpOptions, R as RpcResponse } from './parseGwei-280a3ff7.js';
|
6
|
+
export { B as BaseError, C as CallExecutionError, a as ContractFunctionExecutionError, b as ContractFunctionRevertedError, c as ContractFunctionZeroDataError, E as EstimateGasExecutionError, d as ExecutionRevertedError, F as FeeCapTooHighError, e as FeeCapTooLowError, G as GetContractAddressOptions, p as GetCreate2AddressOptions, q as GetCreateAddressOptions, r as GetSerializedTransactionType, s as GetTransactionType, t as HashTypedDataParameters, u as HashTypedDataReturnType, I as InsufficientFundsError, f as IntrinsicGasTooHighError, g as IntrinsicGasTooLowError, h as InvalidLegacyVError, N as NonceMaxValueError, i as NonceTooHighError, j as NonceTooLowError, k as RawContractError, v as RecoverAddressParameters, w as RecoverAddressReturnType, x as RecoverMessageAddressParameters, y as RecoverMessageAddressReturnType, z as RecoverTypedDataAddressParameters, A as RecoverTypedDataAddressReturnType, T as TipAboveFeeCapError, D as ToRlpReturnType, l as TransactionExecutionError, n as TransactionNotFoundError, o as TransactionReceiptNotFoundError, m as TransactionTypeNotSupportedError, U as UnknownNodeError, V as VerifyMessageParameters, J as VerifyMessageReturnType, K as VerifyTypedDataParameters, L as VerifyTypedDataReturnType, W as WaitForTransactionReceiptTimeoutError, M as assertRequest, O as assertTransactionEIP1559, P as assertTransactionEIP2930, Q as assertTransactionLegacy, S as boolToBytes, X as boolToHex, Y as bytesToBigint, Z as bytesToBool, _ as bytesToHex, $ as bytesToNumber, a0 as bytesToString, a1 as concat, a2 as concatBytes, a3 as concatHex, a4 as formatEther, a5 as formatGwei, a6 as formatUnits, a7 as fromBytes, a8 as fromHex, a9 as fromRlp, aa as getAddress, ab as getContractAddress, ac as getContractError, ad as getCreate2Address, ae as getCreateAddress, af as getEventSelector, ag as getFunctionSelector, ah as getSerializedTransactionType, ai as getTransactionType, aj as hashMessage, ak as hashTypedData, al as hexToBigInt, am as hexToBool, an as hexToBytes, ao as hexToNumber, ap as hexToString, aq as isAddress, ar as isAddressEqual, as as isBytes, at as isHash, au as isHex, av as keccak256, aw as numberToBytes, ax as numberToHex, ay as pad, az as padBytes, aA as padHex, aB as parseEther, aC as parseGwei, aD as parseTransaction, aE as parseUnits, aF as prepareRequest, aG as recoverAddress, aH as recoverMessageAddress, aI as recoverTypedDataAddress, aJ as serializeTransaction, aK as size, aL as slice, aM as sliceBytes, aN as sliceHex, aO as stringToBytes, aP as stringToHex, aQ as stringify, aR as toBytes, aS as toHex, aT as toRlp, aU as trim, aV as validateTypedData, aW as verifyMessage, aX as verifyTypedData } from './parseGwei-280a3ff7.js';
|
7
7
|
import WebSocket from 'isomorphic-ws';
|
8
8
|
import { H as Hex, A as AbiItem, a as Hash, C as Chain, B as ByteArray, I as IsNarrowable, P as Prettify, b as IsNever, c as IsUndefined, d as AbiEventParametersToPrimitiveTypes, M as MaybeExtractEventArgsFromAbi } from './chain-5507c6f0.js';
|
9
9
|
export { A as AbiItem, e as AccessList, f as Block, g as BlockIdentifier, h as BlockNumber, i as BlockTag, B as ByteArray, C as Chain, j as ContractFunctionConfig, k as ContractFunctionResult, aa as ExtractFormatter, F as FeeHistory, l as FeeValues, m as FeeValuesEIP1559, n as FeeValuesLegacy, ab as Formatted, ac as FormattedTransaction, G as GetConstructorArgs, o as GetErrorArgs, p as GetEventArgs, q as GetEventArgsFromTopics, r as GetFunctionArgs, a as Hash, H as Hex, s as InferErrorName, t as InferEventName, u as InferFunctionName, v as InferItemName, L as Log, R as RpcBlock, w as RpcBlockIdentifier, x as RpcBlockNumber, y as RpcFeeHistory, z as RpcFeeValues, D as RpcLog, E as RpcTransaction, J as RpcTransactionReceipt, K as RpcTransactionRequest, N as RpcUncle, T as Transaction, O as TransactionBase, Q as TransactionEIP1559, S as TransactionEIP2930, ad as TransactionFormatter, U as TransactionLegacy, V as TransactionReceipt, W as TransactionRequest, X as TransactionRequestBase, Y as TransactionRequestEIP1559, Z as TransactionRequestEIP2930, _ as TransactionRequestLegacy, $ as TransactionSerializable, a0 as TransactionSerializableBase, a1 as TransactionSerializableEIP1559, a2 as TransactionSerializableEIP2930, a3 as TransactionSerializableLegacy, a4 as TransactionSerialized, a5 as TransactionSerializedEIP1559, a6 as TransactionSerializedEIP2930, a7 as TransactionSerializedLegacy, a8 as TransactionType, a9 as Uncle, ae as defineTransaction, af as formatTransaction, ag as transactionType } from './chain-5507c6f0.js';
|
package/dist/index.js
CHANGED
@@ -265,7 +265,7 @@
|
|
265
265
|
|
266
266
|
|
267
267
|
|
268
|
-
var
|
268
|
+
var _chunkQWBI757Jjs = require('./chunk-QWBI757J.js');
|
269
269
|
|
270
270
|
// src/clients/transports/createTransport.ts
|
271
271
|
function createTransport({
|
@@ -279,7 +279,7 @@ function createTransport({
|
|
279
279
|
}, value) {
|
280
280
|
return {
|
281
281
|
config: { key, name, request, retryCount, retryDelay, timeout, type },
|
282
|
-
request:
|
282
|
+
request: _chunkQWBI757Jjs.buildRequest.call(void 0, request, { retryCount, retryDelay }),
|
283
283
|
value
|
284
284
|
};
|
285
285
|
}
|
@@ -321,7 +321,7 @@ function fallback(transports_, config = {}) {
|
|
321
321
|
params
|
322
322
|
});
|
323
323
|
} catch (err) {
|
324
|
-
if (
|
324
|
+
if (_chunkQWBI757Jjs.isDeterministicError.call(void 0, err))
|
325
325
|
throw err;
|
326
326
|
if (i === transports.length - 1)
|
327
327
|
throw err;
|
@@ -407,7 +407,7 @@ function rankTransports({
|
|
407
407
|
];
|
408
408
|
}).sort((a, b) => b[0] - a[0]);
|
409
409
|
onTransports(scores.map(([, i]) => transports[i]));
|
410
|
-
await
|
410
|
+
await _chunkQWBI757Jjs.wait.call(void 0, interval);
|
411
411
|
rankTransports_();
|
412
412
|
};
|
413
413
|
rankTransports_();
|
@@ -426,13 +426,13 @@ function http(url, config = {}) {
|
|
426
426
|
const timeout = _nullishCoalesce(_nullishCoalesce(timeout_, () => ( config.timeout)), () => ( 1e4));
|
427
427
|
const url_ = url || _optionalChain([chain, 'optionalAccess', _2 => _2.rpcUrls, 'access', _3 => _3.default, 'access', _4 => _4.http, 'access', _5 => _5[0]]);
|
428
428
|
if (!url_)
|
429
|
-
throw new (0,
|
429
|
+
throw new (0, _chunkQWBI757Jjs.UrlRequiredError)();
|
430
430
|
return createTransport(
|
431
431
|
{
|
432
432
|
key,
|
433
433
|
name,
|
434
434
|
async request({ method, params }) {
|
435
|
-
const { result } = await
|
435
|
+
const { result } = await _chunkQWBI757Jjs.rpc.http(url_, {
|
436
436
|
body: {
|
437
437
|
method,
|
438
438
|
params
|
@@ -462,14 +462,14 @@ function webSocket(url, config = {}) {
|
|
462
462
|
const timeout = _nullishCoalesce(_nullishCoalesce(timeout_, () => ( config.timeout)), () => ( 1e4));
|
463
463
|
const url_ = url || _optionalChain([chain, 'optionalAccess', _6 => _6.rpcUrls, 'access', _7 => _7.default, 'access', _8 => _8.webSocket, 'optionalAccess', _9 => _9[0]]);
|
464
464
|
if (!url_)
|
465
|
-
throw new (0,
|
465
|
+
throw new (0, _chunkQWBI757Jjs.UrlRequiredError)();
|
466
466
|
return createTransport(
|
467
467
|
{
|
468
468
|
key,
|
469
469
|
name,
|
470
470
|
async request({ method, params }) {
|
471
|
-
const socket = await
|
472
|
-
const { result } = await
|
471
|
+
const socket = await _chunkQWBI757Jjs.getSocket.call(void 0, url_);
|
472
|
+
const { result } = await _chunkQWBI757Jjs.rpc.webSocketAsync(socket, {
|
473
473
|
body: { method, params },
|
474
474
|
timeout
|
475
475
|
});
|
@@ -482,12 +482,12 @@ function webSocket(url, config = {}) {
|
|
482
482
|
},
|
483
483
|
{
|
484
484
|
getSocket() {
|
485
|
-
return
|
485
|
+
return _chunkQWBI757Jjs.getSocket.call(void 0, url_);
|
486
486
|
},
|
487
487
|
async subscribe({ params, onData, onError }) {
|
488
|
-
const socket = await
|
488
|
+
const socket = await _chunkQWBI757Jjs.getSocket.call(void 0, url_);
|
489
489
|
const { result: subscriptionId } = await new Promise(
|
490
|
-
(resolve, reject) =>
|
490
|
+
(resolve, reject) => _chunkQWBI757Jjs.rpc.webSocket(socket, {
|
491
491
|
body: {
|
492
492
|
method: "eth_subscribe",
|
493
493
|
params
|
@@ -511,7 +511,7 @@ function webSocket(url, config = {}) {
|
|
511
511
|
subscriptionId,
|
512
512
|
async unsubscribe() {
|
513
513
|
return new Promise(
|
514
|
-
(resolve, reject) =>
|
514
|
+
(resolve, reject) => _chunkQWBI757Jjs.rpc.webSocket(socket, {
|
515
515
|
body: {
|
516
516
|
method: "eth_unsubscribe",
|
517
517
|
params: [subscriptionId]
|
@@ -567,95 +567,95 @@ function createClient({
|
|
567
567
|
|
568
568
|
// src/clients/decorators/public.ts
|
569
569
|
var publicActions = (client) => ({
|
570
|
-
call: (args) =>
|
571
|
-
createBlockFilter: () =>
|
572
|
-
createContractEventFilter: (args) =>
|
573
|
-
createEventFilter: (args) =>
|
574
|
-
createPendingTransactionFilter: () =>
|
575
|
-
estimateContractGas: (args) =>
|
576
|
-
estimateGas: (args) =>
|
577
|
-
getBalance: (args) =>
|
578
|
-
getBlock: (args) =>
|
579
|
-
getBlockNumber: (args) =>
|
580
|
-
getBlockTransactionCount: (args) =>
|
581
|
-
getBytecode: (args) =>
|
582
|
-
getChainId: () =>
|
583
|
-
getEnsAddress: (args) =>
|
584
|
-
getEnsAvatar: (args) =>
|
585
|
-
getEnsName: (args) =>
|
586
|
-
getEnsResolver: (args) =>
|
587
|
-
getEnsText: (args) =>
|
588
|
-
getFeeHistory: (args) =>
|
589
|
-
getFilterChanges: (args) =>
|
590
|
-
getFilterLogs: (args) =>
|
591
|
-
getGasPrice: () =>
|
592
|
-
getLogs: (args) =>
|
593
|
-
getStorageAt: (args) =>
|
594
|
-
getTransaction: (args) =>
|
595
|
-
getTransactionConfirmations: (args) =>
|
596
|
-
getTransactionCount: (args) =>
|
597
|
-
getTransactionReceipt: (args) =>
|
598
|
-
multicall: (args) =>
|
599
|
-
readContract: (args) =>
|
600
|
-
simulateContract: (args) =>
|
601
|
-
uninstallFilter: (args) =>
|
602
|
-
waitForTransactionReceipt: (args) =>
|
603
|
-
watchBlocks: (args) =>
|
604
|
-
watchBlockNumber: (args) =>
|
605
|
-
watchContractEvent: (args) =>
|
606
|
-
watchEvent: (args) =>
|
607
|
-
watchPendingTransactions: (args) =>
|
570
|
+
call: (args) => _chunkQWBI757Jjs.call.call(void 0, client, args),
|
571
|
+
createBlockFilter: () => _chunkQWBI757Jjs.createBlockFilter.call(void 0, client),
|
572
|
+
createContractEventFilter: (args) => _chunkQWBI757Jjs.createContractEventFilter.call(void 0, client, args),
|
573
|
+
createEventFilter: (args) => _chunkQWBI757Jjs.createEventFilter.call(void 0, client, args),
|
574
|
+
createPendingTransactionFilter: () => _chunkQWBI757Jjs.createPendingTransactionFilter.call(void 0, client),
|
575
|
+
estimateContractGas: (args) => _chunkQWBI757Jjs.estimateContractGas.call(void 0, client, args),
|
576
|
+
estimateGas: (args) => _chunkQWBI757Jjs.estimateGas.call(void 0, client, args),
|
577
|
+
getBalance: (args) => _chunkQWBI757Jjs.getBalance.call(void 0, client, args),
|
578
|
+
getBlock: (args) => _chunkQWBI757Jjs.getBlock.call(void 0, client, args),
|
579
|
+
getBlockNumber: (args) => _chunkQWBI757Jjs.getBlockNumber.call(void 0, client, args),
|
580
|
+
getBlockTransactionCount: (args) => _chunkQWBI757Jjs.getBlockTransactionCount.call(void 0, client, args),
|
581
|
+
getBytecode: (args) => _chunkQWBI757Jjs.getBytecode.call(void 0, client, args),
|
582
|
+
getChainId: () => _chunkQWBI757Jjs.getChainId.call(void 0, client),
|
583
|
+
getEnsAddress: (args) => _chunkQWBI757Jjs.getEnsAddress.call(void 0, client, args),
|
584
|
+
getEnsAvatar: (args) => _chunkQWBI757Jjs.getEnsAvatar.call(void 0, client, args),
|
585
|
+
getEnsName: (args) => _chunkQWBI757Jjs.getEnsName.call(void 0, client, args),
|
586
|
+
getEnsResolver: (args) => _chunkQWBI757Jjs.getEnsResolver.call(void 0, client, args),
|
587
|
+
getEnsText: (args) => _chunkQWBI757Jjs.getEnsText.call(void 0, client, args),
|
588
|
+
getFeeHistory: (args) => _chunkQWBI757Jjs.getFeeHistory.call(void 0, client, args),
|
589
|
+
getFilterChanges: (args) => _chunkQWBI757Jjs.getFilterChanges.call(void 0, client, args),
|
590
|
+
getFilterLogs: (args) => _chunkQWBI757Jjs.getFilterLogs.call(void 0, client, args),
|
591
|
+
getGasPrice: () => _chunkQWBI757Jjs.getGasPrice.call(void 0, client),
|
592
|
+
getLogs: (args) => _chunkQWBI757Jjs.getLogs.call(void 0, client, args),
|
593
|
+
getStorageAt: (args) => _chunkQWBI757Jjs.getStorageAt.call(void 0, client, args),
|
594
|
+
getTransaction: (args) => _chunkQWBI757Jjs.getTransaction.call(void 0, client, args),
|
595
|
+
getTransactionConfirmations: (args) => _chunkQWBI757Jjs.getTransactionConfirmations.call(void 0, client, args),
|
596
|
+
getTransactionCount: (args) => _chunkQWBI757Jjs.getTransactionCount.call(void 0, client, args),
|
597
|
+
getTransactionReceipt: (args) => _chunkQWBI757Jjs.getTransactionReceipt.call(void 0, client, args),
|
598
|
+
multicall: (args) => _chunkQWBI757Jjs.multicall.call(void 0, client, args),
|
599
|
+
readContract: (args) => _chunkQWBI757Jjs.readContract.call(void 0, client, args),
|
600
|
+
simulateContract: (args) => _chunkQWBI757Jjs.simulateContract.call(void 0, client, args),
|
601
|
+
uninstallFilter: (args) => _chunkQWBI757Jjs.uninstallFilter.call(void 0, client, args),
|
602
|
+
waitForTransactionReceipt: (args) => _chunkQWBI757Jjs.waitForTransactionReceipt.call(void 0, client, args),
|
603
|
+
watchBlocks: (args) => _chunkQWBI757Jjs.watchBlocks.call(void 0, client, args),
|
604
|
+
watchBlockNumber: (args) => _chunkQWBI757Jjs.watchBlockNumber.call(void 0, client, args),
|
605
|
+
watchContractEvent: (args) => _chunkQWBI757Jjs.watchContractEvent.call(void 0, client, args),
|
606
|
+
watchEvent: (args) => _chunkQWBI757Jjs.watchEvent.call(void 0, client, args),
|
607
|
+
watchPendingTransactions: (args) => _chunkQWBI757Jjs.watchPendingTransactions.call(void 0, client, args)
|
608
608
|
});
|
609
609
|
|
610
610
|
// src/clients/decorators/test.ts
|
611
611
|
function testActions(client) {
|
612
612
|
return {
|
613
|
-
dropTransaction: (args) =>
|
614
|
-
getAutomine: () =>
|
615
|
-
getTxpoolContent: () =>
|
616
|
-
getTxpoolStatus: () =>
|
617
|
-
impersonateAccount: (args) =>
|
618
|
-
increaseTime: (args) =>
|
619
|
-
inspectTxpool: () =>
|
620
|
-
mine: (args) =>
|
621
|
-
removeBlockTimestampInterval: () =>
|
622
|
-
reset: (args) =>
|
623
|
-
revert: (args) =>
|
624
|
-
sendUnsignedTransaction: (args) =>
|
625
|
-
setAutomine: (args) =>
|
626
|
-
setBalance: (args) =>
|
627
|
-
setBlockGasLimit: (args) =>
|
628
|
-
setBlockTimestampInterval: (args) =>
|
629
|
-
setCode: (args) =>
|
630
|
-
setCoinbase: (args) =>
|
631
|
-
setIntervalMining: (args) =>
|
632
|
-
setLoggingEnabled: (args) =>
|
633
|
-
setMinGasPrice: (args) =>
|
634
|
-
setNextBlockBaseFeePerGas: (args) =>
|
635
|
-
setNextBlockTimestamp: (args) =>
|
636
|
-
setNonce: (args) =>
|
637
|
-
setRpcUrl: (args) =>
|
638
|
-
setStorageAt: (args) =>
|
639
|
-
snapshot: () =>
|
640
|
-
stopImpersonatingAccount: (args) =>
|
613
|
+
dropTransaction: (args) => _chunkQWBI757Jjs.dropTransaction.call(void 0, client, args),
|
614
|
+
getAutomine: () => _chunkQWBI757Jjs.getAutomine.call(void 0, client),
|
615
|
+
getTxpoolContent: () => _chunkQWBI757Jjs.getTxpoolContent.call(void 0, client),
|
616
|
+
getTxpoolStatus: () => _chunkQWBI757Jjs.getTxpoolStatus.call(void 0, client),
|
617
|
+
impersonateAccount: (args) => _chunkQWBI757Jjs.impersonateAccount.call(void 0, client, args),
|
618
|
+
increaseTime: (args) => _chunkQWBI757Jjs.increaseTime.call(void 0, client, args),
|
619
|
+
inspectTxpool: () => _chunkQWBI757Jjs.inspectTxpool.call(void 0, client),
|
620
|
+
mine: (args) => _chunkQWBI757Jjs.mine.call(void 0, client, args),
|
621
|
+
removeBlockTimestampInterval: () => _chunkQWBI757Jjs.removeBlockTimestampInterval.call(void 0, client),
|
622
|
+
reset: (args) => _chunkQWBI757Jjs.reset.call(void 0, client, args),
|
623
|
+
revert: (args) => _chunkQWBI757Jjs.revert.call(void 0, client, args),
|
624
|
+
sendUnsignedTransaction: (args) => _chunkQWBI757Jjs.sendUnsignedTransaction.call(void 0, client, args),
|
625
|
+
setAutomine: (args) => _chunkQWBI757Jjs.setAutomine.call(void 0, client, args),
|
626
|
+
setBalance: (args) => _chunkQWBI757Jjs.setBalance.call(void 0, client, args),
|
627
|
+
setBlockGasLimit: (args) => _chunkQWBI757Jjs.setBlockGasLimit.call(void 0, client, args),
|
628
|
+
setBlockTimestampInterval: (args) => _chunkQWBI757Jjs.setBlockTimestampInterval.call(void 0, client, args),
|
629
|
+
setCode: (args) => _chunkQWBI757Jjs.setCode.call(void 0, client, args),
|
630
|
+
setCoinbase: (args) => _chunkQWBI757Jjs.setCoinbase.call(void 0, client, args),
|
631
|
+
setIntervalMining: (args) => _chunkQWBI757Jjs.setIntervalMining.call(void 0, client, args),
|
632
|
+
setLoggingEnabled: (args) => _chunkQWBI757Jjs.setLoggingEnabled.call(void 0, client, args),
|
633
|
+
setMinGasPrice: (args) => _chunkQWBI757Jjs.setMinGasPrice.call(void 0, client, args),
|
634
|
+
setNextBlockBaseFeePerGas: (args) => _chunkQWBI757Jjs.setNextBlockBaseFeePerGas.call(void 0, client, args),
|
635
|
+
setNextBlockTimestamp: (args) => _chunkQWBI757Jjs.setNextBlockTimestamp.call(void 0, client, args),
|
636
|
+
setNonce: (args) => _chunkQWBI757Jjs.setNonce.call(void 0, client, args),
|
637
|
+
setRpcUrl: (args) => _chunkQWBI757Jjs.setRpcUrl.call(void 0, client, args),
|
638
|
+
setStorageAt: (args) => _chunkQWBI757Jjs.setStorageAt.call(void 0, client, args),
|
639
|
+
snapshot: () => _chunkQWBI757Jjs.snapshot.call(void 0, client),
|
640
|
+
stopImpersonatingAccount: (args) => _chunkQWBI757Jjs.stopImpersonatingAccount.call(void 0, client, args)
|
641
641
|
};
|
642
642
|
}
|
643
643
|
|
644
644
|
// src/clients/decorators/wallet.ts
|
645
645
|
var walletActions = (client) => ({
|
646
|
-
addChain: (args) =>
|
647
|
-
deployContract: (args) =>
|
648
|
-
getAddresses: () =>
|
649
|
-
getChainId: () =>
|
650
|
-
getPermissions: () =>
|
651
|
-
requestAddresses: () =>
|
652
|
-
requestPermissions: (args) =>
|
653
|
-
sendTransaction: (args) =>
|
654
|
-
signMessage: (args) =>
|
655
|
-
signTypedData: (args) =>
|
656
|
-
switchChain: (args) =>
|
657
|
-
watchAsset: (args) =>
|
658
|
-
writeContract: (args) =>
|
646
|
+
addChain: (args) => _chunkQWBI757Jjs.addChain.call(void 0, client, args),
|
647
|
+
deployContract: (args) => _chunkQWBI757Jjs.deployContract.call(void 0, client, args),
|
648
|
+
getAddresses: () => _chunkQWBI757Jjs.getAddresses.call(void 0, client),
|
649
|
+
getChainId: () => _chunkQWBI757Jjs.getChainId.call(void 0, client),
|
650
|
+
getPermissions: () => _chunkQWBI757Jjs.getPermissions.call(void 0, client),
|
651
|
+
requestAddresses: () => _chunkQWBI757Jjs.requestAddresses.call(void 0, client),
|
652
|
+
requestPermissions: (args) => _chunkQWBI757Jjs.requestPermissions.call(void 0, client, args),
|
653
|
+
sendTransaction: (args) => _chunkQWBI757Jjs.sendTransaction.call(void 0, client, args),
|
654
|
+
signMessage: (args) => _chunkQWBI757Jjs.signMessage.call(void 0, client, args),
|
655
|
+
signTypedData: (args) => _chunkQWBI757Jjs.signTypedData.call(void 0, client, args),
|
656
|
+
switchChain: (args) => _chunkQWBI757Jjs.switchChain.call(void 0, client, args),
|
657
|
+
watchAsset: (args) => _chunkQWBI757Jjs.watchAsset.call(void 0, client, args),
|
658
|
+
writeContract: (args) => _chunkQWBI757Jjs.writeContract.call(void 0, client, args)
|
659
659
|
});
|
660
660
|
|
661
661
|
// src/clients/createPublicClient.ts
|
@@ -724,7 +724,7 @@ function createWalletClient({
|
|
724
724
|
transport: () => transport({ retryCount: 0 }),
|
725
725
|
type: "walletClient"
|
726
726
|
}),
|
727
|
-
account: account ?
|
727
|
+
account: account ? _chunkQWBI757Jjs.parseAccount.call(void 0, account) : void 0
|
728
728
|
};
|
729
729
|
return {
|
730
730
|
...client,
|
@@ -923,5 +923,5 @@ function createWalletClient({
|
|
923
923
|
|
924
924
|
|
925
925
|
|
926
|
-
exports.AbiConstructorNotFoundError = _chunkE6JLGC6Wjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkE6JLGC6Wjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkE6JLGC6Wjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkE6JLGC6Wjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkE6JLGC6Wjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkE6JLGC6Wjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkE6JLGC6Wjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkE6JLGC6Wjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkE6JLGC6Wjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkE6JLGC6Wjs.AbiEventNotFoundError; exports.AbiEventSignatureEmptyTopicsError = _chunkE6JLGC6Wjs.AbiEventSignatureEmptyTopicsError; exports.AbiEventSignatureNotFoundError = _chunkE6JLGC6Wjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkE6JLGC6Wjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkE6JLGC6Wjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkE6JLGC6Wjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkE6JLGC6Wjs.BaseError; exports.BlockNotFoundError = _chunkE6JLGC6Wjs.BlockNotFoundError; exports.CallExecutionError = _chunkE6JLGC6Wjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkE6JLGC6Wjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkE6JLGC6Wjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkE6JLGC6Wjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkE6JLGC6Wjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkE6JLGC6Wjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkE6JLGC6Wjs.DataLengthTooShortError; exports.DecodeLogTopicsMismatch = _chunkE6JLGC6Wjs.DecodeLogTopicsMismatch; exports.EnsAvatarUriResolutionError = _chunkE6JLGC6Wjs.EnsAvatarUriResolutionError; exports.EstimateGasExecutionError = _chunkE6JLGC6Wjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkE6JLGC6Wjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkE6JLGC6Wjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkE6JLGC6Wjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkE6JLGC6Wjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkE6JLGC6Wjs.HttpRequestError; exports.InsufficientFundsError = _chunkE6JLGC6Wjs.InsufficientFundsError; exports.InternalRpcError = _chunkE6JLGC6Wjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkE6JLGC6Wjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkE6JLGC6Wjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkE6JLGC6Wjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkE6JLGC6Wjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkE6JLGC6Wjs.InvalidAddressError; exports.InvalidArrayError = _chunkE6JLGC6Wjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkE6JLGC6Wjs.InvalidBytesBooleanError; exports.InvalidChainIdError = _chunkE6JLGC6Wjs.InvalidChainIdError; exports.InvalidDefinitionTypeError = _chunkE6JLGC6Wjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkE6JLGC6Wjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkE6JLGC6Wjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkE6JLGC6Wjs.InvalidInputRpcError; exports.InvalidLegacyVError = _chunkE6JLGC6Wjs.InvalidLegacyVError; exports.InvalidParamsRpcError = _chunkE6JLGC6Wjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkE6JLGC6Wjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkE6JLGC6Wjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkE6JLGC6Wjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkE6JLGC6Wjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkE6JLGC6Wjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkE6JLGC6Wjs.NonceMaxValueError; exports.NonceTooHighError = _chunkE6JLGC6Wjs.NonceTooHighError; exports.NonceTooLowError = _chunkE6JLGC6Wjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkE6JLGC6Wjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkE6JLGC6Wjs.ParseRpcError; exports.RawContractError = _chunkE6JLGC6Wjs.RawContractError; exports.RequestError = _chunkE6JLGC6Wjs.RequestError; exports.ResourceNotFoundRpcError = _chunkE6JLGC6Wjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkE6JLGC6Wjs.ResourceUnavailableRpcError; exports.RpcError = _chunkE6JLGC6Wjs.RpcError; exports.RpcRequestError = _chunkE6JLGC6Wjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkE6JLGC6Wjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkE6JLGC6Wjs.SwitchChainError; exports.TimeoutError = _chunkE6JLGC6Wjs.TimeoutError; exports.TipAboveFeeCapError = _chunkE6JLGC6Wjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkE6JLGC6Wjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkE6JLGC6Wjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkE6JLGC6Wjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkE6JLGC6Wjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkE6JLGC6Wjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkE6JLGC6Wjs.UnknownNodeError; exports.UnknownRpcError = _chunkE6JLGC6Wjs.UnknownRpcError; exports.UrlRequiredError = _chunkE6JLGC6Wjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkE6JLGC6Wjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkE6JLGC6Wjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkE6JLGC6Wjs.WebSocketRequestError; exports.assertRequest = _chunkE6JLGC6Wjs.assertRequest; exports.assertTransactionEIP1559 = _chunkE6JLGC6Wjs.assertTransactionEIP1559; exports.assertTransactionEIP2930 = _chunkE6JLGC6Wjs.assertTransactionEIP2930; exports.assertTransactionLegacy = _chunkE6JLGC6Wjs.assertTransactionLegacy; exports.boolToBytes = _chunkE6JLGC6Wjs.boolToBytes; exports.boolToHex = _chunkE6JLGC6Wjs.boolToHex; exports.bytesToBigint = _chunkE6JLGC6Wjs.bytesToBigint; exports.bytesToBool = _chunkE6JLGC6Wjs.bytesToBool; exports.bytesToHex = _chunkE6JLGC6Wjs.bytesToHex; exports.bytesToNumber = _chunkE6JLGC6Wjs.bytesToNumber; exports.bytesToString = _chunkE6JLGC6Wjs.bytesToString; exports.concat = _chunkE6JLGC6Wjs.concat; exports.concatBytes = _chunkE6JLGC6Wjs.concatBytes; exports.concatHex = _chunkE6JLGC6Wjs.concatHex; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkE6JLGC6Wjs.decodeAbiParameters; exports.decodeErrorResult = _chunkE6JLGC6Wjs.decodeErrorResult; exports.decodeEventLog = _chunkE6JLGC6Wjs.decodeEventLog; exports.decodeFunctionData = _chunkE6JLGC6Wjs.decodeFunctionData; exports.decodeFunctionResult = _chunkE6JLGC6Wjs.decodeFunctionResult; exports.defineBlock = _chunkE6JLGC6Wjs.defineBlock; exports.defineChain = _chunkE6JLGC6Wjs.defineChain; exports.defineTransaction = _chunkE6JLGC6Wjs.defineTransaction; exports.defineTransactionReceipt = _chunkE6JLGC6Wjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkE6JLGC6Wjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkE6JLGC6Wjs.encodeAbiParameters; exports.encodeDeployData = _chunkE6JLGC6Wjs.encodeDeployData; exports.encodeErrorResult = _chunkE6JLGC6Wjs.encodeErrorResult; exports.encodeEventTopics = _chunkE6JLGC6Wjs.encodeEventTopics; exports.encodeFunctionData = _chunkE6JLGC6Wjs.encodeFunctionData; exports.encodeFunctionResult = _chunkE6JLGC6Wjs.encodeFunctionResult; exports.encodePacked = _chunkE6JLGC6Wjs.encodePacked; exports.etherUnits = _chunkE6JLGC6Wjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkE6JLGC6Wjs.formatBlock; exports.formatEther = _chunkE6JLGC6Wjs.formatEther; exports.formatGwei = _chunkE6JLGC6Wjs.formatGwei; exports.formatTransaction = _chunkE6JLGC6Wjs.formatTransaction; exports.formatTransactionRequest = _chunkE6JLGC6Wjs.formatTransactionRequest; exports.formatUnits = _chunkE6JLGC6Wjs.formatUnits; exports.fromBytes = _chunkE6JLGC6Wjs.fromBytes; exports.fromHex = _chunkE6JLGC6Wjs.fromHex; exports.fromRlp = _chunkE6JLGC6Wjs.fromRlp; exports.getAbiItem = _chunkE6JLGC6Wjs.getAbiItem; exports.getAddress = _chunkE6JLGC6Wjs.getAddress; exports.getContract = _chunkE6JLGC6Wjs.getContract; exports.getContractAddress = _chunkE6JLGC6Wjs.getContractAddress; exports.getContractError = _chunkE6JLGC6Wjs.getContractError; exports.getCreate2Address = _chunkE6JLGC6Wjs.getCreate2Address; exports.getCreateAddress = _chunkE6JLGC6Wjs.getCreateAddress; exports.getEventSelector = _chunkE6JLGC6Wjs.getEventSelector; exports.getFunctionSelector = _chunkE6JLGC6Wjs.getFunctionSelector; exports.getSerializedTransactionType = _chunkE6JLGC6Wjs.getSerializedTransactionType; exports.getTransactionType = _chunkE6JLGC6Wjs.getTransactionType; exports.gweiUnits = _chunkE6JLGC6Wjs.gweiUnits; exports.hashMessage = _chunkE6JLGC6Wjs.hashMessage; exports.hashTypedData = _chunkE6JLGC6Wjs.hashTypedData; exports.hexToBigInt = _chunkE6JLGC6Wjs.hexToBigInt; exports.hexToBool = _chunkE6JLGC6Wjs.hexToBool; exports.hexToBytes = _chunkE6JLGC6Wjs.hexToBytes; exports.hexToNumber = _chunkE6JLGC6Wjs.hexToNumber; exports.hexToString = _chunkE6JLGC6Wjs.hexToString; exports.http = http; exports.isAddress = _chunkE6JLGC6Wjs.isAddress; exports.isAddressEqual = _chunkE6JLGC6Wjs.isAddressEqual; exports.isBytes = _chunkE6JLGC6Wjs.isBytes; exports.isHash = _chunkE6JLGC6Wjs.isHash; exports.isHex = _chunkE6JLGC6Wjs.isHex; exports.keccak256 = _chunkE6JLGC6Wjs.keccak256; exports.labelhash = _chunkE6JLGC6Wjs.labelhash; exports.multicall3Abi = _chunkE6JLGC6Wjs.multicall3Abi; exports.namehash = _chunkE6JLGC6Wjs.namehash; exports.numberToBytes = _chunkE6JLGC6Wjs.numberToBytes; exports.numberToHex = _chunkE6JLGC6Wjs.numberToHex; exports.pad = _chunkE6JLGC6Wjs.pad; exports.padBytes = _chunkE6JLGC6Wjs.padBytes; exports.padHex = _chunkE6JLGC6Wjs.padHex; exports.parseAbi = _chunkE6JLGC6Wjs.parseAbi; exports.parseAbiItem = _chunkE6JLGC6Wjs.parseAbiItem; exports.parseAbiParameter = _chunkE6JLGC6Wjs.parseAbiParameter; exports.parseAbiParameters = _chunkE6JLGC6Wjs.parseAbiParameters; exports.parseEther = _chunkE6JLGC6Wjs.parseEther; exports.parseGwei = _chunkE6JLGC6Wjs.parseGwei; exports.parseTransaction = _chunkE6JLGC6Wjs.parseTransaction; exports.parseUnits = _chunkE6JLGC6Wjs.parseUnits; exports.prepareRequest = _chunkE6JLGC6Wjs.prepareRequest; exports.recoverAddress = _chunkE6JLGC6Wjs.recoverAddress; exports.recoverMessageAddress = _chunkE6JLGC6Wjs.recoverMessageAddress; exports.recoverTypedDataAddress = _chunkE6JLGC6Wjs.recoverTypedDataAddress; exports.serializeTransaction = _chunkE6JLGC6Wjs.serializeTransaction; exports.size = _chunkE6JLGC6Wjs.size; exports.slice = _chunkE6JLGC6Wjs.slice; exports.sliceBytes = _chunkE6JLGC6Wjs.sliceBytes; exports.sliceHex = _chunkE6JLGC6Wjs.sliceHex; exports.stringToBytes = _chunkE6JLGC6Wjs.stringToBytes; exports.stringToHex = _chunkE6JLGC6Wjs.stringToHex; exports.stringify = _chunkE6JLGC6Wjs.stringify; exports.toBytes = _chunkE6JLGC6Wjs.toBytes; exports.toHex = _chunkE6JLGC6Wjs.toHex; exports.toRlp = _chunkE6JLGC6Wjs.toRlp; exports.transactionType = _chunkE6JLGC6Wjs.transactionType; exports.trim = _chunkE6JLGC6Wjs.trim; exports.validateTypedData = _chunkE6JLGC6Wjs.validateTypedData; exports.verifyMessage = _chunkE6JLGC6Wjs.verifyMessage; exports.verifyTypedData = _chunkE6JLGC6Wjs.verifyTypedData; exports.webSocket = webSocket; exports.weiUnits = _chunkE6JLGC6Wjs.weiUnits;
|
926
|
+
exports.AbiConstructorNotFoundError = _chunkQWBI757Jjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkQWBI757Jjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkQWBI757Jjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkQWBI757Jjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkQWBI757Jjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkQWBI757Jjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkQWBI757Jjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkQWBI757Jjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkQWBI757Jjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkQWBI757Jjs.AbiEventNotFoundError; exports.AbiEventSignatureEmptyTopicsError = _chunkQWBI757Jjs.AbiEventSignatureEmptyTopicsError; exports.AbiEventSignatureNotFoundError = _chunkQWBI757Jjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkQWBI757Jjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkQWBI757Jjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkQWBI757Jjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkQWBI757Jjs.BaseError; exports.BlockNotFoundError = _chunkQWBI757Jjs.BlockNotFoundError; exports.CallExecutionError = _chunkQWBI757Jjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkQWBI757Jjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkQWBI757Jjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkQWBI757Jjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkQWBI757Jjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkQWBI757Jjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkQWBI757Jjs.DataLengthTooShortError; exports.DecodeLogTopicsMismatch = _chunkQWBI757Jjs.DecodeLogTopicsMismatch; exports.EnsAvatarUriResolutionError = _chunkQWBI757Jjs.EnsAvatarUriResolutionError; exports.EstimateGasExecutionError = _chunkQWBI757Jjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkQWBI757Jjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkQWBI757Jjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkQWBI757Jjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkQWBI757Jjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkQWBI757Jjs.HttpRequestError; exports.InsufficientFundsError = _chunkQWBI757Jjs.InsufficientFundsError; exports.InternalRpcError = _chunkQWBI757Jjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkQWBI757Jjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkQWBI757Jjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkQWBI757Jjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkQWBI757Jjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkQWBI757Jjs.InvalidAddressError; exports.InvalidArrayError = _chunkQWBI757Jjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkQWBI757Jjs.InvalidBytesBooleanError; exports.InvalidChainIdError = _chunkQWBI757Jjs.InvalidChainIdError; exports.InvalidDefinitionTypeError = _chunkQWBI757Jjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkQWBI757Jjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkQWBI757Jjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkQWBI757Jjs.InvalidInputRpcError; exports.InvalidLegacyVError = _chunkQWBI757Jjs.InvalidLegacyVError; exports.InvalidParamsRpcError = _chunkQWBI757Jjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkQWBI757Jjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkQWBI757Jjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkQWBI757Jjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkQWBI757Jjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkQWBI757Jjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkQWBI757Jjs.NonceMaxValueError; exports.NonceTooHighError = _chunkQWBI757Jjs.NonceTooHighError; exports.NonceTooLowError = _chunkQWBI757Jjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkQWBI757Jjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkQWBI757Jjs.ParseRpcError; exports.RawContractError = _chunkQWBI757Jjs.RawContractError; exports.RequestError = _chunkQWBI757Jjs.RequestError; exports.ResourceNotFoundRpcError = _chunkQWBI757Jjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkQWBI757Jjs.ResourceUnavailableRpcError; exports.RpcError = _chunkQWBI757Jjs.RpcError; exports.RpcRequestError = _chunkQWBI757Jjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkQWBI757Jjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkQWBI757Jjs.SwitchChainError; exports.TimeoutError = _chunkQWBI757Jjs.TimeoutError; exports.TipAboveFeeCapError = _chunkQWBI757Jjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkQWBI757Jjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkQWBI757Jjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkQWBI757Jjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkQWBI757Jjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkQWBI757Jjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkQWBI757Jjs.UnknownNodeError; exports.UnknownRpcError = _chunkQWBI757Jjs.UnknownRpcError; exports.UrlRequiredError = _chunkQWBI757Jjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkQWBI757Jjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkQWBI757Jjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkQWBI757Jjs.WebSocketRequestError; exports.assertRequest = _chunkQWBI757Jjs.assertRequest; exports.assertTransactionEIP1559 = _chunkQWBI757Jjs.assertTransactionEIP1559; exports.assertTransactionEIP2930 = _chunkQWBI757Jjs.assertTransactionEIP2930; exports.assertTransactionLegacy = _chunkQWBI757Jjs.assertTransactionLegacy; exports.boolToBytes = _chunkQWBI757Jjs.boolToBytes; exports.boolToHex = _chunkQWBI757Jjs.boolToHex; exports.bytesToBigint = _chunkQWBI757Jjs.bytesToBigint; exports.bytesToBool = _chunkQWBI757Jjs.bytesToBool; exports.bytesToHex = _chunkQWBI757Jjs.bytesToHex; exports.bytesToNumber = _chunkQWBI757Jjs.bytesToNumber; exports.bytesToString = _chunkQWBI757Jjs.bytesToString; exports.concat = _chunkQWBI757Jjs.concat; exports.concatBytes = _chunkQWBI757Jjs.concatBytes; exports.concatHex = _chunkQWBI757Jjs.concatHex; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkQWBI757Jjs.decodeAbiParameters; exports.decodeErrorResult = _chunkQWBI757Jjs.decodeErrorResult; exports.decodeEventLog = _chunkQWBI757Jjs.decodeEventLog; exports.decodeFunctionData = _chunkQWBI757Jjs.decodeFunctionData; exports.decodeFunctionResult = _chunkQWBI757Jjs.decodeFunctionResult; exports.defineBlock = _chunkQWBI757Jjs.defineBlock; exports.defineChain = _chunkQWBI757Jjs.defineChain; exports.defineTransaction = _chunkQWBI757Jjs.defineTransaction; exports.defineTransactionReceipt = _chunkQWBI757Jjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkQWBI757Jjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkQWBI757Jjs.encodeAbiParameters; exports.encodeDeployData = _chunkQWBI757Jjs.encodeDeployData; exports.encodeErrorResult = _chunkQWBI757Jjs.encodeErrorResult; exports.encodeEventTopics = _chunkQWBI757Jjs.encodeEventTopics; exports.encodeFunctionData = _chunkQWBI757Jjs.encodeFunctionData; exports.encodeFunctionResult = _chunkQWBI757Jjs.encodeFunctionResult; exports.encodePacked = _chunkQWBI757Jjs.encodePacked; exports.etherUnits = _chunkQWBI757Jjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkQWBI757Jjs.formatBlock; exports.formatEther = _chunkQWBI757Jjs.formatEther; exports.formatGwei = _chunkQWBI757Jjs.formatGwei; exports.formatTransaction = _chunkQWBI757Jjs.formatTransaction; exports.formatTransactionRequest = _chunkQWBI757Jjs.formatTransactionRequest; exports.formatUnits = _chunkQWBI757Jjs.formatUnits; exports.fromBytes = _chunkQWBI757Jjs.fromBytes; exports.fromHex = _chunkQWBI757Jjs.fromHex; exports.fromRlp = _chunkQWBI757Jjs.fromRlp; exports.getAbiItem = _chunkQWBI757Jjs.getAbiItem; exports.getAddress = _chunkQWBI757Jjs.getAddress; exports.getContract = _chunkQWBI757Jjs.getContract; exports.getContractAddress = _chunkQWBI757Jjs.getContractAddress; exports.getContractError = _chunkQWBI757Jjs.getContractError; exports.getCreate2Address = _chunkQWBI757Jjs.getCreate2Address; exports.getCreateAddress = _chunkQWBI757Jjs.getCreateAddress; exports.getEventSelector = _chunkQWBI757Jjs.getEventSelector; exports.getFunctionSelector = _chunkQWBI757Jjs.getFunctionSelector; exports.getSerializedTransactionType = _chunkQWBI757Jjs.getSerializedTransactionType; exports.getTransactionType = _chunkQWBI757Jjs.getTransactionType; exports.gweiUnits = _chunkQWBI757Jjs.gweiUnits; exports.hashMessage = _chunkQWBI757Jjs.hashMessage; exports.hashTypedData = _chunkQWBI757Jjs.hashTypedData; exports.hexToBigInt = _chunkQWBI757Jjs.hexToBigInt; exports.hexToBool = _chunkQWBI757Jjs.hexToBool; exports.hexToBytes = _chunkQWBI757Jjs.hexToBytes; exports.hexToNumber = _chunkQWBI757Jjs.hexToNumber; exports.hexToString = _chunkQWBI757Jjs.hexToString; exports.http = http; exports.isAddress = _chunkQWBI757Jjs.isAddress; exports.isAddressEqual = _chunkQWBI757Jjs.isAddressEqual; exports.isBytes = _chunkQWBI757Jjs.isBytes; exports.isHash = _chunkQWBI757Jjs.isHash; exports.isHex = _chunkQWBI757Jjs.isHex; exports.keccak256 = _chunkQWBI757Jjs.keccak256; exports.labelhash = _chunkQWBI757Jjs.labelhash; exports.multicall3Abi = _chunkQWBI757Jjs.multicall3Abi; exports.namehash = _chunkQWBI757Jjs.namehash; exports.numberToBytes = _chunkQWBI757Jjs.numberToBytes; exports.numberToHex = _chunkQWBI757Jjs.numberToHex; exports.pad = _chunkQWBI757Jjs.pad; exports.padBytes = _chunkQWBI757Jjs.padBytes; exports.padHex = _chunkQWBI757Jjs.padHex; exports.parseAbi = _chunkQWBI757Jjs.parseAbi; exports.parseAbiItem = _chunkQWBI757Jjs.parseAbiItem; exports.parseAbiParameter = _chunkQWBI757Jjs.parseAbiParameter; exports.parseAbiParameters = _chunkQWBI757Jjs.parseAbiParameters; exports.parseEther = _chunkQWBI757Jjs.parseEther; exports.parseGwei = _chunkQWBI757Jjs.parseGwei; exports.parseTransaction = _chunkQWBI757Jjs.parseTransaction; exports.parseUnits = _chunkQWBI757Jjs.parseUnits; exports.prepareRequest = _chunkQWBI757Jjs.prepareRequest; exports.recoverAddress = _chunkQWBI757Jjs.recoverAddress; exports.recoverMessageAddress = _chunkQWBI757Jjs.recoverMessageAddress; exports.recoverTypedDataAddress = _chunkQWBI757Jjs.recoverTypedDataAddress; exports.serializeTransaction = _chunkQWBI757Jjs.serializeTransaction; exports.size = _chunkQWBI757Jjs.size; exports.slice = _chunkQWBI757Jjs.slice; exports.sliceBytes = _chunkQWBI757Jjs.sliceBytes; exports.sliceHex = _chunkQWBI757Jjs.sliceHex; exports.stringToBytes = _chunkQWBI757Jjs.stringToBytes; exports.stringToHex = _chunkQWBI757Jjs.stringToHex; exports.stringify = _chunkQWBI757Jjs.stringify; exports.toBytes = _chunkQWBI757Jjs.toBytes; exports.toHex = _chunkQWBI757Jjs.toHex; exports.toRlp = _chunkQWBI757Jjs.toRlp; exports.transactionType = _chunkQWBI757Jjs.transactionType; exports.trim = _chunkQWBI757Jjs.trim; exports.validateTypedData = _chunkQWBI757Jjs.validateTypedData; exports.verifyMessage = _chunkQWBI757Jjs.verifyMessage; exports.verifyTypedData = _chunkQWBI757Jjs.verifyTypedData; exports.webSocket = webSocket; exports.weiUnits = _chunkQWBI757Jjs.weiUnits;
|
927
927
|
//# sourceMappingURL=index.js.map
|
package/dist/index.mjs
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Address, Abi, TypedData } from 'abitype';
|
2
2
|
import { B as ByteArray, H as Hex, C as Chain, a as Hash, i as BlockTag, ao as EventDefinition, a4 as TransactionSerialized, a5 as TransactionSerializedEIP1559, a6 as TransactionSerializedEIP2930, $ as TransactionSerializable, e as AccessList, a8 as TransactionType, a1 as TransactionSerializableEIP1559, a2 as TransactionSerializableEIP2930, a3 as TransactionSerializableLegacy, ap as Signature } from './chain-5507c6f0.js';
|
3
3
|
import { A as Account, T as TypedDataDefinition } from './typedData-46b4d81f.js';
|
4
|
-
import { i as CallParameters, p as EstimateGasParameters, ao as SendTransactionParameters, W as WalletClient, P as PublicClient, b3 as GetAccountParameter } from './getEnsResolver-
|
4
|
+
import { i as CallParameters, p as EstimateGasParameters, ao as SendTransactionParameters, W as WalletClient, P as PublicClient, b3 as GetAccountParameter } from './getEnsResolver-ce85735b.js';
|
5
5
|
import { a as DecodeErrorResultReturnType } from './encodeFunctionResult-c5185b98.js';
|
6
6
|
import WebSocket from 'isomorphic-ws';
|
7
7
|
import { a as Transport } from './createTransport-21a0d2b3.js';
|
package/dist/public.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export { i as CallParameters, j as CallReturnType, k as CreateBlockFilterReturnType, l as CreateEventFilterParameters, m as CreateEventFilterReturnType, n as CreatePendingTransactionFilterReturnType, p as EstimateGasParameters, q as EstimateGasReturnType, r as GetBalanceParameters, s as GetBalanceReturnType, t as GetBlockNumberParameters, u as GetBlockNumberReturnType, v as GetBlockParameters, w as GetBlockReturnType, x as GetBlockTransactionCountParameters, y as GetBlockTransactionCountReturnType, z as GetBytecodeParameters, B as GetBytecodeReturnType, N as GetFeeHistoryParameters, O as GetFeeHistoryReturnType, Q as GetFilterChangesParameters, T as GetFilterChangesReturnType, U as GetFilterLogsParameters, V as GetFilterLogsReturnType, X as GetGasPriceReturnType, a1 as GetTransactionConfirmationsParameters, a3 as GetTransactionConfirmationsReturnType, a2 as GetTransactionCountParameters, a4 as GetTransactionCountReturnType, a5 as GetTransactionParameters, a6 as GetTransactionReceiptParameters, a7 as GetTransactionReceiptReturnType, a8 as GetTransactionReturnType, ab as OnBlock, ac as OnBlockNumberFn, ad as OnBlockNumberParameter, ae as OnBlockParameter, af as OnLogsFn, ag as OnLogsParameter, ah as OnTransactionsFn, ai as OnTransactionsParameter, aj as ReplacementReason, ak as ReplacementReturnType, av as UninstallFilterParameters, aw as UninstallFilterReturnType, ax as WaitForTransactionReceiptParameters, ay as WaitForTransactionReceiptReturnType, aB as WatchBlockNumberParameters, aD as WatchBlocksParameters, aH as WatchPendingTransactionsParameters, bn as call, bo as createBlockFilter, bp as createEventFilter, bq as createPendingTransactionFilter, br as estimateGas, bs as getBalance, bt as getBlock, bu as getBlockNumber, bv as getBlockNumberCache, bw as getBlockTransactionCount, b6 as getBytecode, bx as getChainId, by as getFeeHistory, bz as getFilterChanges, bA as getFilterLogs, bC as getGasPrice, bB as getLogs, bD as getTransaction, bE as getTransactionConfirmations, bF as getTransactionCount, bG as getTransactionReceipt, bH as uninstallFilter, bI as waitForTransactionReceipt, bJ as watchBlockNumber, bK as watchBlocks, bL as watchEvent, bM as watchPendingTransactions } from './getEnsResolver-
|
1
|
+
export { i as CallParameters, j as CallReturnType, k as CreateBlockFilterReturnType, l as CreateEventFilterParameters, m as CreateEventFilterReturnType, n as CreatePendingTransactionFilterReturnType, p as EstimateGasParameters, q as EstimateGasReturnType, r as GetBalanceParameters, s as GetBalanceReturnType, t as GetBlockNumberParameters, u as GetBlockNumberReturnType, v as GetBlockParameters, w as GetBlockReturnType, x as GetBlockTransactionCountParameters, y as GetBlockTransactionCountReturnType, z as GetBytecodeParameters, B as GetBytecodeReturnType, N as GetFeeHistoryParameters, O as GetFeeHistoryReturnType, Q as GetFilterChangesParameters, T as GetFilterChangesReturnType, U as GetFilterLogsParameters, V as GetFilterLogsReturnType, X as GetGasPriceReturnType, a1 as GetTransactionConfirmationsParameters, a3 as GetTransactionConfirmationsReturnType, a2 as GetTransactionCountParameters, a4 as GetTransactionCountReturnType, a5 as GetTransactionParameters, a6 as GetTransactionReceiptParameters, a7 as GetTransactionReceiptReturnType, a8 as GetTransactionReturnType, ab as OnBlock, ac as OnBlockNumberFn, ad as OnBlockNumberParameter, ae as OnBlockParameter, af as OnLogsFn, ag as OnLogsParameter, ah as OnTransactionsFn, ai as OnTransactionsParameter, aj as ReplacementReason, ak as ReplacementReturnType, av as UninstallFilterParameters, aw as UninstallFilterReturnType, ax as WaitForTransactionReceiptParameters, ay as WaitForTransactionReceiptReturnType, aB as WatchBlockNumberParameters, aD as WatchBlocksParameters, aH as WatchPendingTransactionsParameters, bn as call, bo as createBlockFilter, bp as createEventFilter, bq as createPendingTransactionFilter, br as estimateGas, bs as getBalance, bt as getBlock, bu as getBlockNumber, bv as getBlockNumberCache, bw as getBlockTransactionCount, b6 as getBytecode, bx as getChainId, by as getFeeHistory, bz as getFilterChanges, bA as getFilterLogs, bC as getGasPrice, bB as getLogs, bD as getTransaction, bE as getTransactionConfirmations, bF as getTransactionCount, bG as getTransactionReceipt, bH as uninstallFilter, bI as waitForTransactionReceipt, bJ as watchBlockNumber, bK as watchBlocks, bL as watchEvent, bM as watchPendingTransactions } from './getEnsResolver-ce85735b.js';
|
2
2
|
import './createTransport-21a0d2b3.js';
|
3
3
|
import './eip1193-2f3a9cd2.js';
|
4
4
|
import 'abitype';
|
package/dist/public.js
CHANGED
@@ -26,7 +26,7 @@
|
|
26
26
|
|
27
27
|
|
28
28
|
|
29
|
-
var
|
29
|
+
var _chunkQWBI757Jjs = require('./chunk-QWBI757J.js');
|
30
30
|
|
31
31
|
|
32
32
|
|
@@ -55,5 +55,5 @@ var _chunkE6JLGC6Wjs = require('./chunk-E6JLGC6W.js');
|
|
55
55
|
|
56
56
|
|
57
57
|
|
58
|
-
exports.call =
|
58
|
+
exports.call = _chunkQWBI757Jjs.call; exports.createBlockFilter = _chunkQWBI757Jjs.createBlockFilter; exports.createEventFilter = _chunkQWBI757Jjs.createEventFilter; exports.createPendingTransactionFilter = _chunkQWBI757Jjs.createPendingTransactionFilter; exports.estimateGas = _chunkQWBI757Jjs.estimateGas; exports.getBalance = _chunkQWBI757Jjs.getBalance; exports.getBlock = _chunkQWBI757Jjs.getBlock; exports.getBlockNumber = _chunkQWBI757Jjs.getBlockNumber; exports.getBlockNumberCache = _chunkQWBI757Jjs.getBlockNumberCache; exports.getBlockTransactionCount = _chunkQWBI757Jjs.getBlockTransactionCount; exports.getBytecode = _chunkQWBI757Jjs.getBytecode; exports.getChainId = _chunkQWBI757Jjs.getChainId; exports.getFeeHistory = _chunkQWBI757Jjs.getFeeHistory; exports.getFilterChanges = _chunkQWBI757Jjs.getFilterChanges; exports.getFilterLogs = _chunkQWBI757Jjs.getFilterLogs; exports.getGasPrice = _chunkQWBI757Jjs.getGasPrice; exports.getLogs = _chunkQWBI757Jjs.getLogs; exports.getTransaction = _chunkQWBI757Jjs.getTransaction; exports.getTransactionConfirmations = _chunkQWBI757Jjs.getTransactionConfirmations; exports.getTransactionCount = _chunkQWBI757Jjs.getTransactionCount; exports.getTransactionReceipt = _chunkQWBI757Jjs.getTransactionReceipt; exports.uninstallFilter = _chunkQWBI757Jjs.uninstallFilter; exports.waitForTransactionReceipt = _chunkQWBI757Jjs.waitForTransactionReceipt; exports.watchBlockNumber = _chunkQWBI757Jjs.watchBlockNumber; exports.watchBlocks = _chunkQWBI757Jjs.watchBlocks; exports.watchEvent = _chunkQWBI757Jjs.watchEvent; exports.watchPendingTransactions = _chunkQWBI757Jjs.watchPendingTransactions;
|
59
59
|
//# sourceMappingURL=public.js.map
|
package/dist/public.mjs
CHANGED
package/dist/test.js
CHANGED
@@ -27,7 +27,7 @@
|
|
27
27
|
|
28
28
|
|
29
29
|
|
30
|
-
var
|
30
|
+
var _chunkQWBI757Jjs = require('./chunk-QWBI757J.js');
|
31
31
|
|
32
32
|
|
33
33
|
|
@@ -57,5 +57,5 @@ var _chunkE6JLGC6Wjs = require('./chunk-E6JLGC6W.js');
|
|
57
57
|
|
58
58
|
|
59
59
|
|
60
|
-
exports.dropTransaction =
|
60
|
+
exports.dropTransaction = _chunkQWBI757Jjs.dropTransaction; exports.getAutomine = _chunkQWBI757Jjs.getAutomine; exports.getTxpoolContent = _chunkQWBI757Jjs.getTxpoolContent; exports.getTxpoolStatus = _chunkQWBI757Jjs.getTxpoolStatus; exports.impersonateAccount = _chunkQWBI757Jjs.impersonateAccount; exports.increaseTime = _chunkQWBI757Jjs.increaseTime; exports.inspectTxpool = _chunkQWBI757Jjs.inspectTxpool; exports.mine = _chunkQWBI757Jjs.mine; exports.removeBlockTimestampInterval = _chunkQWBI757Jjs.removeBlockTimestampInterval; exports.reset = _chunkQWBI757Jjs.reset; exports.revert = _chunkQWBI757Jjs.revert; exports.sendUnsignedTransaction = _chunkQWBI757Jjs.sendUnsignedTransaction; exports.setAutomine = _chunkQWBI757Jjs.setAutomine; exports.setBalance = _chunkQWBI757Jjs.setBalance; exports.setBlockGasLimit = _chunkQWBI757Jjs.setBlockGasLimit; exports.setBlockTimestampInterval = _chunkQWBI757Jjs.setBlockTimestampInterval; exports.setCode = _chunkQWBI757Jjs.setCode; exports.setCoinbase = _chunkQWBI757Jjs.setCoinbase; exports.setIntervalMining = _chunkQWBI757Jjs.setIntervalMining; exports.setLoggingEnabled = _chunkQWBI757Jjs.setLoggingEnabled; exports.setMinGasPrice = _chunkQWBI757Jjs.setMinGasPrice; exports.setNextBlockBaseFeePerGas = _chunkQWBI757Jjs.setNextBlockBaseFeePerGas; exports.setNextBlockTimestamp = _chunkQWBI757Jjs.setNextBlockTimestamp; exports.setNonce = _chunkQWBI757Jjs.setNonce; exports.setRpcUrl = _chunkQWBI757Jjs.setRpcUrl; exports.setStorageAt = _chunkQWBI757Jjs.setStorageAt; exports.snapshot = _chunkQWBI757Jjs.snapshot; exports.stopImpersonatingAccount = _chunkQWBI757Jjs.stopImpersonatingAccount;
|
61
61
|
//# sourceMappingURL=test.js.map
|