viem 0.2.0-main.20230323T084936 → 0.2.0-main.20230327T172338
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-FOJL5WVL.mjs → chunk-4YUG4V7P.mjs} +2 -2
- package/dist/{chunk-FOJL5WVL.mjs.map → chunk-4YUG4V7P.mjs.map} +1 -1
- package/dist/{chunk-ZIT7BMZO.js → chunk-AIPPHB5N.js} +19 -19
- package/dist/{chunk-BHAAXXGO.js → chunk-B7UCK5SO.js} +2 -2
- package/dist/{chunk-BHAAXXGO.js.map → chunk-B7UCK5SO.js.map} +1 -1
- package/dist/{chunk-R7WEI5MQ.mjs → chunk-ZDCMVMJM.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-75540130.d.ts → createPublicClient-b250a534.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 +90 -90
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/{parseGwei-6fff7cbe.d.ts → parseGwei-bd0eea6c.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-ZIT7BMZO.js.map → chunk-AIPPHB5N.js.map} +0 -0
- /package/dist/{chunk-R7WEI5MQ.mjs.map → chunk-ZDCMVMJM.mjs.map} +0 -0
@@ -11,7 +11,7 @@ import {
|
|
11
11
|
stringToBytes,
|
12
12
|
toBytes,
|
13
13
|
toHex
|
14
|
-
} from "./chunk-
|
14
|
+
} from "./chunk-4YUG4V7P.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-ZDCMVMJM.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-b250a534.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 _chunkB7UCK5SOjs = require('./chunk-B7UCK5SO.js');
|
27
27
|
|
28
28
|
|
29
29
|
|
@@ -49,5 +49,5 @@ var _chunkBHAAXXGOjs = require('./chunk-BHAAXXGO.js');
|
|
49
49
|
|
50
50
|
|
51
51
|
|
52
|
-
exports.createContractEventFilter =
|
52
|
+
exports.createContractEventFilter = _chunkB7UCK5SOjs.createContractEventFilter; exports.decodeAbiParameters = _chunkB7UCK5SOjs.decodeAbiParameters; exports.decodeErrorResult = _chunkB7UCK5SOjs.decodeErrorResult; exports.decodeEventLog = _chunkB7UCK5SOjs.decodeEventLog; exports.decodeFunctionData = _chunkB7UCK5SOjs.decodeFunctionData; exports.decodeFunctionResult = _chunkB7UCK5SOjs.decodeFunctionResult; exports.deployContract = _chunkB7UCK5SOjs.deployContract; exports.encodeAbiParameters = _chunkB7UCK5SOjs.encodeAbiParameters; exports.encodeDeployData = _chunkB7UCK5SOjs.encodeDeployData; exports.encodeErrorResult = _chunkB7UCK5SOjs.encodeErrorResult; exports.encodeEventTopics = _chunkB7UCK5SOjs.encodeEventTopics; exports.encodeFunctionData = _chunkB7UCK5SOjs.encodeFunctionData; exports.encodeFunctionResult = _chunkB7UCK5SOjs.encodeFunctionResult; exports.estimateContractGas = _chunkB7UCK5SOjs.estimateContractGas; exports.formatAbiItem = _chunkB7UCK5SOjs.formatAbiItem; exports.formatAbiItemWithArgs = _chunkB7UCK5SOjs.formatAbiItemWithArgs; exports.getAbiItem = _chunkB7UCK5SOjs.getAbiItem; exports.getBytecode = _chunkB7UCK5SOjs.getBytecode; exports.getStorageAt = _chunkB7UCK5SOjs.getStorageAt; exports.multicall = _chunkB7UCK5SOjs.multicall; exports.readContract = _chunkB7UCK5SOjs.readContract; exports.simulateContract = _chunkB7UCK5SOjs.simulateContract; exports.watchContractEvent = _chunkB7UCK5SOjs.watchContractEvent; exports.writeContract = _chunkB7UCK5SOjs.writeContract;
|
53
53
|
//# sourceMappingURL=contract.js.map
|
package/dist/contract.mjs
CHANGED
@@ -659,7 +659,7 @@ type GetMessage<TTypedData extends TypedData | {
|
|
659
659
|
type SignTypedDataReturnType = Hex;
|
660
660
|
declare function signTypedData<TTypedData extends TypedData | {
|
661
661
|
[key: string]: unknown;
|
662
|
-
}, TPrimaryType extends string
|
662
|
+
}, TPrimaryType extends string>(client: WalletClient, { account, domain, message, primaryType, types: types_, }: SignTypedDataParameters<TTypedData, TPrimaryType>): Promise<SignTypedDataReturnType>;
|
663
663
|
|
664
664
|
type SwitchChainParameters = {
|
665
665
|
id: Chain['id'];
|
@@ -825,7 +825,7 @@ type WalletActions<TChain extends Chain = Chain> = {
|
|
825
825
|
signMessage: (args: SignMessageParameters) => Promise<SignMessageReturnType>;
|
826
826
|
signTypedData: <TTypedData extends TypedData | {
|
827
827
|
[key: string]: unknown;
|
828
|
-
}>(args: SignTypedDataParameters<TTypedData>) => Promise<SignTypedDataReturnType>;
|
828
|
+
}, TPrimaryType extends string>(args: SignTypedDataParameters<TTypedData, TPrimaryType>) => Promise<SignTypedDataReturnType>;
|
829
829
|
switchChain: (args: SwitchChainParameters) => Promise<void>;
|
830
830
|
watchAsset: (args: WatchAssetParameters) => Promise<WatchAssetReturnType>;
|
831
831
|
writeContract: <TAbi extends Abi | readonly unknown[], TFunctionName extends string, TChainOverride extends Chain>(args: WriteContractParameters<TChainOverride, TAbi, TFunctionName>) => Promise<WriteContractReturnType>;
|
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-b250a534.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 _chunkAIPPHB5Njs = require('./chunk-AIPPHB5N.js');
|
7
|
+
require('./chunk-B7UCK5SO.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 = _chunkAIPPHB5Njs.getEnsAddress; exports.getEnsName = _chunkAIPPHB5Njs.getEnsName; exports.labelhash = _chunkAIPPHB5Njs.labelhash; exports.namehash = _chunkAIPPHB5Njs.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 _chunkB7UCK5SOjs = require('./chunk-B7UCK5SO.js');
|
5
5
|
|
6
6
|
// src/adapters/ethers.ts
|
7
|
-
var getAccount2 = (wallet) =>
|
7
|
+
var getAccount2 = (wallet) => _chunkB7UCK5SOjs.getAccount.call(void 0, {
|
8
8
|
address: wallet.address,
|
9
9
|
async signMessage(message) {
|
10
|
-
return await wallet.signMessage(
|
10
|
+
return await wallet.signMessage(_chunkB7UCK5SOjs.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-bd0eea6c.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-bd0eea6c.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-b250a534.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 _chunkAIPPHB5Njs = require('./chunk-AIPPHB5N.js');
|
7
7
|
|
8
8
|
|
9
9
|
|
@@ -245,7 +245,7 @@ var _chunkZIT7BMZOjs = require('./chunk-ZIT7BMZO.js');
|
|
245
245
|
|
246
246
|
|
247
247
|
|
248
|
-
var
|
248
|
+
var _chunkB7UCK5SOjs = require('./chunk-B7UCK5SO.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: _chunkB7UCK5SOjs.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 (_chunkB7UCK5SOjs.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, _chunkB7UCK5SOjs.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 _chunkB7UCK5SOjs.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, _chunkB7UCK5SOjs.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 _chunkB7UCK5SOjs.getSocket.call(void 0, url_);
|
377
|
+
const { result } = await _chunkB7UCK5SOjs.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 _chunkB7UCK5SOjs.getSocket.call(void 0, url_);
|
391
391
|
},
|
392
392
|
async subscribe({ params, onData, onError }) {
|
393
|
-
const socket = await
|
393
|
+
const socket = await _chunkB7UCK5SOjs.getSocket.call(void 0, url_);
|
394
394
|
const { result: subscriptionId } = await new Promise(
|
395
|
-
(resolve, reject) =>
|
395
|
+
(resolve, reject) => _chunkB7UCK5SOjs.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) => _chunkB7UCK5SOjs.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) => _chunkB7UCK5SOjs.call.call(void 0, client, args),
|
474
|
+
createBlockFilter: () => _chunkB7UCK5SOjs.createBlockFilter.call(void 0, client),
|
475
|
+
createContractEventFilter: (args) => _chunkB7UCK5SOjs.createContractEventFilter.call(void 0, client, args),
|
476
|
+
createEventFilter: (args) => _chunkB7UCK5SOjs.createEventFilter.call(void 0, client, args),
|
477
|
+
createPendingTransactionFilter: () => _chunkB7UCK5SOjs.createPendingTransactionFilter.call(void 0, client),
|
478
|
+
estimateContractGas: (args) => _chunkB7UCK5SOjs.estimateContractGas.call(void 0, client, args),
|
479
|
+
estimateGas: (args) => _chunkB7UCK5SOjs.estimateGas.call(void 0, client, args),
|
480
|
+
getBalance: (args) => _chunkB7UCK5SOjs.getBalance.call(void 0, client, args),
|
481
|
+
getBlock: (args) => _chunkB7UCK5SOjs.getBlock.call(void 0, client, args),
|
482
|
+
getBlockNumber: (args) => _chunkB7UCK5SOjs.getBlockNumber.call(void 0, client, args),
|
483
|
+
getBlockTransactionCount: (args) => _chunkB7UCK5SOjs.getBlockTransactionCount.call(void 0, client, args),
|
484
|
+
getBytecode: (args) => _chunkB7UCK5SOjs.getBytecode.call(void 0, client, args),
|
485
|
+
getChainId: () => _chunkB7UCK5SOjs.getChainId.call(void 0, client),
|
486
|
+
getEnsAddress: (args) => _chunkAIPPHB5Njs.getEnsAddress.call(void 0, client, args),
|
487
|
+
getEnsName: (args) => _chunkAIPPHB5Njs.getEnsName.call(void 0, client, args),
|
488
|
+
getFeeHistory: (args) => _chunkB7UCK5SOjs.getFeeHistory.call(void 0, client, args),
|
489
|
+
getFilterChanges: (args) => _chunkB7UCK5SOjs.getFilterChanges.call(void 0, client, args),
|
490
|
+
getFilterLogs: (args) => _chunkB7UCK5SOjs.getFilterLogs.call(void 0, client, args),
|
491
|
+
getGasPrice: () => _chunkB7UCK5SOjs.getGasPrice.call(void 0, client),
|
492
|
+
getLogs: (args) => _chunkB7UCK5SOjs.getLogs.call(void 0, client, args),
|
493
|
+
getStorageAt: (args) => _chunkB7UCK5SOjs.getStorageAt.call(void 0, client, args),
|
494
|
+
getTransaction: (args) => _chunkB7UCK5SOjs.getTransaction.call(void 0, client, args),
|
495
|
+
getTransactionConfirmations: (args) => _chunkB7UCK5SOjs.getTransactionConfirmations.call(void 0, client, args),
|
496
|
+
getTransactionCount: (args) => _chunkB7UCK5SOjs.getTransactionCount.call(void 0, client, args),
|
497
|
+
getTransactionReceipt: (args) => _chunkB7UCK5SOjs.getTransactionReceipt.call(void 0, client, args),
|
498
|
+
multicall: (args) => _chunkB7UCK5SOjs.multicall.call(void 0, client, args),
|
499
|
+
readContract: (args) => _chunkB7UCK5SOjs.readContract.call(void 0, client, args),
|
500
|
+
simulateContract: (args) => _chunkB7UCK5SOjs.simulateContract.call(void 0, client, args),
|
501
|
+
uninstallFilter: (args) => _chunkB7UCK5SOjs.uninstallFilter.call(void 0, client, args),
|
502
|
+
waitForTransactionReceipt: (args) => _chunkB7UCK5SOjs.waitForTransactionReceipt.call(void 0, client, args),
|
503
|
+
watchBlocks: (args) => _chunkB7UCK5SOjs.watchBlocks.call(void 0, client, args),
|
504
|
+
watchBlockNumber: (args) => _chunkB7UCK5SOjs.watchBlockNumber.call(void 0, client, args),
|
505
|
+
watchContractEvent: (args) => _chunkB7UCK5SOjs.watchContractEvent.call(void 0, client, args),
|
506
|
+
watchEvent: (args) => _chunkB7UCK5SOjs.watchEvent.call(void 0, client, args),
|
507
|
+
watchPendingTransactions: (args) => _chunkB7UCK5SOjs.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) => _chunkB7UCK5SOjs.dropTransaction.call(void 0, client, args),
|
513
|
+
getAutomine: () => _chunkB7UCK5SOjs.getAutomine.call(void 0, client),
|
514
|
+
getTxpoolContent: () => _chunkB7UCK5SOjs.getTxpoolContent.call(void 0, client),
|
515
|
+
getTxpoolStatus: () => _chunkB7UCK5SOjs.getTxpoolStatus.call(void 0, client),
|
516
|
+
impersonateAccount: (args) => _chunkB7UCK5SOjs.impersonateAccount.call(void 0, client, args),
|
517
|
+
increaseTime: (args) => _chunkB7UCK5SOjs.increaseTime.call(void 0, client, args),
|
518
|
+
inspectTxpool: () => _chunkB7UCK5SOjs.inspectTxpool.call(void 0, client),
|
519
|
+
mine: (args) => _chunkB7UCK5SOjs.mine.call(void 0, client, args),
|
520
|
+
removeBlockTimestampInterval: () => _chunkB7UCK5SOjs.removeBlockTimestampInterval.call(void 0, client),
|
521
|
+
reset: (args) => _chunkB7UCK5SOjs.reset.call(void 0, client, args),
|
522
|
+
revert: (args) => _chunkB7UCK5SOjs.revert.call(void 0, client, args),
|
523
|
+
sendUnsignedTransaction: (args) => _chunkB7UCK5SOjs.sendUnsignedTransaction.call(void 0, client, args),
|
524
|
+
setAutomine: (args) => _chunkB7UCK5SOjs.setAutomine.call(void 0, client, args),
|
525
|
+
setBalance: (args) => _chunkB7UCK5SOjs.setBalance.call(void 0, client, args),
|
526
|
+
setBlockGasLimit: (args) => _chunkB7UCK5SOjs.setBlockGasLimit.call(void 0, client, args),
|
527
|
+
setBlockTimestampInterval: (args) => _chunkB7UCK5SOjs.setBlockTimestampInterval.call(void 0, client, args),
|
528
|
+
setCode: (args) => _chunkB7UCK5SOjs.setCode.call(void 0, client, args),
|
529
|
+
setCoinbase: (args) => _chunkB7UCK5SOjs.setCoinbase.call(void 0, client, args),
|
530
|
+
setIntervalMining: (args) => _chunkB7UCK5SOjs.setIntervalMining.call(void 0, client, args),
|
531
|
+
setLoggingEnabled: (args) => _chunkB7UCK5SOjs.setLoggingEnabled.call(void 0, client, args),
|
532
|
+
setMinGasPrice: (args) => _chunkB7UCK5SOjs.setMinGasPrice.call(void 0, client, args),
|
533
|
+
setNextBlockBaseFeePerGas: (args) => _chunkB7UCK5SOjs.setNextBlockBaseFeePerGas.call(void 0, client, args),
|
534
|
+
setNextBlockTimestamp: (args) => _chunkB7UCK5SOjs.setNextBlockTimestamp.call(void 0, client, args),
|
535
|
+
setNonce: (args) => _chunkB7UCK5SOjs.setNonce.call(void 0, client, args),
|
536
|
+
setRpcUrl: (args) => _chunkB7UCK5SOjs.setRpcUrl.call(void 0, client, args),
|
537
|
+
setStorageAt: (args) => _chunkB7UCK5SOjs.setStorageAt.call(void 0, client, args),
|
538
|
+
snapshot: () => _chunkB7UCK5SOjs.snapshot.call(void 0, client),
|
539
|
+
stopImpersonatingAccount: (args) => _chunkB7UCK5SOjs.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) => _chunkB7UCK5SOjs.addChain.call(void 0, client, args),
|
545
|
+
deployContract: (args) => _chunkB7UCK5SOjs.deployContract.call(void 0, client, args),
|
546
|
+
getAddresses: () => _chunkB7UCK5SOjs.getAddresses.call(void 0, client),
|
547
|
+
getChainId: () => _chunkB7UCK5SOjs.getChainId.call(void 0, client),
|
548
|
+
getPermissions: () => _chunkB7UCK5SOjs.getPermissions.call(void 0, client),
|
549
|
+
requestAddresses: () => _chunkB7UCK5SOjs.requestAddresses.call(void 0, client),
|
550
|
+
requestPermissions: (args) => _chunkB7UCK5SOjs.requestPermissions.call(void 0, client, args),
|
551
|
+
sendTransaction: (args) => _chunkB7UCK5SOjs.sendTransaction.call(void 0, client, args),
|
552
|
+
signMessage: (args) => _chunkB7UCK5SOjs.signMessage.call(void 0, client, args),
|
553
|
+
signTypedData: (args) => _chunkB7UCK5SOjs.signTypedData.call(void 0, client, args),
|
554
|
+
switchChain: (args) => _chunkB7UCK5SOjs.switchChain.call(void 0, client, args),
|
555
|
+
watchAsset: (args) => _chunkB7UCK5SOjs.watchAsset.call(void 0, client, args),
|
556
|
+
writeContract: (args) => _chunkB7UCK5SOjs.writeContract.call(void 0, client, args)
|
557
557
|
});
|
558
558
|
|
559
559
|
// src/clients/createPublicClient.ts
|
@@ -800,5 +800,5 @@ function createWalletClient({
|
|
800
800
|
|
801
801
|
|
802
802
|
|
803
|
-
exports.AbiConstructorNotFoundError = _chunkBHAAXXGOjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkBHAAXXGOjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkBHAAXXGOjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkBHAAXXGOjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkBHAAXXGOjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkBHAAXXGOjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkBHAAXXGOjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkBHAAXXGOjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkBHAAXXGOjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkBHAAXXGOjs.AbiEventNotFoundError; exports.AbiEventSignatureEmptyTopicsError = _chunkBHAAXXGOjs.AbiEventSignatureEmptyTopicsError; exports.AbiEventSignatureNotFoundError = _chunkBHAAXXGOjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkBHAAXXGOjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkBHAAXXGOjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkBHAAXXGOjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkBHAAXXGOjs.BaseError; exports.BlockNotFoundError = _chunkBHAAXXGOjs.BlockNotFoundError; exports.CallExecutionError = _chunkBHAAXXGOjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkBHAAXXGOjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkBHAAXXGOjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkBHAAXXGOjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkBHAAXXGOjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkBHAAXXGOjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkBHAAXXGOjs.DataLengthTooShortError; exports.DecodeLogTopicsMismatch = _chunkBHAAXXGOjs.DecodeLogTopicsMismatch; exports.EstimateGasExecutionError = _chunkBHAAXXGOjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkBHAAXXGOjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkBHAAXXGOjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkBHAAXXGOjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkBHAAXXGOjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkBHAAXXGOjs.HttpRequestError; exports.InsufficientFundsError = _chunkBHAAXXGOjs.InsufficientFundsError; exports.InternalRpcError = _chunkBHAAXXGOjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkBHAAXXGOjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkBHAAXXGOjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkBHAAXXGOjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkBHAAXXGOjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkBHAAXXGOjs.InvalidAddressError; exports.InvalidArrayError = _chunkBHAAXXGOjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkBHAAXXGOjs.InvalidBytesBooleanError; exports.InvalidDefinitionTypeError = _chunkBHAAXXGOjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkBHAAXXGOjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkBHAAXXGOjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkBHAAXXGOjs.InvalidInputRpcError; exports.InvalidParamsRpcError = _chunkBHAAXXGOjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkBHAAXXGOjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkBHAAXXGOjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkBHAAXXGOjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkBHAAXXGOjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkBHAAXXGOjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkBHAAXXGOjs.NonceMaxValueError; exports.NonceTooHighError = _chunkBHAAXXGOjs.NonceTooHighError; exports.NonceTooLowError = _chunkBHAAXXGOjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkBHAAXXGOjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkBHAAXXGOjs.ParseRpcError; exports.RawContractError = _chunkBHAAXXGOjs.RawContractError; exports.RequestError = _chunkBHAAXXGOjs.RequestError; exports.ResourceNotFoundRpcError = _chunkBHAAXXGOjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkBHAAXXGOjs.ResourceUnavailableRpcError; exports.RpcError = _chunkBHAAXXGOjs.RpcError; exports.RpcRequestError = _chunkBHAAXXGOjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkBHAAXXGOjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkBHAAXXGOjs.SwitchChainError; exports.TimeoutError = _chunkBHAAXXGOjs.TimeoutError; exports.TipAboveFeeCapError = _chunkBHAAXXGOjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkBHAAXXGOjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkBHAAXXGOjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkBHAAXXGOjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkBHAAXXGOjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkBHAAXXGOjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkBHAAXXGOjs.UnknownNodeError; exports.UnknownRpcError = _chunkBHAAXXGOjs.UnknownRpcError; exports.UrlRequiredError = _chunkBHAAXXGOjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkBHAAXXGOjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkBHAAXXGOjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkBHAAXXGOjs.WebSocketRequestError; exports.boolToBytes = _chunkBHAAXXGOjs.boolToBytes; exports.boolToHex = _chunkBHAAXXGOjs.boolToHex; exports.bytesToBigint = _chunkBHAAXXGOjs.bytesToBigint; exports.bytesToBool = _chunkBHAAXXGOjs.bytesToBool; exports.bytesToHex = _chunkBHAAXXGOjs.bytesToHex; exports.bytesToNumber = _chunkBHAAXXGOjs.bytesToNumber; exports.bytesToString = _chunkBHAAXXGOjs.bytesToString; exports.concat = _chunkBHAAXXGOjs.concat; exports.concatBytes = _chunkBHAAXXGOjs.concatBytes; exports.concatHex = _chunkBHAAXXGOjs.concatHex; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkBHAAXXGOjs.decodeAbiParameters; exports.decodeErrorResult = _chunkBHAAXXGOjs.decodeErrorResult; exports.decodeEventLog = _chunkBHAAXXGOjs.decodeEventLog; exports.decodeFunctionData = _chunkBHAAXXGOjs.decodeFunctionData; exports.decodeFunctionResult = _chunkBHAAXXGOjs.decodeFunctionResult; exports.defineBlock = _chunkBHAAXXGOjs.defineBlock; exports.defineChain = _chunkBHAAXXGOjs.defineChain; exports.defineTransaction = _chunkBHAAXXGOjs.defineTransaction; exports.defineTransactionReceipt = _chunkBHAAXXGOjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkBHAAXXGOjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkBHAAXXGOjs.encodeAbiParameters; exports.encodeDeployData = _chunkBHAAXXGOjs.encodeDeployData; exports.encodeErrorResult = _chunkBHAAXXGOjs.encodeErrorResult; exports.encodeEventTopics = _chunkBHAAXXGOjs.encodeEventTopics; exports.encodeFunctionData = _chunkBHAAXXGOjs.encodeFunctionData; exports.encodeFunctionResult = _chunkBHAAXXGOjs.encodeFunctionResult; exports.encodePacked = _chunkBHAAXXGOjs.encodePacked; exports.etherUnits = _chunkBHAAXXGOjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkBHAAXXGOjs.formatBlock; exports.formatEther = _chunkBHAAXXGOjs.formatEther; exports.formatGwei = _chunkBHAAXXGOjs.formatGwei; exports.formatTransaction = _chunkBHAAXXGOjs.formatTransaction; exports.formatTransactionRequest = _chunkBHAAXXGOjs.formatTransactionRequest; exports.formatUnits = _chunkBHAAXXGOjs.formatUnits; exports.fromBytes = _chunkBHAAXXGOjs.fromBytes; exports.fromHex = _chunkBHAAXXGOjs.fromHex; exports.fromRlp = _chunkBHAAXXGOjs.fromRlp; exports.getAbiItem = _chunkBHAAXXGOjs.getAbiItem; exports.getAccount = _chunkBHAAXXGOjs.getAccount; exports.getAddress = _chunkBHAAXXGOjs.getAddress; exports.getContractAddress = _chunkBHAAXXGOjs.getContractAddress; exports.getContractError = _chunkBHAAXXGOjs.getContractError; exports.getCreate2Address = _chunkBHAAXXGOjs.getCreate2Address; exports.getCreateAddress = _chunkBHAAXXGOjs.getCreateAddress; exports.getEventSelector = _chunkBHAAXXGOjs.getEventSelector; exports.getFunctionSelector = _chunkBHAAXXGOjs.getFunctionSelector; exports.gweiUnits = _chunkBHAAXXGOjs.gweiUnits; exports.hashMessage = _chunkBHAAXXGOjs.hashMessage; exports.hexToBigInt = _chunkBHAAXXGOjs.hexToBigInt; exports.hexToBool = _chunkBHAAXXGOjs.hexToBool; exports.hexToBytes = _chunkBHAAXXGOjs.hexToBytes; exports.hexToNumber = _chunkBHAAXXGOjs.hexToNumber; exports.hexToString = _chunkBHAAXXGOjs.hexToString; exports.http = http; exports.isAddress = _chunkBHAAXXGOjs.isAddress; exports.isAddressEqual = _chunkBHAAXXGOjs.isAddressEqual; exports.isBytes = _chunkBHAAXXGOjs.isBytes; exports.isHex = _chunkBHAAXXGOjs.isHex; exports.keccak256 = _chunkBHAAXXGOjs.keccak256; exports.labelhash = _chunkZIT7BMZOjs.labelhash; exports.multicall3Abi = _chunkBHAAXXGOjs.multicall3Abi; exports.namehash = _chunkZIT7BMZOjs.namehash; exports.numberToBytes = _chunkBHAAXXGOjs.numberToBytes; exports.numberToHex = _chunkBHAAXXGOjs.numberToHex; exports.pad = _chunkBHAAXXGOjs.pad; exports.padBytes = _chunkBHAAXXGOjs.padBytes; exports.padHex = _chunkBHAAXXGOjs.padHex; exports.parseAbi = _chunkBHAAXXGOjs.parseAbi; exports.parseAbiItem = _chunkBHAAXXGOjs.parseAbiItem; exports.parseAbiParameter = _chunkBHAAXXGOjs.parseAbiParameter; exports.parseAbiParameters = _chunkBHAAXXGOjs.parseAbiParameters; exports.parseEther = _chunkBHAAXXGOjs.parseEther; exports.parseGwei = _chunkBHAAXXGOjs.parseGwei; exports.parseUnits = _chunkBHAAXXGOjs.parseUnits; exports.recoverAddress = _chunkBHAAXXGOjs.recoverAddress; exports.recoverMessageAddress = _chunkBHAAXXGOjs.recoverMessageAddress; exports.size = _chunkBHAAXXGOjs.size; exports.slice = _chunkBHAAXXGOjs.slice; exports.sliceBytes = _chunkBHAAXXGOjs.sliceBytes; exports.sliceHex = _chunkBHAAXXGOjs.sliceHex; exports.stringToBytes = _chunkBHAAXXGOjs.stringToBytes; exports.stringToHex = _chunkBHAAXXGOjs.stringToHex; exports.stringify = _chunkBHAAXXGOjs.stringify; exports.toBytes = _chunkBHAAXXGOjs.toBytes; exports.toHex = _chunkBHAAXXGOjs.toHex; exports.toRlp = _chunkBHAAXXGOjs.toRlp; exports.transactionType = _chunkBHAAXXGOjs.transactionType; exports.trim = _chunkBHAAXXGOjs.trim; exports.verifyMessage = _chunkBHAAXXGOjs.verifyMessage; exports.webSocket = webSocket; exports.weiUnits = _chunkBHAAXXGOjs.weiUnits;
|
803
|
+
exports.AbiConstructorNotFoundError = _chunkB7UCK5SOjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkB7UCK5SOjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkB7UCK5SOjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkB7UCK5SOjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkB7UCK5SOjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkB7UCK5SOjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkB7UCK5SOjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkB7UCK5SOjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkB7UCK5SOjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkB7UCK5SOjs.AbiEventNotFoundError; exports.AbiEventSignatureEmptyTopicsError = _chunkB7UCK5SOjs.AbiEventSignatureEmptyTopicsError; exports.AbiEventSignatureNotFoundError = _chunkB7UCK5SOjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkB7UCK5SOjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkB7UCK5SOjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkB7UCK5SOjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkB7UCK5SOjs.BaseError; exports.BlockNotFoundError = _chunkB7UCK5SOjs.BlockNotFoundError; exports.CallExecutionError = _chunkB7UCK5SOjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkB7UCK5SOjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkB7UCK5SOjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkB7UCK5SOjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkB7UCK5SOjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkB7UCK5SOjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkB7UCK5SOjs.DataLengthTooShortError; exports.DecodeLogTopicsMismatch = _chunkB7UCK5SOjs.DecodeLogTopicsMismatch; exports.EstimateGasExecutionError = _chunkB7UCK5SOjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkB7UCK5SOjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkB7UCK5SOjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkB7UCK5SOjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkB7UCK5SOjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkB7UCK5SOjs.HttpRequestError; exports.InsufficientFundsError = _chunkB7UCK5SOjs.InsufficientFundsError; exports.InternalRpcError = _chunkB7UCK5SOjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkB7UCK5SOjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkB7UCK5SOjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkB7UCK5SOjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkB7UCK5SOjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkB7UCK5SOjs.InvalidAddressError; exports.InvalidArrayError = _chunkB7UCK5SOjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkB7UCK5SOjs.InvalidBytesBooleanError; exports.InvalidDefinitionTypeError = _chunkB7UCK5SOjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkB7UCK5SOjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkB7UCK5SOjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkB7UCK5SOjs.InvalidInputRpcError; exports.InvalidParamsRpcError = _chunkB7UCK5SOjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkB7UCK5SOjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkB7UCK5SOjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkB7UCK5SOjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkB7UCK5SOjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkB7UCK5SOjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkB7UCK5SOjs.NonceMaxValueError; exports.NonceTooHighError = _chunkB7UCK5SOjs.NonceTooHighError; exports.NonceTooLowError = _chunkB7UCK5SOjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkB7UCK5SOjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkB7UCK5SOjs.ParseRpcError; exports.RawContractError = _chunkB7UCK5SOjs.RawContractError; exports.RequestError = _chunkB7UCK5SOjs.RequestError; exports.ResourceNotFoundRpcError = _chunkB7UCK5SOjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkB7UCK5SOjs.ResourceUnavailableRpcError; exports.RpcError = _chunkB7UCK5SOjs.RpcError; exports.RpcRequestError = _chunkB7UCK5SOjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkB7UCK5SOjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkB7UCK5SOjs.SwitchChainError; exports.TimeoutError = _chunkB7UCK5SOjs.TimeoutError; exports.TipAboveFeeCapError = _chunkB7UCK5SOjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkB7UCK5SOjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkB7UCK5SOjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkB7UCK5SOjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkB7UCK5SOjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkB7UCK5SOjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkB7UCK5SOjs.UnknownNodeError; exports.UnknownRpcError = _chunkB7UCK5SOjs.UnknownRpcError; exports.UrlRequiredError = _chunkB7UCK5SOjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkB7UCK5SOjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkB7UCK5SOjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkB7UCK5SOjs.WebSocketRequestError; exports.boolToBytes = _chunkB7UCK5SOjs.boolToBytes; exports.boolToHex = _chunkB7UCK5SOjs.boolToHex; exports.bytesToBigint = _chunkB7UCK5SOjs.bytesToBigint; exports.bytesToBool = _chunkB7UCK5SOjs.bytesToBool; exports.bytesToHex = _chunkB7UCK5SOjs.bytesToHex; exports.bytesToNumber = _chunkB7UCK5SOjs.bytesToNumber; exports.bytesToString = _chunkB7UCK5SOjs.bytesToString; exports.concat = _chunkB7UCK5SOjs.concat; exports.concatBytes = _chunkB7UCK5SOjs.concatBytes; exports.concatHex = _chunkB7UCK5SOjs.concatHex; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkB7UCK5SOjs.decodeAbiParameters; exports.decodeErrorResult = _chunkB7UCK5SOjs.decodeErrorResult; exports.decodeEventLog = _chunkB7UCK5SOjs.decodeEventLog; exports.decodeFunctionData = _chunkB7UCK5SOjs.decodeFunctionData; exports.decodeFunctionResult = _chunkB7UCK5SOjs.decodeFunctionResult; exports.defineBlock = _chunkB7UCK5SOjs.defineBlock; exports.defineChain = _chunkB7UCK5SOjs.defineChain; exports.defineTransaction = _chunkB7UCK5SOjs.defineTransaction; exports.defineTransactionReceipt = _chunkB7UCK5SOjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkB7UCK5SOjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkB7UCK5SOjs.encodeAbiParameters; exports.encodeDeployData = _chunkB7UCK5SOjs.encodeDeployData; exports.encodeErrorResult = _chunkB7UCK5SOjs.encodeErrorResult; exports.encodeEventTopics = _chunkB7UCK5SOjs.encodeEventTopics; exports.encodeFunctionData = _chunkB7UCK5SOjs.encodeFunctionData; exports.encodeFunctionResult = _chunkB7UCK5SOjs.encodeFunctionResult; exports.encodePacked = _chunkB7UCK5SOjs.encodePacked; exports.etherUnits = _chunkB7UCK5SOjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkB7UCK5SOjs.formatBlock; exports.formatEther = _chunkB7UCK5SOjs.formatEther; exports.formatGwei = _chunkB7UCK5SOjs.formatGwei; exports.formatTransaction = _chunkB7UCK5SOjs.formatTransaction; exports.formatTransactionRequest = _chunkB7UCK5SOjs.formatTransactionRequest; exports.formatUnits = _chunkB7UCK5SOjs.formatUnits; exports.fromBytes = _chunkB7UCK5SOjs.fromBytes; exports.fromHex = _chunkB7UCK5SOjs.fromHex; exports.fromRlp = _chunkB7UCK5SOjs.fromRlp; exports.getAbiItem = _chunkB7UCK5SOjs.getAbiItem; exports.getAccount = _chunkB7UCK5SOjs.getAccount; exports.getAddress = _chunkB7UCK5SOjs.getAddress; exports.getContractAddress = _chunkB7UCK5SOjs.getContractAddress; exports.getContractError = _chunkB7UCK5SOjs.getContractError; exports.getCreate2Address = _chunkB7UCK5SOjs.getCreate2Address; exports.getCreateAddress = _chunkB7UCK5SOjs.getCreateAddress; exports.getEventSelector = _chunkB7UCK5SOjs.getEventSelector; exports.getFunctionSelector = _chunkB7UCK5SOjs.getFunctionSelector; exports.gweiUnits = _chunkB7UCK5SOjs.gweiUnits; exports.hashMessage = _chunkB7UCK5SOjs.hashMessage; exports.hexToBigInt = _chunkB7UCK5SOjs.hexToBigInt; exports.hexToBool = _chunkB7UCK5SOjs.hexToBool; exports.hexToBytes = _chunkB7UCK5SOjs.hexToBytes; exports.hexToNumber = _chunkB7UCK5SOjs.hexToNumber; exports.hexToString = _chunkB7UCK5SOjs.hexToString; exports.http = http; exports.isAddress = _chunkB7UCK5SOjs.isAddress; exports.isAddressEqual = _chunkB7UCK5SOjs.isAddressEqual; exports.isBytes = _chunkB7UCK5SOjs.isBytes; exports.isHex = _chunkB7UCK5SOjs.isHex; exports.keccak256 = _chunkB7UCK5SOjs.keccak256; exports.labelhash = _chunkAIPPHB5Njs.labelhash; exports.multicall3Abi = _chunkB7UCK5SOjs.multicall3Abi; exports.namehash = _chunkAIPPHB5Njs.namehash; exports.numberToBytes = _chunkB7UCK5SOjs.numberToBytes; exports.numberToHex = _chunkB7UCK5SOjs.numberToHex; exports.pad = _chunkB7UCK5SOjs.pad; exports.padBytes = _chunkB7UCK5SOjs.padBytes; exports.padHex = _chunkB7UCK5SOjs.padHex; exports.parseAbi = _chunkB7UCK5SOjs.parseAbi; exports.parseAbiItem = _chunkB7UCK5SOjs.parseAbiItem; exports.parseAbiParameter = _chunkB7UCK5SOjs.parseAbiParameter; exports.parseAbiParameters = _chunkB7UCK5SOjs.parseAbiParameters; exports.parseEther = _chunkB7UCK5SOjs.parseEther; exports.parseGwei = _chunkB7UCK5SOjs.parseGwei; exports.parseUnits = _chunkB7UCK5SOjs.parseUnits; exports.recoverAddress = _chunkB7UCK5SOjs.recoverAddress; exports.recoverMessageAddress = _chunkB7UCK5SOjs.recoverMessageAddress; exports.size = _chunkB7UCK5SOjs.size; exports.slice = _chunkB7UCK5SOjs.slice; exports.sliceBytes = _chunkB7UCK5SOjs.sliceBytes; exports.sliceHex = _chunkB7UCK5SOjs.sliceHex; exports.stringToBytes = _chunkB7UCK5SOjs.stringToBytes; exports.stringToHex = _chunkB7UCK5SOjs.stringToHex; exports.stringify = _chunkB7UCK5SOjs.stringify; exports.toBytes = _chunkB7UCK5SOjs.toBytes; exports.toHex = _chunkB7UCK5SOjs.toHex; exports.toRlp = _chunkB7UCK5SOjs.toRlp; exports.transactionType = _chunkB7UCK5SOjs.transactionType; exports.trim = _chunkB7UCK5SOjs.trim; exports.verifyMessage = _chunkB7UCK5SOjs.verifyMessage; exports.webSocket = webSocket; exports.weiUnits = _chunkB7UCK5SOjs.weiUnits;
|
804
804
|
//# sourceMappingURL=index.js.map
|