viem 0.3.0-main.20230404T105101 → 0.3.0-main.20230404T212115
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abi.js +2 -2
- package/dist/abi.mjs +1 -1
- package/dist/accounts/index.js +17 -17
- package/dist/accounts/index.mjs +2 -2
- package/dist/chains.js +89 -89
- package/dist/chains.mjs +1 -1
- package/dist/{chunk-DHKJBAMW.js → chunk-3ZIJALIN.js} +6 -6
- package/dist/{chunk-BZBBEU5Z.mjs → chunk-AXOYOUXU.mjs} +4 -5
- package/dist/chunk-AXOYOUXU.mjs.map +1 -0
- package/dist/{chunk-IAWAV7EZ.js → chunk-D36PLAUX.js} +4 -5
- package/dist/chunk-D36PLAUX.js.map +1 -0
- package/dist/{chunk-DCXATNIZ.mjs → chunk-IVOMDH6N.mjs} +2 -2
- package/dist/contract.js +2 -2
- package/dist/contract.mjs +1 -1
- package/dist/ens.js +2 -2
- package/dist/ens.mjs +1 -1
- package/dist/ethers.js +4 -4
- package/dist/ethers.mjs +2 -2
- package/dist/index.js +95 -95
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +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.js +2 -2
- package/dist/utils/index.mjs +1 -1
- package/dist/wallet.js +2 -2
- package/dist/wallet.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-BZBBEU5Z.mjs.map +0 -1
- package/dist/chunk-IAWAV7EZ.js.map +0 -1
- /package/dist/{chunk-DHKJBAMW.js.map → chunk-3ZIJALIN.js.map} +0 -0
- /package/dist/{chunk-DCXATNIZ.mjs.map → chunk-IVOMDH6N.mjs.map} +0 -0
@@ -1,7 +1,7 @@
|
|
1
1
|
import {
|
2
2
|
InvalidAddressError,
|
3
3
|
isAddress
|
4
|
-
} from "./chunk-
|
4
|
+
} from "./chunk-AXOYOUXU.mjs";
|
5
5
|
|
6
6
|
// src/accounts/toAccount.ts
|
7
7
|
function toAccount(source) {
|
@@ -28,4 +28,4 @@ function toAccount(source) {
|
|
28
28
|
export {
|
29
29
|
toAccount
|
30
30
|
};
|
31
|
-
//# sourceMappingURL=chunk-
|
31
|
+
//# sourceMappingURL=chunk-IVOMDH6N.mjs.map
|
package/dist/contract.js
CHANGED
@@ -23,7 +23,7 @@
|
|
23
23
|
|
24
24
|
|
25
25
|
|
26
|
-
var
|
26
|
+
var _chunkD36PLAUXjs = require('./chunk-D36PLAUX.js');
|
27
27
|
|
28
28
|
|
29
29
|
|
@@ -49,5 +49,5 @@ var _chunkIAWAV7EZjs = require('./chunk-IAWAV7EZ.js');
|
|
49
49
|
|
50
50
|
|
51
51
|
|
52
|
-
exports.createContractEventFilter =
|
52
|
+
exports.createContractEventFilter = _chunkD36PLAUXjs.createContractEventFilter; exports.decodeAbiParameters = _chunkD36PLAUXjs.decodeAbiParameters; exports.decodeErrorResult = _chunkD36PLAUXjs.decodeErrorResult; exports.decodeEventLog = _chunkD36PLAUXjs.decodeEventLog; exports.decodeFunctionData = _chunkD36PLAUXjs.decodeFunctionData; exports.decodeFunctionResult = _chunkD36PLAUXjs.decodeFunctionResult; exports.deployContract = _chunkD36PLAUXjs.deployContract; exports.encodeAbiParameters = _chunkD36PLAUXjs.encodeAbiParameters; exports.encodeDeployData = _chunkD36PLAUXjs.encodeDeployData; exports.encodeErrorResult = _chunkD36PLAUXjs.encodeErrorResult; exports.encodeEventTopics = _chunkD36PLAUXjs.encodeEventTopics; exports.encodeFunctionData = _chunkD36PLAUXjs.encodeFunctionData; exports.encodeFunctionResult = _chunkD36PLAUXjs.encodeFunctionResult; exports.estimateContractGas = _chunkD36PLAUXjs.estimateContractGas; exports.formatAbiItem = _chunkD36PLAUXjs.formatAbiItem; exports.formatAbiItemWithArgs = _chunkD36PLAUXjs.formatAbiItemWithArgs; exports.getAbiItem = _chunkD36PLAUXjs.getAbiItem; exports.getBytecode = _chunkD36PLAUXjs.getBytecode; exports.getStorageAt = _chunkD36PLAUXjs.getStorageAt; exports.multicall = _chunkD36PLAUXjs.multicall; exports.readContract = _chunkD36PLAUXjs.readContract; exports.simulateContract = _chunkD36PLAUXjs.simulateContract; exports.watchContractEvent = _chunkD36PLAUXjs.watchContractEvent; exports.writeContract = _chunkD36PLAUXjs.writeContract;
|
53
53
|
//# sourceMappingURL=contract.js.map
|
package/dist/contract.mjs
CHANGED
package/dist/ens.js
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
|
8
8
|
|
9
|
-
var
|
9
|
+
var _chunkD36PLAUXjs = require('./chunk-D36PLAUX.js');
|
10
10
|
|
11
11
|
// src/utils/ens/normalize.ts
|
12
12
|
var _idnauts46hx = require('idna-uts46-hx'); var _idnauts46hx2 = _interopRequireDefault(_idnauts46hx);
|
@@ -22,5 +22,5 @@ function normalize(name) {
|
|
22
22
|
|
23
23
|
|
24
24
|
|
25
|
-
exports.getEnsAddress =
|
25
|
+
exports.getEnsAddress = _chunkD36PLAUXjs.getEnsAddress; exports.getEnsAvatar = _chunkD36PLAUXjs.getEnsAvatar; exports.getEnsName = _chunkD36PLAUXjs.getEnsName; exports.getEnsResolver = _chunkD36PLAUXjs.getEnsResolver; exports.getEnsText = _chunkD36PLAUXjs.getEnsText; exports.labelhash = _chunkD36PLAUXjs.labelhash; exports.namehash = _chunkD36PLAUXjs.namehash; exports.normalize = normalize;
|
26
26
|
//# sourceMappingURL=ens.js.map
|
package/dist/ens.mjs
CHANGED
package/dist/ethers.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
2
2
|
|
3
|
-
var
|
3
|
+
var _chunk3ZIJALINjs = require('./chunk-3ZIJALIN.js');
|
4
4
|
|
5
5
|
|
6
|
-
var
|
6
|
+
var _chunkD36PLAUXjs = require('./chunk-D36PLAUX.js');
|
7
7
|
|
8
8
|
// src/adapters/ethers.ts
|
9
|
-
var ethersWalletToAccount = (wallet) =>
|
9
|
+
var ethersWalletToAccount = (wallet) => _chunk3ZIJALINjs.toAccount.call(void 0, {
|
10
10
|
address: wallet.address,
|
11
11
|
async signMessage({ message }) {
|
12
|
-
return await wallet.signMessage(
|
12
|
+
return await wallet.signMessage(_chunkD36PLAUXjs.toBytes.call(void 0, message));
|
13
13
|
},
|
14
14
|
async signTransaction(txn) {
|
15
15
|
return await wallet.signTransaction({
|
package/dist/ethers.mjs
CHANGED
package/dist/index.js
CHANGED
@@ -265,7 +265,7 @@
|
|
265
265
|
|
266
266
|
|
267
267
|
|
268
|
-
var
|
268
|
+
var _chunkD36PLAUXjs = require('./chunk-D36PLAUX.js');
|
269
269
|
|
270
270
|
// src/clients/transports/createTransport.ts
|
271
271
|
function createTransport({
|
@@ -279,7 +279,7 @@ function createTransport({
|
|
279
279
|
}, value) {
|
280
280
|
return {
|
281
281
|
config: { key, name, request, retryCount, retryDelay, timeout, type },
|
282
|
-
request:
|
282
|
+
request: _chunkD36PLAUXjs.buildRequest.call(void 0, request, { retryCount, retryDelay }),
|
283
283
|
value
|
284
284
|
};
|
285
285
|
}
|
@@ -321,7 +321,7 @@ function fallback(transports_, config = {}) {
|
|
321
321
|
params
|
322
322
|
});
|
323
323
|
} catch (err) {
|
324
|
-
if (
|
324
|
+
if (_chunkD36PLAUXjs.isDeterministicError.call(void 0, err))
|
325
325
|
throw err;
|
326
326
|
if (i === transports.length - 1)
|
327
327
|
throw err;
|
@@ -407,7 +407,7 @@ function rankTransports({
|
|
407
407
|
];
|
408
408
|
}).sort((a, b) => b[0] - a[0]);
|
409
409
|
onTransports(scores.map(([, i]) => transports[i]));
|
410
|
-
await
|
410
|
+
await _chunkD36PLAUXjs.wait.call(void 0, interval);
|
411
411
|
rankTransports_();
|
412
412
|
};
|
413
413
|
rankTransports_();
|
@@ -426,13 +426,13 @@ function http(url, config = {}) {
|
|
426
426
|
const timeout = _nullishCoalesce(_nullishCoalesce(timeout_, () => ( config.timeout)), () => ( 1e4));
|
427
427
|
const url_ = url || _optionalChain([chain, 'optionalAccess', _2 => _2.rpcUrls, 'access', _3 => _3.default, 'access', _4 => _4.http, 'access', _5 => _5[0]]);
|
428
428
|
if (!url_)
|
429
|
-
throw new (0,
|
429
|
+
throw new (0, _chunkD36PLAUXjs.UrlRequiredError)();
|
430
430
|
return createTransport(
|
431
431
|
{
|
432
432
|
key,
|
433
433
|
name,
|
434
434
|
async request({ method, params }) {
|
435
|
-
const { result } = await
|
435
|
+
const { result } = await _chunkD36PLAUXjs.rpc.http(url_, {
|
436
436
|
body: {
|
437
437
|
method,
|
438
438
|
params
|
@@ -462,14 +462,14 @@ function webSocket(url, config = {}) {
|
|
462
462
|
const timeout = _nullishCoalesce(_nullishCoalesce(timeout_, () => ( config.timeout)), () => ( 1e4));
|
463
463
|
const url_ = url || _optionalChain([chain, 'optionalAccess', _6 => _6.rpcUrls, 'access', _7 => _7.default, 'access', _8 => _8.webSocket, 'optionalAccess', _9 => _9[0]]);
|
464
464
|
if (!url_)
|
465
|
-
throw new (0,
|
465
|
+
throw new (0, _chunkD36PLAUXjs.UrlRequiredError)();
|
466
466
|
return createTransport(
|
467
467
|
{
|
468
468
|
key,
|
469
469
|
name,
|
470
470
|
async request({ method, params }) {
|
471
|
-
const socket = await
|
472
|
-
const { result } = await
|
471
|
+
const socket = await _chunkD36PLAUXjs.getSocket.call(void 0, url_);
|
472
|
+
const { result } = await _chunkD36PLAUXjs.rpc.webSocketAsync(socket, {
|
473
473
|
body: { method, params },
|
474
474
|
timeout
|
475
475
|
});
|
@@ -482,12 +482,12 @@ function webSocket(url, config = {}) {
|
|
482
482
|
},
|
483
483
|
{
|
484
484
|
getSocket() {
|
485
|
-
return
|
485
|
+
return _chunkD36PLAUXjs.getSocket.call(void 0, url_);
|
486
486
|
},
|
487
487
|
async subscribe({ params, onData, onError }) {
|
488
|
-
const socket = await
|
488
|
+
const socket = await _chunkD36PLAUXjs.getSocket.call(void 0, url_);
|
489
489
|
const { result: subscriptionId } = await new Promise(
|
490
|
-
(resolve, reject) =>
|
490
|
+
(resolve, reject) => _chunkD36PLAUXjs.rpc.webSocket(socket, {
|
491
491
|
body: {
|
492
492
|
method: "eth_subscribe",
|
493
493
|
params
|
@@ -511,7 +511,7 @@ function webSocket(url, config = {}) {
|
|
511
511
|
subscriptionId,
|
512
512
|
async unsubscribe() {
|
513
513
|
return new Promise(
|
514
|
-
(resolve, reject) =>
|
514
|
+
(resolve, reject) => _chunkD36PLAUXjs.rpc.webSocket(socket, {
|
515
515
|
body: {
|
516
516
|
method: "eth_unsubscribe",
|
517
517
|
params: [subscriptionId]
|
@@ -567,95 +567,95 @@ function createClient({
|
|
567
567
|
|
568
568
|
// src/clients/decorators/public.ts
|
569
569
|
var publicActions = (client) => ({
|
570
|
-
call: (args) =>
|
571
|
-
createBlockFilter: () =>
|
572
|
-
createContractEventFilter: (args) =>
|
573
|
-
createEventFilter: (args) =>
|
574
|
-
createPendingTransactionFilter: () =>
|
575
|
-
estimateContractGas: (args) =>
|
576
|
-
estimateGas: (args) =>
|
577
|
-
getBalance: (args) =>
|
578
|
-
getBlock: (args) =>
|
579
|
-
getBlockNumber: (args) =>
|
580
|
-
getBlockTransactionCount: (args) =>
|
581
|
-
getBytecode: (args) =>
|
582
|
-
getChainId: () =>
|
583
|
-
getEnsAddress: (args) =>
|
584
|
-
getEnsAvatar: (args) =>
|
585
|
-
getEnsName: (args) =>
|
586
|
-
getEnsResolver: (args) =>
|
587
|
-
getEnsText: (args) =>
|
588
|
-
getFeeHistory: (args) =>
|
589
|
-
getFilterChanges: (args) =>
|
590
|
-
getFilterLogs: (args) =>
|
591
|
-
getGasPrice: () =>
|
592
|
-
getLogs: (args) =>
|
593
|
-
getStorageAt: (args) =>
|
594
|
-
getTransaction: (args) =>
|
595
|
-
getTransactionConfirmations: (args) =>
|
596
|
-
getTransactionCount: (args) =>
|
597
|
-
getTransactionReceipt: (args) =>
|
598
|
-
multicall: (args) =>
|
599
|
-
readContract: (args) =>
|
600
|
-
simulateContract: (args) =>
|
601
|
-
uninstallFilter: (args) =>
|
602
|
-
waitForTransactionReceipt: (args) =>
|
603
|
-
watchBlocks: (args) =>
|
604
|
-
watchBlockNumber: (args) =>
|
605
|
-
watchContractEvent: (args) =>
|
606
|
-
watchEvent: (args) =>
|
607
|
-
watchPendingTransactions: (args) =>
|
570
|
+
call: (args) => _chunkD36PLAUXjs.call.call(void 0, client, args),
|
571
|
+
createBlockFilter: () => _chunkD36PLAUXjs.createBlockFilter.call(void 0, client),
|
572
|
+
createContractEventFilter: (args) => _chunkD36PLAUXjs.createContractEventFilter.call(void 0, client, args),
|
573
|
+
createEventFilter: (args) => _chunkD36PLAUXjs.createEventFilter.call(void 0, client, args),
|
574
|
+
createPendingTransactionFilter: () => _chunkD36PLAUXjs.createPendingTransactionFilter.call(void 0, client),
|
575
|
+
estimateContractGas: (args) => _chunkD36PLAUXjs.estimateContractGas.call(void 0, client, args),
|
576
|
+
estimateGas: (args) => _chunkD36PLAUXjs.estimateGas.call(void 0, client, args),
|
577
|
+
getBalance: (args) => _chunkD36PLAUXjs.getBalance.call(void 0, client, args),
|
578
|
+
getBlock: (args) => _chunkD36PLAUXjs.getBlock.call(void 0, client, args),
|
579
|
+
getBlockNumber: (args) => _chunkD36PLAUXjs.getBlockNumber.call(void 0, client, args),
|
580
|
+
getBlockTransactionCount: (args) => _chunkD36PLAUXjs.getBlockTransactionCount.call(void 0, client, args),
|
581
|
+
getBytecode: (args) => _chunkD36PLAUXjs.getBytecode.call(void 0, client, args),
|
582
|
+
getChainId: () => _chunkD36PLAUXjs.getChainId.call(void 0, client),
|
583
|
+
getEnsAddress: (args) => _chunkD36PLAUXjs.getEnsAddress.call(void 0, client, args),
|
584
|
+
getEnsAvatar: (args) => _chunkD36PLAUXjs.getEnsAvatar.call(void 0, client, args),
|
585
|
+
getEnsName: (args) => _chunkD36PLAUXjs.getEnsName.call(void 0, client, args),
|
586
|
+
getEnsResolver: (args) => _chunkD36PLAUXjs.getEnsResolver.call(void 0, client, args),
|
587
|
+
getEnsText: (args) => _chunkD36PLAUXjs.getEnsText.call(void 0, client, args),
|
588
|
+
getFeeHistory: (args) => _chunkD36PLAUXjs.getFeeHistory.call(void 0, client, args),
|
589
|
+
getFilterChanges: (args) => _chunkD36PLAUXjs.getFilterChanges.call(void 0, client, args),
|
590
|
+
getFilterLogs: (args) => _chunkD36PLAUXjs.getFilterLogs.call(void 0, client, args),
|
591
|
+
getGasPrice: () => _chunkD36PLAUXjs.getGasPrice.call(void 0, client),
|
592
|
+
getLogs: (args) => _chunkD36PLAUXjs.getLogs.call(void 0, client, args),
|
593
|
+
getStorageAt: (args) => _chunkD36PLAUXjs.getStorageAt.call(void 0, client, args),
|
594
|
+
getTransaction: (args) => _chunkD36PLAUXjs.getTransaction.call(void 0, client, args),
|
595
|
+
getTransactionConfirmations: (args) => _chunkD36PLAUXjs.getTransactionConfirmations.call(void 0, client, args),
|
596
|
+
getTransactionCount: (args) => _chunkD36PLAUXjs.getTransactionCount.call(void 0, client, args),
|
597
|
+
getTransactionReceipt: (args) => _chunkD36PLAUXjs.getTransactionReceipt.call(void 0, client, args),
|
598
|
+
multicall: (args) => _chunkD36PLAUXjs.multicall.call(void 0, client, args),
|
599
|
+
readContract: (args) => _chunkD36PLAUXjs.readContract.call(void 0, client, args),
|
600
|
+
simulateContract: (args) => _chunkD36PLAUXjs.simulateContract.call(void 0, client, args),
|
601
|
+
uninstallFilter: (args) => _chunkD36PLAUXjs.uninstallFilter.call(void 0, client, args),
|
602
|
+
waitForTransactionReceipt: (args) => _chunkD36PLAUXjs.waitForTransactionReceipt.call(void 0, client, args),
|
603
|
+
watchBlocks: (args) => _chunkD36PLAUXjs.watchBlocks.call(void 0, client, args),
|
604
|
+
watchBlockNumber: (args) => _chunkD36PLAUXjs.watchBlockNumber.call(void 0, client, args),
|
605
|
+
watchContractEvent: (args) => _chunkD36PLAUXjs.watchContractEvent.call(void 0, client, args),
|
606
|
+
watchEvent: (args) => _chunkD36PLAUXjs.watchEvent.call(void 0, client, args),
|
607
|
+
watchPendingTransactions: (args) => _chunkD36PLAUXjs.watchPendingTransactions.call(void 0, client, args)
|
608
608
|
});
|
609
609
|
|
610
610
|
// src/clients/decorators/test.ts
|
611
611
|
function testActions(client) {
|
612
612
|
return {
|
613
|
-
dropTransaction: (args) =>
|
614
|
-
getAutomine: () =>
|
615
|
-
getTxpoolContent: () =>
|
616
|
-
getTxpoolStatus: () =>
|
617
|
-
impersonateAccount: (args) =>
|
618
|
-
increaseTime: (args) =>
|
619
|
-
inspectTxpool: () =>
|
620
|
-
mine: (args) =>
|
621
|
-
removeBlockTimestampInterval: () =>
|
622
|
-
reset: (args) =>
|
623
|
-
revert: (args) =>
|
624
|
-
sendUnsignedTransaction: (args) =>
|
625
|
-
setAutomine: (args) =>
|
626
|
-
setBalance: (args) =>
|
627
|
-
setBlockGasLimit: (args) =>
|
628
|
-
setBlockTimestampInterval: (args) =>
|
629
|
-
setCode: (args) =>
|
630
|
-
setCoinbase: (args) =>
|
631
|
-
setIntervalMining: (args) =>
|
632
|
-
setLoggingEnabled: (args) =>
|
633
|
-
setMinGasPrice: (args) =>
|
634
|
-
setNextBlockBaseFeePerGas: (args) =>
|
635
|
-
setNextBlockTimestamp: (args) =>
|
636
|
-
setNonce: (args) =>
|
637
|
-
setRpcUrl: (args) =>
|
638
|
-
setStorageAt: (args) =>
|
639
|
-
snapshot: () =>
|
640
|
-
stopImpersonatingAccount: (args) =>
|
613
|
+
dropTransaction: (args) => _chunkD36PLAUXjs.dropTransaction.call(void 0, client, args),
|
614
|
+
getAutomine: () => _chunkD36PLAUXjs.getAutomine.call(void 0, client),
|
615
|
+
getTxpoolContent: () => _chunkD36PLAUXjs.getTxpoolContent.call(void 0, client),
|
616
|
+
getTxpoolStatus: () => _chunkD36PLAUXjs.getTxpoolStatus.call(void 0, client),
|
617
|
+
impersonateAccount: (args) => _chunkD36PLAUXjs.impersonateAccount.call(void 0, client, args),
|
618
|
+
increaseTime: (args) => _chunkD36PLAUXjs.increaseTime.call(void 0, client, args),
|
619
|
+
inspectTxpool: () => _chunkD36PLAUXjs.inspectTxpool.call(void 0, client),
|
620
|
+
mine: (args) => _chunkD36PLAUXjs.mine.call(void 0, client, args),
|
621
|
+
removeBlockTimestampInterval: () => _chunkD36PLAUXjs.removeBlockTimestampInterval.call(void 0, client),
|
622
|
+
reset: (args) => _chunkD36PLAUXjs.reset.call(void 0, client, args),
|
623
|
+
revert: (args) => _chunkD36PLAUXjs.revert.call(void 0, client, args),
|
624
|
+
sendUnsignedTransaction: (args) => _chunkD36PLAUXjs.sendUnsignedTransaction.call(void 0, client, args),
|
625
|
+
setAutomine: (args) => _chunkD36PLAUXjs.setAutomine.call(void 0, client, args),
|
626
|
+
setBalance: (args) => _chunkD36PLAUXjs.setBalance.call(void 0, client, args),
|
627
|
+
setBlockGasLimit: (args) => _chunkD36PLAUXjs.setBlockGasLimit.call(void 0, client, args),
|
628
|
+
setBlockTimestampInterval: (args) => _chunkD36PLAUXjs.setBlockTimestampInterval.call(void 0, client, args),
|
629
|
+
setCode: (args) => _chunkD36PLAUXjs.setCode.call(void 0, client, args),
|
630
|
+
setCoinbase: (args) => _chunkD36PLAUXjs.setCoinbase.call(void 0, client, args),
|
631
|
+
setIntervalMining: (args) => _chunkD36PLAUXjs.setIntervalMining.call(void 0, client, args),
|
632
|
+
setLoggingEnabled: (args) => _chunkD36PLAUXjs.setLoggingEnabled.call(void 0, client, args),
|
633
|
+
setMinGasPrice: (args) => _chunkD36PLAUXjs.setMinGasPrice.call(void 0, client, args),
|
634
|
+
setNextBlockBaseFeePerGas: (args) => _chunkD36PLAUXjs.setNextBlockBaseFeePerGas.call(void 0, client, args),
|
635
|
+
setNextBlockTimestamp: (args) => _chunkD36PLAUXjs.setNextBlockTimestamp.call(void 0, client, args),
|
636
|
+
setNonce: (args) => _chunkD36PLAUXjs.setNonce.call(void 0, client, args),
|
637
|
+
setRpcUrl: (args) => _chunkD36PLAUXjs.setRpcUrl.call(void 0, client, args),
|
638
|
+
setStorageAt: (args) => _chunkD36PLAUXjs.setStorageAt.call(void 0, client, args),
|
639
|
+
snapshot: () => _chunkD36PLAUXjs.snapshot.call(void 0, client),
|
640
|
+
stopImpersonatingAccount: (args) => _chunkD36PLAUXjs.stopImpersonatingAccount.call(void 0, client, args)
|
641
641
|
};
|
642
642
|
}
|
643
643
|
|
644
644
|
// src/clients/decorators/wallet.ts
|
645
645
|
var walletActions = (client) => ({
|
646
|
-
addChain: (args) =>
|
647
|
-
deployContract: (args) =>
|
648
|
-
getAddresses: () =>
|
649
|
-
getChainId: () =>
|
650
|
-
getPermissions: () =>
|
651
|
-
requestAddresses: () =>
|
652
|
-
requestPermissions: (args) =>
|
653
|
-
sendTransaction: (args) =>
|
654
|
-
signMessage: (args) =>
|
655
|
-
signTypedData: (args) =>
|
656
|
-
switchChain: (args) =>
|
657
|
-
watchAsset: (args) =>
|
658
|
-
writeContract: (args) =>
|
646
|
+
addChain: (args) => _chunkD36PLAUXjs.addChain.call(void 0, client, args),
|
647
|
+
deployContract: (args) => _chunkD36PLAUXjs.deployContract.call(void 0, client, args),
|
648
|
+
getAddresses: () => _chunkD36PLAUXjs.getAddresses.call(void 0, client),
|
649
|
+
getChainId: () => _chunkD36PLAUXjs.getChainId.call(void 0, client),
|
650
|
+
getPermissions: () => _chunkD36PLAUXjs.getPermissions.call(void 0, client),
|
651
|
+
requestAddresses: () => _chunkD36PLAUXjs.requestAddresses.call(void 0, client),
|
652
|
+
requestPermissions: (args) => _chunkD36PLAUXjs.requestPermissions.call(void 0, client, args),
|
653
|
+
sendTransaction: (args) => _chunkD36PLAUXjs.sendTransaction.call(void 0, client, args),
|
654
|
+
signMessage: (args) => _chunkD36PLAUXjs.signMessage.call(void 0, client, args),
|
655
|
+
signTypedData: (args) => _chunkD36PLAUXjs.signTypedData.call(void 0, client, args),
|
656
|
+
switchChain: (args) => _chunkD36PLAUXjs.switchChain.call(void 0, client, args),
|
657
|
+
watchAsset: (args) => _chunkD36PLAUXjs.watchAsset.call(void 0, client, args),
|
658
|
+
writeContract: (args) => _chunkD36PLAUXjs.writeContract.call(void 0, client, args)
|
659
659
|
});
|
660
660
|
|
661
661
|
// src/clients/createPublicClient.ts
|
@@ -721,10 +721,10 @@ function createWalletClient({
|
|
721
721
|
key,
|
722
722
|
name,
|
723
723
|
pollingInterval,
|
724
|
-
transport: () => transport({ retryCount: 0 }),
|
724
|
+
transport: (opts) => transport({ ...opts, retryCount: 0 }),
|
725
725
|
type: "walletClient"
|
726
726
|
}),
|
727
|
-
account: account ?
|
727
|
+
account: account ? _chunkD36PLAUXjs.parseAccount.call(void 0, account) : void 0
|
728
728
|
};
|
729
729
|
return {
|
730
730
|
...client,
|
@@ -923,5 +923,5 @@ function createWalletClient({
|
|
923
923
|
|
924
924
|
|
925
925
|
|
926
|
-
exports.AbiConstructorNotFoundError = _chunkIAWAV7EZjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkIAWAV7EZjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkIAWAV7EZjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkIAWAV7EZjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkIAWAV7EZjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkIAWAV7EZjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkIAWAV7EZjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkIAWAV7EZjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkIAWAV7EZjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkIAWAV7EZjs.AbiEventNotFoundError; exports.AbiEventSignatureEmptyTopicsError = _chunkIAWAV7EZjs.AbiEventSignatureEmptyTopicsError; exports.AbiEventSignatureNotFoundError = _chunkIAWAV7EZjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkIAWAV7EZjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkIAWAV7EZjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkIAWAV7EZjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkIAWAV7EZjs.BaseError; exports.BlockNotFoundError = _chunkIAWAV7EZjs.BlockNotFoundError; exports.CallExecutionError = _chunkIAWAV7EZjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkIAWAV7EZjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkIAWAV7EZjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkIAWAV7EZjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkIAWAV7EZjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkIAWAV7EZjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkIAWAV7EZjs.DataLengthTooShortError; exports.DecodeLogTopicsMismatch = _chunkIAWAV7EZjs.DecodeLogTopicsMismatch; exports.EnsAvatarUriResolutionError = _chunkIAWAV7EZjs.EnsAvatarUriResolutionError; exports.EstimateGasExecutionError = _chunkIAWAV7EZjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkIAWAV7EZjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkIAWAV7EZjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkIAWAV7EZjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkIAWAV7EZjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkIAWAV7EZjs.HttpRequestError; exports.InsufficientFundsError = _chunkIAWAV7EZjs.InsufficientFundsError; exports.InternalRpcError = _chunkIAWAV7EZjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkIAWAV7EZjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkIAWAV7EZjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkIAWAV7EZjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkIAWAV7EZjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkIAWAV7EZjs.InvalidAddressError; exports.InvalidArrayError = _chunkIAWAV7EZjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkIAWAV7EZjs.InvalidBytesBooleanError; exports.InvalidChainIdError = _chunkIAWAV7EZjs.InvalidChainIdError; exports.InvalidDefinitionTypeError = _chunkIAWAV7EZjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkIAWAV7EZjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkIAWAV7EZjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkIAWAV7EZjs.InvalidInputRpcError; exports.InvalidLegacyVError = _chunkIAWAV7EZjs.InvalidLegacyVError; exports.InvalidParamsRpcError = _chunkIAWAV7EZjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkIAWAV7EZjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkIAWAV7EZjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkIAWAV7EZjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkIAWAV7EZjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkIAWAV7EZjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkIAWAV7EZjs.NonceMaxValueError; exports.NonceTooHighError = _chunkIAWAV7EZjs.NonceTooHighError; exports.NonceTooLowError = _chunkIAWAV7EZjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkIAWAV7EZjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkIAWAV7EZjs.ParseRpcError; exports.RawContractError = _chunkIAWAV7EZjs.RawContractError; exports.RequestError = _chunkIAWAV7EZjs.RequestError; exports.ResourceNotFoundRpcError = _chunkIAWAV7EZjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkIAWAV7EZjs.ResourceUnavailableRpcError; exports.RpcError = _chunkIAWAV7EZjs.RpcError; exports.RpcRequestError = _chunkIAWAV7EZjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkIAWAV7EZjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkIAWAV7EZjs.SwitchChainError; exports.TimeoutError = _chunkIAWAV7EZjs.TimeoutError; exports.TipAboveFeeCapError = _chunkIAWAV7EZjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkIAWAV7EZjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkIAWAV7EZjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkIAWAV7EZjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkIAWAV7EZjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkIAWAV7EZjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkIAWAV7EZjs.UnknownNodeError; exports.UnknownRpcError = _chunkIAWAV7EZjs.UnknownRpcError; exports.UrlRequiredError = _chunkIAWAV7EZjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkIAWAV7EZjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkIAWAV7EZjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkIAWAV7EZjs.WebSocketRequestError; exports.assertRequest = _chunkIAWAV7EZjs.assertRequest; exports.assertTransactionEIP1559 = _chunkIAWAV7EZjs.assertTransactionEIP1559; exports.assertTransactionEIP2930 = _chunkIAWAV7EZjs.assertTransactionEIP2930; exports.assertTransactionLegacy = _chunkIAWAV7EZjs.assertTransactionLegacy; exports.boolToBytes = _chunkIAWAV7EZjs.boolToBytes; exports.boolToHex = _chunkIAWAV7EZjs.boolToHex; exports.bytesToBigint = _chunkIAWAV7EZjs.bytesToBigint; exports.bytesToBool = _chunkIAWAV7EZjs.bytesToBool; exports.bytesToHex = _chunkIAWAV7EZjs.bytesToHex; exports.bytesToNumber = _chunkIAWAV7EZjs.bytesToNumber; exports.bytesToString = _chunkIAWAV7EZjs.bytesToString; exports.concat = _chunkIAWAV7EZjs.concat; exports.concatBytes = _chunkIAWAV7EZjs.concatBytes; exports.concatHex = _chunkIAWAV7EZjs.concatHex; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkIAWAV7EZjs.decodeAbiParameters; exports.decodeErrorResult = _chunkIAWAV7EZjs.decodeErrorResult; exports.decodeEventLog = _chunkIAWAV7EZjs.decodeEventLog; exports.decodeFunctionData = _chunkIAWAV7EZjs.decodeFunctionData; exports.decodeFunctionResult = _chunkIAWAV7EZjs.decodeFunctionResult; exports.defineBlock = _chunkIAWAV7EZjs.defineBlock; exports.defineChain = _chunkIAWAV7EZjs.defineChain; exports.defineTransaction = _chunkIAWAV7EZjs.defineTransaction; exports.defineTransactionReceipt = _chunkIAWAV7EZjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkIAWAV7EZjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkIAWAV7EZjs.encodeAbiParameters; exports.encodeDeployData = _chunkIAWAV7EZjs.encodeDeployData; exports.encodeErrorResult = _chunkIAWAV7EZjs.encodeErrorResult; exports.encodeEventTopics = _chunkIAWAV7EZjs.encodeEventTopics; exports.encodeFunctionData = _chunkIAWAV7EZjs.encodeFunctionData; exports.encodeFunctionResult = _chunkIAWAV7EZjs.encodeFunctionResult; exports.encodePacked = _chunkIAWAV7EZjs.encodePacked; exports.etherUnits = _chunkIAWAV7EZjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkIAWAV7EZjs.formatBlock; exports.formatEther = _chunkIAWAV7EZjs.formatEther; exports.formatGwei = _chunkIAWAV7EZjs.formatGwei; exports.formatTransaction = _chunkIAWAV7EZjs.formatTransaction; exports.formatTransactionRequest = _chunkIAWAV7EZjs.formatTransactionRequest; exports.formatUnits = _chunkIAWAV7EZjs.formatUnits; exports.fromBytes = _chunkIAWAV7EZjs.fromBytes; exports.fromHex = _chunkIAWAV7EZjs.fromHex; exports.fromRlp = _chunkIAWAV7EZjs.fromRlp; exports.getAbiItem = _chunkIAWAV7EZjs.getAbiItem; exports.getAddress = _chunkIAWAV7EZjs.getAddress; exports.getContract = _chunkIAWAV7EZjs.getContract; exports.getContractAddress = _chunkIAWAV7EZjs.getContractAddress; exports.getContractError = _chunkIAWAV7EZjs.getContractError; exports.getCreate2Address = _chunkIAWAV7EZjs.getCreate2Address; exports.getCreateAddress = _chunkIAWAV7EZjs.getCreateAddress; exports.getEventSelector = _chunkIAWAV7EZjs.getEventSelector; exports.getFunctionSelector = _chunkIAWAV7EZjs.getFunctionSelector; exports.getSerializedTransactionType = _chunkIAWAV7EZjs.getSerializedTransactionType; exports.getTransactionType = _chunkIAWAV7EZjs.getTransactionType; exports.gweiUnits = _chunkIAWAV7EZjs.gweiUnits; exports.hashMessage = _chunkIAWAV7EZjs.hashMessage; exports.hashTypedData = _chunkIAWAV7EZjs.hashTypedData; exports.hexToBigInt = _chunkIAWAV7EZjs.hexToBigInt; exports.hexToBool = _chunkIAWAV7EZjs.hexToBool; exports.hexToBytes = _chunkIAWAV7EZjs.hexToBytes; exports.hexToNumber = _chunkIAWAV7EZjs.hexToNumber; exports.hexToString = _chunkIAWAV7EZjs.hexToString; exports.http = http; exports.isAddress = _chunkIAWAV7EZjs.isAddress; exports.isAddressEqual = _chunkIAWAV7EZjs.isAddressEqual; exports.isBytes = _chunkIAWAV7EZjs.isBytes; exports.isHash = _chunkIAWAV7EZjs.isHash; exports.isHex = _chunkIAWAV7EZjs.isHex; exports.keccak256 = _chunkIAWAV7EZjs.keccak256; exports.labelhash = _chunkIAWAV7EZjs.labelhash; exports.multicall3Abi = _chunkIAWAV7EZjs.multicall3Abi; exports.namehash = _chunkIAWAV7EZjs.namehash; exports.numberToBytes = _chunkIAWAV7EZjs.numberToBytes; exports.numberToHex = _chunkIAWAV7EZjs.numberToHex; exports.pad = _chunkIAWAV7EZjs.pad; exports.padBytes = _chunkIAWAV7EZjs.padBytes; exports.padHex = _chunkIAWAV7EZjs.padHex; exports.parseAbi = _chunkIAWAV7EZjs.parseAbi; exports.parseAbiItem = _chunkIAWAV7EZjs.parseAbiItem; exports.parseAbiParameter = _chunkIAWAV7EZjs.parseAbiParameter; exports.parseAbiParameters = _chunkIAWAV7EZjs.parseAbiParameters; exports.parseEther = _chunkIAWAV7EZjs.parseEther; exports.parseGwei = _chunkIAWAV7EZjs.parseGwei; exports.parseTransaction = _chunkIAWAV7EZjs.parseTransaction; exports.parseUnits = _chunkIAWAV7EZjs.parseUnits; exports.prepareRequest = _chunkIAWAV7EZjs.prepareRequest; exports.recoverAddress = _chunkIAWAV7EZjs.recoverAddress; exports.recoverMessageAddress = _chunkIAWAV7EZjs.recoverMessageAddress; exports.recoverTypedDataAddress = _chunkIAWAV7EZjs.recoverTypedDataAddress; exports.serializeTransaction = _chunkIAWAV7EZjs.serializeTransaction; exports.size = _chunkIAWAV7EZjs.size; exports.slice = _chunkIAWAV7EZjs.slice; exports.sliceBytes = _chunkIAWAV7EZjs.sliceBytes; exports.sliceHex = _chunkIAWAV7EZjs.sliceHex; exports.stringToBytes = _chunkIAWAV7EZjs.stringToBytes; exports.stringToHex = _chunkIAWAV7EZjs.stringToHex; exports.stringify = _chunkIAWAV7EZjs.stringify; exports.toBytes = _chunkIAWAV7EZjs.toBytes; exports.toHex = _chunkIAWAV7EZjs.toHex; exports.toRlp = _chunkIAWAV7EZjs.toRlp; exports.transactionType = _chunkIAWAV7EZjs.transactionType; exports.trim = _chunkIAWAV7EZjs.trim; exports.validateTypedData = _chunkIAWAV7EZjs.validateTypedData; exports.verifyMessage = _chunkIAWAV7EZjs.verifyMessage; exports.verifyTypedData = _chunkIAWAV7EZjs.verifyTypedData; exports.webSocket = webSocket; exports.weiUnits = _chunkIAWAV7EZjs.weiUnits;
|
926
|
+
exports.AbiConstructorNotFoundError = _chunkD36PLAUXjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkD36PLAUXjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkD36PLAUXjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkD36PLAUXjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkD36PLAUXjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkD36PLAUXjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkD36PLAUXjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkD36PLAUXjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkD36PLAUXjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkD36PLAUXjs.AbiEventNotFoundError; exports.AbiEventSignatureEmptyTopicsError = _chunkD36PLAUXjs.AbiEventSignatureEmptyTopicsError; exports.AbiEventSignatureNotFoundError = _chunkD36PLAUXjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkD36PLAUXjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkD36PLAUXjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkD36PLAUXjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkD36PLAUXjs.BaseError; exports.BlockNotFoundError = _chunkD36PLAUXjs.BlockNotFoundError; exports.CallExecutionError = _chunkD36PLAUXjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkD36PLAUXjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkD36PLAUXjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkD36PLAUXjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkD36PLAUXjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkD36PLAUXjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkD36PLAUXjs.DataLengthTooShortError; exports.DecodeLogTopicsMismatch = _chunkD36PLAUXjs.DecodeLogTopicsMismatch; exports.EnsAvatarUriResolutionError = _chunkD36PLAUXjs.EnsAvatarUriResolutionError; exports.EstimateGasExecutionError = _chunkD36PLAUXjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkD36PLAUXjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkD36PLAUXjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkD36PLAUXjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkD36PLAUXjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkD36PLAUXjs.HttpRequestError; exports.InsufficientFundsError = _chunkD36PLAUXjs.InsufficientFundsError; exports.InternalRpcError = _chunkD36PLAUXjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkD36PLAUXjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkD36PLAUXjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkD36PLAUXjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkD36PLAUXjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkD36PLAUXjs.InvalidAddressError; exports.InvalidArrayError = _chunkD36PLAUXjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkD36PLAUXjs.InvalidBytesBooleanError; exports.InvalidChainIdError = _chunkD36PLAUXjs.InvalidChainIdError; exports.InvalidDefinitionTypeError = _chunkD36PLAUXjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkD36PLAUXjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkD36PLAUXjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkD36PLAUXjs.InvalidInputRpcError; exports.InvalidLegacyVError = _chunkD36PLAUXjs.InvalidLegacyVError; exports.InvalidParamsRpcError = _chunkD36PLAUXjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkD36PLAUXjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkD36PLAUXjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkD36PLAUXjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkD36PLAUXjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkD36PLAUXjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkD36PLAUXjs.NonceMaxValueError; exports.NonceTooHighError = _chunkD36PLAUXjs.NonceTooHighError; exports.NonceTooLowError = _chunkD36PLAUXjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkD36PLAUXjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkD36PLAUXjs.ParseRpcError; exports.RawContractError = _chunkD36PLAUXjs.RawContractError; exports.RequestError = _chunkD36PLAUXjs.RequestError; exports.ResourceNotFoundRpcError = _chunkD36PLAUXjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkD36PLAUXjs.ResourceUnavailableRpcError; exports.RpcError = _chunkD36PLAUXjs.RpcError; exports.RpcRequestError = _chunkD36PLAUXjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkD36PLAUXjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkD36PLAUXjs.SwitchChainError; exports.TimeoutError = _chunkD36PLAUXjs.TimeoutError; exports.TipAboveFeeCapError = _chunkD36PLAUXjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkD36PLAUXjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkD36PLAUXjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkD36PLAUXjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkD36PLAUXjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkD36PLAUXjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkD36PLAUXjs.UnknownNodeError; exports.UnknownRpcError = _chunkD36PLAUXjs.UnknownRpcError; exports.UrlRequiredError = _chunkD36PLAUXjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkD36PLAUXjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkD36PLAUXjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkD36PLAUXjs.WebSocketRequestError; exports.assertRequest = _chunkD36PLAUXjs.assertRequest; exports.assertTransactionEIP1559 = _chunkD36PLAUXjs.assertTransactionEIP1559; exports.assertTransactionEIP2930 = _chunkD36PLAUXjs.assertTransactionEIP2930; exports.assertTransactionLegacy = _chunkD36PLAUXjs.assertTransactionLegacy; exports.boolToBytes = _chunkD36PLAUXjs.boolToBytes; exports.boolToHex = _chunkD36PLAUXjs.boolToHex; exports.bytesToBigint = _chunkD36PLAUXjs.bytesToBigint; exports.bytesToBool = _chunkD36PLAUXjs.bytesToBool; exports.bytesToHex = _chunkD36PLAUXjs.bytesToHex; exports.bytesToNumber = _chunkD36PLAUXjs.bytesToNumber; exports.bytesToString = _chunkD36PLAUXjs.bytesToString; exports.concat = _chunkD36PLAUXjs.concat; exports.concatBytes = _chunkD36PLAUXjs.concatBytes; exports.concatHex = _chunkD36PLAUXjs.concatHex; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkD36PLAUXjs.decodeAbiParameters; exports.decodeErrorResult = _chunkD36PLAUXjs.decodeErrorResult; exports.decodeEventLog = _chunkD36PLAUXjs.decodeEventLog; exports.decodeFunctionData = _chunkD36PLAUXjs.decodeFunctionData; exports.decodeFunctionResult = _chunkD36PLAUXjs.decodeFunctionResult; exports.defineBlock = _chunkD36PLAUXjs.defineBlock; exports.defineChain = _chunkD36PLAUXjs.defineChain; exports.defineTransaction = _chunkD36PLAUXjs.defineTransaction; exports.defineTransactionReceipt = _chunkD36PLAUXjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkD36PLAUXjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkD36PLAUXjs.encodeAbiParameters; exports.encodeDeployData = _chunkD36PLAUXjs.encodeDeployData; exports.encodeErrorResult = _chunkD36PLAUXjs.encodeErrorResult; exports.encodeEventTopics = _chunkD36PLAUXjs.encodeEventTopics; exports.encodeFunctionData = _chunkD36PLAUXjs.encodeFunctionData; exports.encodeFunctionResult = _chunkD36PLAUXjs.encodeFunctionResult; exports.encodePacked = _chunkD36PLAUXjs.encodePacked; exports.etherUnits = _chunkD36PLAUXjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkD36PLAUXjs.formatBlock; exports.formatEther = _chunkD36PLAUXjs.formatEther; exports.formatGwei = _chunkD36PLAUXjs.formatGwei; exports.formatTransaction = _chunkD36PLAUXjs.formatTransaction; exports.formatTransactionRequest = _chunkD36PLAUXjs.formatTransactionRequest; exports.formatUnits = _chunkD36PLAUXjs.formatUnits; exports.fromBytes = _chunkD36PLAUXjs.fromBytes; exports.fromHex = _chunkD36PLAUXjs.fromHex; exports.fromRlp = _chunkD36PLAUXjs.fromRlp; exports.getAbiItem = _chunkD36PLAUXjs.getAbiItem; exports.getAddress = _chunkD36PLAUXjs.getAddress; exports.getContract = _chunkD36PLAUXjs.getContract; exports.getContractAddress = _chunkD36PLAUXjs.getContractAddress; exports.getContractError = _chunkD36PLAUXjs.getContractError; exports.getCreate2Address = _chunkD36PLAUXjs.getCreate2Address; exports.getCreateAddress = _chunkD36PLAUXjs.getCreateAddress; exports.getEventSelector = _chunkD36PLAUXjs.getEventSelector; exports.getFunctionSelector = _chunkD36PLAUXjs.getFunctionSelector; exports.getSerializedTransactionType = _chunkD36PLAUXjs.getSerializedTransactionType; exports.getTransactionType = _chunkD36PLAUXjs.getTransactionType; exports.gweiUnits = _chunkD36PLAUXjs.gweiUnits; exports.hashMessage = _chunkD36PLAUXjs.hashMessage; exports.hashTypedData = _chunkD36PLAUXjs.hashTypedData; exports.hexToBigInt = _chunkD36PLAUXjs.hexToBigInt; exports.hexToBool = _chunkD36PLAUXjs.hexToBool; exports.hexToBytes = _chunkD36PLAUXjs.hexToBytes; exports.hexToNumber = _chunkD36PLAUXjs.hexToNumber; exports.hexToString = _chunkD36PLAUXjs.hexToString; exports.http = http; exports.isAddress = _chunkD36PLAUXjs.isAddress; exports.isAddressEqual = _chunkD36PLAUXjs.isAddressEqual; exports.isBytes = _chunkD36PLAUXjs.isBytes; exports.isHash = _chunkD36PLAUXjs.isHash; exports.isHex = _chunkD36PLAUXjs.isHex; exports.keccak256 = _chunkD36PLAUXjs.keccak256; exports.labelhash = _chunkD36PLAUXjs.labelhash; exports.multicall3Abi = _chunkD36PLAUXjs.multicall3Abi; exports.namehash = _chunkD36PLAUXjs.namehash; exports.numberToBytes = _chunkD36PLAUXjs.numberToBytes; exports.numberToHex = _chunkD36PLAUXjs.numberToHex; exports.pad = _chunkD36PLAUXjs.pad; exports.padBytes = _chunkD36PLAUXjs.padBytes; exports.padHex = _chunkD36PLAUXjs.padHex; exports.parseAbi = _chunkD36PLAUXjs.parseAbi; exports.parseAbiItem = _chunkD36PLAUXjs.parseAbiItem; exports.parseAbiParameter = _chunkD36PLAUXjs.parseAbiParameter; exports.parseAbiParameters = _chunkD36PLAUXjs.parseAbiParameters; exports.parseEther = _chunkD36PLAUXjs.parseEther; exports.parseGwei = _chunkD36PLAUXjs.parseGwei; exports.parseTransaction = _chunkD36PLAUXjs.parseTransaction; exports.parseUnits = _chunkD36PLAUXjs.parseUnits; exports.prepareRequest = _chunkD36PLAUXjs.prepareRequest; exports.recoverAddress = _chunkD36PLAUXjs.recoverAddress; exports.recoverMessageAddress = _chunkD36PLAUXjs.recoverMessageAddress; exports.recoverTypedDataAddress = _chunkD36PLAUXjs.recoverTypedDataAddress; exports.serializeTransaction = _chunkD36PLAUXjs.serializeTransaction; exports.size = _chunkD36PLAUXjs.size; exports.slice = _chunkD36PLAUXjs.slice; exports.sliceBytes = _chunkD36PLAUXjs.sliceBytes; exports.sliceHex = _chunkD36PLAUXjs.sliceHex; exports.stringToBytes = _chunkD36PLAUXjs.stringToBytes; exports.stringToHex = _chunkD36PLAUXjs.stringToHex; exports.stringify = _chunkD36PLAUXjs.stringify; exports.toBytes = _chunkD36PLAUXjs.toBytes; exports.toHex = _chunkD36PLAUXjs.toHex; exports.toRlp = _chunkD36PLAUXjs.toRlp; exports.transactionType = _chunkD36PLAUXjs.transactionType; exports.trim = _chunkD36PLAUXjs.trim; exports.validateTypedData = _chunkD36PLAUXjs.validateTypedData; exports.verifyMessage = _chunkD36PLAUXjs.verifyMessage; exports.verifyTypedData = _chunkD36PLAUXjs.verifyTypedData; exports.webSocket = webSocket; exports.weiUnits = _chunkD36PLAUXjs.weiUnits;
|
927
927
|
//# sourceMappingURL=index.js.map
|