viem 0.3.0-main.20230404T020950 → 0.3.0-main.20230404T072624
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.js +17 -17
- package/dist/accounts/index.mjs +2 -2
- package/dist/chains.js +89 -89
- package/dist/chains.mjs +1 -1
- package/dist/{chunk-VG5HDQMD.mjs → chunk-6JEMQ5UV.mjs} +8 -3
- package/dist/{chunk-VG5HDQMD.mjs.map → chunk-6JEMQ5UV.mjs.map} +1 -1
- package/dist/{chunk-W6Z52WNF.mjs → chunk-7K7536RW.mjs} +2 -2
- package/dist/{chunk-FIBO373R.js → chunk-G3YKZS76.js} +6 -6
- package/dist/{chunk-EMFHIPKB.js → chunk-YDG2GLYF.js} +8 -3
- package/dist/chunk-YDG2GLYF.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-EMFHIPKB.js.map +0 -1
- /package/dist/{chunk-W6Z52WNF.mjs.map → chunk-7K7536RW.mjs.map} +0 -0
- /package/dist/{chunk-FIBO373R.js.map → chunk-G3YKZS76.js.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 _chunkYDG2GLYFjs = require('./chunk-YDG2GLYF.js');
|
27
27
|
|
28
28
|
|
29
29
|
|
@@ -49,5 +49,5 @@ var _chunkEMFHIPKBjs = require('./chunk-EMFHIPKB.js');
|
|
49
49
|
|
50
50
|
|
51
51
|
|
52
|
-
exports.createContractEventFilter =
|
52
|
+
exports.createContractEventFilter = _chunkYDG2GLYFjs.createContractEventFilter; exports.decodeAbiParameters = _chunkYDG2GLYFjs.decodeAbiParameters; exports.decodeErrorResult = _chunkYDG2GLYFjs.decodeErrorResult; exports.decodeEventLog = _chunkYDG2GLYFjs.decodeEventLog; exports.decodeFunctionData = _chunkYDG2GLYFjs.decodeFunctionData; exports.decodeFunctionResult = _chunkYDG2GLYFjs.decodeFunctionResult; exports.deployContract = _chunkYDG2GLYFjs.deployContract; exports.encodeAbiParameters = _chunkYDG2GLYFjs.encodeAbiParameters; exports.encodeDeployData = _chunkYDG2GLYFjs.encodeDeployData; exports.encodeErrorResult = _chunkYDG2GLYFjs.encodeErrorResult; exports.encodeEventTopics = _chunkYDG2GLYFjs.encodeEventTopics; exports.encodeFunctionData = _chunkYDG2GLYFjs.encodeFunctionData; exports.encodeFunctionResult = _chunkYDG2GLYFjs.encodeFunctionResult; exports.estimateContractGas = _chunkYDG2GLYFjs.estimateContractGas; exports.formatAbiItem = _chunkYDG2GLYFjs.formatAbiItem; exports.formatAbiItemWithArgs = _chunkYDG2GLYFjs.formatAbiItemWithArgs; exports.getAbiItem = _chunkYDG2GLYFjs.getAbiItem; exports.getBytecode = _chunkYDG2GLYFjs.getBytecode; exports.getStorageAt = _chunkYDG2GLYFjs.getStorageAt; exports.multicall = _chunkYDG2GLYFjs.multicall; exports.readContract = _chunkYDG2GLYFjs.readContract; exports.simulateContract = _chunkYDG2GLYFjs.simulateContract; exports.watchContractEvent = _chunkYDG2GLYFjs.watchContractEvent; exports.writeContract = _chunkYDG2GLYFjs.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 _chunkYDG2GLYFjs = require('./chunk-YDG2GLYF.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 = _chunkYDG2GLYFjs.getEnsAddress; exports.getEnsAvatar = _chunkYDG2GLYFjs.getEnsAvatar; exports.getEnsName = _chunkYDG2GLYFjs.getEnsName; exports.getEnsResolver = _chunkYDG2GLYFjs.getEnsResolver; exports.getEnsText = _chunkYDG2GLYFjs.getEnsText; exports.labelhash = _chunkYDG2GLYFjs.labelhash; exports.namehash = _chunkYDG2GLYFjs.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 _chunkG3YKZS76js = require('./chunk-G3YKZS76.js');
|
4
4
|
|
5
5
|
|
6
|
-
var
|
6
|
+
var _chunkYDG2GLYFjs = require('./chunk-YDG2GLYF.js');
|
7
7
|
|
8
8
|
// src/adapters/ethers.ts
|
9
|
-
var ethersWalletToAccount = (wallet) =>
|
9
|
+
var ethersWalletToAccount = (wallet) => _chunkG3YKZS76js.toAccount.call(void 0, {
|
10
10
|
address: wallet.address,
|
11
11
|
async signMessage({ message }) {
|
12
|
-
return await wallet.signMessage(
|
12
|
+
return await wallet.signMessage(_chunkYDG2GLYFjs.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 _chunkYDG2GLYFjs = require('./chunk-YDG2GLYF.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: _chunkYDG2GLYFjs.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 (_chunkYDG2GLYFjs.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 _chunkYDG2GLYFjs.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, _chunkYDG2GLYFjs.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 _chunkYDG2GLYFjs.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, _chunkYDG2GLYFjs.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 _chunkYDG2GLYFjs.getSocket.call(void 0, url_);
|
472
|
+
const { result } = await _chunkYDG2GLYFjs.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 _chunkYDG2GLYFjs.getSocket.call(void 0, url_);
|
486
486
|
},
|
487
487
|
async subscribe({ params, onData, onError }) {
|
488
|
-
const socket = await
|
488
|
+
const socket = await _chunkYDG2GLYFjs.getSocket.call(void 0, url_);
|
489
489
|
const { result: subscriptionId } = await new Promise(
|
490
|
-
(resolve, reject) =>
|
490
|
+
(resolve, reject) => _chunkYDG2GLYFjs.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) => _chunkYDG2GLYFjs.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) => _chunkYDG2GLYFjs.call.call(void 0, client, args),
|
571
|
+
createBlockFilter: () => _chunkYDG2GLYFjs.createBlockFilter.call(void 0, client),
|
572
|
+
createContractEventFilter: (args) => _chunkYDG2GLYFjs.createContractEventFilter.call(void 0, client, args),
|
573
|
+
createEventFilter: (args) => _chunkYDG2GLYFjs.createEventFilter.call(void 0, client, args),
|
574
|
+
createPendingTransactionFilter: () => _chunkYDG2GLYFjs.createPendingTransactionFilter.call(void 0, client),
|
575
|
+
estimateContractGas: (args) => _chunkYDG2GLYFjs.estimateContractGas.call(void 0, client, args),
|
576
|
+
estimateGas: (args) => _chunkYDG2GLYFjs.estimateGas.call(void 0, client, args),
|
577
|
+
getBalance: (args) => _chunkYDG2GLYFjs.getBalance.call(void 0, client, args),
|
578
|
+
getBlock: (args) => _chunkYDG2GLYFjs.getBlock.call(void 0, client, args),
|
579
|
+
getBlockNumber: (args) => _chunkYDG2GLYFjs.getBlockNumber.call(void 0, client, args),
|
580
|
+
getBlockTransactionCount: (args) => _chunkYDG2GLYFjs.getBlockTransactionCount.call(void 0, client, args),
|
581
|
+
getBytecode: (args) => _chunkYDG2GLYFjs.getBytecode.call(void 0, client, args),
|
582
|
+
getChainId: () => _chunkYDG2GLYFjs.getChainId.call(void 0, client),
|
583
|
+
getEnsAddress: (args) => _chunkYDG2GLYFjs.getEnsAddress.call(void 0, client, args),
|
584
|
+
getEnsAvatar: (args) => _chunkYDG2GLYFjs.getEnsAvatar.call(void 0, client, args),
|
585
|
+
getEnsName: (args) => _chunkYDG2GLYFjs.getEnsName.call(void 0, client, args),
|
586
|
+
getEnsResolver: (args) => _chunkYDG2GLYFjs.getEnsResolver.call(void 0, client, args),
|
587
|
+
getEnsText: (args) => _chunkYDG2GLYFjs.getEnsText.call(void 0, client, args),
|
588
|
+
getFeeHistory: (args) => _chunkYDG2GLYFjs.getFeeHistory.call(void 0, client, args),
|
589
|
+
getFilterChanges: (args) => _chunkYDG2GLYFjs.getFilterChanges.call(void 0, client, args),
|
590
|
+
getFilterLogs: (args) => _chunkYDG2GLYFjs.getFilterLogs.call(void 0, client, args),
|
591
|
+
getGasPrice: () => _chunkYDG2GLYFjs.getGasPrice.call(void 0, client),
|
592
|
+
getLogs: (args) => _chunkYDG2GLYFjs.getLogs.call(void 0, client, args),
|
593
|
+
getStorageAt: (args) => _chunkYDG2GLYFjs.getStorageAt.call(void 0, client, args),
|
594
|
+
getTransaction: (args) => _chunkYDG2GLYFjs.getTransaction.call(void 0, client, args),
|
595
|
+
getTransactionConfirmations: (args) => _chunkYDG2GLYFjs.getTransactionConfirmations.call(void 0, client, args),
|
596
|
+
getTransactionCount: (args) => _chunkYDG2GLYFjs.getTransactionCount.call(void 0, client, args),
|
597
|
+
getTransactionReceipt: (args) => _chunkYDG2GLYFjs.getTransactionReceipt.call(void 0, client, args),
|
598
|
+
multicall: (args) => _chunkYDG2GLYFjs.multicall.call(void 0, client, args),
|
599
|
+
readContract: (args) => _chunkYDG2GLYFjs.readContract.call(void 0, client, args),
|
600
|
+
simulateContract: (args) => _chunkYDG2GLYFjs.simulateContract.call(void 0, client, args),
|
601
|
+
uninstallFilter: (args) => _chunkYDG2GLYFjs.uninstallFilter.call(void 0, client, args),
|
602
|
+
waitForTransactionReceipt: (args) => _chunkYDG2GLYFjs.waitForTransactionReceipt.call(void 0, client, args),
|
603
|
+
watchBlocks: (args) => _chunkYDG2GLYFjs.watchBlocks.call(void 0, client, args),
|
604
|
+
watchBlockNumber: (args) => _chunkYDG2GLYFjs.watchBlockNumber.call(void 0, client, args),
|
605
|
+
watchContractEvent: (args) => _chunkYDG2GLYFjs.watchContractEvent.call(void 0, client, args),
|
606
|
+
watchEvent: (args) => _chunkYDG2GLYFjs.watchEvent.call(void 0, client, args),
|
607
|
+
watchPendingTransactions: (args) => _chunkYDG2GLYFjs.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) => _chunkYDG2GLYFjs.dropTransaction.call(void 0, client, args),
|
614
|
+
getAutomine: () => _chunkYDG2GLYFjs.getAutomine.call(void 0, client),
|
615
|
+
getTxpoolContent: () => _chunkYDG2GLYFjs.getTxpoolContent.call(void 0, client),
|
616
|
+
getTxpoolStatus: () => _chunkYDG2GLYFjs.getTxpoolStatus.call(void 0, client),
|
617
|
+
impersonateAccount: (args) => _chunkYDG2GLYFjs.impersonateAccount.call(void 0, client, args),
|
618
|
+
increaseTime: (args) => _chunkYDG2GLYFjs.increaseTime.call(void 0, client, args),
|
619
|
+
inspectTxpool: () => _chunkYDG2GLYFjs.inspectTxpool.call(void 0, client),
|
620
|
+
mine: (args) => _chunkYDG2GLYFjs.mine.call(void 0, client, args),
|
621
|
+
removeBlockTimestampInterval: () => _chunkYDG2GLYFjs.removeBlockTimestampInterval.call(void 0, client),
|
622
|
+
reset: (args) => _chunkYDG2GLYFjs.reset.call(void 0, client, args),
|
623
|
+
revert: (args) => _chunkYDG2GLYFjs.revert.call(void 0, client, args),
|
624
|
+
sendUnsignedTransaction: (args) => _chunkYDG2GLYFjs.sendUnsignedTransaction.call(void 0, client, args),
|
625
|
+
setAutomine: (args) => _chunkYDG2GLYFjs.setAutomine.call(void 0, client, args),
|
626
|
+
setBalance: (args) => _chunkYDG2GLYFjs.setBalance.call(void 0, client, args),
|
627
|
+
setBlockGasLimit: (args) => _chunkYDG2GLYFjs.setBlockGasLimit.call(void 0, client, args),
|
628
|
+
setBlockTimestampInterval: (args) => _chunkYDG2GLYFjs.setBlockTimestampInterval.call(void 0, client, args),
|
629
|
+
setCode: (args) => _chunkYDG2GLYFjs.setCode.call(void 0, client, args),
|
630
|
+
setCoinbase: (args) => _chunkYDG2GLYFjs.setCoinbase.call(void 0, client, args),
|
631
|
+
setIntervalMining: (args) => _chunkYDG2GLYFjs.setIntervalMining.call(void 0, client, args),
|
632
|
+
setLoggingEnabled: (args) => _chunkYDG2GLYFjs.setLoggingEnabled.call(void 0, client, args),
|
633
|
+
setMinGasPrice: (args) => _chunkYDG2GLYFjs.setMinGasPrice.call(void 0, client, args),
|
634
|
+
setNextBlockBaseFeePerGas: (args) => _chunkYDG2GLYFjs.setNextBlockBaseFeePerGas.call(void 0, client, args),
|
635
|
+
setNextBlockTimestamp: (args) => _chunkYDG2GLYFjs.setNextBlockTimestamp.call(void 0, client, args),
|
636
|
+
setNonce: (args) => _chunkYDG2GLYFjs.setNonce.call(void 0, client, args),
|
637
|
+
setRpcUrl: (args) => _chunkYDG2GLYFjs.setRpcUrl.call(void 0, client, args),
|
638
|
+
setStorageAt: (args) => _chunkYDG2GLYFjs.setStorageAt.call(void 0, client, args),
|
639
|
+
snapshot: () => _chunkYDG2GLYFjs.snapshot.call(void 0, client),
|
640
|
+
stopImpersonatingAccount: (args) => _chunkYDG2GLYFjs.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) => _chunkYDG2GLYFjs.addChain.call(void 0, client, args),
|
647
|
+
deployContract: (args) => _chunkYDG2GLYFjs.deployContract.call(void 0, client, args),
|
648
|
+
getAddresses: () => _chunkYDG2GLYFjs.getAddresses.call(void 0, client),
|
649
|
+
getChainId: () => _chunkYDG2GLYFjs.getChainId.call(void 0, client),
|
650
|
+
getPermissions: () => _chunkYDG2GLYFjs.getPermissions.call(void 0, client),
|
651
|
+
requestAddresses: () => _chunkYDG2GLYFjs.requestAddresses.call(void 0, client),
|
652
|
+
requestPermissions: (args) => _chunkYDG2GLYFjs.requestPermissions.call(void 0, client, args),
|
653
|
+
sendTransaction: (args) => _chunkYDG2GLYFjs.sendTransaction.call(void 0, client, args),
|
654
|
+
signMessage: (args) => _chunkYDG2GLYFjs.signMessage.call(void 0, client, args),
|
655
|
+
signTypedData: (args) => _chunkYDG2GLYFjs.signTypedData.call(void 0, client, args),
|
656
|
+
switchChain: (args) => _chunkYDG2GLYFjs.switchChain.call(void 0, client, args),
|
657
|
+
watchAsset: (args) => _chunkYDG2GLYFjs.watchAsset.call(void 0, client, args),
|
658
|
+
writeContract: (args) => _chunkYDG2GLYFjs.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 ? _chunkYDG2GLYFjs.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 = _chunkEMFHIPKBjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkEMFHIPKBjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkEMFHIPKBjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkEMFHIPKBjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkEMFHIPKBjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkEMFHIPKBjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkEMFHIPKBjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkEMFHIPKBjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkEMFHIPKBjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkEMFHIPKBjs.AbiEventNotFoundError; exports.AbiEventSignatureEmptyTopicsError = _chunkEMFHIPKBjs.AbiEventSignatureEmptyTopicsError; exports.AbiEventSignatureNotFoundError = _chunkEMFHIPKBjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkEMFHIPKBjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkEMFHIPKBjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkEMFHIPKBjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkEMFHIPKBjs.BaseError; exports.BlockNotFoundError = _chunkEMFHIPKBjs.BlockNotFoundError; exports.CallExecutionError = _chunkEMFHIPKBjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkEMFHIPKBjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkEMFHIPKBjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkEMFHIPKBjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkEMFHIPKBjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkEMFHIPKBjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkEMFHIPKBjs.DataLengthTooShortError; exports.DecodeLogTopicsMismatch = _chunkEMFHIPKBjs.DecodeLogTopicsMismatch; exports.EnsAvatarUriResolutionError = _chunkEMFHIPKBjs.EnsAvatarUriResolutionError; exports.EstimateGasExecutionError = _chunkEMFHIPKBjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkEMFHIPKBjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkEMFHIPKBjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkEMFHIPKBjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkEMFHIPKBjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkEMFHIPKBjs.HttpRequestError; exports.InsufficientFundsError = _chunkEMFHIPKBjs.InsufficientFundsError; exports.InternalRpcError = _chunkEMFHIPKBjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkEMFHIPKBjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkEMFHIPKBjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkEMFHIPKBjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkEMFHIPKBjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkEMFHIPKBjs.InvalidAddressError; exports.InvalidArrayError = _chunkEMFHIPKBjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkEMFHIPKBjs.InvalidBytesBooleanError; exports.InvalidChainIdError = _chunkEMFHIPKBjs.InvalidChainIdError; exports.InvalidDefinitionTypeError = _chunkEMFHIPKBjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkEMFHIPKBjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkEMFHIPKBjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkEMFHIPKBjs.InvalidInputRpcError; exports.InvalidLegacyVError = _chunkEMFHIPKBjs.InvalidLegacyVError; exports.InvalidParamsRpcError = _chunkEMFHIPKBjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkEMFHIPKBjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkEMFHIPKBjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkEMFHIPKBjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkEMFHIPKBjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkEMFHIPKBjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkEMFHIPKBjs.NonceMaxValueError; exports.NonceTooHighError = _chunkEMFHIPKBjs.NonceTooHighError; exports.NonceTooLowError = _chunkEMFHIPKBjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkEMFHIPKBjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkEMFHIPKBjs.ParseRpcError; exports.RawContractError = _chunkEMFHIPKBjs.RawContractError; exports.RequestError = _chunkEMFHIPKBjs.RequestError; exports.ResourceNotFoundRpcError = _chunkEMFHIPKBjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkEMFHIPKBjs.ResourceUnavailableRpcError; exports.RpcError = _chunkEMFHIPKBjs.RpcError; exports.RpcRequestError = _chunkEMFHIPKBjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkEMFHIPKBjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkEMFHIPKBjs.SwitchChainError; exports.TimeoutError = _chunkEMFHIPKBjs.TimeoutError; exports.TipAboveFeeCapError = _chunkEMFHIPKBjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkEMFHIPKBjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkEMFHIPKBjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkEMFHIPKBjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkEMFHIPKBjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkEMFHIPKBjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkEMFHIPKBjs.UnknownNodeError; exports.UnknownRpcError = _chunkEMFHIPKBjs.UnknownRpcError; exports.UrlRequiredError = _chunkEMFHIPKBjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkEMFHIPKBjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkEMFHIPKBjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkEMFHIPKBjs.WebSocketRequestError; exports.assertRequest = _chunkEMFHIPKBjs.assertRequest; exports.assertTransactionEIP1559 = _chunkEMFHIPKBjs.assertTransactionEIP1559; exports.assertTransactionEIP2930 = _chunkEMFHIPKBjs.assertTransactionEIP2930; exports.assertTransactionLegacy = _chunkEMFHIPKBjs.assertTransactionLegacy; exports.boolToBytes = _chunkEMFHIPKBjs.boolToBytes; exports.boolToHex = _chunkEMFHIPKBjs.boolToHex; exports.bytesToBigint = _chunkEMFHIPKBjs.bytesToBigint; exports.bytesToBool = _chunkEMFHIPKBjs.bytesToBool; exports.bytesToHex = _chunkEMFHIPKBjs.bytesToHex; exports.bytesToNumber = _chunkEMFHIPKBjs.bytesToNumber; exports.bytesToString = _chunkEMFHIPKBjs.bytesToString; exports.concat = _chunkEMFHIPKBjs.concat; exports.concatBytes = _chunkEMFHIPKBjs.concatBytes; exports.concatHex = _chunkEMFHIPKBjs.concatHex; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkEMFHIPKBjs.decodeAbiParameters; exports.decodeErrorResult = _chunkEMFHIPKBjs.decodeErrorResult; exports.decodeEventLog = _chunkEMFHIPKBjs.decodeEventLog; exports.decodeFunctionData = _chunkEMFHIPKBjs.decodeFunctionData; exports.decodeFunctionResult = _chunkEMFHIPKBjs.decodeFunctionResult; exports.defineBlock = _chunkEMFHIPKBjs.defineBlock; exports.defineChain = _chunkEMFHIPKBjs.defineChain; exports.defineTransaction = _chunkEMFHIPKBjs.defineTransaction; exports.defineTransactionReceipt = _chunkEMFHIPKBjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkEMFHIPKBjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkEMFHIPKBjs.encodeAbiParameters; exports.encodeDeployData = _chunkEMFHIPKBjs.encodeDeployData; exports.encodeErrorResult = _chunkEMFHIPKBjs.encodeErrorResult; exports.encodeEventTopics = _chunkEMFHIPKBjs.encodeEventTopics; exports.encodeFunctionData = _chunkEMFHIPKBjs.encodeFunctionData; exports.encodeFunctionResult = _chunkEMFHIPKBjs.encodeFunctionResult; exports.encodePacked = _chunkEMFHIPKBjs.encodePacked; exports.etherUnits = _chunkEMFHIPKBjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkEMFHIPKBjs.formatBlock; exports.formatEther = _chunkEMFHIPKBjs.formatEther; exports.formatGwei = _chunkEMFHIPKBjs.formatGwei; exports.formatTransaction = _chunkEMFHIPKBjs.formatTransaction; exports.formatTransactionRequest = _chunkEMFHIPKBjs.formatTransactionRequest; exports.formatUnits = _chunkEMFHIPKBjs.formatUnits; exports.fromBytes = _chunkEMFHIPKBjs.fromBytes; exports.fromHex = _chunkEMFHIPKBjs.fromHex; exports.fromRlp = _chunkEMFHIPKBjs.fromRlp; exports.getAbiItem = _chunkEMFHIPKBjs.getAbiItem; exports.getAddress = _chunkEMFHIPKBjs.getAddress; exports.getContract = _chunkEMFHIPKBjs.getContract; exports.getContractAddress = _chunkEMFHIPKBjs.getContractAddress; exports.getContractError = _chunkEMFHIPKBjs.getContractError; exports.getCreate2Address = _chunkEMFHIPKBjs.getCreate2Address; exports.getCreateAddress = _chunkEMFHIPKBjs.getCreateAddress; exports.getEventSelector = _chunkEMFHIPKBjs.getEventSelector; exports.getFunctionSelector = _chunkEMFHIPKBjs.getFunctionSelector; exports.getSerializedTransactionType = _chunkEMFHIPKBjs.getSerializedTransactionType; exports.getTransactionType = _chunkEMFHIPKBjs.getTransactionType; exports.gweiUnits = _chunkEMFHIPKBjs.gweiUnits; exports.hashMessage = _chunkEMFHIPKBjs.hashMessage; exports.hashTypedData = _chunkEMFHIPKBjs.hashTypedData; exports.hexToBigInt = _chunkEMFHIPKBjs.hexToBigInt; exports.hexToBool = _chunkEMFHIPKBjs.hexToBool; exports.hexToBytes = _chunkEMFHIPKBjs.hexToBytes; exports.hexToNumber = _chunkEMFHIPKBjs.hexToNumber; exports.hexToString = _chunkEMFHIPKBjs.hexToString; exports.http = http; exports.isAddress = _chunkEMFHIPKBjs.isAddress; exports.isAddressEqual = _chunkEMFHIPKBjs.isAddressEqual; exports.isBytes = _chunkEMFHIPKBjs.isBytes; exports.isHash = _chunkEMFHIPKBjs.isHash; exports.isHex = _chunkEMFHIPKBjs.isHex; exports.keccak256 = _chunkEMFHIPKBjs.keccak256; exports.labelhash = _chunkEMFHIPKBjs.labelhash; exports.multicall3Abi = _chunkEMFHIPKBjs.multicall3Abi; exports.namehash = _chunkEMFHIPKBjs.namehash; exports.numberToBytes = _chunkEMFHIPKBjs.numberToBytes; exports.numberToHex = _chunkEMFHIPKBjs.numberToHex; exports.pad = _chunkEMFHIPKBjs.pad; exports.padBytes = _chunkEMFHIPKBjs.padBytes; exports.padHex = _chunkEMFHIPKBjs.padHex; exports.parseAbi = _chunkEMFHIPKBjs.parseAbi; exports.parseAbiItem = _chunkEMFHIPKBjs.parseAbiItem; exports.parseAbiParameter = _chunkEMFHIPKBjs.parseAbiParameter; exports.parseAbiParameters = _chunkEMFHIPKBjs.parseAbiParameters; exports.parseEther = _chunkEMFHIPKBjs.parseEther; exports.parseGwei = _chunkEMFHIPKBjs.parseGwei; exports.parseTransaction = _chunkEMFHIPKBjs.parseTransaction; exports.parseUnits = _chunkEMFHIPKBjs.parseUnits; exports.prepareRequest = _chunkEMFHIPKBjs.prepareRequest; exports.recoverAddress = _chunkEMFHIPKBjs.recoverAddress; exports.recoverMessageAddress = _chunkEMFHIPKBjs.recoverMessageAddress; exports.recoverTypedDataAddress = _chunkEMFHIPKBjs.recoverTypedDataAddress; exports.serializeTransaction = _chunkEMFHIPKBjs.serializeTransaction; exports.size = _chunkEMFHIPKBjs.size; exports.slice = _chunkEMFHIPKBjs.slice; exports.sliceBytes = _chunkEMFHIPKBjs.sliceBytes; exports.sliceHex = _chunkEMFHIPKBjs.sliceHex; exports.stringToBytes = _chunkEMFHIPKBjs.stringToBytes; exports.stringToHex = _chunkEMFHIPKBjs.stringToHex; exports.stringify = _chunkEMFHIPKBjs.stringify; exports.toBytes = _chunkEMFHIPKBjs.toBytes; exports.toHex = _chunkEMFHIPKBjs.toHex; exports.toRlp = _chunkEMFHIPKBjs.toRlp; exports.transactionType = _chunkEMFHIPKBjs.transactionType; exports.trim = _chunkEMFHIPKBjs.trim; exports.validateTypedData = _chunkEMFHIPKBjs.validateTypedData; exports.verifyMessage = _chunkEMFHIPKBjs.verifyMessage; exports.verifyTypedData = _chunkEMFHIPKBjs.verifyTypedData; exports.webSocket = webSocket; exports.weiUnits = _chunkEMFHIPKBjs.weiUnits;
|
926
|
+
exports.AbiConstructorNotFoundError = _chunkYDG2GLYFjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkYDG2GLYFjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkYDG2GLYFjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkYDG2GLYFjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkYDG2GLYFjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkYDG2GLYFjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkYDG2GLYFjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkYDG2GLYFjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkYDG2GLYFjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkYDG2GLYFjs.AbiEventNotFoundError; exports.AbiEventSignatureEmptyTopicsError = _chunkYDG2GLYFjs.AbiEventSignatureEmptyTopicsError; exports.AbiEventSignatureNotFoundError = _chunkYDG2GLYFjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkYDG2GLYFjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkYDG2GLYFjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkYDG2GLYFjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkYDG2GLYFjs.BaseError; exports.BlockNotFoundError = _chunkYDG2GLYFjs.BlockNotFoundError; exports.CallExecutionError = _chunkYDG2GLYFjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkYDG2GLYFjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkYDG2GLYFjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkYDG2GLYFjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkYDG2GLYFjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkYDG2GLYFjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkYDG2GLYFjs.DataLengthTooShortError; exports.DecodeLogTopicsMismatch = _chunkYDG2GLYFjs.DecodeLogTopicsMismatch; exports.EnsAvatarUriResolutionError = _chunkYDG2GLYFjs.EnsAvatarUriResolutionError; exports.EstimateGasExecutionError = _chunkYDG2GLYFjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkYDG2GLYFjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkYDG2GLYFjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkYDG2GLYFjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkYDG2GLYFjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkYDG2GLYFjs.HttpRequestError; exports.InsufficientFundsError = _chunkYDG2GLYFjs.InsufficientFundsError; exports.InternalRpcError = _chunkYDG2GLYFjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkYDG2GLYFjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkYDG2GLYFjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkYDG2GLYFjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkYDG2GLYFjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkYDG2GLYFjs.InvalidAddressError; exports.InvalidArrayError = _chunkYDG2GLYFjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkYDG2GLYFjs.InvalidBytesBooleanError; exports.InvalidChainIdError = _chunkYDG2GLYFjs.InvalidChainIdError; exports.InvalidDefinitionTypeError = _chunkYDG2GLYFjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkYDG2GLYFjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkYDG2GLYFjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkYDG2GLYFjs.InvalidInputRpcError; exports.InvalidLegacyVError = _chunkYDG2GLYFjs.InvalidLegacyVError; exports.InvalidParamsRpcError = _chunkYDG2GLYFjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkYDG2GLYFjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkYDG2GLYFjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkYDG2GLYFjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkYDG2GLYFjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkYDG2GLYFjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkYDG2GLYFjs.NonceMaxValueError; exports.NonceTooHighError = _chunkYDG2GLYFjs.NonceTooHighError; exports.NonceTooLowError = _chunkYDG2GLYFjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkYDG2GLYFjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkYDG2GLYFjs.ParseRpcError; exports.RawContractError = _chunkYDG2GLYFjs.RawContractError; exports.RequestError = _chunkYDG2GLYFjs.RequestError; exports.ResourceNotFoundRpcError = _chunkYDG2GLYFjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkYDG2GLYFjs.ResourceUnavailableRpcError; exports.RpcError = _chunkYDG2GLYFjs.RpcError; exports.RpcRequestError = _chunkYDG2GLYFjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkYDG2GLYFjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkYDG2GLYFjs.SwitchChainError; exports.TimeoutError = _chunkYDG2GLYFjs.TimeoutError; exports.TipAboveFeeCapError = _chunkYDG2GLYFjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkYDG2GLYFjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkYDG2GLYFjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkYDG2GLYFjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkYDG2GLYFjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkYDG2GLYFjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkYDG2GLYFjs.UnknownNodeError; exports.UnknownRpcError = _chunkYDG2GLYFjs.UnknownRpcError; exports.UrlRequiredError = _chunkYDG2GLYFjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkYDG2GLYFjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkYDG2GLYFjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkYDG2GLYFjs.WebSocketRequestError; exports.assertRequest = _chunkYDG2GLYFjs.assertRequest; exports.assertTransactionEIP1559 = _chunkYDG2GLYFjs.assertTransactionEIP1559; exports.assertTransactionEIP2930 = _chunkYDG2GLYFjs.assertTransactionEIP2930; exports.assertTransactionLegacy = _chunkYDG2GLYFjs.assertTransactionLegacy; exports.boolToBytes = _chunkYDG2GLYFjs.boolToBytes; exports.boolToHex = _chunkYDG2GLYFjs.boolToHex; exports.bytesToBigint = _chunkYDG2GLYFjs.bytesToBigint; exports.bytesToBool = _chunkYDG2GLYFjs.bytesToBool; exports.bytesToHex = _chunkYDG2GLYFjs.bytesToHex; exports.bytesToNumber = _chunkYDG2GLYFjs.bytesToNumber; exports.bytesToString = _chunkYDG2GLYFjs.bytesToString; exports.concat = _chunkYDG2GLYFjs.concat; exports.concatBytes = _chunkYDG2GLYFjs.concatBytes; exports.concatHex = _chunkYDG2GLYFjs.concatHex; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkYDG2GLYFjs.decodeAbiParameters; exports.decodeErrorResult = _chunkYDG2GLYFjs.decodeErrorResult; exports.decodeEventLog = _chunkYDG2GLYFjs.decodeEventLog; exports.decodeFunctionData = _chunkYDG2GLYFjs.decodeFunctionData; exports.decodeFunctionResult = _chunkYDG2GLYFjs.decodeFunctionResult; exports.defineBlock = _chunkYDG2GLYFjs.defineBlock; exports.defineChain = _chunkYDG2GLYFjs.defineChain; exports.defineTransaction = _chunkYDG2GLYFjs.defineTransaction; exports.defineTransactionReceipt = _chunkYDG2GLYFjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkYDG2GLYFjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkYDG2GLYFjs.encodeAbiParameters; exports.encodeDeployData = _chunkYDG2GLYFjs.encodeDeployData; exports.encodeErrorResult = _chunkYDG2GLYFjs.encodeErrorResult; exports.encodeEventTopics = _chunkYDG2GLYFjs.encodeEventTopics; exports.encodeFunctionData = _chunkYDG2GLYFjs.encodeFunctionData; exports.encodeFunctionResult = _chunkYDG2GLYFjs.encodeFunctionResult; exports.encodePacked = _chunkYDG2GLYFjs.encodePacked; exports.etherUnits = _chunkYDG2GLYFjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkYDG2GLYFjs.formatBlock; exports.formatEther = _chunkYDG2GLYFjs.formatEther; exports.formatGwei = _chunkYDG2GLYFjs.formatGwei; exports.formatTransaction = _chunkYDG2GLYFjs.formatTransaction; exports.formatTransactionRequest = _chunkYDG2GLYFjs.formatTransactionRequest; exports.formatUnits = _chunkYDG2GLYFjs.formatUnits; exports.fromBytes = _chunkYDG2GLYFjs.fromBytes; exports.fromHex = _chunkYDG2GLYFjs.fromHex; exports.fromRlp = _chunkYDG2GLYFjs.fromRlp; exports.getAbiItem = _chunkYDG2GLYFjs.getAbiItem; exports.getAddress = _chunkYDG2GLYFjs.getAddress; exports.getContract = _chunkYDG2GLYFjs.getContract; exports.getContractAddress = _chunkYDG2GLYFjs.getContractAddress; exports.getContractError = _chunkYDG2GLYFjs.getContractError; exports.getCreate2Address = _chunkYDG2GLYFjs.getCreate2Address; exports.getCreateAddress = _chunkYDG2GLYFjs.getCreateAddress; exports.getEventSelector = _chunkYDG2GLYFjs.getEventSelector; exports.getFunctionSelector = _chunkYDG2GLYFjs.getFunctionSelector; exports.getSerializedTransactionType = _chunkYDG2GLYFjs.getSerializedTransactionType; exports.getTransactionType = _chunkYDG2GLYFjs.getTransactionType; exports.gweiUnits = _chunkYDG2GLYFjs.gweiUnits; exports.hashMessage = _chunkYDG2GLYFjs.hashMessage; exports.hashTypedData = _chunkYDG2GLYFjs.hashTypedData; exports.hexToBigInt = _chunkYDG2GLYFjs.hexToBigInt; exports.hexToBool = _chunkYDG2GLYFjs.hexToBool; exports.hexToBytes = _chunkYDG2GLYFjs.hexToBytes; exports.hexToNumber = _chunkYDG2GLYFjs.hexToNumber; exports.hexToString = _chunkYDG2GLYFjs.hexToString; exports.http = http; exports.isAddress = _chunkYDG2GLYFjs.isAddress; exports.isAddressEqual = _chunkYDG2GLYFjs.isAddressEqual; exports.isBytes = _chunkYDG2GLYFjs.isBytes; exports.isHash = _chunkYDG2GLYFjs.isHash; exports.isHex = _chunkYDG2GLYFjs.isHex; exports.keccak256 = _chunkYDG2GLYFjs.keccak256; exports.labelhash = _chunkYDG2GLYFjs.labelhash; exports.multicall3Abi = _chunkYDG2GLYFjs.multicall3Abi; exports.namehash = _chunkYDG2GLYFjs.namehash; exports.numberToBytes = _chunkYDG2GLYFjs.numberToBytes; exports.numberToHex = _chunkYDG2GLYFjs.numberToHex; exports.pad = _chunkYDG2GLYFjs.pad; exports.padBytes = _chunkYDG2GLYFjs.padBytes; exports.padHex = _chunkYDG2GLYFjs.padHex; exports.parseAbi = _chunkYDG2GLYFjs.parseAbi; exports.parseAbiItem = _chunkYDG2GLYFjs.parseAbiItem; exports.parseAbiParameter = _chunkYDG2GLYFjs.parseAbiParameter; exports.parseAbiParameters = _chunkYDG2GLYFjs.parseAbiParameters; exports.parseEther = _chunkYDG2GLYFjs.parseEther; exports.parseGwei = _chunkYDG2GLYFjs.parseGwei; exports.parseTransaction = _chunkYDG2GLYFjs.parseTransaction; exports.parseUnits = _chunkYDG2GLYFjs.parseUnits; exports.prepareRequest = _chunkYDG2GLYFjs.prepareRequest; exports.recoverAddress = _chunkYDG2GLYFjs.recoverAddress; exports.recoverMessageAddress = _chunkYDG2GLYFjs.recoverMessageAddress; exports.recoverTypedDataAddress = _chunkYDG2GLYFjs.recoverTypedDataAddress; exports.serializeTransaction = _chunkYDG2GLYFjs.serializeTransaction; exports.size = _chunkYDG2GLYFjs.size; exports.slice = _chunkYDG2GLYFjs.slice; exports.sliceBytes = _chunkYDG2GLYFjs.sliceBytes; exports.sliceHex = _chunkYDG2GLYFjs.sliceHex; exports.stringToBytes = _chunkYDG2GLYFjs.stringToBytes; exports.stringToHex = _chunkYDG2GLYFjs.stringToHex; exports.stringify = _chunkYDG2GLYFjs.stringify; exports.toBytes = _chunkYDG2GLYFjs.toBytes; exports.toHex = _chunkYDG2GLYFjs.toHex; exports.toRlp = _chunkYDG2GLYFjs.toRlp; exports.transactionType = _chunkYDG2GLYFjs.transactionType; exports.trim = _chunkYDG2GLYFjs.trim; exports.validateTypedData = _chunkYDG2GLYFjs.validateTypedData; exports.verifyMessage = _chunkYDG2GLYFjs.verifyMessage; exports.verifyTypedData = _chunkYDG2GLYFjs.verifyTypedData; exports.webSocket = webSocket; exports.weiUnits = _chunkYDG2GLYFjs.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 _chunkYDG2GLYFjs = require('./chunk-YDG2GLYF.js');
|
30
30
|
|
31
31
|
|
32
32
|
|
@@ -55,5 +55,5 @@ var _chunkEMFHIPKBjs = require('./chunk-EMFHIPKB.js');
|
|
55
55
|
|
56
56
|
|
57
57
|
|
58
|
-
exports.call =
|
58
|
+
exports.call = _chunkYDG2GLYFjs.call; exports.createBlockFilter = _chunkYDG2GLYFjs.createBlockFilter; exports.createEventFilter = _chunkYDG2GLYFjs.createEventFilter; exports.createPendingTransactionFilter = _chunkYDG2GLYFjs.createPendingTransactionFilter; exports.estimateGas = _chunkYDG2GLYFjs.estimateGas; exports.getBalance = _chunkYDG2GLYFjs.getBalance; exports.getBlock = _chunkYDG2GLYFjs.getBlock; exports.getBlockNumber = _chunkYDG2GLYFjs.getBlockNumber; exports.getBlockNumberCache = _chunkYDG2GLYFjs.getBlockNumberCache; exports.getBlockTransactionCount = _chunkYDG2GLYFjs.getBlockTransactionCount; exports.getBytecode = _chunkYDG2GLYFjs.getBytecode; exports.getChainId = _chunkYDG2GLYFjs.getChainId; exports.getFeeHistory = _chunkYDG2GLYFjs.getFeeHistory; exports.getFilterChanges = _chunkYDG2GLYFjs.getFilterChanges; exports.getFilterLogs = _chunkYDG2GLYFjs.getFilterLogs; exports.getGasPrice = _chunkYDG2GLYFjs.getGasPrice; exports.getLogs = _chunkYDG2GLYFjs.getLogs; exports.getTransaction = _chunkYDG2GLYFjs.getTransaction; exports.getTransactionConfirmations = _chunkYDG2GLYFjs.getTransactionConfirmations; exports.getTransactionCount = _chunkYDG2GLYFjs.getTransactionCount; exports.getTransactionReceipt = _chunkYDG2GLYFjs.getTransactionReceipt; exports.uninstallFilter = _chunkYDG2GLYFjs.uninstallFilter; exports.waitForTransactionReceipt = _chunkYDG2GLYFjs.waitForTransactionReceipt; exports.watchBlockNumber = _chunkYDG2GLYFjs.watchBlockNumber; exports.watchBlocks = _chunkYDG2GLYFjs.watchBlocks; exports.watchEvent = _chunkYDG2GLYFjs.watchEvent; exports.watchPendingTransactions = _chunkYDG2GLYFjs.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 _chunkYDG2GLYFjs = require('./chunk-YDG2GLYF.js');
|
31
31
|
|
32
32
|
|
33
33
|
|
@@ -57,5 +57,5 @@ var _chunkEMFHIPKBjs = require('./chunk-EMFHIPKB.js');
|
|
57
57
|
|
58
58
|
|
59
59
|
|
60
|
-
exports.dropTransaction =
|
60
|
+
exports.dropTransaction = _chunkYDG2GLYFjs.dropTransaction; exports.getAutomine = _chunkYDG2GLYFjs.getAutomine; exports.getTxpoolContent = _chunkYDG2GLYFjs.getTxpoolContent; exports.getTxpoolStatus = _chunkYDG2GLYFjs.getTxpoolStatus; exports.impersonateAccount = _chunkYDG2GLYFjs.impersonateAccount; exports.increaseTime = _chunkYDG2GLYFjs.increaseTime; exports.inspectTxpool = _chunkYDG2GLYFjs.inspectTxpool; exports.mine = _chunkYDG2GLYFjs.mine; exports.removeBlockTimestampInterval = _chunkYDG2GLYFjs.removeBlockTimestampInterval; exports.reset = _chunkYDG2GLYFjs.reset; exports.revert = _chunkYDG2GLYFjs.revert; exports.sendUnsignedTransaction = _chunkYDG2GLYFjs.sendUnsignedTransaction; exports.setAutomine = _chunkYDG2GLYFjs.setAutomine; exports.setBalance = _chunkYDG2GLYFjs.setBalance; exports.setBlockGasLimit = _chunkYDG2GLYFjs.setBlockGasLimit; exports.setBlockTimestampInterval = _chunkYDG2GLYFjs.setBlockTimestampInterval; exports.setCode = _chunkYDG2GLYFjs.setCode; exports.setCoinbase = _chunkYDG2GLYFjs.setCoinbase; exports.setIntervalMining = _chunkYDG2GLYFjs.setIntervalMining; exports.setLoggingEnabled = _chunkYDG2GLYFjs.setLoggingEnabled; exports.setMinGasPrice = _chunkYDG2GLYFjs.setMinGasPrice; exports.setNextBlockBaseFeePerGas = _chunkYDG2GLYFjs.setNextBlockBaseFeePerGas; exports.setNextBlockTimestamp = _chunkYDG2GLYFjs.setNextBlockTimestamp; exports.setNonce = _chunkYDG2GLYFjs.setNonce; exports.setRpcUrl = _chunkYDG2GLYFjs.setRpcUrl; exports.setStorageAt = _chunkYDG2GLYFjs.setStorageAt; exports.snapshot = _chunkYDG2GLYFjs.snapshot; exports.stopImpersonatingAccount = _chunkYDG2GLYFjs.stopImpersonatingAccount;
|
61
61
|
//# sourceMappingURL=test.js.map
|