viem 0.0.1-alpha.32 → 0.0.1-alpha.33
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/{chain-00b37e4e.d.ts → chain-4a0d4164.d.ts} +1 -1
- package/dist/{chain-38182d92.d.ts → chain-ce6e149c.d.ts} +1 -1
- package/dist/chains.d.ts +3 -3
- package/dist/chains.js +46 -46
- package/dist/chains.mjs +1 -1
- package/dist/{chunk-K3Q7U5IY.js → chunk-3CEIPU6M.js} +15 -15
- package/dist/{chunk-NZUM6QVJ.js → chunk-BUCF6SRR.js} +22 -22
- package/dist/{chunk-4TDJALZ6.js → chunk-DHSIBSJL.js} +75 -75
- package/dist/{chunk-QPXAI2W5.mjs → chunk-DYALOQ44.mjs} +2 -2
- package/dist/{chunk-HJBIOX2W.mjs → chunk-HN7IYO7U.mjs} +2 -2
- package/dist/{chunk-P76FCR36.mjs → chunk-JB4TWW3U.mjs} +7 -3
- package/dist/{chunk-P76FCR36.mjs.map → chunk-JB4TWW3U.mjs.map} +1 -1
- package/dist/{chunk-ZIH5V7HU.mjs → chunk-KMBDF3HQ.mjs} +3 -3
- package/dist/{chunk-DEF2SWG2.js → chunk-R7MSY2BH.js} +7 -3
- package/dist/chunk-R7MSY2BH.js.map +1 -0
- package/dist/{chunk-S3HZ74MN.js → chunk-RNGEVZVH.js} +14 -14
- package/dist/{chunk-ZZWYDER3.mjs → chunk-VEAHSGOL.mjs} +2 -2
- package/dist/contract.d.ts +7 -7
- package/dist/contract.js +4 -4
- package/dist/contract.mjs +3 -3
- package/dist/{createClient-5258d590.d.ts → createClient-8a8b4bf4.d.ts} +2 -2
- package/dist/{createPublicClient-2187596f.d.ts → createPublicClient-b5afe6b8.d.ts} +4 -4
- package/dist/{eip1193-fcdeee04.d.ts → eip1193-8c021438.d.ts} +1 -1
- package/dist/ens.d.ts +5 -5
- package/dist/ens.js +4 -4
- package/dist/ens.mjs +3 -3
- package/dist/{formatAbiItem-50cb39d8.d.ts → formatAbiItem-6e00e5e6.d.ts} +1 -1
- package/dist/{getAbiItem-6d4f64d2.d.ts → getAbiItem-d7aa40b1.d.ts} +1 -1
- package/dist/index.d.ts +12 -12
- package/dist/index.js +90 -90
- package/dist/index.mjs +5 -5
- package/dist/{parseGwei-308eada9.d.ts → parseGwei-ce3a9dfa.d.ts} +4 -4
- package/dist/public.d.ts +6 -6
- package/dist/public.js +3 -3
- package/dist/public.mjs +2 -2
- package/dist/{test-79ec416c.d.ts → test-5d5828c9.d.ts} +3 -3
- package/dist/test.d.ts +5 -5
- package/dist/test.js +3 -3
- package/dist/test.mjs +2 -2
- package/dist/utils/index.d.ts +14 -14
- package/dist/utils/index.js +2 -2
- package/dist/utils/index.mjs +1 -1
- package/dist/{wallet-cf5c8351.d.ts → wallet-5ab86528.d.ts} +3 -3
- package/dist/wallet.d.ts +4 -4
- package/dist/wallet.js +3 -3
- package/dist/wallet.mjs +2 -2
- package/dist/window.d.ts +2 -2
- package/package.json +1 -1
- package/dist/chunk-DEF2SWG2.js.map +0 -1
- /package/dist/{chunk-K3Q7U5IY.js.map → chunk-3CEIPU6M.js.map} +0 -0
- /package/dist/{chunk-NZUM6QVJ.js.map → chunk-BUCF6SRR.js.map} +0 -0
- /package/dist/{chunk-4TDJALZ6.js.map → chunk-DHSIBSJL.js.map} +0 -0
- /package/dist/{chunk-QPXAI2W5.mjs.map → chunk-DYALOQ44.mjs.map} +0 -0
- /package/dist/{chunk-HJBIOX2W.mjs.map → chunk-HN7IYO7U.mjs.map} +0 -0
- /package/dist/{chunk-ZIH5V7HU.mjs.map → chunk-KMBDF3HQ.mjs.map} +0 -0
- /package/dist/{chunk-S3HZ74MN.js.map → chunk-RNGEVZVH.js.map} +0 -0
- /package/dist/{chunk-ZZWYDER3.mjs.map → chunk-VEAHSGOL.mjs.map} +0 -0
package/dist/index.js
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
|
5
5
|
|
6
|
-
var
|
6
|
+
var _chunkBUCF6SRRjs = require('./chunk-BUCF6SRR.js');
|
7
7
|
|
8
8
|
|
9
9
|
|
@@ -37,7 +37,7 @@ var _chunkNZUM6QVJjs = require('./chunk-NZUM6QVJ.js');
|
|
37
37
|
|
38
38
|
|
39
39
|
|
40
|
-
var
|
40
|
+
var _chunkDHSIBSJLjs = require('./chunk-DHSIBSJL.js');
|
41
41
|
|
42
42
|
|
43
43
|
|
@@ -67,7 +67,7 @@ var _chunk4TDJALZ6js = require('./chunk-4TDJALZ6.js');
|
|
67
67
|
|
68
68
|
|
69
69
|
|
70
|
-
var
|
70
|
+
var _chunkRNGEVZVHjs = require('./chunk-RNGEVZVH.js');
|
71
71
|
|
72
72
|
|
73
73
|
|
@@ -80,7 +80,7 @@ var _chunkS3HZ74MNjs = require('./chunk-S3HZ74MN.js');
|
|
80
80
|
|
81
81
|
|
82
82
|
|
83
|
-
var
|
83
|
+
var _chunk3CEIPU6Mjs = require('./chunk-3CEIPU6M.js');
|
84
84
|
|
85
85
|
|
86
86
|
|
@@ -234,7 +234,7 @@ var _chunkK3Q7U5IYjs = require('./chunk-K3Q7U5IY.js');
|
|
234
234
|
|
235
235
|
|
236
236
|
|
237
|
-
var
|
237
|
+
var _chunkR7MSY2BHjs = require('./chunk-R7MSY2BH.js');
|
238
238
|
|
239
239
|
// src/clients/transports/createTransport.ts
|
240
240
|
function createTransport({
|
@@ -248,7 +248,7 @@ function createTransport({
|
|
248
248
|
}, value) {
|
249
249
|
return {
|
250
250
|
config: { key, name, request, retryCount, retryDelay, timeout, type },
|
251
|
-
request:
|
251
|
+
request: _chunkR7MSY2BHjs.buildRequest.call(void 0, request, { retryCount, retryDelay }),
|
252
252
|
value
|
253
253
|
};
|
254
254
|
}
|
@@ -282,7 +282,7 @@ function fallback(transports, config = {}) {
|
|
282
282
|
params
|
283
283
|
});
|
284
284
|
} catch (err) {
|
285
|
-
if (
|
285
|
+
if (_chunkR7MSY2BHjs.isDeterministicError.call(void 0, err))
|
286
286
|
throw err;
|
287
287
|
if (i === transports.length - 1)
|
288
288
|
throw err;
|
@@ -316,13 +316,13 @@ function http(url, config = {}) {
|
|
316
316
|
const retryCount = _nullishCoalesce(config.retryCount, () => ( defaultRetryCount));
|
317
317
|
const url_ = url || _optionalChain([chain, 'optionalAccess', _ => _.rpcUrls, 'access', _2 => _2.default, 'access', _3 => _3.http, 'access', _4 => _4[0]]);
|
318
318
|
if (!url_)
|
319
|
-
throw new (0,
|
319
|
+
throw new (0, _chunkR7MSY2BHjs.UrlRequiredError)();
|
320
320
|
return createTransport(
|
321
321
|
{
|
322
322
|
key,
|
323
323
|
name,
|
324
324
|
async request({ method, params }) {
|
325
|
-
const { result } = await
|
325
|
+
const { result } = await _chunkR7MSY2BHjs.rpc.http(url_, {
|
326
326
|
body: {
|
327
327
|
method,
|
328
328
|
params
|
@@ -356,14 +356,14 @@ function webSocket(url, config = {}) {
|
|
356
356
|
const retryCount = _nullishCoalesce(config.retryCount, () => ( defaultRetryCount));
|
357
357
|
const url_ = url || _optionalChain([chain, 'optionalAccess', _5 => _5.rpcUrls, 'access', _6 => _6.default, 'access', _7 => _7.webSocket, 'optionalAccess', _8 => _8[0]]);
|
358
358
|
if (!url_)
|
359
|
-
throw new (0,
|
359
|
+
throw new (0, _chunkR7MSY2BHjs.UrlRequiredError)();
|
360
360
|
return createTransport(
|
361
361
|
{
|
362
362
|
key,
|
363
363
|
name,
|
364
364
|
async request({ method, params }) {
|
365
|
-
const socket = await
|
366
|
-
const { result } = await
|
365
|
+
const socket = await _chunkR7MSY2BHjs.getSocket.call(void 0, url_);
|
366
|
+
const { result } = await _chunkR7MSY2BHjs.rpc.webSocketAsync(socket, {
|
367
367
|
body: { method, params },
|
368
368
|
timeout
|
369
369
|
});
|
@@ -376,12 +376,12 @@ function webSocket(url, config = {}) {
|
|
376
376
|
},
|
377
377
|
{
|
378
378
|
getSocket() {
|
379
|
-
return
|
379
|
+
return _chunkR7MSY2BHjs.getSocket.call(void 0, url_);
|
380
380
|
},
|
381
381
|
async subscribe({ params, onData, onError }) {
|
382
|
-
const socket = await
|
382
|
+
const socket = await _chunkR7MSY2BHjs.getSocket.call(void 0, url_);
|
383
383
|
const { result: subscriptionId } = await new Promise(
|
384
|
-
(resolve, reject) =>
|
384
|
+
(resolve, reject) => _chunkR7MSY2BHjs.rpc.webSocket(socket, {
|
385
385
|
body: {
|
386
386
|
method: "eth_subscribe",
|
387
387
|
params
|
@@ -403,7 +403,7 @@ function webSocket(url, config = {}) {
|
|
403
403
|
subscriptionId,
|
404
404
|
async unsubscribe() {
|
405
405
|
return new Promise(
|
406
|
-
(resolve, reject) =>
|
406
|
+
(resolve, reject) => _chunkR7MSY2BHjs.rpc.webSocket(socket, {
|
407
407
|
body: {
|
408
408
|
method: "eth_unsubscribe",
|
409
409
|
params: [subscriptionId]
|
@@ -459,87 +459,87 @@ function createClient({
|
|
459
459
|
|
460
460
|
// src/clients/decorators/public.ts
|
461
461
|
var publicActions = (client) => ({
|
462
|
-
call: (args) =>
|
463
|
-
createBlockFilter: () =>
|
464
|
-
createContractEventFilter: (args) =>
|
465
|
-
createEventFilter: (args) =>
|
466
|
-
createPendingTransactionFilter: () =>
|
467
|
-
estimateContractGas: (args) =>
|
468
|
-
estimateGas: (args) =>
|
469
|
-
getBalance: (args) =>
|
470
|
-
getBlock: (args) =>
|
471
|
-
getBlockNumber: (args) =>
|
472
|
-
getBlockTransactionCount: (args) =>
|
473
|
-
getBytecode: (args) =>
|
474
|
-
getChainId: () =>
|
475
|
-
getEnsAddress: (args) =>
|
476
|
-
getEnsName: (args) =>
|
477
|
-
getFeeHistory: (args) =>
|
478
|
-
getFilterChanges: (args) =>
|
479
|
-
getFilterLogs: (args) =>
|
480
|
-
getGasPrice: () =>
|
481
|
-
getLogs: (args) =>
|
482
|
-
getStorageAt: (args) =>
|
483
|
-
getTransaction: (args) =>
|
484
|
-
getTransactionConfirmations: (args) =>
|
485
|
-
getTransactionReceipt: (args) =>
|
486
|
-
multicall: (args) =>
|
487
|
-
readContract: (args) =>
|
488
|
-
simulateContract: (args) =>
|
489
|
-
uninstallFilter: (args) =>
|
490
|
-
waitForTransactionReceipt: (args) =>
|
491
|
-
watchBlocks: (args) =>
|
492
|
-
watchBlockNumber: (args) =>
|
493
|
-
watchContractEvent: (args) =>
|
494
|
-
watchEvent: (args) =>
|
495
|
-
watchPendingTransactions: (args) =>
|
462
|
+
call: (args) => _chunkDHSIBSJLjs.call.call(void 0, client, args),
|
463
|
+
createBlockFilter: () => _chunkDHSIBSJLjs.createBlockFilter.call(void 0, client),
|
464
|
+
createContractEventFilter: (args) => _chunkDHSIBSJLjs.createContractEventFilter.call(void 0, client, args),
|
465
|
+
createEventFilter: (args) => _chunkDHSIBSJLjs.createEventFilter.call(void 0, client, args),
|
466
|
+
createPendingTransactionFilter: () => _chunkDHSIBSJLjs.createPendingTransactionFilter.call(void 0, client),
|
467
|
+
estimateContractGas: (args) => _chunkDHSIBSJLjs.estimateContractGas.call(void 0, client, args),
|
468
|
+
estimateGas: (args) => _chunkDHSIBSJLjs.estimateGas.call(void 0, client, args),
|
469
|
+
getBalance: (args) => _chunkDHSIBSJLjs.getBalance.call(void 0, client, args),
|
470
|
+
getBlock: (args) => _chunkDHSIBSJLjs.getBlock.call(void 0, client, args),
|
471
|
+
getBlockNumber: (args) => _chunkDHSIBSJLjs.getBlockNumber.call(void 0, client, args),
|
472
|
+
getBlockTransactionCount: (args) => _chunkDHSIBSJLjs.getBlockTransactionCount.call(void 0, client, args),
|
473
|
+
getBytecode: (args) => _chunkDHSIBSJLjs.getBytecode.call(void 0, client, args),
|
474
|
+
getChainId: () => _chunkDHSIBSJLjs.getChainId.call(void 0, client),
|
475
|
+
getEnsAddress: (args) => _chunkBUCF6SRRjs.getEnsAddress.call(void 0, client, args),
|
476
|
+
getEnsName: (args) => _chunkBUCF6SRRjs.getEnsName.call(void 0, client, args),
|
477
|
+
getFeeHistory: (args) => _chunkDHSIBSJLjs.getFeeHistory.call(void 0, client, args),
|
478
|
+
getFilterChanges: (args) => _chunkDHSIBSJLjs.getFilterChanges.call(void 0, client, args),
|
479
|
+
getFilterLogs: (args) => _chunkDHSIBSJLjs.getFilterLogs.call(void 0, client, args),
|
480
|
+
getGasPrice: () => _chunkDHSIBSJLjs.getGasPrice.call(void 0, client),
|
481
|
+
getLogs: (args) => _chunkDHSIBSJLjs.getLogs.call(void 0, client, args),
|
482
|
+
getStorageAt: (args) => _chunkDHSIBSJLjs.getStorageAt.call(void 0, client, args),
|
483
|
+
getTransaction: (args) => _chunkDHSIBSJLjs.getTransaction.call(void 0, client, args),
|
484
|
+
getTransactionConfirmations: (args) => _chunkDHSIBSJLjs.getTransactionConfirmations.call(void 0, client, args),
|
485
|
+
getTransactionReceipt: (args) => _chunkDHSIBSJLjs.getTransactionReceipt.call(void 0, client, args),
|
486
|
+
multicall: (args) => _chunkDHSIBSJLjs.multicall.call(void 0, client, args),
|
487
|
+
readContract: (args) => _chunkDHSIBSJLjs.readContract.call(void 0, client, args),
|
488
|
+
simulateContract: (args) => _chunkDHSIBSJLjs.simulateContract.call(void 0, client, args),
|
489
|
+
uninstallFilter: (args) => _chunkDHSIBSJLjs.uninstallFilter.call(void 0, client, args),
|
490
|
+
waitForTransactionReceipt: (args) => _chunkDHSIBSJLjs.waitForTransactionReceipt.call(void 0, client, args),
|
491
|
+
watchBlocks: (args) => _chunkDHSIBSJLjs.watchBlocks.call(void 0, client, args),
|
492
|
+
watchBlockNumber: (args) => _chunkDHSIBSJLjs.watchBlockNumber.call(void 0, client, args),
|
493
|
+
watchContractEvent: (args) => _chunkDHSIBSJLjs.watchContractEvent.call(void 0, client, args),
|
494
|
+
watchEvent: (args) => _chunkDHSIBSJLjs.watchEvent.call(void 0, client, args),
|
495
|
+
watchPendingTransactions: (args) => _chunkDHSIBSJLjs.watchPendingTransactions.call(void 0, client, args)
|
496
496
|
});
|
497
497
|
|
498
498
|
// src/clients/decorators/test.ts
|
499
499
|
var testActions = (client) => ({
|
500
|
-
dropTransaction: (args) =>
|
501
|
-
getAutomine: () =>
|
502
|
-
getTxPoolContent: () =>
|
503
|
-
getTxPoolStatus: () =>
|
504
|
-
impersonateAccount: (args) =>
|
505
|
-
increaseTime: (args) =>
|
506
|
-
inspectTxpool: () =>
|
507
|
-
mine: (args) =>
|
508
|
-
removeBlockTimestampInterval: () =>
|
509
|
-
reset: (args) =>
|
510
|
-
revert: (args) =>
|
511
|
-
sendUnsignedTransaction: (args) =>
|
512
|
-
setAutomine: (args) =>
|
513
|
-
setBalance: (args) =>
|
514
|
-
setBlockGasLimit: (args) =>
|
515
|
-
setBlockTimestampInterval: (args) =>
|
516
|
-
setCode: (args) =>
|
517
|
-
setCoinbase: (args) =>
|
518
|
-
setIntervalMining: (args) =>
|
519
|
-
setLoggingEnabled: (args) =>
|
520
|
-
setMinGasPrice: (args) =>
|
521
|
-
setNextBlockBaseFeePerGas: (args) =>
|
522
|
-
setNextBlockTimestamp: (args) =>
|
523
|
-
setNonce: (args) =>
|
524
|
-
setRpcUrl: (args) =>
|
525
|
-
setStorageAt: (args) =>
|
526
|
-
snapshot: () =>
|
527
|
-
stopImpersonatingAccount: (args) =>
|
500
|
+
dropTransaction: (args) => _chunkRNGEVZVHjs.dropTransaction.call(void 0, client, args),
|
501
|
+
getAutomine: () => _chunkRNGEVZVHjs.getAutomine.call(void 0, client),
|
502
|
+
getTxPoolContent: () => _chunkRNGEVZVHjs.getTxpoolContent.call(void 0, client),
|
503
|
+
getTxPoolStatus: () => _chunkRNGEVZVHjs.getTxpoolStatus.call(void 0, client),
|
504
|
+
impersonateAccount: (args) => _chunkRNGEVZVHjs.impersonateAccount.call(void 0, client, args),
|
505
|
+
increaseTime: (args) => _chunkRNGEVZVHjs.increaseTime.call(void 0, client, args),
|
506
|
+
inspectTxpool: () => _chunkRNGEVZVHjs.inspectTxpool.call(void 0, client),
|
507
|
+
mine: (args) => _chunkRNGEVZVHjs.mine.call(void 0, client, args),
|
508
|
+
removeBlockTimestampInterval: () => _chunkRNGEVZVHjs.removeBlockTimestampInterval.call(void 0, client),
|
509
|
+
reset: (args) => _chunkRNGEVZVHjs.reset.call(void 0, client, args),
|
510
|
+
revert: (args) => _chunkRNGEVZVHjs.revert.call(void 0, client, args),
|
511
|
+
sendUnsignedTransaction: (args) => _chunkRNGEVZVHjs.sendUnsignedTransaction.call(void 0, client, args),
|
512
|
+
setAutomine: (args) => _chunkRNGEVZVHjs.setAutomine.call(void 0, client, args),
|
513
|
+
setBalance: (args) => _chunkRNGEVZVHjs.setBalance.call(void 0, client, args),
|
514
|
+
setBlockGasLimit: (args) => _chunkRNGEVZVHjs.setBlockGasLimit.call(void 0, client, args),
|
515
|
+
setBlockTimestampInterval: (args) => _chunkRNGEVZVHjs.setBlockTimestampInterval.call(void 0, client, args),
|
516
|
+
setCode: (args) => _chunkRNGEVZVHjs.setCode.call(void 0, client, args),
|
517
|
+
setCoinbase: (args) => _chunkRNGEVZVHjs.setCoinbase.call(void 0, client, args),
|
518
|
+
setIntervalMining: (args) => _chunkRNGEVZVHjs.setIntervalMining.call(void 0, client, args),
|
519
|
+
setLoggingEnabled: (args) => _chunkRNGEVZVHjs.setLoggingEnabled.call(void 0, client, args),
|
520
|
+
setMinGasPrice: (args) => _chunkRNGEVZVHjs.setMinGasPrice.call(void 0, client, args),
|
521
|
+
setNextBlockBaseFeePerGas: (args) => _chunkRNGEVZVHjs.setNextBlockBaseFeePerGas.call(void 0, client, args),
|
522
|
+
setNextBlockTimestamp: (args) => _chunkRNGEVZVHjs.setNextBlockTimestamp.call(void 0, client, args),
|
523
|
+
setNonce: (args) => _chunkRNGEVZVHjs.setNonce.call(void 0, client, args),
|
524
|
+
setRpcUrl: (args) => _chunkRNGEVZVHjs.setRpcUrl.call(void 0, client, args),
|
525
|
+
setStorageAt: (args) => _chunkRNGEVZVHjs.setStorageAt.call(void 0, client, args),
|
526
|
+
snapshot: () => _chunkRNGEVZVHjs.snapshot.call(void 0, client),
|
527
|
+
stopImpersonatingAccount: (args) => _chunkRNGEVZVHjs.stopImpersonatingAccount.call(void 0, client, args)
|
528
528
|
});
|
529
529
|
|
530
530
|
// src/clients/decorators/wallet.ts
|
531
531
|
var walletActions = (client) => ({
|
532
|
-
addChain: (args) =>
|
533
|
-
deployContract: (args) =>
|
534
|
-
getAccounts: () =>
|
535
|
-
getPermissions: () =>
|
536
|
-
requestAccounts: () =>
|
537
|
-
requestPermissions: (args) =>
|
538
|
-
sendTransaction: (args) =>
|
539
|
-
signMessage: (args) =>
|
540
|
-
switchChain: (args) =>
|
541
|
-
watchAsset: (args) =>
|
542
|
-
writeContract: (args) =>
|
532
|
+
addChain: (args) => _chunk3CEIPU6Mjs.addChain.call(void 0, client, args),
|
533
|
+
deployContract: (args) => _chunk3CEIPU6Mjs.deployContract.call(void 0, client, args),
|
534
|
+
getAccounts: () => _chunk3CEIPU6Mjs.getAccounts.call(void 0, client),
|
535
|
+
getPermissions: () => _chunk3CEIPU6Mjs.getPermissions.call(void 0, client),
|
536
|
+
requestAccounts: () => _chunk3CEIPU6Mjs.requestAccounts.call(void 0, client),
|
537
|
+
requestPermissions: (args) => _chunk3CEIPU6Mjs.requestPermissions.call(void 0, client, args),
|
538
|
+
sendTransaction: (args) => _chunk3CEIPU6Mjs.sendTransaction.call(void 0, client, args),
|
539
|
+
signMessage: (args) => _chunk3CEIPU6Mjs.signMessage.call(void 0, client, args),
|
540
|
+
switchChain: (args) => _chunk3CEIPU6Mjs.switchChain.call(void 0, client, args),
|
541
|
+
watchAsset: (args) => _chunk3CEIPU6Mjs.watchAsset.call(void 0, client, args),
|
542
|
+
writeContract: (args) => _chunk3CEIPU6Mjs.writeContract.call(void 0, client, args)
|
543
543
|
});
|
544
544
|
|
545
545
|
// src/clients/createPublicClient.ts
|
@@ -769,5 +769,5 @@ function createWalletClient({
|
|
769
769
|
|
770
770
|
|
771
771
|
|
772
|
-
exports.AbiConstructorNotFoundError =
|
772
|
+
exports.AbiConstructorNotFoundError = _chunkR7MSY2BHjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkR7MSY2BHjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkR7MSY2BHjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkR7MSY2BHjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkR7MSY2BHjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkR7MSY2BHjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkR7MSY2BHjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkR7MSY2BHjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkR7MSY2BHjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkR7MSY2BHjs.AbiEventNotFoundError; exports.AbiEventSignatureNotFoundError = _chunkR7MSY2BHjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkR7MSY2BHjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkR7MSY2BHjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkR7MSY2BHjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkR7MSY2BHjs.BaseError; exports.BlockNotFoundError = _chunkR7MSY2BHjs.BlockNotFoundError; exports.CallExecutionError = _chunkR7MSY2BHjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkR7MSY2BHjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkR7MSY2BHjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkR7MSY2BHjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkR7MSY2BHjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkR7MSY2BHjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkR7MSY2BHjs.DataLengthTooShortError; exports.EstimateGasExecutionError = _chunkR7MSY2BHjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkR7MSY2BHjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkR7MSY2BHjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkR7MSY2BHjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkR7MSY2BHjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkR7MSY2BHjs.HttpRequestError; exports.InsufficientFundsError = _chunkR7MSY2BHjs.InsufficientFundsError; exports.InternalRpcError = _chunkR7MSY2BHjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkR7MSY2BHjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkR7MSY2BHjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkR7MSY2BHjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkR7MSY2BHjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkR7MSY2BHjs.InvalidAddressError; exports.InvalidArrayError = _chunkR7MSY2BHjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkR7MSY2BHjs.InvalidBytesBooleanError; exports.InvalidDefinitionTypeError = _chunkR7MSY2BHjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkR7MSY2BHjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkR7MSY2BHjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkR7MSY2BHjs.InvalidInputRpcError; exports.InvalidParamsRpcError = _chunkR7MSY2BHjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkR7MSY2BHjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkR7MSY2BHjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkR7MSY2BHjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkR7MSY2BHjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkR7MSY2BHjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkR7MSY2BHjs.NonceMaxValueError; exports.NonceTooHighError = _chunkR7MSY2BHjs.NonceTooHighError; exports.NonceTooLowError = _chunkR7MSY2BHjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkR7MSY2BHjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkR7MSY2BHjs.ParseRpcError; exports.RawContractError = _chunkR7MSY2BHjs.RawContractError; exports.RequestError = _chunkR7MSY2BHjs.RequestError; exports.ResourceNotFoundRpcError = _chunkR7MSY2BHjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkR7MSY2BHjs.ResourceUnavailableRpcError; exports.RpcError = _chunkR7MSY2BHjs.RpcError; exports.RpcRequestError = _chunkR7MSY2BHjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkR7MSY2BHjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkR7MSY2BHjs.SwitchChainError; exports.TimeoutError = _chunkR7MSY2BHjs.TimeoutError; exports.TipAboveFeeCapError = _chunkR7MSY2BHjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkR7MSY2BHjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkR7MSY2BHjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkR7MSY2BHjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkR7MSY2BHjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkR7MSY2BHjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkR7MSY2BHjs.UnknownNodeError; exports.UnknownRpcError = _chunkR7MSY2BHjs.UnknownRpcError; exports.UrlRequiredError = _chunkR7MSY2BHjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkR7MSY2BHjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkR7MSY2BHjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkR7MSY2BHjs.WebSocketRequestError; exports.boolToBytes = _chunkR7MSY2BHjs.boolToBytes; exports.boolToHex = _chunkR7MSY2BHjs.boolToHex; exports.bytesToBigint = _chunkR7MSY2BHjs.bytesToBigint; exports.bytesToBool = _chunkR7MSY2BHjs.bytesToBool; exports.bytesToHex = _chunkR7MSY2BHjs.bytesToHex; exports.bytesToNumber = _chunkR7MSY2BHjs.bytesToNumber; exports.bytesToString = _chunkR7MSY2BHjs.bytesToString; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbi = _chunkR7MSY2BHjs.decodeAbi; exports.decodeErrorResult = _chunkR7MSY2BHjs.decodeErrorResult; exports.decodeEventLog = _chunkR7MSY2BHjs.decodeEventLog; exports.decodeFunctionData = _chunkR7MSY2BHjs.decodeFunctionData; exports.decodeFunctionResult = _chunkR7MSY2BHjs.decodeFunctionResult; exports.defineBlock = _chunkR7MSY2BHjs.defineBlock; exports.defineChain = _chunkR7MSY2BHjs.defineChain; exports.defineTransaction = _chunkR7MSY2BHjs.defineTransaction; exports.defineTransactionReceipt = _chunkR7MSY2BHjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkR7MSY2BHjs.defineTransactionRequest; exports.encodeAbi = _chunkR7MSY2BHjs.encodeAbi; exports.encodeDeployData = _chunkR7MSY2BHjs.encodeDeployData; exports.encodeErrorResult = _chunkR7MSY2BHjs.encodeErrorResult; exports.encodeEventTopics = _chunkR7MSY2BHjs.encodeEventTopics; exports.encodeFunctionData = _chunkR7MSY2BHjs.encodeFunctionData; exports.encodeFunctionResult = _chunkR7MSY2BHjs.encodeFunctionResult; exports.etherUnits = _chunkR7MSY2BHjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkR7MSY2BHjs.formatBlock; exports.formatEther = _chunkR7MSY2BHjs.formatEther; exports.formatGwei = _chunkR7MSY2BHjs.formatGwei; exports.formatTransaction = _chunkR7MSY2BHjs.formatTransaction; exports.formatTransactionRequest = _chunkR7MSY2BHjs.formatTransactionRequest; exports.formatUnit = _chunkR7MSY2BHjs.formatUnit; exports.fromBytes = _chunkR7MSY2BHjs.fromBytes; exports.fromHex = _chunkR7MSY2BHjs.fromHex; exports.fromRlp = _chunkR7MSY2BHjs.fromRlp; exports.getAbiItem = _chunkR7MSY2BHjs.getAbiItem; exports.getAddress = _chunkR7MSY2BHjs.getAddress; exports.getContractAddress = _chunkR7MSY2BHjs.getContractAddress; exports.getContractError = _chunkR7MSY2BHjs.getContractError; exports.getCreate2Address = _chunkR7MSY2BHjs.getCreate2Address; exports.getCreateAddress = _chunkR7MSY2BHjs.getCreateAddress; exports.getEventSelector = _chunkR7MSY2BHjs.getEventSelector; exports.getFunctionSelector = _chunkR7MSY2BHjs.getFunctionSelector; exports.gweiUnits = _chunkR7MSY2BHjs.gweiUnits; exports.hexToBigInt = _chunkR7MSY2BHjs.hexToBigInt; exports.hexToBool = _chunkR7MSY2BHjs.hexToBool; exports.hexToBytes = _chunkR7MSY2BHjs.hexToBytes; exports.hexToNumber = _chunkR7MSY2BHjs.hexToNumber; exports.hexToString = _chunkR7MSY2BHjs.hexToString; exports.http = http; exports.isAddress = _chunkR7MSY2BHjs.isAddress; exports.isAddressEqual = _chunkR7MSY2BHjs.isAddressEqual; exports.isBytes = _chunkR7MSY2BHjs.isBytes; exports.isHex = _chunkR7MSY2BHjs.isHex; exports.keccak256 = _chunkR7MSY2BHjs.keccak256; exports.labelhash = _chunkBUCF6SRRjs.labelhash; exports.multicall3Abi = _chunkR7MSY2BHjs.multicall3Abi; exports.namehash = _chunkBUCF6SRRjs.namehash; exports.numberToBytes = _chunkR7MSY2BHjs.numberToBytes; exports.numberToHex = _chunkR7MSY2BHjs.numberToHex; exports.pad = _chunkR7MSY2BHjs.pad; exports.padBytes = _chunkR7MSY2BHjs.padBytes; exports.padHex = _chunkR7MSY2BHjs.padHex; exports.parseEther = _chunkR7MSY2BHjs.parseEther; exports.parseGwei = _chunkR7MSY2BHjs.parseGwei; exports.parseUnit = _chunkR7MSY2BHjs.parseUnit; exports.size = _chunkR7MSY2BHjs.size; exports.slice = _chunkR7MSY2BHjs.slice; exports.sliceBytes = _chunkR7MSY2BHjs.sliceBytes; exports.sliceHex = _chunkR7MSY2BHjs.sliceHex; exports.stringToBytes = _chunkR7MSY2BHjs.stringToBytes; exports.stringToHex = _chunkR7MSY2BHjs.stringToHex; exports.stringify = _chunkR7MSY2BHjs.stringify; exports.toBytes = _chunkR7MSY2BHjs.toBytes; exports.toHex = _chunkR7MSY2BHjs.toHex; exports.toRlp = _chunkR7MSY2BHjs.toRlp; exports.transactionType = _chunkR7MSY2BHjs.transactionType; exports.trim = _chunkR7MSY2BHjs.trim; exports.webSocket = webSocket; exports.weiUnits = _chunkR7MSY2BHjs.weiUnits;
|
773
773
|
//# sourceMappingURL=index.js.map
|
package/dist/index.mjs
CHANGED
@@ -3,7 +3,7 @@ import {
|
|
3
3
|
getEnsName,
|
4
4
|
labelhash,
|
5
5
|
namehash
|
6
|
-
} from "./chunk-
|
6
|
+
} from "./chunk-KMBDF3HQ.mjs";
|
7
7
|
import {
|
8
8
|
call,
|
9
9
|
createBlockFilter,
|
@@ -37,7 +37,7 @@ import {
|
|
37
37
|
watchContractEvent,
|
38
38
|
watchEvent,
|
39
39
|
watchPendingTransactions
|
40
|
-
} from "./chunk-
|
40
|
+
} from "./chunk-HN7IYO7U.mjs";
|
41
41
|
import {
|
42
42
|
dropTransaction,
|
43
43
|
getAutomine,
|
@@ -67,7 +67,7 @@ import {
|
|
67
67
|
setStorageAt,
|
68
68
|
snapshot,
|
69
69
|
stopImpersonatingAccount
|
70
|
-
} from "./chunk-
|
70
|
+
} from "./chunk-DYALOQ44.mjs";
|
71
71
|
import {
|
72
72
|
addChain,
|
73
73
|
deployContract,
|
@@ -80,7 +80,7 @@ import {
|
|
80
80
|
switchChain,
|
81
81
|
watchAsset,
|
82
82
|
writeContract
|
83
|
-
} from "./chunk-
|
83
|
+
} from "./chunk-VEAHSGOL.mjs";
|
84
84
|
import {
|
85
85
|
AbiConstructorNotFoundError,
|
86
86
|
AbiConstructorParamsNotFoundError,
|
@@ -234,7 +234,7 @@ import {
|
|
234
234
|
transactionType,
|
235
235
|
trim,
|
236
236
|
weiUnits
|
237
|
-
} from "./chunk-
|
237
|
+
} from "./chunk-JB4TWW3U.mjs";
|
238
238
|
|
239
239
|
// src/clients/transports/createTransport.ts
|
240
240
|
function createTransport({
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import { A as Address, B as ByteArray, H as Hex, C as Chain, a as Hash, g as BlockTag, a5 as EventDefinition } from './chain-
|
2
|
-
import { C as CallArgs, E as EstimateGasArgs } from './createPublicClient-
|
3
|
-
import { S as SendTransactionArgs } from './wallet-
|
1
|
+
import { A as Address, B as ByteArray, H as Hex, C as Chain, a as Hash, g as BlockTag, a5 as EventDefinition } from './chain-4a0d4164.js';
|
2
|
+
import { C as CallArgs, E as EstimateGasArgs } from './createPublicClient-b5afe6b8.js';
|
3
|
+
import { S as SendTransactionArgs } from './wallet-5ab86528.js';
|
4
4
|
import { Abi } from 'abitype';
|
5
|
-
import { b as DecodeErrorResultResponse } from './getAbiItem-
|
5
|
+
import { b as DecodeErrorResultResponse } from './getAbiItem-d7aa40b1.js';
|
6
6
|
import WebSocket from 'isomorphic-ws';
|
7
7
|
|
8
8
|
declare function getAddress(address: string): Address;
|
package/dist/public.d.ts
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
import { P as PublicClient } from './createPublicClient-
|
2
|
-
export { C as CallArgs, ac as CallResponse, ad as CreateBlockFilterResponse, ae as CreateEventFilterArgs, af as CreateEventFilterResponse, ag as CreatePendingTransactionFilterResponse, E as EstimateGasArgs, ah as EstimateGasResponse, ai as GetBalanceArgs, aj as GetBalanceResponse, ak as GetBlockArgs, al as GetBlockNumberArgs, am as GetBlockNumberResponse, an as GetBlockResponse, ao as GetBlockTransactionCountArgs, ap as GetBlockTransactionCountResponse, G as GetBytecodeArgs, k as GetBytecodeResponse, aq as GetFeeHistoryArgs, ar as GetFeeHistoryResponse, as as GetFilterChangesArgs, at as GetFilterChangesResponse, au as GetFilterLogsArgs, av as GetFilterLogsResponse, aw as GetGasPriceResponse, ax as GetTransactionArgs, ay as GetTransactionConfirmationsArgs, az as GetTransactionConfirmationsResponse, aA as GetTransactionReceiptArgs, aB as GetTransactionReceiptResponse, aC as GetTransactionResponse, aD as OnBlock, aE as OnBlockNumber, aF as OnBlockNumberResponse, aG as OnBlockResponse, aH as OnTransactions, aI as OnTransactionsResponse, aJ as ReplacementReason, aK as ReplacementResponse, aL as UninstallFilterArgs, aM as UninstallFilterResponse, aN as WaitForTransactionReceiptArgs, aO as WaitForTransactionReceiptResponse, aP as WatchBlockNumberArgs, aQ as WatchBlocksArgs, aR as WatchPendingTransactionsArgs, I as call, J as createBlockFilter, K as createEventFilter, L as createPendingTransactionFilter, N as estimateGas, Q as getBalance, U as getBlock, V as getBlockNumber, X as getBlockNumberCache, Y as getBlockTransactionCount, t as getBytecode, Z as getChainId, _ as getFeeHistory, $ as getFilterChanges, a0 as getFilterLogs, a2 as getGasPrice, a1 as getLogs, a3 as getTransaction, a4 as getTransactionConfirmations, a5 as getTransactionReceipt, a6 as uninstallFilter, a7 as waitForTransactionReceipt, a8 as watchBlockNumber, a9 as watchBlocks, aa as watchEvent, ab as watchPendingTransactions } from './createPublicClient-
|
3
|
-
import { A as Address, g as BlockTag } from './chain-
|
4
|
-
import './eip1193-
|
5
|
-
import './createClient-
|
1
|
+
import { P as PublicClient } from './createPublicClient-b5afe6b8.js';
|
2
|
+
export { C as CallArgs, ac as CallResponse, ad as CreateBlockFilterResponse, ae as CreateEventFilterArgs, af as CreateEventFilterResponse, ag as CreatePendingTransactionFilterResponse, E as EstimateGasArgs, ah as EstimateGasResponse, ai as GetBalanceArgs, aj as GetBalanceResponse, ak as GetBlockArgs, al as GetBlockNumberArgs, am as GetBlockNumberResponse, an as GetBlockResponse, ao as GetBlockTransactionCountArgs, ap as GetBlockTransactionCountResponse, G as GetBytecodeArgs, k as GetBytecodeResponse, aq as GetFeeHistoryArgs, ar as GetFeeHistoryResponse, as as GetFilterChangesArgs, at as GetFilterChangesResponse, au as GetFilterLogsArgs, av as GetFilterLogsResponse, aw as GetGasPriceResponse, ax as GetTransactionArgs, ay as GetTransactionConfirmationsArgs, az as GetTransactionConfirmationsResponse, aA as GetTransactionReceiptArgs, aB as GetTransactionReceiptResponse, aC as GetTransactionResponse, aD as OnBlock, aE as OnBlockNumber, aF as OnBlockNumberResponse, aG as OnBlockResponse, aH as OnTransactions, aI as OnTransactionsResponse, aJ as ReplacementReason, aK as ReplacementResponse, aL as UninstallFilterArgs, aM as UninstallFilterResponse, aN as WaitForTransactionReceiptArgs, aO as WaitForTransactionReceiptResponse, aP as WatchBlockNumberArgs, aQ as WatchBlocksArgs, aR as WatchPendingTransactionsArgs, I as call, J as createBlockFilter, K as createEventFilter, L as createPendingTransactionFilter, N as estimateGas, Q as getBalance, U as getBlock, V as getBlockNumber, X as getBlockNumberCache, Y as getBlockTransactionCount, t as getBytecode, Z as getChainId, _ as getFeeHistory, $ as getFilterChanges, a0 as getFilterLogs, a2 as getGasPrice, a1 as getLogs, a3 as getTransaction, a4 as getTransactionConfirmations, a5 as getTransactionReceipt, a6 as uninstallFilter, a7 as waitForTransactionReceipt, a8 as watchBlockNumber, a9 as watchBlocks, aa as watchEvent, ab as watchPendingTransactions } from './createPublicClient-b5afe6b8.js';
|
3
|
+
import { A as Address, g as BlockTag } from './chain-4a0d4164.js';
|
4
|
+
import './eip1193-8c021438.js';
|
5
|
+
import './createClient-8a8b4bf4.js';
|
6
6
|
import 'abitype';
|
7
|
-
import './wallet-
|
7
|
+
import './wallet-5ab86528.js';
|
8
8
|
import '@wagmi/chains';
|
9
9
|
import 'ethers@6/types/providers';
|
10
10
|
|
package/dist/public.js
CHANGED
@@ -26,8 +26,8 @@
|
|
26
26
|
|
27
27
|
|
28
28
|
|
29
|
-
var
|
30
|
-
require('./chunk-
|
29
|
+
var _chunkDHSIBSJLjs = require('./chunk-DHSIBSJL.js');
|
30
|
+
require('./chunk-R7MSY2BH.js');
|
31
31
|
|
32
32
|
|
33
33
|
|
@@ -56,5 +56,5 @@ require('./chunk-DEF2SWG2.js');
|
|
56
56
|
|
57
57
|
|
58
58
|
|
59
|
-
exports.call =
|
59
|
+
exports.call = _chunkDHSIBSJLjs.call; exports.createBlockFilter = _chunkDHSIBSJLjs.createBlockFilter; exports.createEventFilter = _chunkDHSIBSJLjs.createEventFilter; exports.createPendingTransactionFilter = _chunkDHSIBSJLjs.createPendingTransactionFilter; exports.estimateGas = _chunkDHSIBSJLjs.estimateGas; exports.getBalance = _chunkDHSIBSJLjs.getBalance; exports.getBlock = _chunkDHSIBSJLjs.getBlock; exports.getBlockNumber = _chunkDHSIBSJLjs.getBlockNumber; exports.getBlockNumberCache = _chunkDHSIBSJLjs.getBlockNumberCache; exports.getBlockTransactionCount = _chunkDHSIBSJLjs.getBlockTransactionCount; exports.getBytecode = _chunkDHSIBSJLjs.getBytecode; exports.getChainId = _chunkDHSIBSJLjs.getChainId; exports.getFeeHistory = _chunkDHSIBSJLjs.getFeeHistory; exports.getFilterChanges = _chunkDHSIBSJLjs.getFilterChanges; exports.getFilterLogs = _chunkDHSIBSJLjs.getFilterLogs; exports.getGasPrice = _chunkDHSIBSJLjs.getGasPrice; exports.getLogs = _chunkDHSIBSJLjs.getLogs; exports.getTransaction = _chunkDHSIBSJLjs.getTransaction; exports.getTransactionConfirmations = _chunkDHSIBSJLjs.getTransactionConfirmations; exports.getTransactionCount = _chunkDHSIBSJLjs.getTransactionCount; exports.getTransactionReceipt = _chunkDHSIBSJLjs.getTransactionReceipt; exports.uninstallFilter = _chunkDHSIBSJLjs.uninstallFilter; exports.waitForTransactionReceipt = _chunkDHSIBSJLjs.waitForTransactionReceipt; exports.watchBlockNumber = _chunkDHSIBSJLjs.watchBlockNumber; exports.watchBlocks = _chunkDHSIBSJLjs.watchBlocks; exports.watchEvent = _chunkDHSIBSJLjs.watchEvent; exports.watchPendingTransactions = _chunkDHSIBSJLjs.watchPendingTransactions;
|
60
60
|
//# sourceMappingURL=public.js.map
|
package/dist/public.mjs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
import { a as Hash, q as RpcTransaction, A as Address$1, a3 as Quantity, u as TransactionRequest, H as Hex, C as Chain } from './chain-
|
2
|
-
import { T as TestRequests } from './eip1193-
|
3
|
-
import { a as Transport, b as ClientConfig, C as Client } from './createClient-
|
1
|
+
import { a as Hash, q as RpcTransaction, A as Address$1, a3 as Quantity, u as TransactionRequest, H as Hex, C as Chain } from './chain-4a0d4164.js';
|
2
|
+
import { T as TestRequests } from './eip1193-8c021438.js';
|
3
|
+
import { a as Transport, b as ClientConfig, C as Client } from './createClient-8a8b4bf4.js';
|
4
4
|
import { Address } from 'abitype';
|
5
5
|
|
6
6
|
type DropTransactionArgs = {
|
package/dist/test.d.ts
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
import { T as TestClient } from './test-
|
2
|
-
export { D as DropTransactionArgs, I as ImpersonateAccountArgs, z as IncreaseTimeArgs, M as MineArgs, R as ResetArgs, A as RevertArgs, S as SendUnsignedTransactionArgs, B as SendUnsignedTransactionResponse, C as SetBalanceArgs, E as SetBlockGasLimitArgs, F as SetBlockTimestampIntervalArgs, G as SetCodeArgs, H as SetCoinbaseArgs, J as SetIntervalMiningArgs, K as SetMinGasPriceArgs, L as SetNextBlockBaseFeePerGasArgs, N as SetNextBlockTimestampArgs, O as SetNonceArgs, P as SetStorageAtArgs, Q as StopImpersonatingAccountArgs, d as dropTransaction, g as getAutomine, b as getTxpoolContent, e as getTxpoolStatus, i as impersonateAccount, f as increaseTime, h as inspectTxpool, m as mine, r as reset, j as revert, s as sendUnsignedTransaction, k as setBalance, l as setBlockGasLimit, n as setBlockTimestampInterval, o as setCode, p as setCoinbase, q as setIntervalMining, t as setMinGasPrice, u as setNextBlockBaseFeePerGas, v as setNextBlockTimestamp, w as setNonce, x as setStorageAt, y as stopImpersonatingAccount } from './test-
|
3
|
-
import './chain-
|
1
|
+
import { T as TestClient } from './test-5d5828c9.js';
|
2
|
+
export { D as DropTransactionArgs, I as ImpersonateAccountArgs, z as IncreaseTimeArgs, M as MineArgs, R as ResetArgs, A as RevertArgs, S as SendUnsignedTransactionArgs, B as SendUnsignedTransactionResponse, C as SetBalanceArgs, E as SetBlockGasLimitArgs, F as SetBlockTimestampIntervalArgs, G as SetCodeArgs, H as SetCoinbaseArgs, J as SetIntervalMiningArgs, K as SetMinGasPriceArgs, L as SetNextBlockBaseFeePerGasArgs, N as SetNextBlockTimestampArgs, O as SetNonceArgs, P as SetStorageAtArgs, Q as StopImpersonatingAccountArgs, d as dropTransaction, g as getAutomine, b as getTxpoolContent, e as getTxpoolStatus, i as impersonateAccount, f as increaseTime, h as inspectTxpool, m as mine, r as reset, j as revert, s as sendUnsignedTransaction, k as setBalance, l as setBlockGasLimit, n as setBlockTimestampInterval, o as setCode, p as setCoinbase, q as setIntervalMining, t as setMinGasPrice, u as setNextBlockBaseFeePerGas, v as setNextBlockTimestamp, w as setNonce, x as setStorageAt, y as stopImpersonatingAccount } from './test-5d5828c9.js';
|
3
|
+
import './chain-4a0d4164.js';
|
4
4
|
import '@wagmi/chains';
|
5
5
|
import 'abitype';
|
6
6
|
import 'ethers@6/types/providers';
|
7
|
-
import './eip1193-
|
8
|
-
import './createClient-
|
7
|
+
import './eip1193-8c021438.js';
|
8
|
+
import './createClient-8a8b4bf4.js';
|
9
9
|
|
10
10
|
declare function removeBlockTimestampInterval(client: TestClient): Promise<void>;
|
11
11
|
|
package/dist/test.js
CHANGED
@@ -27,8 +27,8 @@
|
|
27
27
|
|
28
28
|
|
29
29
|
|
30
|
-
var
|
31
|
-
require('./chunk-
|
30
|
+
var _chunkRNGEVZVHjs = require('./chunk-RNGEVZVH.js');
|
31
|
+
require('./chunk-R7MSY2BH.js');
|
32
32
|
|
33
33
|
|
34
34
|
|
@@ -58,5 +58,5 @@ require('./chunk-DEF2SWG2.js');
|
|
58
58
|
|
59
59
|
|
60
60
|
|
61
|
-
exports.dropTransaction =
|
61
|
+
exports.dropTransaction = _chunkRNGEVZVHjs.dropTransaction; exports.getAutomine = _chunkRNGEVZVHjs.getAutomine; exports.getTxpoolContent = _chunkRNGEVZVHjs.getTxpoolContent; exports.getTxpoolStatus = _chunkRNGEVZVHjs.getTxpoolStatus; exports.impersonateAccount = _chunkRNGEVZVHjs.impersonateAccount; exports.increaseTime = _chunkRNGEVZVHjs.increaseTime; exports.inspectTxpool = _chunkRNGEVZVHjs.inspectTxpool; exports.mine = _chunkRNGEVZVHjs.mine; exports.removeBlockTimestampInterval = _chunkRNGEVZVHjs.removeBlockTimestampInterval; exports.reset = _chunkRNGEVZVHjs.reset; exports.revert = _chunkRNGEVZVHjs.revert; exports.sendUnsignedTransaction = _chunkRNGEVZVHjs.sendUnsignedTransaction; exports.setAutomine = _chunkRNGEVZVHjs.setAutomine; exports.setBalance = _chunkRNGEVZVHjs.setBalance; exports.setBlockGasLimit = _chunkRNGEVZVHjs.setBlockGasLimit; exports.setBlockTimestampInterval = _chunkRNGEVZVHjs.setBlockTimestampInterval; exports.setCode = _chunkRNGEVZVHjs.setCode; exports.setCoinbase = _chunkRNGEVZVHjs.setCoinbase; exports.setIntervalMining = _chunkRNGEVZVHjs.setIntervalMining; exports.setLoggingEnabled = _chunkRNGEVZVHjs.setLoggingEnabled; exports.setMinGasPrice = _chunkRNGEVZVHjs.setMinGasPrice; exports.setNextBlockBaseFeePerGas = _chunkRNGEVZVHjs.setNextBlockBaseFeePerGas; exports.setNextBlockTimestamp = _chunkRNGEVZVHjs.setNextBlockTimestamp; exports.setNonce = _chunkRNGEVZVHjs.setNonce; exports.setRpcUrl = _chunkRNGEVZVHjs.setRpcUrl; exports.setStorageAt = _chunkRNGEVZVHjs.setStorageAt; exports.snapshot = _chunkRNGEVZVHjs.snapshot; exports.stopImpersonatingAccount = _chunkRNGEVZVHjs.stopImpersonatingAccount;
|
62
62
|
//# sourceMappingURL=test.js.map
|
package/dist/test.mjs
CHANGED
package/dist/utils/index.d.ts
CHANGED
@@ -1,19 +1,19 @@
|
|
1
|
-
export { D as DecodeAbiArgs, a as DecodeErrorResultArgs, b as DecodeErrorResultResponse, c as DecodeEventLogArgs, d as DecodeEventLogResponse, e as DecodeFunctionDataArgs, f as DecodeFunctionResultArgs, g as DecodeFunctionResultResponse, E as EncodeAbiArgs, h as EncodeDeployDataArgs, i as EncodeErrorResultArgs, j as EncodeEventTopicsArgs, k as EncodeFunctionDataArgs, l as EncodeFunctionResultArgs, G as GetAbiItemArgs, m as decodeAbi, n as decodeErrorResult, o as decodeEventLog, p as decodeFunctionData, q as decodeFunctionResult, r as encodeAbi, s as encodeDeployData, t as encodeErrorResult, u as encodeEventTopics, v as encodeFunctionData, w as encodeFunctionResult, x as getAbiItem } from '../getAbiItem-
|
2
|
-
export { a as formatAbiItem, f as formatAbiItemWithArgs } from '../formatAbiItem-
|
3
|
-
import { B as BaseError, C as CallExecutionError, E as EstimateGasExecutionError, d as ExecutionRevertedError, F as FeeCapTooHighError, e as FeeCapTooLowError, h as NonceTooHighError, i as NonceTooLowError, N as NonceMaxValueError, I as InsufficientFundsError, f as IntrinsicGasTooHighError, g as IntrinsicGasTooLowError, l as TransactionTypeNotSupportedError, T as TipAboveFeeCapError, U as UnknownNodeError, k as TransactionExecutionError } from '../parseGwei-
|
4
|
-
export { G as GetContractAddressOptions, o as GetCreate2AddressOptions, p as GetCreateAddressOptions, H as HttpOptions, R as RpcResponse, ar as Socket, q as ToRlpResponse, r as boolToBytes, s as boolToHex, t as bytesToBigint, u as bytesToBool, v as bytesToHex, w as bytesToNumber, x as bytesToString, y as etherUnits, z as formatEther, A as formatGwei, D as formatUnit, J as fromBytes, K as fromHex, L as fromRlp, M as getAddress, O as getContractAddress, P as getContractError, Q as getCreate2Address, S as getCreateAddress, V as getEventSelector, X as getFunctionSelector, as as getSocket, Y as gweiUnits, Z as hexToBigInt, _ as hexToBool, $ as hexToBytes, a0 as hexToNumber, a1 as hexToString, a2 as isAddress, a3 as isAddressEqual, a4 as isBytes, a5 as isHex, a6 as keccak256, a7 as numberToBytes, a8 as numberToHex, a9 as pad, aa as padBytes, ab as padHex, ac as parseEther, ad as parseGwei, ae as parseUnit, at as rpc, af as size, ag as slice, ah as sliceBytes, ai as sliceHex, aj as stringToBytes, ak as stringToHex, al as stringify, am as toBytes, an as toHex, ao as toRlp, ap as trim, aq as weiUnits } from '../parseGwei-
|
5
|
-
export { d as defineChain } from '../chain-
|
6
|
-
import { C as CallArgs, E as EstimateGasArgs } from '../createPublicClient-
|
7
|
-
export { B as BlockFormatter, F as FormattedBlock, b as FormattedTransactionReceipt, T as TransactionReceiptFormatter, d as defineBlock, e as defineTransactionReceipt, f as formatBlock } from '../createPublicClient-
|
8
|
-
import { V as Formatter, C as Chain } from '../chain-
|
9
|
-
export { J as ExtractFormatter, K as Formatted, M as FormattedTransaction, N as TransactionFormatter, ad as defineFormatter, O as defineTransaction, ae as format, P as formatTransaction, Q as transactionType } from '../chain-
|
10
|
-
import { S as SendTransactionArgs } from '../wallet-
|
11
|
-
export { F as FormattedTransactionRequest, T as TransactionRequestFormatter, d as defineTransactionRequest, f as formatTransactionRequest } from '../wallet-
|
1
|
+
export { D as DecodeAbiArgs, a as DecodeErrorResultArgs, b as DecodeErrorResultResponse, c as DecodeEventLogArgs, d as DecodeEventLogResponse, e as DecodeFunctionDataArgs, f as DecodeFunctionResultArgs, g as DecodeFunctionResultResponse, E as EncodeAbiArgs, h as EncodeDeployDataArgs, i as EncodeErrorResultArgs, j as EncodeEventTopicsArgs, k as EncodeFunctionDataArgs, l as EncodeFunctionResultArgs, G as GetAbiItemArgs, m as decodeAbi, n as decodeErrorResult, o as decodeEventLog, p as decodeFunctionData, q as decodeFunctionResult, r as encodeAbi, s as encodeDeployData, t as encodeErrorResult, u as encodeEventTopics, v as encodeFunctionData, w as encodeFunctionResult, x as getAbiItem } from '../getAbiItem-d7aa40b1.js';
|
2
|
+
export { a as formatAbiItem, f as formatAbiItemWithArgs } from '../formatAbiItem-6e00e5e6.js';
|
3
|
+
import { B as BaseError, C as CallExecutionError, E as EstimateGasExecutionError, d as ExecutionRevertedError, F as FeeCapTooHighError, e as FeeCapTooLowError, h as NonceTooHighError, i as NonceTooLowError, N as NonceMaxValueError, I as InsufficientFundsError, f as IntrinsicGasTooHighError, g as IntrinsicGasTooLowError, l as TransactionTypeNotSupportedError, T as TipAboveFeeCapError, U as UnknownNodeError, k as TransactionExecutionError } from '../parseGwei-ce3a9dfa.js';
|
4
|
+
export { G as GetContractAddressOptions, o as GetCreate2AddressOptions, p as GetCreateAddressOptions, H as HttpOptions, R as RpcResponse, ar as Socket, q as ToRlpResponse, r as boolToBytes, s as boolToHex, t as bytesToBigint, u as bytesToBool, v as bytesToHex, w as bytesToNumber, x as bytesToString, y as etherUnits, z as formatEther, A as formatGwei, D as formatUnit, J as fromBytes, K as fromHex, L as fromRlp, M as getAddress, O as getContractAddress, P as getContractError, Q as getCreate2Address, S as getCreateAddress, V as getEventSelector, X as getFunctionSelector, as as getSocket, Y as gweiUnits, Z as hexToBigInt, _ as hexToBool, $ as hexToBytes, a0 as hexToNumber, a1 as hexToString, a2 as isAddress, a3 as isAddressEqual, a4 as isBytes, a5 as isHex, a6 as keccak256, a7 as numberToBytes, a8 as numberToHex, a9 as pad, aa as padBytes, ab as padHex, ac as parseEther, ad as parseGwei, ae as parseUnit, at as rpc, af as size, ag as slice, ah as sliceBytes, ai as sliceHex, aj as stringToBytes, ak as stringToHex, al as stringify, am as toBytes, an as toHex, ao as toRlp, ap as trim, aq as weiUnits } from '../parseGwei-ce3a9dfa.js';
|
5
|
+
export { d as defineChain } from '../chain-ce6e149c.js';
|
6
|
+
import { C as CallArgs, E as EstimateGasArgs } from '../createPublicClient-b5afe6b8.js';
|
7
|
+
export { B as BlockFormatter, F as FormattedBlock, b as FormattedTransactionReceipt, T as TransactionReceiptFormatter, d as defineBlock, e as defineTransactionReceipt, f as formatBlock } from '../createPublicClient-b5afe6b8.js';
|
8
|
+
import { V as Formatter, C as Chain } from '../chain-4a0d4164.js';
|
9
|
+
export { J as ExtractFormatter, K as Formatted, M as FormattedTransaction, N as TransactionFormatter, ad as defineFormatter, O as defineTransaction, ae as format, P as formatTransaction, Q as transactionType } from '../chain-4a0d4164.js';
|
10
|
+
import { S as SendTransactionArgs } from '../wallet-5ab86528.js';
|
11
|
+
export { F as FormattedTransactionRequest, T as TransactionRequestFormatter, d as defineTransactionRequest, f as formatTransactionRequest } from '../wallet-5ab86528.js';
|
12
12
|
import 'abitype';
|
13
13
|
import 'abitype/dist/abi-78346466';
|
14
14
|
import 'isomorphic-ws';
|
15
|
-
import '../eip1193-
|
16
|
-
import '../createClient-
|
15
|
+
import '../eip1193-8c021438.js';
|
16
|
+
import '../createClient-8a8b4bf4.js';
|
17
17
|
import '@wagmi/chains';
|
18
18
|
import 'ethers@6/types/providers';
|
19
19
|
|
@@ -42,7 +42,7 @@ declare function extract(value: Record<string, unknown>, { formatter }: {
|
|
42
42
|
formatter?: Formatter;
|
43
43
|
}): {};
|
44
44
|
|
45
|
-
declare function assertRequest(args: SendTransactionArgs<
|
45
|
+
declare function assertRequest(args: Partial<SendTransactionArgs<Chain>>): void;
|
46
46
|
|
47
47
|
declare function getCallError(err: BaseError, { docsPath, ...args }: CallArgs & {
|
48
48
|
chain?: Chain;
|