viem 0.2.0-canary.20230316T020523 → 0.2.0-canary.20230316T042447
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/chains.js +63 -63
- package/dist/chains.mjs +1 -1
- package/dist/{chunk-ZTHR4YS2.js → chunk-A5BRAPQQ.js} +3 -3
- package/dist/chunk-A5BRAPQQ.js.map +1 -0
- package/dist/{chunk-FDTKU2PS.js → chunk-GZ67J32T.js} +19 -19
- package/dist/{chunk-MWJLP6MO.mjs → chunk-ISLCPEI2.mjs} +3 -3
- package/dist/chunk-ISLCPEI2.mjs.map +1 -0
- package/dist/{chunk-7OP5XRWB.mjs → chunk-PLALZ2GD.mjs} +2 -2
- package/dist/contract.d.ts +1 -1
- package/dist/contract.js +2 -2
- package/dist/contract.mjs +1 -1
- package/dist/{createPublicClient-0021fc35.d.ts → createPublicClient-75540130.d.ts} +2 -2
- package/dist/ens.d.ts +1 -1
- package/dist/ens.js +3 -3
- package/dist/ens.mjs +2 -2
- package/dist/ethers.d.ts +1 -1
- package/dist/ethers.js +3 -3
- package/dist/ethers.mjs +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +92 -90
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/dist/{parseGwei-c2fb9fa2.d.ts → parseGwei-6fff7cbe.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-MWJLP6MO.mjs.map +0 -1
- package/dist/chunk-ZTHR4YS2.js.map +0 -1
- /package/dist/{chunk-FDTKU2PS.js.map → chunk-GZ67J32T.js.map} +0 -0
- /package/dist/{chunk-7OP5XRWB.mjs.map → chunk-PLALZ2GD.mjs.map} +0 -0
@@ -11,7 +11,7 @@ import {
|
|
11
11
|
stringToBytes,
|
12
12
|
toBytes,
|
13
13
|
toHex
|
14
|
-
} from "./chunk-
|
14
|
+
} from "./chunk-ISLCPEI2.mjs";
|
15
15
|
|
16
16
|
// src/utils/ens/labelhash.ts
|
17
17
|
function labelhash(label) {
|
@@ -183,4 +183,4 @@ export {
|
|
183
183
|
getEnsAddress,
|
184
184
|
getEnsName
|
185
185
|
};
|
186
|
-
//# sourceMappingURL=chunk-
|
186
|
+
//# sourceMappingURL=chunk-PLALZ2GD.mjs.map
|
package/dist/contract.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export { m as CreateContractEventFilterParameters, n as CreateContractEventFilterReturnType, V as DeployContractParameters, X as DeployContractReturnType, o as EstimateContractGasParameters, p as EstimateContractGasReturnType, G as GetBytecodeParameters, q as GetBytecodeReturnType, r as GetStorageAtParameters, s as GetStorageAtReturnType, M as MulticallParameters, t as MulticallReturnType, O as OnLogsFn, u as OnLogsParameter, R as ReadContractParameters, v as ReadContractReturnType, w as SimulateContractParameters, x as SimulateContractReturnType, y as WatchContractEventParameters, Y as WriteContractParameters, Z as WriteContractReturnType, z as createContractEventFilter, _ as deployContract, D as estimateContractGas, H as getBytecode, I as getStorageAt, K as multicall, N as readContract, Q as simulateContract, U as watchContractEvent, $ as writeContract } from './createPublicClient-
|
1
|
+
export { m as CreateContractEventFilterParameters, n as CreateContractEventFilterReturnType, V as DeployContractParameters, X as DeployContractReturnType, o as EstimateContractGasParameters, p as EstimateContractGasReturnType, G as GetBytecodeParameters, q as GetBytecodeReturnType, r as GetStorageAtParameters, s as GetStorageAtReturnType, M as MulticallParameters, t as MulticallReturnType, O as OnLogsFn, u as OnLogsParameter, R as ReadContractParameters, v as ReadContractReturnType, w as SimulateContractParameters, x as SimulateContractReturnType, y as WatchContractEventParameters, Y as WriteContractParameters, Z as WriteContractReturnType, z as createContractEventFilter, _ as deployContract, D as estimateContractGas, H as getBytecode, I as getStorageAt, K as multicall, N as readContract, Q as simulateContract, U as watchContractEvent, $ as writeContract } from './createPublicClient-75540130.js';
|
2
2
|
export { D as DecodeAbiParametersReturnType, E as EncodeAbiParametersReturnType, G as GetAbiItemParameters, d as decodeAbiParameters, e as encodeAbiParameters, g as getAbiItem } from './getAbiItem-3e809ff9.js';
|
3
3
|
export { D as DecodeErrorResultParameters, a as DecodeErrorResultReturnType, b as DecodeEventLogParameters, c as DecodeEventLogReturnType, d as DecodeFunctionDataParameters, e as DecodeFunctionResultParameters, f as DecodeFunctionResultReturnType, E as EncodeDeployDataParameters, g as EncodeErrorResultParameters, h as EncodeEventTopicsParameters, i as EncodeFunctionDataParameters, j as EncodeFunctionResultParameters, k as decodeErrorResult, l as decodeEventLog, m as decodeFunctionData, n as decodeFunctionResult, o as encodeDeployData, p as encodeErrorResult, q as encodeEventTopics, r as encodeFunctionData, s as encodeFunctionResult } from './encodeFunctionResult-1f324375.js';
|
4
4
|
export { a as formatAbiItem, f as formatAbiItemWithArgs } from './formatAbiItem-15e8817d.js';
|
package/dist/contract.js
CHANGED
@@ -23,7 +23,7 @@
|
|
23
23
|
|
24
24
|
|
25
25
|
|
26
|
-
var
|
26
|
+
var _chunkA5BRAPQQjs = require('./chunk-A5BRAPQQ.js');
|
27
27
|
|
28
28
|
|
29
29
|
|
@@ -49,5 +49,5 @@ var _chunkZTHR4YS2js = require('./chunk-ZTHR4YS2.js');
|
|
49
49
|
|
50
50
|
|
51
51
|
|
52
|
-
exports.createContractEventFilter =
|
52
|
+
exports.createContractEventFilter = _chunkA5BRAPQQjs.createContractEventFilter; exports.decodeAbiParameters = _chunkA5BRAPQQjs.decodeAbiParameters; exports.decodeErrorResult = _chunkA5BRAPQQjs.decodeErrorResult; exports.decodeEventLog = _chunkA5BRAPQQjs.decodeEventLog; exports.decodeFunctionData = _chunkA5BRAPQQjs.decodeFunctionData; exports.decodeFunctionResult = _chunkA5BRAPQQjs.decodeFunctionResult; exports.deployContract = _chunkA5BRAPQQjs.deployContract; exports.encodeAbiParameters = _chunkA5BRAPQQjs.encodeAbiParameters; exports.encodeDeployData = _chunkA5BRAPQQjs.encodeDeployData; exports.encodeErrorResult = _chunkA5BRAPQQjs.encodeErrorResult; exports.encodeEventTopics = _chunkA5BRAPQQjs.encodeEventTopics; exports.encodeFunctionData = _chunkA5BRAPQQjs.encodeFunctionData; exports.encodeFunctionResult = _chunkA5BRAPQQjs.encodeFunctionResult; exports.estimateContractGas = _chunkA5BRAPQQjs.estimateContractGas; exports.formatAbiItem = _chunkA5BRAPQQjs.formatAbiItem; exports.formatAbiItemWithArgs = _chunkA5BRAPQQjs.formatAbiItemWithArgs; exports.getAbiItem = _chunkA5BRAPQQjs.getAbiItem; exports.getBytecode = _chunkA5BRAPQQjs.getBytecode; exports.getStorageAt = _chunkA5BRAPQQjs.getStorageAt; exports.multicall = _chunkA5BRAPQQjs.multicall; exports.readContract = _chunkA5BRAPQQjs.readContract; exports.simulateContract = _chunkA5BRAPQQjs.simulateContract; exports.watchContractEvent = _chunkA5BRAPQQjs.watchContractEvent; exports.writeContract = _chunkA5BRAPQQjs.writeContract;
|
53
53
|
//# sourceMappingURL=contract.js.map
|
package/dist/contract.mjs
CHANGED
@@ -607,7 +607,7 @@ type SendTransactionParameters<TChain extends Chain = Chain> = FormattedTransact
|
|
607
607
|
chain: TChain;
|
608
608
|
});
|
609
609
|
type SendTransactionReturnType = Hash;
|
610
|
-
declare function sendTransaction<TChain extends Chain>(client: WalletClient, args: SendTransactionParameters<TChain>): Promise<SendTransactionReturnType>;
|
610
|
+
declare function sendTransaction<TChain extends Chain>(client: WalletClient<any, any>, args: SendTransactionParameters<TChain>): Promise<SendTransactionReturnType>;
|
611
611
|
|
612
612
|
type SignMessageParameters = {
|
613
613
|
account: Account;
|
@@ -811,7 +811,7 @@ type WalletClient<TTransport extends Transport = Transport, TChain extends Chain
|
|
811
811
|
/**
|
812
812
|
* @description Creates a wallet client with a given transport.
|
813
813
|
*/
|
814
|
-
declare function createWalletClient<TTransport extends Transport, TChain extends Chain>({ transport, key, name, pollingInterval, }: WalletClientConfig<TTransport, TChain>): WalletClient<TTransport, TChain, true>;
|
814
|
+
declare function createWalletClient<TTransport extends Transport, TChain extends Chain>({ chain, transport, key, name, pollingInterval, }: WalletClientConfig<TTransport, TChain>): WalletClient<TTransport, TChain, true>;
|
815
815
|
|
816
816
|
type WalletActions<TChain extends Chain = Chain> = {
|
817
817
|
addChain: (args: AddChainParameters) => Promise<void>;
|
package/dist/ens.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export { a0 as GetEnsAddressParameters, a1 as GetEnsNameParameters, a2 as getEnsAddress, a3 as getEnsName } from './createPublicClient-
|
1
|
+
export { a0 as GetEnsAddressParameters, a1 as GetEnsNameParameters, a2 as getEnsAddress, a3 as getEnsName } from './createPublicClient-75540130.js';
|
2
2
|
export { l as labelhash, n as namehash } from './namehash-afff0feb.js';
|
3
3
|
import './eip1193-4f4e240c.js';
|
4
4
|
import 'abitype';
|
package/dist/ens.js
CHANGED
@@ -3,8 +3,8 @@
|
|
3
3
|
|
4
4
|
|
5
5
|
|
6
|
-
var
|
7
|
-
require('./chunk-
|
6
|
+
var _chunkGZ67J32Tjs = require('./chunk-GZ67J32T.js');
|
7
|
+
require('./chunk-A5BRAPQQ.js');
|
8
8
|
|
9
9
|
// src/utils/ens/normalize.ts
|
10
10
|
var _idnauts46hx = require('idna-uts46-hx');
|
@@ -17,5 +17,5 @@ function normalize(name) {
|
|
17
17
|
|
18
18
|
|
19
19
|
|
20
|
-
exports.getEnsAddress =
|
20
|
+
exports.getEnsAddress = _chunkGZ67J32Tjs.getEnsAddress; exports.getEnsName = _chunkGZ67J32Tjs.getEnsName; exports.labelhash = _chunkGZ67J32Tjs.labelhash; exports.namehash = _chunkGZ67J32Tjs.namehash; exports.normalize = normalize;
|
21
21
|
//# sourceMappingURL=ens.js.map
|
package/dist/ens.mjs
CHANGED
package/dist/ethers.d.ts
CHANGED
package/dist/ethers.js
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
2
2
|
|
3
3
|
|
4
|
-
var
|
4
|
+
var _chunkA5BRAPQQjs = require('./chunk-A5BRAPQQ.js');
|
5
5
|
|
6
6
|
// src/adapters/ethers.ts
|
7
|
-
var getAccount2 = (wallet) =>
|
7
|
+
var getAccount2 = (wallet) => _chunkA5BRAPQQjs.getAccount.call(void 0, {
|
8
8
|
address: wallet.address,
|
9
9
|
async signMessage(message) {
|
10
|
-
return await wallet.signMessage(
|
10
|
+
return await wallet.signMessage(_chunkA5BRAPQQjs.toBytes.call(void 0, message));
|
11
11
|
},
|
12
12
|
async signTransaction(txn) {
|
13
13
|
return await wallet.signTransaction({
|
package/dist/ethers.mjs
CHANGED
package/dist/index.d.ts
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import { T as TransportConfig, a as Transport, B as BaseRpcRequests } from './createClient-a28317a9.js';
|
2
2
|
export { C as Client, b as ClientConfig, a as Transport, T as TransportConfig, c as createClient, d as createTransport } from './createClient-a28317a9.js';
|
3
|
-
import { B as BaseError, H as HttpOptions, R as RpcResponse } from './parseGwei-
|
4
|
-
export { B as BaseError, C as CallExecutionError, a as ContractFunctionExecutionError, b as ContractFunctionRevertedError, c as ContractFunctionZeroDataError, E as EstimateGasExecutionError, d as ExecutionRevertedError, F as FeeCapTooHighError, e as FeeCapTooLowError, G as GetContractAddressOptions, o as GetCreate2AddressOptions, p as GetCreateAddressOptions, I as InsufficientFundsError, f as IntrinsicGasTooHighError, g as IntrinsicGasTooLowError, N as NonceMaxValueError, h as NonceTooHighError, i as NonceTooLowError, j as RawContractError, T as TipAboveFeeCapError, q as ToRlpReturnType, k as TransactionExecutionError, m as TransactionNotFoundError, n as TransactionReceiptNotFoundError, l as TransactionTypeNotSupportedError, U as UnknownNodeError, W as WaitForTransactionReceiptTimeoutError, r as boolToBytes, s as boolToHex, t as bytesToBigint, u as bytesToBool, v as bytesToHex, w as bytesToNumber, x as bytesToString, y as concat, z as concatBytes, A as concatHex, D as formatEther, J as formatGwei, K as formatUnits, L as fromBytes, M as fromHex, O as fromRlp, P as getAccount, Q as getAddress, S as getContractAddress, V as getContractError, X as getCreate2Address, Y as getCreateAddress, Z as getEventSelector, _ as getFunctionSelector, $ as hashMessage, a0 as hexToBigInt, a1 as hexToBool, a2 as hexToBytes, a3 as hexToNumber, a4 as hexToString, a5 as isAddress, a6 as isAddressEqual, a7 as isBytes, a8 as isHex, a9 as keccak256, aa as numberToBytes, ab as numberToHex, ac as pad, ad as padBytes, ae as padHex, af as parseEther, ag as parseGwei, ah as parseUnits, ai as recoverAddress, aj as recoverMessageAddress, ak as size, al as slice, am as sliceBytes, an as sliceHex, ao as stringToBytes, ap as stringToHex, aq as stringify, ar as toBytes, as as toHex, at as toRlp, au as trim, av as verifyMessage } from './parseGwei-
|
3
|
+
import { B as BaseError, H as HttpOptions, R as RpcResponse } from './parseGwei-6fff7cbe.js';
|
4
|
+
export { B as BaseError, C as CallExecutionError, a as ContractFunctionExecutionError, b as ContractFunctionRevertedError, c as ContractFunctionZeroDataError, E as EstimateGasExecutionError, d as ExecutionRevertedError, F as FeeCapTooHighError, e as FeeCapTooLowError, G as GetContractAddressOptions, o as GetCreate2AddressOptions, p as GetCreateAddressOptions, I as InsufficientFundsError, f as IntrinsicGasTooHighError, g as IntrinsicGasTooLowError, N as NonceMaxValueError, h as NonceTooHighError, i as NonceTooLowError, j as RawContractError, T as TipAboveFeeCapError, q as ToRlpReturnType, k as TransactionExecutionError, m as TransactionNotFoundError, n as TransactionReceiptNotFoundError, l as TransactionTypeNotSupportedError, U as UnknownNodeError, W as WaitForTransactionReceiptTimeoutError, r as boolToBytes, s as boolToHex, t as bytesToBigint, u as bytesToBool, v as bytesToHex, w as bytesToNumber, x as bytesToString, y as concat, z as concatBytes, A as concatHex, D as formatEther, J as formatGwei, K as formatUnits, L as fromBytes, M as fromHex, O as fromRlp, P as getAccount, Q as getAddress, S as getContractAddress, V as getContractError, X as getCreate2Address, Y as getCreateAddress, Z as getEventSelector, _ as getFunctionSelector, $ as hashMessage, a0 as hexToBigInt, a1 as hexToBool, a2 as hexToBytes, a3 as hexToNumber, a4 as hexToString, a5 as isAddress, a6 as isAddressEqual, a7 as isBytes, a8 as isHex, a9 as keccak256, aa as numberToBytes, ab as numberToHex, ac as pad, ad as padBytes, ae as padHex, af as parseEther, ag as parseGwei, ah as parseUnits, ai as recoverAddress, aj as recoverMessageAddress, ak as size, al as slice, am as sliceBytes, an as sliceHex, ao as stringToBytes, ap as stringToHex, aq as stringify, ar as toBytes, as as toHex, at as toRlp, au as trim, av as verifyMessage } from './parseGwei-6fff7cbe.js';
|
5
5
|
import WebSocket from 'isomorphic-ws';
|
6
6
|
import { H as Hex, A as AbiItem, a as Hash, C as Chain, B as ByteArray } from './chain-1b53ef88.js';
|
7
7
|
export { A as AbiItem, b as AccessList, c as Block, d as BlockIdentifier, e as BlockNumber, f as BlockTag, B as ByteArray, C as Chain, g as ContractConfig, E as ExtractArgsFromAbi, h as ExtractConstructorArgsFromAbi, i as ExtractErrorArgsFromAbi, j as ExtractErrorNameFromAbi, k as ExtractEventArgsFromAbi, l as ExtractEventArgsFromTopics, m as ExtractEventNameFromAbi, W as ExtractFormatter, n as ExtractFunctionNameFromAbi, o as ExtractNameFromAbi, p as ExtractResultFromAbi, F as FeeHistory, q as FeeValues, r as FeeValuesEIP1559, s as FeeValuesLegacy, X as Formatted, Y as FormattedTransaction, a as Hash, H as Hex, L as Log, R as RpcBlock, t as RpcBlockIdentifier, u as RpcBlockNumber, v as RpcFeeHistory, w as RpcFeeValues, x as RpcLog, y as RpcTransaction, z as RpcTransactionReceipt, D as RpcTransactionRequest, G as RpcUncle, O as Transaction, P as TransactionBase, Q as TransactionEIP1559, S as TransactionEIP2930, Z as TransactionFormatter, U as TransactionLegacy, T as TransactionReceipt, I as TransactionRequest, J as TransactionRequestBase, K as TransactionRequestEIP1559, M as TransactionRequestEIP2930, N as TransactionRequestLegacy, V as Uncle, _ as defineTransaction, $ as formatTransaction, a0 as transactionType } from './chain-1b53ef88.js';
|
8
|
-
export { A as Account, B as BlockFormatter, F as FormattedBlock, e as FormattedTransactionReceipt, f as FormattedTransactionRequest, J as JsonRpcAccount, L as LocalAccount, P as PublicClient, a as PublicClientConfig, T as TransactionReceiptFormatter, g as TransactionRequestFormatter, W as WalletClient, b as WalletClientConfig, c as createPublicClient, d as createWalletClient, h as defineBlock, i as defineTransactionReceipt, j as defineTransactionRequest, k as formatBlock, l as formatTransactionRequest } from './createPublicClient-
|
8
|
+
export { A as Account, B as BlockFormatter, F as FormattedBlock, e as FormattedTransactionReceipt, f as FormattedTransactionRequest, J as JsonRpcAccount, L as LocalAccount, P as PublicClient, a as PublicClientConfig, T as TransactionReceiptFormatter, g as TransactionRequestFormatter, W as WalletClient, b as WalletClientConfig, c as createPublicClient, d as createWalletClient, h as defineBlock, i as defineTransactionReceipt, j as defineTransactionRequest, k as formatBlock, l as formatTransactionRequest } from './createPublicClient-75540130.js';
|
9
9
|
export { T as TestClient, a as TestClientConfig, c as createTestClient } from './test-2bd23d7e.js';
|
10
10
|
import { AbiParameter } from 'abitype';
|
11
11
|
export { Address, ParseAbi, ParseAbiItem, ParseAbiParameter, ParseAbiParameters, parseAbi, parseAbiItem, parseAbiParameter, parseAbiParameters } from 'abitype';
|
package/dist/index.js
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
|
5
5
|
|
6
|
-
var
|
6
|
+
var _chunkGZ67J32Tjs = require('./chunk-GZ67J32T.js');
|
7
7
|
|
8
8
|
|
9
9
|
|
@@ -245,7 +245,7 @@ var _chunkFDTKU2PSjs = require('./chunk-FDTKU2PS.js');
|
|
245
245
|
|
246
246
|
|
247
247
|
|
248
|
-
var
|
248
|
+
var _chunkA5BRAPQQjs = require('./chunk-A5BRAPQQ.js');
|
249
249
|
|
250
250
|
// src/clients/transports/createTransport.ts
|
251
251
|
function createTransport({
|
@@ -259,7 +259,7 @@ function createTransport({
|
|
259
259
|
}, value) {
|
260
260
|
return {
|
261
261
|
config: { key, name, request, retryCount, retryDelay, timeout, type },
|
262
|
-
request:
|
262
|
+
request: _chunkA5BRAPQQjs.buildRequest.call(void 0, request, { retryCount, retryDelay }),
|
263
263
|
value
|
264
264
|
};
|
265
265
|
}
|
@@ -293,7 +293,7 @@ function fallback(transports, config = {}) {
|
|
293
293
|
params
|
294
294
|
});
|
295
295
|
} catch (err) {
|
296
|
-
if (
|
296
|
+
if (_chunkA5BRAPQQjs.isDeterministicError.call(void 0, err))
|
297
297
|
throw err;
|
298
298
|
if (i === transports.length - 1)
|
299
299
|
throw err;
|
@@ -327,13 +327,13 @@ function http(url, config = {}) {
|
|
327
327
|
const retryCount = _nullishCoalesce(config.retryCount, () => ( defaultRetryCount));
|
328
328
|
const url_ = url || _optionalChain([chain, 'optionalAccess', _ => _.rpcUrls, 'access', _2 => _2.default, 'access', _3 => _3.http, 'access', _4 => _4[0]]);
|
329
329
|
if (!url_)
|
330
|
-
throw new (0,
|
330
|
+
throw new (0, _chunkA5BRAPQQjs.UrlRequiredError)();
|
331
331
|
return createTransport(
|
332
332
|
{
|
333
333
|
key,
|
334
334
|
name,
|
335
335
|
async request({ method, params }) {
|
336
|
-
const { result } = await
|
336
|
+
const { result } = await _chunkA5BRAPQQjs.rpc.http(url_, {
|
337
337
|
body: {
|
338
338
|
method,
|
339
339
|
params
|
@@ -367,14 +367,14 @@ function webSocket(url, config = {}) {
|
|
367
367
|
const retryCount = _nullishCoalesce(config.retryCount, () => ( defaultRetryCount));
|
368
368
|
const url_ = url || _optionalChain([chain, 'optionalAccess', _5 => _5.rpcUrls, 'access', _6 => _6.default, 'access', _7 => _7.webSocket, 'optionalAccess', _8 => _8[0]]);
|
369
369
|
if (!url_)
|
370
|
-
throw new (0,
|
370
|
+
throw new (0, _chunkA5BRAPQQjs.UrlRequiredError)();
|
371
371
|
return createTransport(
|
372
372
|
{
|
373
373
|
key,
|
374
374
|
name,
|
375
375
|
async request({ method, params }) {
|
376
|
-
const socket = await
|
377
|
-
const { result } = await
|
376
|
+
const socket = await _chunkA5BRAPQQjs.getSocket.call(void 0, url_);
|
377
|
+
const { result } = await _chunkA5BRAPQQjs.rpc.webSocketAsync(socket, {
|
378
378
|
body: { method, params },
|
379
379
|
timeout
|
380
380
|
});
|
@@ -387,12 +387,12 @@ function webSocket(url, config = {}) {
|
|
387
387
|
},
|
388
388
|
{
|
389
389
|
getSocket() {
|
390
|
-
return
|
390
|
+
return _chunkA5BRAPQQjs.getSocket.call(void 0, url_);
|
391
391
|
},
|
392
392
|
async subscribe({ params, onData, onError }) {
|
393
|
-
const socket = await
|
393
|
+
const socket = await _chunkA5BRAPQQjs.getSocket.call(void 0, url_);
|
394
394
|
const { result: subscriptionId } = await new Promise(
|
395
|
-
(resolve, reject) =>
|
395
|
+
(resolve, reject) => _chunkA5BRAPQQjs.rpc.webSocket(socket, {
|
396
396
|
body: {
|
397
397
|
method: "eth_subscribe",
|
398
398
|
params
|
@@ -414,7 +414,7 @@ function webSocket(url, config = {}) {
|
|
414
414
|
subscriptionId,
|
415
415
|
async unsubscribe() {
|
416
416
|
return new Promise(
|
417
|
-
(resolve, reject) =>
|
417
|
+
(resolve, reject) => _chunkA5BRAPQQjs.rpc.webSocket(socket, {
|
418
418
|
body: {
|
419
419
|
method: "eth_unsubscribe",
|
420
420
|
params: [subscriptionId]
|
@@ -470,90 +470,90 @@ function createClient({
|
|
470
470
|
|
471
471
|
// src/clients/decorators/public.ts
|
472
472
|
var publicActions = (client) => ({
|
473
|
-
call: (args) =>
|
474
|
-
createBlockFilter: () =>
|
475
|
-
createContractEventFilter: (args) =>
|
476
|
-
createEventFilter: (args) =>
|
477
|
-
createPendingTransactionFilter: () =>
|
478
|
-
estimateContractGas: (args) =>
|
479
|
-
estimateGas: (args) =>
|
480
|
-
getBalance: (args) =>
|
481
|
-
getBlock: (args) =>
|
482
|
-
getBlockNumber: (args) =>
|
483
|
-
getBlockTransactionCount: (args) =>
|
484
|
-
getBytecode: (args) =>
|
485
|
-
getChainId: () =>
|
486
|
-
getEnsAddress: (args) =>
|
487
|
-
getEnsName: (args) =>
|
488
|
-
getFeeHistory: (args) =>
|
489
|
-
getFilterChanges: (args) =>
|
490
|
-
getFilterLogs: (args) =>
|
491
|
-
getGasPrice: () =>
|
492
|
-
getLogs: (args) =>
|
493
|
-
getStorageAt: (args) =>
|
494
|
-
getTransaction: (args) =>
|
495
|
-
getTransactionConfirmations: (args) =>
|
496
|
-
getTransactionCount: (args) =>
|
497
|
-
getTransactionReceipt: (args) =>
|
498
|
-
multicall: (args) =>
|
499
|
-
readContract: (args) =>
|
500
|
-
simulateContract: (args) =>
|
501
|
-
uninstallFilter: (args) =>
|
502
|
-
waitForTransactionReceipt: (args) =>
|
503
|
-
watchBlocks: (args) =>
|
504
|
-
watchBlockNumber: (args) =>
|
505
|
-
watchContractEvent: (args) =>
|
506
|
-
watchEvent: (args) =>
|
507
|
-
watchPendingTransactions: (args) =>
|
473
|
+
call: (args) => _chunkA5BRAPQQjs.call.call(void 0, client, args),
|
474
|
+
createBlockFilter: () => _chunkA5BRAPQQjs.createBlockFilter.call(void 0, client),
|
475
|
+
createContractEventFilter: (args) => _chunkA5BRAPQQjs.createContractEventFilter.call(void 0, client, args),
|
476
|
+
createEventFilter: (args) => _chunkA5BRAPQQjs.createEventFilter.call(void 0, client, args),
|
477
|
+
createPendingTransactionFilter: () => _chunkA5BRAPQQjs.createPendingTransactionFilter.call(void 0, client),
|
478
|
+
estimateContractGas: (args) => _chunkA5BRAPQQjs.estimateContractGas.call(void 0, client, args),
|
479
|
+
estimateGas: (args) => _chunkA5BRAPQQjs.estimateGas.call(void 0, client, args),
|
480
|
+
getBalance: (args) => _chunkA5BRAPQQjs.getBalance.call(void 0, client, args),
|
481
|
+
getBlock: (args) => _chunkA5BRAPQQjs.getBlock.call(void 0, client, args),
|
482
|
+
getBlockNumber: (args) => _chunkA5BRAPQQjs.getBlockNumber.call(void 0, client, args),
|
483
|
+
getBlockTransactionCount: (args) => _chunkA5BRAPQQjs.getBlockTransactionCount.call(void 0, client, args),
|
484
|
+
getBytecode: (args) => _chunkA5BRAPQQjs.getBytecode.call(void 0, client, args),
|
485
|
+
getChainId: () => _chunkA5BRAPQQjs.getChainId.call(void 0, client),
|
486
|
+
getEnsAddress: (args) => _chunkGZ67J32Tjs.getEnsAddress.call(void 0, client, args),
|
487
|
+
getEnsName: (args) => _chunkGZ67J32Tjs.getEnsName.call(void 0, client, args),
|
488
|
+
getFeeHistory: (args) => _chunkA5BRAPQQjs.getFeeHistory.call(void 0, client, args),
|
489
|
+
getFilterChanges: (args) => _chunkA5BRAPQQjs.getFilterChanges.call(void 0, client, args),
|
490
|
+
getFilterLogs: (args) => _chunkA5BRAPQQjs.getFilterLogs.call(void 0, client, args),
|
491
|
+
getGasPrice: () => _chunkA5BRAPQQjs.getGasPrice.call(void 0, client),
|
492
|
+
getLogs: (args) => _chunkA5BRAPQQjs.getLogs.call(void 0, client, args),
|
493
|
+
getStorageAt: (args) => _chunkA5BRAPQQjs.getStorageAt.call(void 0, client, args),
|
494
|
+
getTransaction: (args) => _chunkA5BRAPQQjs.getTransaction.call(void 0, client, args),
|
495
|
+
getTransactionConfirmations: (args) => _chunkA5BRAPQQjs.getTransactionConfirmations.call(void 0, client, args),
|
496
|
+
getTransactionCount: (args) => _chunkA5BRAPQQjs.getTransactionCount.call(void 0, client, args),
|
497
|
+
getTransactionReceipt: (args) => _chunkA5BRAPQQjs.getTransactionReceipt.call(void 0, client, args),
|
498
|
+
multicall: (args) => _chunkA5BRAPQQjs.multicall.call(void 0, client, args),
|
499
|
+
readContract: (args) => _chunkA5BRAPQQjs.readContract.call(void 0, client, args),
|
500
|
+
simulateContract: (args) => _chunkA5BRAPQQjs.simulateContract.call(void 0, client, args),
|
501
|
+
uninstallFilter: (args) => _chunkA5BRAPQQjs.uninstallFilter.call(void 0, client, args),
|
502
|
+
waitForTransactionReceipt: (args) => _chunkA5BRAPQQjs.waitForTransactionReceipt.call(void 0, client, args),
|
503
|
+
watchBlocks: (args) => _chunkA5BRAPQQjs.watchBlocks.call(void 0, client, args),
|
504
|
+
watchBlockNumber: (args) => _chunkA5BRAPQQjs.watchBlockNumber.call(void 0, client, args),
|
505
|
+
watchContractEvent: (args) => _chunkA5BRAPQQjs.watchContractEvent.call(void 0, client, args),
|
506
|
+
watchEvent: (args) => _chunkA5BRAPQQjs.watchEvent.call(void 0, client, args),
|
507
|
+
watchPendingTransactions: (args) => _chunkA5BRAPQQjs.watchPendingTransactions.call(void 0, client, args)
|
508
508
|
});
|
509
509
|
|
510
510
|
// src/clients/decorators/test.ts
|
511
511
|
var testActions = (client) => ({
|
512
|
-
dropTransaction: (args) =>
|
513
|
-
getAutomine: () =>
|
514
|
-
getTxpoolContent: () =>
|
515
|
-
getTxpoolStatus: () =>
|
516
|
-
impersonateAccount: (args) =>
|
517
|
-
increaseTime: (args) =>
|
518
|
-
inspectTxpool: () =>
|
519
|
-
mine: (args) =>
|
520
|
-
removeBlockTimestampInterval: () =>
|
521
|
-
reset: (args) =>
|
522
|
-
revert: (args) =>
|
523
|
-
sendUnsignedTransaction: (args) =>
|
524
|
-
setAutomine: (args) =>
|
525
|
-
setBalance: (args) =>
|
526
|
-
setBlockGasLimit: (args) =>
|
527
|
-
setBlockTimestampInterval: (args) =>
|
528
|
-
setCode: (args) =>
|
529
|
-
setCoinbase: (args) =>
|
530
|
-
setIntervalMining: (args) =>
|
531
|
-
setLoggingEnabled: (args) =>
|
532
|
-
setMinGasPrice: (args) =>
|
533
|
-
setNextBlockBaseFeePerGas: (args) =>
|
534
|
-
setNextBlockTimestamp: (args) =>
|
535
|
-
setNonce: (args) =>
|
536
|
-
setRpcUrl: (args) =>
|
537
|
-
setStorageAt: (args) =>
|
538
|
-
snapshot: () =>
|
539
|
-
stopImpersonatingAccount: (args) =>
|
512
|
+
dropTransaction: (args) => _chunkA5BRAPQQjs.dropTransaction.call(void 0, client, args),
|
513
|
+
getAutomine: () => _chunkA5BRAPQQjs.getAutomine.call(void 0, client),
|
514
|
+
getTxpoolContent: () => _chunkA5BRAPQQjs.getTxpoolContent.call(void 0, client),
|
515
|
+
getTxpoolStatus: () => _chunkA5BRAPQQjs.getTxpoolStatus.call(void 0, client),
|
516
|
+
impersonateAccount: (args) => _chunkA5BRAPQQjs.impersonateAccount.call(void 0, client, args),
|
517
|
+
increaseTime: (args) => _chunkA5BRAPQQjs.increaseTime.call(void 0, client, args),
|
518
|
+
inspectTxpool: () => _chunkA5BRAPQQjs.inspectTxpool.call(void 0, client),
|
519
|
+
mine: (args) => _chunkA5BRAPQQjs.mine.call(void 0, client, args),
|
520
|
+
removeBlockTimestampInterval: () => _chunkA5BRAPQQjs.removeBlockTimestampInterval.call(void 0, client),
|
521
|
+
reset: (args) => _chunkA5BRAPQQjs.reset.call(void 0, client, args),
|
522
|
+
revert: (args) => _chunkA5BRAPQQjs.revert.call(void 0, client, args),
|
523
|
+
sendUnsignedTransaction: (args) => _chunkA5BRAPQQjs.sendUnsignedTransaction.call(void 0, client, args),
|
524
|
+
setAutomine: (args) => _chunkA5BRAPQQjs.setAutomine.call(void 0, client, args),
|
525
|
+
setBalance: (args) => _chunkA5BRAPQQjs.setBalance.call(void 0, client, args),
|
526
|
+
setBlockGasLimit: (args) => _chunkA5BRAPQQjs.setBlockGasLimit.call(void 0, client, args),
|
527
|
+
setBlockTimestampInterval: (args) => _chunkA5BRAPQQjs.setBlockTimestampInterval.call(void 0, client, args),
|
528
|
+
setCode: (args) => _chunkA5BRAPQQjs.setCode.call(void 0, client, args),
|
529
|
+
setCoinbase: (args) => _chunkA5BRAPQQjs.setCoinbase.call(void 0, client, args),
|
530
|
+
setIntervalMining: (args) => _chunkA5BRAPQQjs.setIntervalMining.call(void 0, client, args),
|
531
|
+
setLoggingEnabled: (args) => _chunkA5BRAPQQjs.setLoggingEnabled.call(void 0, client, args),
|
532
|
+
setMinGasPrice: (args) => _chunkA5BRAPQQjs.setMinGasPrice.call(void 0, client, args),
|
533
|
+
setNextBlockBaseFeePerGas: (args) => _chunkA5BRAPQQjs.setNextBlockBaseFeePerGas.call(void 0, client, args),
|
534
|
+
setNextBlockTimestamp: (args) => _chunkA5BRAPQQjs.setNextBlockTimestamp.call(void 0, client, args),
|
535
|
+
setNonce: (args) => _chunkA5BRAPQQjs.setNonce.call(void 0, client, args),
|
536
|
+
setRpcUrl: (args) => _chunkA5BRAPQQjs.setRpcUrl.call(void 0, client, args),
|
537
|
+
setStorageAt: (args) => _chunkA5BRAPQQjs.setStorageAt.call(void 0, client, args),
|
538
|
+
snapshot: () => _chunkA5BRAPQQjs.snapshot.call(void 0, client),
|
539
|
+
stopImpersonatingAccount: (args) => _chunkA5BRAPQQjs.stopImpersonatingAccount.call(void 0, client, args)
|
540
540
|
});
|
541
541
|
|
542
542
|
// src/clients/decorators/wallet.ts
|
543
543
|
var walletActions = (client) => ({
|
544
|
-
addChain: (args) =>
|
545
|
-
deployContract: (args) =>
|
546
|
-
getAddresses: () =>
|
547
|
-
getChainId: () =>
|
548
|
-
getPermissions: () =>
|
549
|
-
requestAddresses: () =>
|
550
|
-
requestPermissions: (args) =>
|
551
|
-
sendTransaction: (args) =>
|
552
|
-
signMessage: (args) =>
|
553
|
-
signTypedData: (args) =>
|
554
|
-
switchChain: (args) =>
|
555
|
-
watchAsset: (args) =>
|
556
|
-
writeContract: (args) =>
|
544
|
+
addChain: (args) => _chunkA5BRAPQQjs.addChain.call(void 0, client, args),
|
545
|
+
deployContract: (args) => _chunkA5BRAPQQjs.deployContract.call(void 0, client, args),
|
546
|
+
getAddresses: () => _chunkA5BRAPQQjs.getAddresses.call(void 0, client),
|
547
|
+
getChainId: () => _chunkA5BRAPQQjs.getChainId.call(void 0, client),
|
548
|
+
getPermissions: () => _chunkA5BRAPQQjs.getPermissions.call(void 0, client),
|
549
|
+
requestAddresses: () => _chunkA5BRAPQQjs.requestAddresses.call(void 0, client),
|
550
|
+
requestPermissions: (args) => _chunkA5BRAPQQjs.requestPermissions.call(void 0, client, args),
|
551
|
+
sendTransaction: (args) => _chunkA5BRAPQQjs.sendTransaction.call(void 0, client, args),
|
552
|
+
signMessage: (args) => _chunkA5BRAPQQjs.signMessage.call(void 0, client, args),
|
553
|
+
signTypedData: (args) => _chunkA5BRAPQQjs.signTypedData.call(void 0, client, args),
|
554
|
+
switchChain: (args) => _chunkA5BRAPQQjs.switchChain.call(void 0, client, args),
|
555
|
+
watchAsset: (args) => _chunkA5BRAPQQjs.watchAsset.call(void 0, client, args),
|
556
|
+
writeContract: (args) => _chunkA5BRAPQQjs.writeContract.call(void 0, client, args)
|
557
557
|
});
|
558
558
|
|
559
559
|
// src/clients/createPublicClient.ts
|
@@ -606,12 +606,14 @@ function createTestClient({
|
|
606
606
|
|
607
607
|
// src/clients/createWalletClient.ts
|
608
608
|
function createWalletClient({
|
609
|
+
chain,
|
609
610
|
transport,
|
610
611
|
key = "wallet",
|
611
612
|
name = "Wallet Client",
|
612
613
|
pollingInterval
|
613
614
|
}) {
|
614
615
|
const client = createClient({
|
616
|
+
chain,
|
615
617
|
key,
|
616
618
|
name,
|
617
619
|
pollingInterval,
|
@@ -798,5 +800,5 @@ function createWalletClient({
|
|
798
800
|
|
799
801
|
|
800
802
|
|
801
|
-
exports.AbiConstructorNotFoundError = _chunkZTHR4YS2js.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkZTHR4YS2js.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkZTHR4YS2js.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkZTHR4YS2js.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkZTHR4YS2js.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkZTHR4YS2js.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkZTHR4YS2js.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkZTHR4YS2js.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkZTHR4YS2js.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkZTHR4YS2js.AbiEventNotFoundError; exports.AbiEventSignatureEmptyTopicsError = _chunkZTHR4YS2js.AbiEventSignatureEmptyTopicsError; exports.AbiEventSignatureNotFoundError = _chunkZTHR4YS2js.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkZTHR4YS2js.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkZTHR4YS2js.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkZTHR4YS2js.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkZTHR4YS2js.BaseError; exports.BlockNotFoundError = _chunkZTHR4YS2js.BlockNotFoundError; exports.CallExecutionError = _chunkZTHR4YS2js.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkZTHR4YS2js.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkZTHR4YS2js.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkZTHR4YS2js.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkZTHR4YS2js.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkZTHR4YS2js.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkZTHR4YS2js.DataLengthTooShortError; exports.DecodeLogTopicsMismatch = _chunkZTHR4YS2js.DecodeLogTopicsMismatch; exports.EstimateGasExecutionError = _chunkZTHR4YS2js.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkZTHR4YS2js.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkZTHR4YS2js.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkZTHR4YS2js.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkZTHR4YS2js.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkZTHR4YS2js.HttpRequestError; exports.InsufficientFundsError = _chunkZTHR4YS2js.InsufficientFundsError; exports.InternalRpcError = _chunkZTHR4YS2js.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkZTHR4YS2js.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkZTHR4YS2js.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkZTHR4YS2js.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkZTHR4YS2js.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkZTHR4YS2js.InvalidAddressError; exports.InvalidArrayError = _chunkZTHR4YS2js.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkZTHR4YS2js.InvalidBytesBooleanError; exports.InvalidDefinitionTypeError = _chunkZTHR4YS2js.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkZTHR4YS2js.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkZTHR4YS2js.InvalidHexValueError; exports.InvalidInputRpcError = _chunkZTHR4YS2js.InvalidInputRpcError; exports.InvalidParamsRpcError = _chunkZTHR4YS2js.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkZTHR4YS2js.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkZTHR4YS2js.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkZTHR4YS2js.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkZTHR4YS2js.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkZTHR4YS2js.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkZTHR4YS2js.NonceMaxValueError; exports.NonceTooHighError = _chunkZTHR4YS2js.NonceTooHighError; exports.NonceTooLowError = _chunkZTHR4YS2js.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkZTHR4YS2js.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkZTHR4YS2js.ParseRpcError; exports.RawContractError = _chunkZTHR4YS2js.RawContractError; exports.RequestError = _chunkZTHR4YS2js.RequestError; exports.ResourceNotFoundRpcError = _chunkZTHR4YS2js.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkZTHR4YS2js.ResourceUnavailableRpcError; exports.RpcError = _chunkZTHR4YS2js.RpcError; exports.RpcRequestError = _chunkZTHR4YS2js.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkZTHR4YS2js.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkZTHR4YS2js.SwitchChainError; exports.TimeoutError = _chunkZTHR4YS2js.TimeoutError; exports.TipAboveFeeCapError = _chunkZTHR4YS2js.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkZTHR4YS2js.TransactionExecutionError; exports.TransactionNotFoundError = _chunkZTHR4YS2js.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkZTHR4YS2js.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkZTHR4YS2js.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkZTHR4YS2js.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkZTHR4YS2js.UnknownNodeError; exports.UnknownRpcError = _chunkZTHR4YS2js.UnknownRpcError; exports.UrlRequiredError = _chunkZTHR4YS2js.UrlRequiredError; exports.UserRejectedRequestError = _chunkZTHR4YS2js.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkZTHR4YS2js.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkZTHR4YS2js.WebSocketRequestError; exports.boolToBytes = _chunkZTHR4YS2js.boolToBytes; exports.boolToHex = _chunkZTHR4YS2js.boolToHex; exports.bytesToBigint = _chunkZTHR4YS2js.bytesToBigint; exports.bytesToBool = _chunkZTHR4YS2js.bytesToBool; exports.bytesToHex = _chunkZTHR4YS2js.bytesToHex; exports.bytesToNumber = _chunkZTHR4YS2js.bytesToNumber; exports.bytesToString = _chunkZTHR4YS2js.bytesToString; exports.concat = _chunkZTHR4YS2js.concat; exports.concatBytes = _chunkZTHR4YS2js.concatBytes; exports.concatHex = _chunkZTHR4YS2js.concatHex; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkZTHR4YS2js.decodeAbiParameters; exports.decodeErrorResult = _chunkZTHR4YS2js.decodeErrorResult; exports.decodeEventLog = _chunkZTHR4YS2js.decodeEventLog; exports.decodeFunctionData = _chunkZTHR4YS2js.decodeFunctionData; exports.decodeFunctionResult = _chunkZTHR4YS2js.decodeFunctionResult; exports.defineBlock = _chunkZTHR4YS2js.defineBlock; exports.defineChain = _chunkZTHR4YS2js.defineChain; exports.defineTransaction = _chunkZTHR4YS2js.defineTransaction; exports.defineTransactionReceipt = _chunkZTHR4YS2js.defineTransactionReceipt; exports.defineTransactionRequest = _chunkZTHR4YS2js.defineTransactionRequest; exports.encodeAbiParameters = _chunkZTHR4YS2js.encodeAbiParameters; exports.encodeDeployData = _chunkZTHR4YS2js.encodeDeployData; exports.encodeErrorResult = _chunkZTHR4YS2js.encodeErrorResult; exports.encodeEventTopics = _chunkZTHR4YS2js.encodeEventTopics; exports.encodeFunctionData = _chunkZTHR4YS2js.encodeFunctionData; exports.encodeFunctionResult = _chunkZTHR4YS2js.encodeFunctionResult; exports.encodePacked = _chunkZTHR4YS2js.encodePacked; exports.etherUnits = _chunkZTHR4YS2js.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkZTHR4YS2js.formatBlock; exports.formatEther = _chunkZTHR4YS2js.formatEther; exports.formatGwei = _chunkZTHR4YS2js.formatGwei; exports.formatTransaction = _chunkZTHR4YS2js.formatTransaction; exports.formatTransactionRequest = _chunkZTHR4YS2js.formatTransactionRequest; exports.formatUnits = _chunkZTHR4YS2js.formatUnits; exports.fromBytes = _chunkZTHR4YS2js.fromBytes; exports.fromHex = _chunkZTHR4YS2js.fromHex; exports.fromRlp = _chunkZTHR4YS2js.fromRlp; exports.getAbiItem = _chunkZTHR4YS2js.getAbiItem; exports.getAccount = _chunkZTHR4YS2js.getAccount; exports.getAddress = _chunkZTHR4YS2js.getAddress; exports.getContractAddress = _chunkZTHR4YS2js.getContractAddress; exports.getContractError = _chunkZTHR4YS2js.getContractError; exports.getCreate2Address = _chunkZTHR4YS2js.getCreate2Address; exports.getCreateAddress = _chunkZTHR4YS2js.getCreateAddress; exports.getEventSelector = _chunkZTHR4YS2js.getEventSelector; exports.getFunctionSelector = _chunkZTHR4YS2js.getFunctionSelector; exports.gweiUnits = _chunkZTHR4YS2js.gweiUnits; exports.hashMessage = _chunkZTHR4YS2js.hashMessage; exports.hexToBigInt = _chunkZTHR4YS2js.hexToBigInt; exports.hexToBool = _chunkZTHR4YS2js.hexToBool; exports.hexToBytes = _chunkZTHR4YS2js.hexToBytes; exports.hexToNumber = _chunkZTHR4YS2js.hexToNumber; exports.hexToString = _chunkZTHR4YS2js.hexToString; exports.http = http; exports.isAddress = _chunkZTHR4YS2js.isAddress; exports.isAddressEqual = _chunkZTHR4YS2js.isAddressEqual; exports.isBytes = _chunkZTHR4YS2js.isBytes; exports.isHex = _chunkZTHR4YS2js.isHex; exports.keccak256 = _chunkZTHR4YS2js.keccak256; exports.labelhash = _chunkFDTKU2PSjs.labelhash; exports.multicall3Abi = _chunkZTHR4YS2js.multicall3Abi; exports.namehash = _chunkFDTKU2PSjs.namehash; exports.numberToBytes = _chunkZTHR4YS2js.numberToBytes; exports.numberToHex = _chunkZTHR4YS2js.numberToHex; exports.pad = _chunkZTHR4YS2js.pad; exports.padBytes = _chunkZTHR4YS2js.padBytes; exports.padHex = _chunkZTHR4YS2js.padHex; exports.parseAbi = _chunkZTHR4YS2js.parseAbi; exports.parseAbiItem = _chunkZTHR4YS2js.parseAbiItem; exports.parseAbiParameter = _chunkZTHR4YS2js.parseAbiParameter; exports.parseAbiParameters = _chunkZTHR4YS2js.parseAbiParameters; exports.parseEther = _chunkZTHR4YS2js.parseEther; exports.parseGwei = _chunkZTHR4YS2js.parseGwei; exports.parseUnits = _chunkZTHR4YS2js.parseUnits; exports.recoverAddress = _chunkZTHR4YS2js.recoverAddress; exports.recoverMessageAddress = _chunkZTHR4YS2js.recoverMessageAddress; exports.size = _chunkZTHR4YS2js.size; exports.slice = _chunkZTHR4YS2js.slice; exports.sliceBytes = _chunkZTHR4YS2js.sliceBytes; exports.sliceHex = _chunkZTHR4YS2js.sliceHex; exports.stringToBytes = _chunkZTHR4YS2js.stringToBytes; exports.stringToHex = _chunkZTHR4YS2js.stringToHex; exports.stringify = _chunkZTHR4YS2js.stringify; exports.toBytes = _chunkZTHR4YS2js.toBytes; exports.toHex = _chunkZTHR4YS2js.toHex; exports.toRlp = _chunkZTHR4YS2js.toRlp; exports.transactionType = _chunkZTHR4YS2js.transactionType; exports.trim = _chunkZTHR4YS2js.trim; exports.verifyMessage = _chunkZTHR4YS2js.verifyMessage; exports.webSocket = webSocket; exports.weiUnits = _chunkZTHR4YS2js.weiUnits;
|
803
|
+
exports.AbiConstructorNotFoundError = _chunkA5BRAPQQjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkA5BRAPQQjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkA5BRAPQQjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkA5BRAPQQjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkA5BRAPQQjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkA5BRAPQQjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkA5BRAPQQjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkA5BRAPQQjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkA5BRAPQQjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkA5BRAPQQjs.AbiEventNotFoundError; exports.AbiEventSignatureEmptyTopicsError = _chunkA5BRAPQQjs.AbiEventSignatureEmptyTopicsError; exports.AbiEventSignatureNotFoundError = _chunkA5BRAPQQjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkA5BRAPQQjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkA5BRAPQQjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkA5BRAPQQjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkA5BRAPQQjs.BaseError; exports.BlockNotFoundError = _chunkA5BRAPQQjs.BlockNotFoundError; exports.CallExecutionError = _chunkA5BRAPQQjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkA5BRAPQQjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkA5BRAPQQjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkA5BRAPQQjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkA5BRAPQQjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkA5BRAPQQjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkA5BRAPQQjs.DataLengthTooShortError; exports.DecodeLogTopicsMismatch = _chunkA5BRAPQQjs.DecodeLogTopicsMismatch; exports.EstimateGasExecutionError = _chunkA5BRAPQQjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkA5BRAPQQjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkA5BRAPQQjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkA5BRAPQQjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkA5BRAPQQjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkA5BRAPQQjs.HttpRequestError; exports.InsufficientFundsError = _chunkA5BRAPQQjs.InsufficientFundsError; exports.InternalRpcError = _chunkA5BRAPQQjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkA5BRAPQQjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkA5BRAPQQjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkA5BRAPQQjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkA5BRAPQQjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkA5BRAPQQjs.InvalidAddressError; exports.InvalidArrayError = _chunkA5BRAPQQjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkA5BRAPQQjs.InvalidBytesBooleanError; exports.InvalidDefinitionTypeError = _chunkA5BRAPQQjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkA5BRAPQQjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkA5BRAPQQjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkA5BRAPQQjs.InvalidInputRpcError; exports.InvalidParamsRpcError = _chunkA5BRAPQQjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkA5BRAPQQjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkA5BRAPQQjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkA5BRAPQQjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkA5BRAPQQjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkA5BRAPQQjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkA5BRAPQQjs.NonceMaxValueError; exports.NonceTooHighError = _chunkA5BRAPQQjs.NonceTooHighError; exports.NonceTooLowError = _chunkA5BRAPQQjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkA5BRAPQQjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkA5BRAPQQjs.ParseRpcError; exports.RawContractError = _chunkA5BRAPQQjs.RawContractError; exports.RequestError = _chunkA5BRAPQQjs.RequestError; exports.ResourceNotFoundRpcError = _chunkA5BRAPQQjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkA5BRAPQQjs.ResourceUnavailableRpcError; exports.RpcError = _chunkA5BRAPQQjs.RpcError; exports.RpcRequestError = _chunkA5BRAPQQjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkA5BRAPQQjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkA5BRAPQQjs.SwitchChainError; exports.TimeoutError = _chunkA5BRAPQQjs.TimeoutError; exports.TipAboveFeeCapError = _chunkA5BRAPQQjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkA5BRAPQQjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkA5BRAPQQjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkA5BRAPQQjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkA5BRAPQQjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkA5BRAPQQjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkA5BRAPQQjs.UnknownNodeError; exports.UnknownRpcError = _chunkA5BRAPQQjs.UnknownRpcError; exports.UrlRequiredError = _chunkA5BRAPQQjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkA5BRAPQQjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkA5BRAPQQjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkA5BRAPQQjs.WebSocketRequestError; exports.boolToBytes = _chunkA5BRAPQQjs.boolToBytes; exports.boolToHex = _chunkA5BRAPQQjs.boolToHex; exports.bytesToBigint = _chunkA5BRAPQQjs.bytesToBigint; exports.bytesToBool = _chunkA5BRAPQQjs.bytesToBool; exports.bytesToHex = _chunkA5BRAPQQjs.bytesToHex; exports.bytesToNumber = _chunkA5BRAPQQjs.bytesToNumber; exports.bytesToString = _chunkA5BRAPQQjs.bytesToString; exports.concat = _chunkA5BRAPQQjs.concat; exports.concatBytes = _chunkA5BRAPQQjs.concatBytes; exports.concatHex = _chunkA5BRAPQQjs.concatHex; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkA5BRAPQQjs.decodeAbiParameters; exports.decodeErrorResult = _chunkA5BRAPQQjs.decodeErrorResult; exports.decodeEventLog = _chunkA5BRAPQQjs.decodeEventLog; exports.decodeFunctionData = _chunkA5BRAPQQjs.decodeFunctionData; exports.decodeFunctionResult = _chunkA5BRAPQQjs.decodeFunctionResult; exports.defineBlock = _chunkA5BRAPQQjs.defineBlock; exports.defineChain = _chunkA5BRAPQQjs.defineChain; exports.defineTransaction = _chunkA5BRAPQQjs.defineTransaction; exports.defineTransactionReceipt = _chunkA5BRAPQQjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkA5BRAPQQjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkA5BRAPQQjs.encodeAbiParameters; exports.encodeDeployData = _chunkA5BRAPQQjs.encodeDeployData; exports.encodeErrorResult = _chunkA5BRAPQQjs.encodeErrorResult; exports.encodeEventTopics = _chunkA5BRAPQQjs.encodeEventTopics; exports.encodeFunctionData = _chunkA5BRAPQQjs.encodeFunctionData; exports.encodeFunctionResult = _chunkA5BRAPQQjs.encodeFunctionResult; exports.encodePacked = _chunkA5BRAPQQjs.encodePacked; exports.etherUnits = _chunkA5BRAPQQjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkA5BRAPQQjs.formatBlock; exports.formatEther = _chunkA5BRAPQQjs.formatEther; exports.formatGwei = _chunkA5BRAPQQjs.formatGwei; exports.formatTransaction = _chunkA5BRAPQQjs.formatTransaction; exports.formatTransactionRequest = _chunkA5BRAPQQjs.formatTransactionRequest; exports.formatUnits = _chunkA5BRAPQQjs.formatUnits; exports.fromBytes = _chunkA5BRAPQQjs.fromBytes; exports.fromHex = _chunkA5BRAPQQjs.fromHex; exports.fromRlp = _chunkA5BRAPQQjs.fromRlp; exports.getAbiItem = _chunkA5BRAPQQjs.getAbiItem; exports.getAccount = _chunkA5BRAPQQjs.getAccount; exports.getAddress = _chunkA5BRAPQQjs.getAddress; exports.getContractAddress = _chunkA5BRAPQQjs.getContractAddress; exports.getContractError = _chunkA5BRAPQQjs.getContractError; exports.getCreate2Address = _chunkA5BRAPQQjs.getCreate2Address; exports.getCreateAddress = _chunkA5BRAPQQjs.getCreateAddress; exports.getEventSelector = _chunkA5BRAPQQjs.getEventSelector; exports.getFunctionSelector = _chunkA5BRAPQQjs.getFunctionSelector; exports.gweiUnits = _chunkA5BRAPQQjs.gweiUnits; exports.hashMessage = _chunkA5BRAPQQjs.hashMessage; exports.hexToBigInt = _chunkA5BRAPQQjs.hexToBigInt; exports.hexToBool = _chunkA5BRAPQQjs.hexToBool; exports.hexToBytes = _chunkA5BRAPQQjs.hexToBytes; exports.hexToNumber = _chunkA5BRAPQQjs.hexToNumber; exports.hexToString = _chunkA5BRAPQQjs.hexToString; exports.http = http; exports.isAddress = _chunkA5BRAPQQjs.isAddress; exports.isAddressEqual = _chunkA5BRAPQQjs.isAddressEqual; exports.isBytes = _chunkA5BRAPQQjs.isBytes; exports.isHex = _chunkA5BRAPQQjs.isHex; exports.keccak256 = _chunkA5BRAPQQjs.keccak256; exports.labelhash = _chunkGZ67J32Tjs.labelhash; exports.multicall3Abi = _chunkA5BRAPQQjs.multicall3Abi; exports.namehash = _chunkGZ67J32Tjs.namehash; exports.numberToBytes = _chunkA5BRAPQQjs.numberToBytes; exports.numberToHex = _chunkA5BRAPQQjs.numberToHex; exports.pad = _chunkA5BRAPQQjs.pad; exports.padBytes = _chunkA5BRAPQQjs.padBytes; exports.padHex = _chunkA5BRAPQQjs.padHex; exports.parseAbi = _chunkA5BRAPQQjs.parseAbi; exports.parseAbiItem = _chunkA5BRAPQQjs.parseAbiItem; exports.parseAbiParameter = _chunkA5BRAPQQjs.parseAbiParameter; exports.parseAbiParameters = _chunkA5BRAPQQjs.parseAbiParameters; exports.parseEther = _chunkA5BRAPQQjs.parseEther; exports.parseGwei = _chunkA5BRAPQQjs.parseGwei; exports.parseUnits = _chunkA5BRAPQQjs.parseUnits; exports.recoverAddress = _chunkA5BRAPQQjs.recoverAddress; exports.recoverMessageAddress = _chunkA5BRAPQQjs.recoverMessageAddress; exports.size = _chunkA5BRAPQQjs.size; exports.slice = _chunkA5BRAPQQjs.slice; exports.sliceBytes = _chunkA5BRAPQQjs.sliceBytes; exports.sliceHex = _chunkA5BRAPQQjs.sliceHex; exports.stringToBytes = _chunkA5BRAPQQjs.stringToBytes; exports.stringToHex = _chunkA5BRAPQQjs.stringToHex; exports.stringify = _chunkA5BRAPQQjs.stringify; exports.toBytes = _chunkA5BRAPQQjs.toBytes; exports.toHex = _chunkA5BRAPQQjs.toHex; exports.toRlp = _chunkA5BRAPQQjs.toRlp; exports.transactionType = _chunkA5BRAPQQjs.transactionType; exports.trim = _chunkA5BRAPQQjs.trim; exports.verifyMessage = _chunkA5BRAPQQjs.verifyMessage; exports.webSocket = webSocket; exports.weiUnits = _chunkA5BRAPQQjs.weiUnits;
|
802
804
|
//# sourceMappingURL=index.js.map
|