viem 0.0.1-alpha.35 → 0.0.1-alpha.36
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/README.md +132 -0
- package/dist/abi.d.ts +2 -2
- package/dist/abi.js +2 -2
- package/dist/abi.mjs +1 -1
- package/dist/{chain-7b7ac245.d.ts → chain-a34aa9a2.d.ts} +65 -63
- package/dist/{chain-145cfaf3.d.ts → chain-b1229232.d.ts} +1 -1
- package/dist/chains.d.ts +3 -3
- package/dist/chains.js +46 -46
- package/dist/chains.mjs +1 -1
- package/dist/{chunk-57YM6E7I.js → chunk-4AEFOF5R.js} +21 -23
- package/dist/chunk-4AEFOF5R.js.map +1 -0
- package/dist/{chunk-PBW4YL37.mjs → chunk-AXATFOBJ.mjs} +1835 -140
- package/dist/chunk-AXATFOBJ.mjs.map +1 -0
- package/dist/{chunk-5NDMORWZ.mjs → chunk-CUT73KXY.mjs} +3 -5
- package/dist/{chunk-5NDMORWZ.mjs.map → chunk-CUT73KXY.mjs.map} +1 -1
- package/dist/{chunk-HQCSH22G.js → chunk-KXGQFW2R.js} +1824 -129
- package/dist/chunk-KXGQFW2R.js.map +1 -0
- package/dist/contract.d.ts +7 -7
- package/dist/contract.js +2 -6
- package/dist/contract.mjs +11 -15
- package/dist/{createClient-7c715e2c.d.ts → createClient-8024655d.d.ts} +3 -11
- package/dist/{createPublicClient-4d24afb2.d.ts → createPublicClient-f283b09d.d.ts} +62 -59
- package/dist/{eip1193-d538ae6d.d.ts → eip1193-a4f254d2.d.ts} +2 -2
- package/dist/{encodeFunctionResult-f59f4cfe.d.ts → encodeFunctionResult-c3d6c7ea.d.ts} +1 -1
- package/dist/ens.d.ts +4 -4
- package/dist/ens.js +3 -4
- package/dist/ens.js.map +1 -1
- package/dist/ens.mjs +2 -3
- package/dist/ens.mjs.map +1 -1
- package/dist/{formatAbiItem-89d97367.d.ts → formatAbiItem-d79cb207.d.ts} +1 -1
- package/dist/{getAbiItem-c9cbc8b8.d.ts → getAbiItem-48e793da.d.ts} +1 -1
- package/dist/index.d.ts +27 -16
- package/dist/index.js +89 -93
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +78 -82
- package/dist/index.mjs.map +1 -1
- package/dist/{parseGwei-ad6d1914.d.ts → parseGwei-5dc2744d.d.ts} +9 -20
- package/dist/public.d.ts +6 -6
- package/dist/public.js +2 -3
- package/dist/public.mjs +1 -2
- package/dist/{test-8646fb50.d.ts → test-f8bc2fa7.d.ts} +3 -11
- package/dist/test.d.ts +5 -5
- package/dist/test.js +2 -3
- package/dist/test.mjs +1 -2
- package/dist/utils/index.d.ts +27 -16
- package/dist/utils/index.js +2 -4
- package/dist/utils/index.mjs +7 -9
- package/dist/wallet.d.ts +4 -4
- package/dist/wallet.js +2 -4
- package/dist/wallet.mjs +5 -7
- package/dist/window.d.ts +2 -2
- package/package.json +1 -1
- package/dist/chunk-3FT7UKPT.js +0 -1216
- package/dist/chunk-3FT7UKPT.js.map +0 -1
- package/dist/chunk-57YM6E7I.js.map +0 -1
- package/dist/chunk-A665BF7O.js +0 -205
- package/dist/chunk-A665BF7O.js.map +0 -1
- package/dist/chunk-HQCSH22G.js.map +0 -1
- package/dist/chunk-PBW4YL37.mjs.map +0 -1
- package/dist/chunk-PH5LCMME.mjs +0 -205
- package/dist/chunk-PH5LCMME.mjs.map +0 -1
- package/dist/chunk-TJK6AFBM.js +0 -265
- package/dist/chunk-TJK6AFBM.js.map +0 -1
- package/dist/chunk-WQDVW7EJ.mjs +0 -1216
- package/dist/chunk-WQDVW7EJ.mjs.map +0 -1
- package/dist/chunk-YEVW7GK5.mjs +0 -265
- package/dist/chunk-YEVW7GK5.mjs.map +0 -1
package/dist/index.d.ts
CHANGED
@@ -1,17 +1,17 @@
|
|
1
|
-
import { T as TransportConfig, a as Transport, B as BaseRpcRequests } from './createClient-
|
2
|
-
export { C as Client, b as ClientConfig, a as Transport, T as TransportConfig, c as createClient, d as createTransport } from './createClient-
|
3
|
-
import { B as BaseError, H as HttpOptions, R as RpcResponse } from './parseGwei-
|
4
|
-
export { B as BaseError, C as CallExecutionError, a as ContractFunctionExecutionError, b as ContractFunctionRevertedError, c as ContractFunctionZeroDataError, E as EstimateGasExecutionError, d as ExecutionRevertedError, F as FeeCapTooHighError, e as FeeCapTooLowError, G as GetContractAddressOptions, o as GetCreate2AddressOptions, p as GetCreateAddressOptions, I as InsufficientFundsError, f as IntrinsicGasTooHighError, g as IntrinsicGasTooLowError, N as NonceMaxValueError, h as NonceTooHighError, i as NonceTooLowError, j as RawContractError, T as TipAboveFeeCapError, q as ToRlpResponse, k as TransactionExecutionError, m as TransactionNotFoundError, n as TransactionReceiptNotFoundError, l as TransactionTypeNotSupportedError, U as UnknownNodeError, W as WaitForTransactionReceiptTimeoutError, r as boolToBytes, s as boolToHex, t as bytesToBigint, u as bytesToBool, v as bytesToHex, w as bytesToNumber, x as bytesToString, y as
|
1
|
+
import { T as TransportConfig, a as Transport, B as BaseRpcRequests } from './createClient-8024655d.js';
|
2
|
+
export { C as Client, b as ClientConfig, a as Transport, T as TransportConfig, c as createClient, d as createTransport } from './createClient-8024655d.js';
|
3
|
+
import { B as BaseError, H as HttpOptions, R as RpcResponse } from './parseGwei-5dc2744d.js';
|
4
|
+
export { B as BaseError, C as CallExecutionError, a as ContractFunctionExecutionError, b as ContractFunctionRevertedError, c as ContractFunctionZeroDataError, E as EstimateGasExecutionError, d as ExecutionRevertedError, F as FeeCapTooHighError, e as FeeCapTooLowError, G as GetContractAddressOptions, o as GetCreate2AddressOptions, p as GetCreateAddressOptions, I as InsufficientFundsError, f as IntrinsicGasTooHighError, g as IntrinsicGasTooLowError, N as NonceMaxValueError, h as NonceTooHighError, i as NonceTooLowError, j as RawContractError, T as TipAboveFeeCapError, q as ToRlpResponse, k as TransactionExecutionError, m as TransactionNotFoundError, n as TransactionReceiptNotFoundError, l as TransactionTypeNotSupportedError, U as UnknownNodeError, W as WaitForTransactionReceiptTimeoutError, r as boolToBytes, s as boolToHex, t as bytesToBigint, u as bytesToBool, v as bytesToHex, w as bytesToNumber, x as bytesToString, y as formatEther, z as formatGwei, A as formatUnit, D as fromBytes, J as fromHex, K as fromRlp, L as getAccount, M as getAddress, O as getContractAddress, P as getContractError, Q as getCreate2Address, S as getCreateAddress, V as getEventSelector, X as getFunctionSelector, Y as hexToBigInt, Z as hexToBool, _ as hexToBytes, $ as hexToNumber, a0 as hexToString, a1 as isAddress, a2 as isAddressEqual, a3 as isBytes, a4 as isHex, a5 as keccak256, a6 as numberToBytes, a7 as numberToHex, a8 as pad, a9 as padBytes, aa as padHex, ab as parseEther, ac as parseGwei, ad as parseUnit, ae as size, af as slice, ag as sliceBytes, ah as sliceHex, ai as stringToBytes, aj as stringToHex, ak as stringify, al as toBytes, am as toHex, an as toRlp, ao as trim } from './parseGwei-5dc2744d.js';
|
5
5
|
import WebSocket from 'isomorphic-ws';
|
6
|
-
import { H as Hex, a as Hash, C as Chain, B as ByteArray } from './chain-
|
7
|
-
export {
|
8
|
-
export { B as BlockFormatter, F as FormattedBlock, e as FormattedTransactionReceipt, f as FormattedTransactionRequest, P as PublicClient, a as PublicClientConfig, T as TransactionReceiptFormatter, g as TransactionRequestFormatter, W as WalletClient, b as WalletClientConfig, c as createPublicClient, d as createWalletClient, h as defineBlock, i as defineTransactionReceipt, j as defineTransactionRequest, k as formatBlock, l as formatTransactionRequest } from './createPublicClient-
|
9
|
-
export { T as TestClient, a as TestClientConfig, c as createTestClient } from './test-
|
6
|
+
import { H as Hex, a as Hash, C as Chain, B as ByteArray } from './chain-a34aa9a2.js';
|
7
|
+
export { A as AbiItem, b as AccessList, c as Address, d as Block, e as BlockIdentifier, f as BlockNumber, g as BlockTag, B as ByteArray, C as Chain, h as ContractConfig, J as ExtractFormatter, F as FeeHistory, i as FeeValues, j as FeeValuesEIP1559, k as FeeValuesLegacy, K as Formatted, M as FormattedTransaction, a as Hash, H as Hex, L as Log, R as RpcBlock, l as RpcBlockIdentifier, m as RpcBlockNumber, n as RpcFeeHistory, o as RpcFeeValues, p as RpcLog, q as RpcTransaction, r as RpcTransactionReceipt, s as RpcTransactionRequest, t as RpcUncle, z as Transaction, D as TransactionBase, E as TransactionEIP1559, G as TransactionEIP2930, N as TransactionFormatter, I as TransactionLegacy, T as TransactionReceipt, u as TransactionRequest, v as TransactionRequestBase, w as TransactionRequestEIP1559, x as TransactionRequestEIP2930, y as TransactionRequestLegacy, U as Uncle, O as defineTransaction, P as formatTransaction, Q as transactionType } from './chain-a34aa9a2.js';
|
8
|
+
export { A as Account, B as BlockFormatter, F as FormattedBlock, e as FormattedTransactionReceipt, f as FormattedTransactionRequest, P as PublicClient, a as PublicClientConfig, T as TransactionReceiptFormatter, g as TransactionRequestFormatter, W as WalletClient, b as WalletClientConfig, c as createPublicClient, d as createWalletClient, h as defineBlock, i as defineTransactionReceipt, j as defineTransactionRequest, k as formatBlock, l as formatTransactionRequest } from './createPublicClient-f283b09d.js';
|
9
|
+
export { T as TestClient, a as TestClientConfig, c as createTestClient } from './test-f8bc2fa7.js';
|
10
10
|
export { l as labelhash, n as namehash } from './namehash-88f4639d.js';
|
11
|
-
export { D as DecodeAbiParametersResponse, E as EncodeAbiParametersResponse, G as GetAbiItemArgs, d as decodeAbiParameters, e as encodeAbiParameters, g as getAbiItem } from './getAbiItem-
|
12
|
-
export { D as DecodeErrorResultArgs, a as DecodeErrorResultResponse, b as DecodeEventLogArgs, c as DecodeEventLogResponse, d as DecodeFunctionDataArgs, e as DecodeFunctionResultArgs, f as DecodeFunctionResultResponse, E as EncodeDeployDataArgs, g as EncodeErrorResultArgs, h as EncodeEventTopicsArgs, i as EncodeFunctionDataArgs, j as EncodeFunctionResultArgs, 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-
|
13
|
-
export { d as defineChain } from './chain-
|
14
|
-
import './eip1193-
|
11
|
+
export { D as DecodeAbiParametersResponse, E as EncodeAbiParametersResponse, G as GetAbiItemArgs, d as decodeAbiParameters, e as encodeAbiParameters, g as getAbiItem } from './getAbiItem-48e793da.js';
|
12
|
+
export { D as DecodeErrorResultArgs, a as DecodeErrorResultResponse, b as DecodeEventLogArgs, c as DecodeEventLogResponse, d as DecodeFunctionDataArgs, e as DecodeFunctionResultArgs, f as DecodeFunctionResultResponse, E as EncodeDeployDataArgs, g as EncodeErrorResultArgs, h as EncodeEventTopicsArgs, i as EncodeFunctionDataArgs, j as EncodeFunctionResultArgs, 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-c3d6c7ea.js';
|
13
|
+
export { d as defineChain } from './chain-b1229232.js';
|
14
|
+
import './eip1193-a4f254d2.js';
|
15
15
|
import 'abitype';
|
16
16
|
import '@wagmi/chains';
|
17
17
|
import 'ethers@6/types/providers';
|
@@ -357,9 +357,7 @@ type CustomTransport = Transport<'custom', EthereumProvider['request']>;
|
|
357
357
|
/**
|
358
358
|
* @description Creates a custom transport given an EIP-1193 compliant `request` attribute.
|
359
359
|
*/
|
360
|
-
declare function custom<TProvider extends EthereumProvider>(
|
361
|
-
/** An Ethereum provider with an EIP-1193 "request" attribute. */
|
362
|
-
provider: TProvider, config?: CustomTransportConfig): CustomTransport;
|
360
|
+
declare function custom<TProvider extends EthereumProvider>(provider: TProvider, config?: CustomTransportConfig): CustomTransport;
|
363
361
|
|
364
362
|
type FallbackTransportConfig = {
|
365
363
|
/** The key of the Fallback transport. */
|
@@ -474,4 +472,17 @@ declare const multicall3Abi: readonly [{
|
|
474
472
|
readonly type: "function";
|
475
473
|
}];
|
476
474
|
|
477
|
-
|
475
|
+
declare const etherUnits: {
|
476
|
+
gwei: number;
|
477
|
+
wei: number;
|
478
|
+
};
|
479
|
+
declare const gweiUnits: {
|
480
|
+
ether: number;
|
481
|
+
wei: number;
|
482
|
+
};
|
483
|
+
declare const weiUnits: {
|
484
|
+
ether: number;
|
485
|
+
gwei: number;
|
486
|
+
};
|
487
|
+
|
488
|
+
export { AbiConstructorNotFoundError, AbiConstructorParamsNotFoundError, AbiDecodingDataSizeInvalidError, AbiDecodingZeroDataError, AbiEncodingArrayLengthMismatchError, AbiEncodingLengthMismatchError, AbiErrorInputsNotFoundError, AbiErrorNotFoundError, AbiErrorSignatureNotFoundError, AbiEventNotFoundError, AbiEventSignatureNotFoundError, AbiFunctionNotFoundError, AbiFunctionOutputsNotFoundError, AbiFunctionSignatureNotFoundError, BlockNotFoundError, ChainDoesNotSupportContract, CustomTransport, CustomTransportConfig, DataLengthTooLongError, DataLengthTooShortError, FallbackTransport, FallbackTransportConfig, FilterTypeNotSupportedError, HttpRequestError, HttpTransport, HttpTransportConfig, InternalRpcError, InvalidAbiDecodingTypeError, InvalidAbiEncodingTypeError, InvalidAddressError, InvalidArrayError, InvalidBytesBooleanError, InvalidDefinitionTypeError, InvalidHexBooleanError, InvalidHexValueError, InvalidInputRpcError, InvalidParamsRpcError, InvalidRequestRpcError, JsonRpcVersionUnsupportedError, LimitExceededRpcError, MethodNotFoundRpcError, MethodNotSupportedRpcError, OffsetOutOfBoundsError, ParseRpcError, RequestError, ResourceNotFoundRpcError, ResourceUnavailableRpcError, RpcError, RpcRequestError, SizeExceedsPaddingSizeError, SwitchChainError, TimeoutError, TransactionRejectedRpcError, UnknownRpcError, UrlRequiredError, UserRejectedRequestError, WebSocketRequestError, WebSocketTransport, WebSocketTransportConfig, custom, etherUnits, fallback, gweiUnits, http, multicall3Abi, webSocket, weiUnits };
|
package/dist/index.js
CHANGED
@@ -3,6 +3,7 @@
|
|
3
3
|
|
4
4
|
|
5
5
|
|
6
|
+
var _chunk4AEFOF5Rjs = require('./chunk-4AEFOF5R.js');
|
6
7
|
|
7
8
|
|
8
9
|
|
@@ -10,13 +11,11 @@
|
|
10
11
|
|
11
12
|
|
12
13
|
|
13
|
-
var _chunkA665BF7Ojs = require('./chunk-A665BF7O.js');
|
14
14
|
|
15
15
|
|
16
16
|
|
17
17
|
|
18
18
|
|
19
|
-
var _chunk57YM6E7Ijs = require('./chunk-57YM6E7I.js');
|
20
19
|
|
21
20
|
|
22
21
|
|
@@ -50,7 +49,6 @@ var _chunk57YM6E7Ijs = require('./chunk-57YM6E7I.js');
|
|
50
49
|
|
51
50
|
|
52
51
|
|
53
|
-
var _chunk3FT7UKPTjs = require('./chunk-3FT7UKPT.js');
|
54
52
|
|
55
53
|
|
56
54
|
|
@@ -80,7 +78,6 @@ var _chunk3FT7UKPTjs = require('./chunk-3FT7UKPT.js');
|
|
80
78
|
|
81
79
|
|
82
80
|
|
83
|
-
var _chunkTJK6AFBMjs = require('./chunk-TJK6AFBM.js');
|
84
81
|
|
85
82
|
|
86
83
|
|
@@ -232,9 +229,7 @@ var _chunkTJK6AFBMjs = require('./chunk-TJK6AFBM.js');
|
|
232
229
|
|
233
230
|
|
234
231
|
|
235
|
-
|
236
|
-
|
237
|
-
var _chunkHQCSH22Gjs = require('./chunk-HQCSH22G.js');
|
232
|
+
var _chunkKXGQFW2Rjs = require('./chunk-KXGQFW2R.js');
|
238
233
|
|
239
234
|
// src/clients/transports/createTransport.ts
|
240
235
|
function createTransport({
|
@@ -248,7 +243,7 @@ function createTransport({
|
|
248
243
|
}, value) {
|
249
244
|
return {
|
250
245
|
config: { key, name, request, retryCount, retryDelay, timeout, type },
|
251
|
-
request:
|
246
|
+
request: _chunkKXGQFW2Rjs.buildRequest.call(void 0, request, { retryCount, retryDelay }),
|
252
247
|
value
|
253
248
|
};
|
254
249
|
}
|
@@ -282,7 +277,7 @@ function fallback(transports, config = {}) {
|
|
282
277
|
params
|
283
278
|
});
|
284
279
|
} catch (err) {
|
285
|
-
if (
|
280
|
+
if (_chunkKXGQFW2Rjs.isDeterministicError.call(void 0, err))
|
286
281
|
throw err;
|
287
282
|
if (i === transports.length - 1)
|
288
283
|
throw err;
|
@@ -316,13 +311,13 @@ function http(url, config = {}) {
|
|
316
311
|
const retryCount = _nullishCoalesce(config.retryCount, () => ( defaultRetryCount));
|
317
312
|
const url_ = url || _optionalChain([chain, 'optionalAccess', _ => _.rpcUrls, 'access', _2 => _2.default, 'access', _3 => _3.http, 'access', _4 => _4[0]]);
|
318
313
|
if (!url_)
|
319
|
-
throw new (0,
|
314
|
+
throw new (0, _chunkKXGQFW2Rjs.UrlRequiredError)();
|
320
315
|
return createTransport(
|
321
316
|
{
|
322
317
|
key,
|
323
318
|
name,
|
324
319
|
async request({ method, params }) {
|
325
|
-
const { result } = await
|
320
|
+
const { result } = await _chunkKXGQFW2Rjs.rpc.http(url_, {
|
326
321
|
body: {
|
327
322
|
method,
|
328
323
|
params
|
@@ -356,14 +351,14 @@ function webSocket(url, config = {}) {
|
|
356
351
|
const retryCount = _nullishCoalesce(config.retryCount, () => ( defaultRetryCount));
|
357
352
|
const url_ = url || _optionalChain([chain, 'optionalAccess', _5 => _5.rpcUrls, 'access', _6 => _6.default, 'access', _7 => _7.webSocket, 'optionalAccess', _8 => _8[0]]);
|
358
353
|
if (!url_)
|
359
|
-
throw new (0,
|
354
|
+
throw new (0, _chunkKXGQFW2Rjs.UrlRequiredError)();
|
360
355
|
return createTransport(
|
361
356
|
{
|
362
357
|
key,
|
363
358
|
name,
|
364
359
|
async request({ method, params }) {
|
365
|
-
const socket = await
|
366
|
-
const { result } = await
|
360
|
+
const socket = await _chunkKXGQFW2Rjs.getSocket.call(void 0, url_);
|
361
|
+
const { result } = await _chunkKXGQFW2Rjs.rpc.webSocketAsync(socket, {
|
367
362
|
body: { method, params },
|
368
363
|
timeout
|
369
364
|
});
|
@@ -376,12 +371,12 @@ function webSocket(url, config = {}) {
|
|
376
371
|
},
|
377
372
|
{
|
378
373
|
getSocket() {
|
379
|
-
return
|
374
|
+
return _chunkKXGQFW2Rjs.getSocket.call(void 0, url_);
|
380
375
|
},
|
381
376
|
async subscribe({ params, onData, onError }) {
|
382
|
-
const socket = await
|
377
|
+
const socket = await _chunkKXGQFW2Rjs.getSocket.call(void 0, url_);
|
383
378
|
const { result: subscriptionId } = await new Promise(
|
384
|
-
(resolve, reject) =>
|
379
|
+
(resolve, reject) => _chunkKXGQFW2Rjs.rpc.webSocket(socket, {
|
385
380
|
body: {
|
386
381
|
method: "eth_subscribe",
|
387
382
|
params
|
@@ -403,7 +398,7 @@ function webSocket(url, config = {}) {
|
|
403
398
|
subscriptionId,
|
404
399
|
async unsubscribe() {
|
405
400
|
return new Promise(
|
406
|
-
(resolve, reject) =>
|
401
|
+
(resolve, reject) => _chunkKXGQFW2Rjs.rpc.webSocket(socket, {
|
407
402
|
body: {
|
408
403
|
method: "eth_unsubscribe",
|
409
404
|
params: [subscriptionId]
|
@@ -459,88 +454,88 @@ function createClient({
|
|
459
454
|
|
460
455
|
// src/clients/decorators/public.ts
|
461
456
|
var publicActions = (client) => ({
|
462
|
-
call: (args) =>
|
463
|
-
createBlockFilter: () =>
|
464
|
-
createContractEventFilter: (args) =>
|
465
|
-
createEventFilter: (args) =>
|
466
|
-
createPendingTransactionFilter: () =>
|
467
|
-
estimateContractGas: (args) =>
|
468
|
-
estimateGas: (args) =>
|
469
|
-
getBalance: (args) =>
|
470
|
-
getBlock: (args) =>
|
471
|
-
getBlockNumber: (args) =>
|
472
|
-
getBlockTransactionCount: (args) =>
|
473
|
-
getBytecode: (args) =>
|
474
|
-
getChainId: () =>
|
475
|
-
getEnsAddress: (args) =>
|
476
|
-
getEnsName: (args) =>
|
477
|
-
getFeeHistory: (args) =>
|
478
|
-
getFilterChanges: (args) =>
|
479
|
-
getFilterLogs: (args) =>
|
480
|
-
getGasPrice: () =>
|
481
|
-
getLogs: (args) =>
|
482
|
-
getStorageAt: (args) =>
|
483
|
-
getTransaction: (args) =>
|
484
|
-
getTransactionConfirmations: (args) =>
|
485
|
-
getTransactionReceipt: (args) =>
|
486
|
-
multicall: (args) =>
|
487
|
-
readContract: (args) =>
|
488
|
-
simulateContract: (args) =>
|
489
|
-
uninstallFilter: (args) =>
|
490
|
-
waitForTransactionReceipt: (args) =>
|
491
|
-
watchBlocks: (args) =>
|
492
|
-
watchBlockNumber: (args) =>
|
493
|
-
watchContractEvent: (args) =>
|
494
|
-
watchEvent: (args) =>
|
495
|
-
watchPendingTransactions: (args) =>
|
457
|
+
call: (args) => _chunkKXGQFW2Rjs.call.call(void 0, client, args),
|
458
|
+
createBlockFilter: () => _chunkKXGQFW2Rjs.createBlockFilter.call(void 0, client),
|
459
|
+
createContractEventFilter: (args) => _chunkKXGQFW2Rjs.createContractEventFilter.call(void 0, client, args),
|
460
|
+
createEventFilter: (args) => _chunkKXGQFW2Rjs.createEventFilter.call(void 0, client, args),
|
461
|
+
createPendingTransactionFilter: () => _chunkKXGQFW2Rjs.createPendingTransactionFilter.call(void 0, client),
|
462
|
+
estimateContractGas: (args) => _chunkKXGQFW2Rjs.estimateContractGas.call(void 0, client, args),
|
463
|
+
estimateGas: (args) => _chunkKXGQFW2Rjs.estimateGas.call(void 0, client, args),
|
464
|
+
getBalance: (args) => _chunkKXGQFW2Rjs.getBalance.call(void 0, client, args),
|
465
|
+
getBlock: (args) => _chunkKXGQFW2Rjs.getBlock.call(void 0, client, args),
|
466
|
+
getBlockNumber: (args) => _chunkKXGQFW2Rjs.getBlockNumber.call(void 0, client, args),
|
467
|
+
getBlockTransactionCount: (args) => _chunkKXGQFW2Rjs.getBlockTransactionCount.call(void 0, client, args),
|
468
|
+
getBytecode: (args) => _chunkKXGQFW2Rjs.getBytecode.call(void 0, client, args),
|
469
|
+
getChainId: () => _chunkKXGQFW2Rjs.getChainId.call(void 0, client),
|
470
|
+
getEnsAddress: (args) => _chunk4AEFOF5Rjs.getEnsAddress.call(void 0, client, args),
|
471
|
+
getEnsName: (args) => _chunk4AEFOF5Rjs.getEnsName.call(void 0, client, args),
|
472
|
+
getFeeHistory: (args) => _chunkKXGQFW2Rjs.getFeeHistory.call(void 0, client, args),
|
473
|
+
getFilterChanges: (args) => _chunkKXGQFW2Rjs.getFilterChanges.call(void 0, client, args),
|
474
|
+
getFilterLogs: (args) => _chunkKXGQFW2Rjs.getFilterLogs.call(void 0, client, args),
|
475
|
+
getGasPrice: () => _chunkKXGQFW2Rjs.getGasPrice.call(void 0, client),
|
476
|
+
getLogs: (args) => _chunkKXGQFW2Rjs.getLogs.call(void 0, client, args),
|
477
|
+
getStorageAt: (args) => _chunkKXGQFW2Rjs.getStorageAt.call(void 0, client, args),
|
478
|
+
getTransaction: (args) => _chunkKXGQFW2Rjs.getTransaction.call(void 0, client, args),
|
479
|
+
getTransactionConfirmations: (args) => _chunkKXGQFW2Rjs.getTransactionConfirmations.call(void 0, client, args),
|
480
|
+
getTransactionReceipt: (args) => _chunkKXGQFW2Rjs.getTransactionReceipt.call(void 0, client, args),
|
481
|
+
multicall: (args) => _chunkKXGQFW2Rjs.multicall.call(void 0, client, args),
|
482
|
+
readContract: (args) => _chunkKXGQFW2Rjs.readContract.call(void 0, client, args),
|
483
|
+
simulateContract: (args) => _chunkKXGQFW2Rjs.simulateContract.call(void 0, client, args),
|
484
|
+
uninstallFilter: (args) => _chunkKXGQFW2Rjs.uninstallFilter.call(void 0, client, args),
|
485
|
+
waitForTransactionReceipt: (args) => _chunkKXGQFW2Rjs.waitForTransactionReceipt.call(void 0, client, args),
|
486
|
+
watchBlocks: (args) => _chunkKXGQFW2Rjs.watchBlocks.call(void 0, client, args),
|
487
|
+
watchBlockNumber: (args) => _chunkKXGQFW2Rjs.watchBlockNumber.call(void 0, client, args),
|
488
|
+
watchContractEvent: (args) => _chunkKXGQFW2Rjs.watchContractEvent.call(void 0, client, args),
|
489
|
+
watchEvent: (args) => _chunkKXGQFW2Rjs.watchEvent.call(void 0, client, args),
|
490
|
+
watchPendingTransactions: (args) => _chunkKXGQFW2Rjs.watchPendingTransactions.call(void 0, client, args)
|
496
491
|
});
|
497
492
|
|
498
493
|
// src/clients/decorators/test.ts
|
499
494
|
var testActions = (client) => ({
|
500
|
-
dropTransaction: (args) =>
|
501
|
-
getAutomine: () =>
|
502
|
-
getTxpoolContent: () =>
|
503
|
-
getTxpoolStatus: () =>
|
504
|
-
impersonateAccount: (args) =>
|
505
|
-
increaseTime: (args) =>
|
506
|
-
inspectTxpool: () =>
|
507
|
-
mine: (args) =>
|
508
|
-
removeBlockTimestampInterval: () =>
|
509
|
-
reset: (args) =>
|
510
|
-
revert: (args) =>
|
511
|
-
sendUnsignedTransaction: (args) =>
|
512
|
-
setAutomine: (args) =>
|
513
|
-
setBalance: (args) =>
|
514
|
-
setBlockGasLimit: (args) =>
|
515
|
-
setBlockTimestampInterval: (args) =>
|
516
|
-
setCode: (args) =>
|
517
|
-
setCoinbase: (args) =>
|
518
|
-
setIntervalMining: (args) =>
|
519
|
-
setLoggingEnabled: (args) =>
|
520
|
-
setMinGasPrice: (args) =>
|
521
|
-
setNextBlockBaseFeePerGas: (args) =>
|
522
|
-
setNextBlockTimestamp: (args) =>
|
523
|
-
setNonce: (args) =>
|
524
|
-
setRpcUrl: (args) =>
|
525
|
-
setStorageAt: (args) =>
|
526
|
-
snapshot: () =>
|
527
|
-
stopImpersonatingAccount: (args) =>
|
495
|
+
dropTransaction: (args) => _chunkKXGQFW2Rjs.dropTransaction.call(void 0, client, args),
|
496
|
+
getAutomine: () => _chunkKXGQFW2Rjs.getAutomine.call(void 0, client),
|
497
|
+
getTxpoolContent: () => _chunkKXGQFW2Rjs.getTxpoolContent.call(void 0, client),
|
498
|
+
getTxpoolStatus: () => _chunkKXGQFW2Rjs.getTxpoolStatus.call(void 0, client),
|
499
|
+
impersonateAccount: (args) => _chunkKXGQFW2Rjs.impersonateAccount.call(void 0, client, args),
|
500
|
+
increaseTime: (args) => _chunkKXGQFW2Rjs.increaseTime.call(void 0, client, args),
|
501
|
+
inspectTxpool: () => _chunkKXGQFW2Rjs.inspectTxpool.call(void 0, client),
|
502
|
+
mine: (args) => _chunkKXGQFW2Rjs.mine.call(void 0, client, args),
|
503
|
+
removeBlockTimestampInterval: () => _chunkKXGQFW2Rjs.removeBlockTimestampInterval.call(void 0, client),
|
504
|
+
reset: (args) => _chunkKXGQFW2Rjs.reset.call(void 0, client, args),
|
505
|
+
revert: (args) => _chunkKXGQFW2Rjs.revert.call(void 0, client, args),
|
506
|
+
sendUnsignedTransaction: (args) => _chunkKXGQFW2Rjs.sendUnsignedTransaction.call(void 0, client, args),
|
507
|
+
setAutomine: (args) => _chunkKXGQFW2Rjs.setAutomine.call(void 0, client, args),
|
508
|
+
setBalance: (args) => _chunkKXGQFW2Rjs.setBalance.call(void 0, client, args),
|
509
|
+
setBlockGasLimit: (args) => _chunkKXGQFW2Rjs.setBlockGasLimit.call(void 0, client, args),
|
510
|
+
setBlockTimestampInterval: (args) => _chunkKXGQFW2Rjs.setBlockTimestampInterval.call(void 0, client, args),
|
511
|
+
setCode: (args) => _chunkKXGQFW2Rjs.setCode.call(void 0, client, args),
|
512
|
+
setCoinbase: (args) => _chunkKXGQFW2Rjs.setCoinbase.call(void 0, client, args),
|
513
|
+
setIntervalMining: (args) => _chunkKXGQFW2Rjs.setIntervalMining.call(void 0, client, args),
|
514
|
+
setLoggingEnabled: (args) => _chunkKXGQFW2Rjs.setLoggingEnabled.call(void 0, client, args),
|
515
|
+
setMinGasPrice: (args) => _chunkKXGQFW2Rjs.setMinGasPrice.call(void 0, client, args),
|
516
|
+
setNextBlockBaseFeePerGas: (args) => _chunkKXGQFW2Rjs.setNextBlockBaseFeePerGas.call(void 0, client, args),
|
517
|
+
setNextBlockTimestamp: (args) => _chunkKXGQFW2Rjs.setNextBlockTimestamp.call(void 0, client, args),
|
518
|
+
setNonce: (args) => _chunkKXGQFW2Rjs.setNonce.call(void 0, client, args),
|
519
|
+
setRpcUrl: (args) => _chunkKXGQFW2Rjs.setRpcUrl.call(void 0, client, args),
|
520
|
+
setStorageAt: (args) => _chunkKXGQFW2Rjs.setStorageAt.call(void 0, client, args),
|
521
|
+
snapshot: () => _chunkKXGQFW2Rjs.snapshot.call(void 0, client),
|
522
|
+
stopImpersonatingAccount: (args) => _chunkKXGQFW2Rjs.stopImpersonatingAccount.call(void 0, client, args)
|
528
523
|
});
|
529
524
|
|
530
525
|
// src/clients/decorators/wallet.ts
|
531
526
|
var walletActions = (client) => ({
|
532
|
-
addChain: (args) =>
|
533
|
-
deployContract: (args) =>
|
534
|
-
|
535
|
-
getChainId: () =>
|
536
|
-
getPermissions: () =>
|
537
|
-
|
538
|
-
requestPermissions: (args) =>
|
539
|
-
sendTransaction: (args) =>
|
540
|
-
signMessage: (args) =>
|
541
|
-
switchChain: (args) =>
|
542
|
-
watchAsset: (args) =>
|
543
|
-
writeContract: (args) =>
|
527
|
+
addChain: (args) => _chunkKXGQFW2Rjs.addChain.call(void 0, client, args),
|
528
|
+
deployContract: (args) => _chunkKXGQFW2Rjs.deployContract.call(void 0, client, args),
|
529
|
+
getAddresses: () => _chunkKXGQFW2Rjs.getAddresses.call(void 0, client),
|
530
|
+
getChainId: () => _chunkKXGQFW2Rjs.getChainId.call(void 0, client),
|
531
|
+
getPermissions: () => _chunkKXGQFW2Rjs.getPermissions.call(void 0, client),
|
532
|
+
requestAddresses: () => _chunkKXGQFW2Rjs.requestAddresses.call(void 0, client),
|
533
|
+
requestPermissions: (args) => _chunkKXGQFW2Rjs.requestPermissions.call(void 0, client, args),
|
534
|
+
sendTransaction: (args) => _chunkKXGQFW2Rjs.sendTransaction.call(void 0, client, args),
|
535
|
+
signMessage: (args) => _chunkKXGQFW2Rjs.signMessage.call(void 0, client, args),
|
536
|
+
switchChain: (args) => _chunkKXGQFW2Rjs.switchChain.call(void 0, client, args),
|
537
|
+
watchAsset: (args) => _chunkKXGQFW2Rjs.watchAsset.call(void 0, client, args),
|
538
|
+
writeContract: (args) => _chunkKXGQFW2Rjs.writeContract.call(void 0, client, args)
|
544
539
|
});
|
545
540
|
|
546
541
|
// src/clients/createPublicClient.ts
|
@@ -770,5 +765,6 @@ function createWalletClient({
|
|
770
765
|
|
771
766
|
|
772
767
|
|
773
|
-
exports.AbiConstructorNotFoundError = _chunkHQCSH22Gjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkHQCSH22Gjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkHQCSH22Gjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkHQCSH22Gjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkHQCSH22Gjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkHQCSH22Gjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkHQCSH22Gjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkHQCSH22Gjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkHQCSH22Gjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkHQCSH22Gjs.AbiEventNotFoundError; exports.AbiEventSignatureNotFoundError = _chunkHQCSH22Gjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkHQCSH22Gjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkHQCSH22Gjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkHQCSH22Gjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkHQCSH22Gjs.BaseError; exports.BlockNotFoundError = _chunkHQCSH22Gjs.BlockNotFoundError; exports.CallExecutionError = _chunkHQCSH22Gjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkHQCSH22Gjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkHQCSH22Gjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkHQCSH22Gjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkHQCSH22Gjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkHQCSH22Gjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkHQCSH22Gjs.DataLengthTooShortError; exports.EstimateGasExecutionError = _chunkHQCSH22Gjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkHQCSH22Gjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkHQCSH22Gjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkHQCSH22Gjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkHQCSH22Gjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkHQCSH22Gjs.HttpRequestError; exports.InsufficientFundsError = _chunkHQCSH22Gjs.InsufficientFundsError; exports.InternalRpcError = _chunkHQCSH22Gjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkHQCSH22Gjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkHQCSH22Gjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkHQCSH22Gjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkHQCSH22Gjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkHQCSH22Gjs.InvalidAddressError; exports.InvalidArrayError = _chunkHQCSH22Gjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkHQCSH22Gjs.InvalidBytesBooleanError; exports.InvalidDefinitionTypeError = _chunkHQCSH22Gjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkHQCSH22Gjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkHQCSH22Gjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkHQCSH22Gjs.InvalidInputRpcError; exports.InvalidParamsRpcError = _chunkHQCSH22Gjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkHQCSH22Gjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkHQCSH22Gjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkHQCSH22Gjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkHQCSH22Gjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkHQCSH22Gjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkHQCSH22Gjs.NonceMaxValueError; exports.NonceTooHighError = _chunkHQCSH22Gjs.NonceTooHighError; exports.NonceTooLowError = _chunkHQCSH22Gjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkHQCSH22Gjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkHQCSH22Gjs.ParseRpcError; exports.RawContractError = _chunkHQCSH22Gjs.RawContractError; exports.RequestError = _chunkHQCSH22Gjs.RequestError; exports.ResourceNotFoundRpcError = _chunkHQCSH22Gjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkHQCSH22Gjs.ResourceUnavailableRpcError; exports.RpcError = _chunkHQCSH22Gjs.RpcError; exports.RpcRequestError = _chunkHQCSH22Gjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkHQCSH22Gjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkHQCSH22Gjs.SwitchChainError; exports.TimeoutError = _chunkHQCSH22Gjs.TimeoutError; exports.TipAboveFeeCapError = _chunkHQCSH22Gjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkHQCSH22Gjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkHQCSH22Gjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkHQCSH22Gjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkHQCSH22Gjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkHQCSH22Gjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkHQCSH22Gjs.UnknownNodeError; exports.UnknownRpcError = _chunkHQCSH22Gjs.UnknownRpcError; exports.UrlRequiredError = _chunkHQCSH22Gjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkHQCSH22Gjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkHQCSH22Gjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkHQCSH22Gjs.WebSocketRequestError; exports.boolToBytes = _chunkHQCSH22Gjs.boolToBytes; exports.boolToHex = _chunkHQCSH22Gjs.boolToHex; exports.bytesToBigint = _chunkHQCSH22Gjs.bytesToBigint; exports.bytesToBool = _chunkHQCSH22Gjs.bytesToBool; exports.bytesToHex = _chunkHQCSH22Gjs.bytesToHex; exports.bytesToNumber = _chunkHQCSH22Gjs.bytesToNumber; exports.bytesToString = _chunkHQCSH22Gjs.bytesToString; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkHQCSH22Gjs.decodeAbiParameters; exports.decodeErrorResult = _chunkHQCSH22Gjs.decodeErrorResult; exports.decodeEventLog = _chunkHQCSH22Gjs.decodeEventLog; exports.decodeFunctionData = _chunkHQCSH22Gjs.decodeFunctionData; exports.decodeFunctionResult = _chunkHQCSH22Gjs.decodeFunctionResult; exports.defineBlock = _chunkHQCSH22Gjs.defineBlock; exports.defineChain = _chunkHQCSH22Gjs.defineChain; exports.defineTransaction = _chunkHQCSH22Gjs.defineTransaction; exports.defineTransactionReceipt = _chunkHQCSH22Gjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkHQCSH22Gjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkHQCSH22Gjs.encodeAbiParameters; exports.encodeDeployData = _chunkHQCSH22Gjs.encodeDeployData; exports.encodeErrorResult = _chunkHQCSH22Gjs.encodeErrorResult; exports.encodeEventTopics = _chunkHQCSH22Gjs.encodeEventTopics; exports.encodeFunctionData = _chunkHQCSH22Gjs.encodeFunctionData; exports.encodeFunctionResult = _chunkHQCSH22Gjs.encodeFunctionResult; exports.etherUnits = _chunkHQCSH22Gjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkHQCSH22Gjs.formatBlock; exports.formatEther = _chunkHQCSH22Gjs.formatEther; exports.formatGwei = _chunkHQCSH22Gjs.formatGwei; exports.formatTransaction = _chunkHQCSH22Gjs.formatTransaction; exports.formatTransactionRequest = _chunkHQCSH22Gjs.formatTransactionRequest; exports.formatUnit = _chunkHQCSH22Gjs.formatUnit; exports.fromBytes = _chunkHQCSH22Gjs.fromBytes; exports.fromHex = _chunkHQCSH22Gjs.fromHex; exports.fromRlp = _chunkHQCSH22Gjs.fromRlp; exports.getAbiItem = _chunkHQCSH22Gjs.getAbiItem; exports.getAddress = _chunkHQCSH22Gjs.getAddress; exports.getContractAddress = _chunkHQCSH22Gjs.getContractAddress; exports.getContractError = _chunkHQCSH22Gjs.getContractError; exports.getCreate2Address = _chunkHQCSH22Gjs.getCreate2Address; exports.getCreateAddress = _chunkHQCSH22Gjs.getCreateAddress; exports.getEventSelector = _chunkHQCSH22Gjs.getEventSelector; exports.getFunctionSelector = _chunkHQCSH22Gjs.getFunctionSelector; exports.gweiUnits = _chunkHQCSH22Gjs.gweiUnits; exports.hexToBigInt = _chunkHQCSH22Gjs.hexToBigInt; exports.hexToBool = _chunkHQCSH22Gjs.hexToBool; exports.hexToBytes = _chunkHQCSH22Gjs.hexToBytes; exports.hexToNumber = _chunkHQCSH22Gjs.hexToNumber; exports.hexToString = _chunkHQCSH22Gjs.hexToString; exports.http = http; exports.isAddress = _chunkHQCSH22Gjs.isAddress; exports.isAddressEqual = _chunkHQCSH22Gjs.isAddressEqual; exports.isBytes = _chunkHQCSH22Gjs.isBytes; exports.isHex = _chunkHQCSH22Gjs.isHex; exports.keccak256 = _chunkHQCSH22Gjs.keccak256; exports.labelhash = _chunk57YM6E7Ijs.labelhash; exports.multicall3Abi = _chunkHQCSH22Gjs.multicall3Abi; exports.namehash = _chunk57YM6E7Ijs.namehash; exports.numberToBytes = _chunkHQCSH22Gjs.numberToBytes; exports.numberToHex = _chunkHQCSH22Gjs.numberToHex; exports.pad = _chunkHQCSH22Gjs.pad; exports.padBytes = _chunkHQCSH22Gjs.padBytes; exports.padHex = _chunkHQCSH22Gjs.padHex; exports.parseEther = _chunkHQCSH22Gjs.parseEther; exports.parseGwei = _chunkHQCSH22Gjs.parseGwei; exports.parseUnit = _chunkHQCSH22Gjs.parseUnit; exports.size = _chunkHQCSH22Gjs.size; exports.slice = _chunkHQCSH22Gjs.slice; exports.sliceBytes = _chunkHQCSH22Gjs.sliceBytes; exports.sliceHex = _chunkHQCSH22Gjs.sliceHex; exports.stringToBytes = _chunkHQCSH22Gjs.stringToBytes; exports.stringToHex = _chunkHQCSH22Gjs.stringToHex; exports.stringify = _chunkHQCSH22Gjs.stringify; exports.toBytes = _chunkHQCSH22Gjs.toBytes; exports.toHex = _chunkHQCSH22Gjs.toHex; exports.toRlp = _chunkHQCSH22Gjs.toRlp; exports.transactionType = _chunkHQCSH22Gjs.transactionType; exports.trim = _chunkHQCSH22Gjs.trim; exports.webSocket = webSocket; exports.weiUnits = _chunkHQCSH22Gjs.weiUnits;
|
768
|
+
|
769
|
+
exports.AbiConstructorNotFoundError = _chunkKXGQFW2Rjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkKXGQFW2Rjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkKXGQFW2Rjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkKXGQFW2Rjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkKXGQFW2Rjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkKXGQFW2Rjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkKXGQFW2Rjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkKXGQFW2Rjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkKXGQFW2Rjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkKXGQFW2Rjs.AbiEventNotFoundError; exports.AbiEventSignatureNotFoundError = _chunkKXGQFW2Rjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkKXGQFW2Rjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkKXGQFW2Rjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkKXGQFW2Rjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkKXGQFW2Rjs.BaseError; exports.BlockNotFoundError = _chunkKXGQFW2Rjs.BlockNotFoundError; exports.CallExecutionError = _chunkKXGQFW2Rjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkKXGQFW2Rjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkKXGQFW2Rjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkKXGQFW2Rjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkKXGQFW2Rjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkKXGQFW2Rjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkKXGQFW2Rjs.DataLengthTooShortError; exports.EstimateGasExecutionError = _chunkKXGQFW2Rjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkKXGQFW2Rjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkKXGQFW2Rjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkKXGQFW2Rjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkKXGQFW2Rjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkKXGQFW2Rjs.HttpRequestError; exports.InsufficientFundsError = _chunkKXGQFW2Rjs.InsufficientFundsError; exports.InternalRpcError = _chunkKXGQFW2Rjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkKXGQFW2Rjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkKXGQFW2Rjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkKXGQFW2Rjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkKXGQFW2Rjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkKXGQFW2Rjs.InvalidAddressError; exports.InvalidArrayError = _chunkKXGQFW2Rjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkKXGQFW2Rjs.InvalidBytesBooleanError; exports.InvalidDefinitionTypeError = _chunkKXGQFW2Rjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkKXGQFW2Rjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkKXGQFW2Rjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkKXGQFW2Rjs.InvalidInputRpcError; exports.InvalidParamsRpcError = _chunkKXGQFW2Rjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkKXGQFW2Rjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkKXGQFW2Rjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkKXGQFW2Rjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkKXGQFW2Rjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkKXGQFW2Rjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkKXGQFW2Rjs.NonceMaxValueError; exports.NonceTooHighError = _chunkKXGQFW2Rjs.NonceTooHighError; exports.NonceTooLowError = _chunkKXGQFW2Rjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkKXGQFW2Rjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkKXGQFW2Rjs.ParseRpcError; exports.RawContractError = _chunkKXGQFW2Rjs.RawContractError; exports.RequestError = _chunkKXGQFW2Rjs.RequestError; exports.ResourceNotFoundRpcError = _chunkKXGQFW2Rjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkKXGQFW2Rjs.ResourceUnavailableRpcError; exports.RpcError = _chunkKXGQFW2Rjs.RpcError; exports.RpcRequestError = _chunkKXGQFW2Rjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkKXGQFW2Rjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkKXGQFW2Rjs.SwitchChainError; exports.TimeoutError = _chunkKXGQFW2Rjs.TimeoutError; exports.TipAboveFeeCapError = _chunkKXGQFW2Rjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkKXGQFW2Rjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkKXGQFW2Rjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkKXGQFW2Rjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkKXGQFW2Rjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkKXGQFW2Rjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkKXGQFW2Rjs.UnknownNodeError; exports.UnknownRpcError = _chunkKXGQFW2Rjs.UnknownRpcError; exports.UrlRequiredError = _chunkKXGQFW2Rjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkKXGQFW2Rjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkKXGQFW2Rjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkKXGQFW2Rjs.WebSocketRequestError; exports.boolToBytes = _chunkKXGQFW2Rjs.boolToBytes; exports.boolToHex = _chunkKXGQFW2Rjs.boolToHex; exports.bytesToBigint = _chunkKXGQFW2Rjs.bytesToBigint; exports.bytesToBool = _chunkKXGQFW2Rjs.bytesToBool; exports.bytesToHex = _chunkKXGQFW2Rjs.bytesToHex; exports.bytesToNumber = _chunkKXGQFW2Rjs.bytesToNumber; exports.bytesToString = _chunkKXGQFW2Rjs.bytesToString; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkKXGQFW2Rjs.decodeAbiParameters; exports.decodeErrorResult = _chunkKXGQFW2Rjs.decodeErrorResult; exports.decodeEventLog = _chunkKXGQFW2Rjs.decodeEventLog; exports.decodeFunctionData = _chunkKXGQFW2Rjs.decodeFunctionData; exports.decodeFunctionResult = _chunkKXGQFW2Rjs.decodeFunctionResult; exports.defineBlock = _chunkKXGQFW2Rjs.defineBlock; exports.defineChain = _chunkKXGQFW2Rjs.defineChain; exports.defineTransaction = _chunkKXGQFW2Rjs.defineTransaction; exports.defineTransactionReceipt = _chunkKXGQFW2Rjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkKXGQFW2Rjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkKXGQFW2Rjs.encodeAbiParameters; exports.encodeDeployData = _chunkKXGQFW2Rjs.encodeDeployData; exports.encodeErrorResult = _chunkKXGQFW2Rjs.encodeErrorResult; exports.encodeEventTopics = _chunkKXGQFW2Rjs.encodeEventTopics; exports.encodeFunctionData = _chunkKXGQFW2Rjs.encodeFunctionData; exports.encodeFunctionResult = _chunkKXGQFW2Rjs.encodeFunctionResult; exports.etherUnits = _chunkKXGQFW2Rjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkKXGQFW2Rjs.formatBlock; exports.formatEther = _chunkKXGQFW2Rjs.formatEther; exports.formatGwei = _chunkKXGQFW2Rjs.formatGwei; exports.formatTransaction = _chunkKXGQFW2Rjs.formatTransaction; exports.formatTransactionRequest = _chunkKXGQFW2Rjs.formatTransactionRequest; exports.formatUnit = _chunkKXGQFW2Rjs.formatUnit; exports.fromBytes = _chunkKXGQFW2Rjs.fromBytes; exports.fromHex = _chunkKXGQFW2Rjs.fromHex; exports.fromRlp = _chunkKXGQFW2Rjs.fromRlp; exports.getAbiItem = _chunkKXGQFW2Rjs.getAbiItem; exports.getAccount = _chunkKXGQFW2Rjs.getAccount; exports.getAddress = _chunkKXGQFW2Rjs.getAddress; exports.getContractAddress = _chunkKXGQFW2Rjs.getContractAddress; exports.getContractError = _chunkKXGQFW2Rjs.getContractError; exports.getCreate2Address = _chunkKXGQFW2Rjs.getCreate2Address; exports.getCreateAddress = _chunkKXGQFW2Rjs.getCreateAddress; exports.getEventSelector = _chunkKXGQFW2Rjs.getEventSelector; exports.getFunctionSelector = _chunkKXGQFW2Rjs.getFunctionSelector; exports.gweiUnits = _chunkKXGQFW2Rjs.gweiUnits; exports.hexToBigInt = _chunkKXGQFW2Rjs.hexToBigInt; exports.hexToBool = _chunkKXGQFW2Rjs.hexToBool; exports.hexToBytes = _chunkKXGQFW2Rjs.hexToBytes; exports.hexToNumber = _chunkKXGQFW2Rjs.hexToNumber; exports.hexToString = _chunkKXGQFW2Rjs.hexToString; exports.http = http; exports.isAddress = _chunkKXGQFW2Rjs.isAddress; exports.isAddressEqual = _chunkKXGQFW2Rjs.isAddressEqual; exports.isBytes = _chunkKXGQFW2Rjs.isBytes; exports.isHex = _chunkKXGQFW2Rjs.isHex; exports.keccak256 = _chunkKXGQFW2Rjs.keccak256; exports.labelhash = _chunk4AEFOF5Rjs.labelhash; exports.multicall3Abi = _chunkKXGQFW2Rjs.multicall3Abi; exports.namehash = _chunk4AEFOF5Rjs.namehash; exports.numberToBytes = _chunkKXGQFW2Rjs.numberToBytes; exports.numberToHex = _chunkKXGQFW2Rjs.numberToHex; exports.pad = _chunkKXGQFW2Rjs.pad; exports.padBytes = _chunkKXGQFW2Rjs.padBytes; exports.padHex = _chunkKXGQFW2Rjs.padHex; exports.parseEther = _chunkKXGQFW2Rjs.parseEther; exports.parseGwei = _chunkKXGQFW2Rjs.parseGwei; exports.parseUnit = _chunkKXGQFW2Rjs.parseUnit; exports.size = _chunkKXGQFW2Rjs.size; exports.slice = _chunkKXGQFW2Rjs.slice; exports.sliceBytes = _chunkKXGQFW2Rjs.sliceBytes; exports.sliceHex = _chunkKXGQFW2Rjs.sliceHex; exports.stringToBytes = _chunkKXGQFW2Rjs.stringToBytes; exports.stringToHex = _chunkKXGQFW2Rjs.stringToHex; exports.stringify = _chunkKXGQFW2Rjs.stringify; exports.toBytes = _chunkKXGQFW2Rjs.toBytes; exports.toHex = _chunkKXGQFW2Rjs.toHex; exports.toRlp = _chunkKXGQFW2Rjs.toRlp; exports.transactionType = _chunkKXGQFW2Rjs.transactionType; exports.trim = _chunkKXGQFW2Rjs.trim; exports.webSocket = webSocket; exports.weiUnits = _chunkKXGQFW2Rjs.weiUnits;
|
774
770
|
//# sourceMappingURL=index.js.map
|