viem 0.1.21 → 0.1.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abi.js +2 -2
- package/dist/abi.mjs +1 -1
- package/dist/chains.js +63 -63
- package/dist/chains.mjs +1 -1
- package/dist/{chunk-PCOB33JR.mjs → chunk-5U4GHDFC.mjs} +2 -2
- package/dist/{chunk-M5K2FJOM.js → chunk-BGUMUWIE.js} +4 -4
- package/dist/chunk-BGUMUWIE.js.map +1 -0
- package/dist/{chunk-YYL4XXAP.js → chunk-JI5BLUJI.js} +19 -19
- package/dist/{chunk-HZ3XNLWB.mjs → chunk-N4453NXA.mjs} +4 -4
- package/dist/chunk-N4453NXA.mjs.map +1 -0
- package/dist/contract.js +2 -2
- package/dist/contract.mjs +1 -1
- package/dist/ens.js +3 -3
- package/dist/ens.mjs +2 -2
- package/dist/ethers.js +3 -3
- package/dist/ethers.mjs +1 -1
- package/dist/index.js +90 -90
- package/dist/index.mjs +2 -2
- 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-HZ3XNLWB.mjs.map +0 -1
- package/dist/chunk-M5K2FJOM.js.map +0 -1
- /package/dist/{chunk-PCOB33JR.mjs.map → chunk-5U4GHDFC.mjs.map} +0 -0
- /package/dist/{chunk-YYL4XXAP.js.map → chunk-JI5BLUJI.js.map} +0 -0
package/dist/contract.js
CHANGED
@@ -23,7 +23,7 @@
|
|
23
23
|
|
24
24
|
|
25
25
|
|
26
|
-
var
|
26
|
+
var _chunkBGUMUWIEjs = require('./chunk-BGUMUWIE.js');
|
27
27
|
|
28
28
|
|
29
29
|
|
@@ -49,5 +49,5 @@ var _chunkM5K2FJOMjs = require('./chunk-M5K2FJOM.js');
|
|
49
49
|
|
50
50
|
|
51
51
|
|
52
|
-
exports.createContractEventFilter =
|
52
|
+
exports.createContractEventFilter = _chunkBGUMUWIEjs.createContractEventFilter; exports.decodeAbiParameters = _chunkBGUMUWIEjs.decodeAbiParameters; exports.decodeErrorResult = _chunkBGUMUWIEjs.decodeErrorResult; exports.decodeEventLog = _chunkBGUMUWIEjs.decodeEventLog; exports.decodeFunctionData = _chunkBGUMUWIEjs.decodeFunctionData; exports.decodeFunctionResult = _chunkBGUMUWIEjs.decodeFunctionResult; exports.deployContract = _chunkBGUMUWIEjs.deployContract; exports.encodeAbiParameters = _chunkBGUMUWIEjs.encodeAbiParameters; exports.encodeDeployData = _chunkBGUMUWIEjs.encodeDeployData; exports.encodeErrorResult = _chunkBGUMUWIEjs.encodeErrorResult; exports.encodeEventTopics = _chunkBGUMUWIEjs.encodeEventTopics; exports.encodeFunctionData = _chunkBGUMUWIEjs.encodeFunctionData; exports.encodeFunctionResult = _chunkBGUMUWIEjs.encodeFunctionResult; exports.estimateContractGas = _chunkBGUMUWIEjs.estimateContractGas; exports.formatAbiItem = _chunkBGUMUWIEjs.formatAbiItem; exports.formatAbiItemWithArgs = _chunkBGUMUWIEjs.formatAbiItemWithArgs; exports.getAbiItem = _chunkBGUMUWIEjs.getAbiItem; exports.getBytecode = _chunkBGUMUWIEjs.getBytecode; exports.getStorageAt = _chunkBGUMUWIEjs.getStorageAt; exports.multicall = _chunkBGUMUWIEjs.multicall; exports.readContract = _chunkBGUMUWIEjs.readContract; exports.simulateContract = _chunkBGUMUWIEjs.simulateContract; exports.watchContractEvent = _chunkBGUMUWIEjs.watchContractEvent; exports.writeContract = _chunkBGUMUWIEjs.writeContract;
|
53
53
|
//# sourceMappingURL=contract.js.map
|
package/dist/contract.mjs
CHANGED
package/dist/ens.js
CHANGED
@@ -3,8 +3,8 @@
|
|
3
3
|
|
4
4
|
|
5
5
|
|
6
|
-
var
|
7
|
-
require('./chunk-
|
6
|
+
var _chunkJI5BLUJIjs = require('./chunk-JI5BLUJI.js');
|
7
|
+
require('./chunk-BGUMUWIE.js');
|
8
8
|
|
9
9
|
// src/utils/ens/normalize.ts
|
10
10
|
var _idnauts46hx = require('idna-uts46-hx');
|
@@ -17,5 +17,5 @@ function normalize(name) {
|
|
17
17
|
|
18
18
|
|
19
19
|
|
20
|
-
exports.getEnsAddress =
|
20
|
+
exports.getEnsAddress = _chunkJI5BLUJIjs.getEnsAddress; exports.getEnsName = _chunkJI5BLUJIjs.getEnsName; exports.labelhash = _chunkJI5BLUJIjs.labelhash; exports.namehash = _chunkJI5BLUJIjs.namehash; exports.normalize = normalize;
|
21
21
|
//# sourceMappingURL=ens.js.map
|
package/dist/ens.mjs
CHANGED
package/dist/ethers.js
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
2
2
|
|
3
3
|
|
4
|
-
var
|
4
|
+
var _chunkBGUMUWIEjs = require('./chunk-BGUMUWIE.js');
|
5
5
|
|
6
6
|
// src/adapters/ethers.ts
|
7
|
-
var getAccount2 = (wallet) =>
|
7
|
+
var getAccount2 = (wallet) => _chunkBGUMUWIEjs.getAccount.call(void 0, {
|
8
8
|
address: wallet.address,
|
9
9
|
async signMessage(message) {
|
10
|
-
return await wallet.signMessage(
|
10
|
+
return await wallet.signMessage(_chunkBGUMUWIEjs.toBytes.call(void 0, message));
|
11
11
|
},
|
12
12
|
async signTransaction(txn) {
|
13
13
|
return await wallet.signTransaction({
|
package/dist/ethers.mjs
CHANGED
package/dist/index.js
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
|
5
5
|
|
6
|
-
var
|
6
|
+
var _chunkJI5BLUJIjs = require('./chunk-JI5BLUJI.js');
|
7
7
|
|
8
8
|
|
9
9
|
|
@@ -245,7 +245,7 @@ var _chunkYYL4XXAPjs = require('./chunk-YYL4XXAP.js');
|
|
245
245
|
|
246
246
|
|
247
247
|
|
248
|
-
var
|
248
|
+
var _chunkBGUMUWIEjs = require('./chunk-BGUMUWIE.js');
|
249
249
|
|
250
250
|
// src/clients/transports/createTransport.ts
|
251
251
|
function createTransport({
|
@@ -259,7 +259,7 @@ function createTransport({
|
|
259
259
|
}, value) {
|
260
260
|
return {
|
261
261
|
config: { key, name, request, retryCount, retryDelay, timeout, type },
|
262
|
-
request:
|
262
|
+
request: _chunkBGUMUWIEjs.buildRequest.call(void 0, request, { retryCount, retryDelay }),
|
263
263
|
value
|
264
264
|
};
|
265
265
|
}
|
@@ -293,7 +293,7 @@ function fallback(transports, config = {}) {
|
|
293
293
|
params
|
294
294
|
});
|
295
295
|
} catch (err) {
|
296
|
-
if (
|
296
|
+
if (_chunkBGUMUWIEjs.isDeterministicError.call(void 0, err))
|
297
297
|
throw err;
|
298
298
|
if (i === transports.length - 1)
|
299
299
|
throw err;
|
@@ -327,13 +327,13 @@ function http(url, config = {}) {
|
|
327
327
|
const retryCount = _nullishCoalesce(config.retryCount, () => ( defaultRetryCount));
|
328
328
|
const url_ = url || _optionalChain([chain, 'optionalAccess', _ => _.rpcUrls, 'access', _2 => _2.default, 'access', _3 => _3.http, 'access', _4 => _4[0]]);
|
329
329
|
if (!url_)
|
330
|
-
throw new (0,
|
330
|
+
throw new (0, _chunkBGUMUWIEjs.UrlRequiredError)();
|
331
331
|
return createTransport(
|
332
332
|
{
|
333
333
|
key,
|
334
334
|
name,
|
335
335
|
async request({ method, params }) {
|
336
|
-
const { result } = await
|
336
|
+
const { result } = await _chunkBGUMUWIEjs.rpc.http(url_, {
|
337
337
|
body: {
|
338
338
|
method,
|
339
339
|
params
|
@@ -367,14 +367,14 @@ function webSocket(url, config = {}) {
|
|
367
367
|
const retryCount = _nullishCoalesce(config.retryCount, () => ( defaultRetryCount));
|
368
368
|
const url_ = url || _optionalChain([chain, 'optionalAccess', _5 => _5.rpcUrls, 'access', _6 => _6.default, 'access', _7 => _7.webSocket, 'optionalAccess', _8 => _8[0]]);
|
369
369
|
if (!url_)
|
370
|
-
throw new (0,
|
370
|
+
throw new (0, _chunkBGUMUWIEjs.UrlRequiredError)();
|
371
371
|
return createTransport(
|
372
372
|
{
|
373
373
|
key,
|
374
374
|
name,
|
375
375
|
async request({ method, params }) {
|
376
|
-
const socket = await
|
377
|
-
const { result } = await
|
376
|
+
const socket = await _chunkBGUMUWIEjs.getSocket.call(void 0, url_);
|
377
|
+
const { result } = await _chunkBGUMUWIEjs.rpc.webSocketAsync(socket, {
|
378
378
|
body: { method, params },
|
379
379
|
timeout
|
380
380
|
});
|
@@ -387,12 +387,12 @@ function webSocket(url, config = {}) {
|
|
387
387
|
},
|
388
388
|
{
|
389
389
|
getSocket() {
|
390
|
-
return
|
390
|
+
return _chunkBGUMUWIEjs.getSocket.call(void 0, url_);
|
391
391
|
},
|
392
392
|
async subscribe({ params, onData, onError }) {
|
393
|
-
const socket = await
|
393
|
+
const socket = await _chunkBGUMUWIEjs.getSocket.call(void 0, url_);
|
394
394
|
const { result: subscriptionId } = await new Promise(
|
395
|
-
(resolve, reject) =>
|
395
|
+
(resolve, reject) => _chunkBGUMUWIEjs.rpc.webSocket(socket, {
|
396
396
|
body: {
|
397
397
|
method: "eth_subscribe",
|
398
398
|
params
|
@@ -414,7 +414,7 @@ function webSocket(url, config = {}) {
|
|
414
414
|
subscriptionId,
|
415
415
|
async unsubscribe() {
|
416
416
|
return new Promise(
|
417
|
-
(resolve, reject) =>
|
417
|
+
(resolve, reject) => _chunkBGUMUWIEjs.rpc.webSocket(socket, {
|
418
418
|
body: {
|
419
419
|
method: "eth_unsubscribe",
|
420
420
|
params: [subscriptionId]
|
@@ -470,90 +470,90 @@ function createClient({
|
|
470
470
|
|
471
471
|
// src/clients/decorators/public.ts
|
472
472
|
var publicActions = (client) => ({
|
473
|
-
call: (args) =>
|
474
|
-
createBlockFilter: () =>
|
475
|
-
createContractEventFilter: (args) =>
|
476
|
-
createEventFilter: (args) =>
|
477
|
-
createPendingTransactionFilter: () =>
|
478
|
-
estimateContractGas: (args) =>
|
479
|
-
estimateGas: (args) =>
|
480
|
-
getBalance: (args) =>
|
481
|
-
getBlock: (args) =>
|
482
|
-
getBlockNumber: (args) =>
|
483
|
-
getBlockTransactionCount: (args) =>
|
484
|
-
getBytecode: (args) =>
|
485
|
-
getChainId: () =>
|
486
|
-
getEnsAddress: (args) =>
|
487
|
-
getEnsName: (args) =>
|
488
|
-
getFeeHistory: (args) =>
|
489
|
-
getFilterChanges: (args) =>
|
490
|
-
getFilterLogs: (args) =>
|
491
|
-
getGasPrice: () =>
|
492
|
-
getLogs: (args) =>
|
493
|
-
getStorageAt: (args) =>
|
494
|
-
getTransaction: (args) =>
|
495
|
-
getTransactionConfirmations: (args) =>
|
496
|
-
getTransactionCount: (args) =>
|
497
|
-
getTransactionReceipt: (args) =>
|
498
|
-
multicall: (args) =>
|
499
|
-
readContract: (args) =>
|
500
|
-
simulateContract: (args) =>
|
501
|
-
uninstallFilter: (args) =>
|
502
|
-
waitForTransactionReceipt: (args) =>
|
503
|
-
watchBlocks: (args) =>
|
504
|
-
watchBlockNumber: (args) =>
|
505
|
-
watchContractEvent: (args) =>
|
506
|
-
watchEvent: (args) =>
|
507
|
-
watchPendingTransactions: (args) =>
|
473
|
+
call: (args) => _chunkBGUMUWIEjs.call.call(void 0, client, args),
|
474
|
+
createBlockFilter: () => _chunkBGUMUWIEjs.createBlockFilter.call(void 0, client),
|
475
|
+
createContractEventFilter: (args) => _chunkBGUMUWIEjs.createContractEventFilter.call(void 0, client, args),
|
476
|
+
createEventFilter: (args) => _chunkBGUMUWIEjs.createEventFilter.call(void 0, client, args),
|
477
|
+
createPendingTransactionFilter: () => _chunkBGUMUWIEjs.createPendingTransactionFilter.call(void 0, client),
|
478
|
+
estimateContractGas: (args) => _chunkBGUMUWIEjs.estimateContractGas.call(void 0, client, args),
|
479
|
+
estimateGas: (args) => _chunkBGUMUWIEjs.estimateGas.call(void 0, client, args),
|
480
|
+
getBalance: (args) => _chunkBGUMUWIEjs.getBalance.call(void 0, client, args),
|
481
|
+
getBlock: (args) => _chunkBGUMUWIEjs.getBlock.call(void 0, client, args),
|
482
|
+
getBlockNumber: (args) => _chunkBGUMUWIEjs.getBlockNumber.call(void 0, client, args),
|
483
|
+
getBlockTransactionCount: (args) => _chunkBGUMUWIEjs.getBlockTransactionCount.call(void 0, client, args),
|
484
|
+
getBytecode: (args) => _chunkBGUMUWIEjs.getBytecode.call(void 0, client, args),
|
485
|
+
getChainId: () => _chunkBGUMUWIEjs.getChainId.call(void 0, client),
|
486
|
+
getEnsAddress: (args) => _chunkJI5BLUJIjs.getEnsAddress.call(void 0, client, args),
|
487
|
+
getEnsName: (args) => _chunkJI5BLUJIjs.getEnsName.call(void 0, client, args),
|
488
|
+
getFeeHistory: (args) => _chunkBGUMUWIEjs.getFeeHistory.call(void 0, client, args),
|
489
|
+
getFilterChanges: (args) => _chunkBGUMUWIEjs.getFilterChanges.call(void 0, client, args),
|
490
|
+
getFilterLogs: (args) => _chunkBGUMUWIEjs.getFilterLogs.call(void 0, client, args),
|
491
|
+
getGasPrice: () => _chunkBGUMUWIEjs.getGasPrice.call(void 0, client),
|
492
|
+
getLogs: (args) => _chunkBGUMUWIEjs.getLogs.call(void 0, client, args),
|
493
|
+
getStorageAt: (args) => _chunkBGUMUWIEjs.getStorageAt.call(void 0, client, args),
|
494
|
+
getTransaction: (args) => _chunkBGUMUWIEjs.getTransaction.call(void 0, client, args),
|
495
|
+
getTransactionConfirmations: (args) => _chunkBGUMUWIEjs.getTransactionConfirmations.call(void 0, client, args),
|
496
|
+
getTransactionCount: (args) => _chunkBGUMUWIEjs.getTransactionCount.call(void 0, client, args),
|
497
|
+
getTransactionReceipt: (args) => _chunkBGUMUWIEjs.getTransactionReceipt.call(void 0, client, args),
|
498
|
+
multicall: (args) => _chunkBGUMUWIEjs.multicall.call(void 0, client, args),
|
499
|
+
readContract: (args) => _chunkBGUMUWIEjs.readContract.call(void 0, client, args),
|
500
|
+
simulateContract: (args) => _chunkBGUMUWIEjs.simulateContract.call(void 0, client, args),
|
501
|
+
uninstallFilter: (args) => _chunkBGUMUWIEjs.uninstallFilter.call(void 0, client, args),
|
502
|
+
waitForTransactionReceipt: (args) => _chunkBGUMUWIEjs.waitForTransactionReceipt.call(void 0, client, args),
|
503
|
+
watchBlocks: (args) => _chunkBGUMUWIEjs.watchBlocks.call(void 0, client, args),
|
504
|
+
watchBlockNumber: (args) => _chunkBGUMUWIEjs.watchBlockNumber.call(void 0, client, args),
|
505
|
+
watchContractEvent: (args) => _chunkBGUMUWIEjs.watchContractEvent.call(void 0, client, args),
|
506
|
+
watchEvent: (args) => _chunkBGUMUWIEjs.watchEvent.call(void 0, client, args),
|
507
|
+
watchPendingTransactions: (args) => _chunkBGUMUWIEjs.watchPendingTransactions.call(void 0, client, args)
|
508
508
|
});
|
509
509
|
|
510
510
|
// src/clients/decorators/test.ts
|
511
511
|
var testActions = (client) => ({
|
512
|
-
dropTransaction: (args) =>
|
513
|
-
getAutomine: () =>
|
514
|
-
getTxpoolContent: () =>
|
515
|
-
getTxpoolStatus: () =>
|
516
|
-
impersonateAccount: (args) =>
|
517
|
-
increaseTime: (args) =>
|
518
|
-
inspectTxpool: () =>
|
519
|
-
mine: (args) =>
|
520
|
-
removeBlockTimestampInterval: () =>
|
521
|
-
reset: (args) =>
|
522
|
-
revert: (args) =>
|
523
|
-
sendUnsignedTransaction: (args) =>
|
524
|
-
setAutomine: (args) =>
|
525
|
-
setBalance: (args) =>
|
526
|
-
setBlockGasLimit: (args) =>
|
527
|
-
setBlockTimestampInterval: (args) =>
|
528
|
-
setCode: (args) =>
|
529
|
-
setCoinbase: (args) =>
|
530
|
-
setIntervalMining: (args) =>
|
531
|
-
setLoggingEnabled: (args) =>
|
532
|
-
setMinGasPrice: (args) =>
|
533
|
-
setNextBlockBaseFeePerGas: (args) =>
|
534
|
-
setNextBlockTimestamp: (args) =>
|
535
|
-
setNonce: (args) =>
|
536
|
-
setRpcUrl: (args) =>
|
537
|
-
setStorageAt: (args) =>
|
538
|
-
snapshot: () =>
|
539
|
-
stopImpersonatingAccount: (args) =>
|
512
|
+
dropTransaction: (args) => _chunkBGUMUWIEjs.dropTransaction.call(void 0, client, args),
|
513
|
+
getAutomine: () => _chunkBGUMUWIEjs.getAutomine.call(void 0, client),
|
514
|
+
getTxpoolContent: () => _chunkBGUMUWIEjs.getTxpoolContent.call(void 0, client),
|
515
|
+
getTxpoolStatus: () => _chunkBGUMUWIEjs.getTxpoolStatus.call(void 0, client),
|
516
|
+
impersonateAccount: (args) => _chunkBGUMUWIEjs.impersonateAccount.call(void 0, client, args),
|
517
|
+
increaseTime: (args) => _chunkBGUMUWIEjs.increaseTime.call(void 0, client, args),
|
518
|
+
inspectTxpool: () => _chunkBGUMUWIEjs.inspectTxpool.call(void 0, client),
|
519
|
+
mine: (args) => _chunkBGUMUWIEjs.mine.call(void 0, client, args),
|
520
|
+
removeBlockTimestampInterval: () => _chunkBGUMUWIEjs.removeBlockTimestampInterval.call(void 0, client),
|
521
|
+
reset: (args) => _chunkBGUMUWIEjs.reset.call(void 0, client, args),
|
522
|
+
revert: (args) => _chunkBGUMUWIEjs.revert.call(void 0, client, args),
|
523
|
+
sendUnsignedTransaction: (args) => _chunkBGUMUWIEjs.sendUnsignedTransaction.call(void 0, client, args),
|
524
|
+
setAutomine: (args) => _chunkBGUMUWIEjs.setAutomine.call(void 0, client, args),
|
525
|
+
setBalance: (args) => _chunkBGUMUWIEjs.setBalance.call(void 0, client, args),
|
526
|
+
setBlockGasLimit: (args) => _chunkBGUMUWIEjs.setBlockGasLimit.call(void 0, client, args),
|
527
|
+
setBlockTimestampInterval: (args) => _chunkBGUMUWIEjs.setBlockTimestampInterval.call(void 0, client, args),
|
528
|
+
setCode: (args) => _chunkBGUMUWIEjs.setCode.call(void 0, client, args),
|
529
|
+
setCoinbase: (args) => _chunkBGUMUWIEjs.setCoinbase.call(void 0, client, args),
|
530
|
+
setIntervalMining: (args) => _chunkBGUMUWIEjs.setIntervalMining.call(void 0, client, args),
|
531
|
+
setLoggingEnabled: (args) => _chunkBGUMUWIEjs.setLoggingEnabled.call(void 0, client, args),
|
532
|
+
setMinGasPrice: (args) => _chunkBGUMUWIEjs.setMinGasPrice.call(void 0, client, args),
|
533
|
+
setNextBlockBaseFeePerGas: (args) => _chunkBGUMUWIEjs.setNextBlockBaseFeePerGas.call(void 0, client, args),
|
534
|
+
setNextBlockTimestamp: (args) => _chunkBGUMUWIEjs.setNextBlockTimestamp.call(void 0, client, args),
|
535
|
+
setNonce: (args) => _chunkBGUMUWIEjs.setNonce.call(void 0, client, args),
|
536
|
+
setRpcUrl: (args) => _chunkBGUMUWIEjs.setRpcUrl.call(void 0, client, args),
|
537
|
+
setStorageAt: (args) => _chunkBGUMUWIEjs.setStorageAt.call(void 0, client, args),
|
538
|
+
snapshot: () => _chunkBGUMUWIEjs.snapshot.call(void 0, client),
|
539
|
+
stopImpersonatingAccount: (args) => _chunkBGUMUWIEjs.stopImpersonatingAccount.call(void 0, client, args)
|
540
540
|
});
|
541
541
|
|
542
542
|
// src/clients/decorators/wallet.ts
|
543
543
|
var walletActions = (client) => ({
|
544
|
-
addChain: (args) =>
|
545
|
-
deployContract: (args) =>
|
546
|
-
getAddresses: () =>
|
547
|
-
getChainId: () =>
|
548
|
-
getPermissions: () =>
|
549
|
-
requestAddresses: () =>
|
550
|
-
requestPermissions: (args) =>
|
551
|
-
sendTransaction: (args) =>
|
552
|
-
signMessage: (args) =>
|
553
|
-
signTypedData: (args) =>
|
554
|
-
switchChain: (args) =>
|
555
|
-
watchAsset: (args) =>
|
556
|
-
writeContract: (args) =>
|
544
|
+
addChain: (args) => _chunkBGUMUWIEjs.addChain.call(void 0, client, args),
|
545
|
+
deployContract: (args) => _chunkBGUMUWIEjs.deployContract.call(void 0, client, args),
|
546
|
+
getAddresses: () => _chunkBGUMUWIEjs.getAddresses.call(void 0, client),
|
547
|
+
getChainId: () => _chunkBGUMUWIEjs.getChainId.call(void 0, client),
|
548
|
+
getPermissions: () => _chunkBGUMUWIEjs.getPermissions.call(void 0, client),
|
549
|
+
requestAddresses: () => _chunkBGUMUWIEjs.requestAddresses.call(void 0, client),
|
550
|
+
requestPermissions: (args) => _chunkBGUMUWIEjs.requestPermissions.call(void 0, client, args),
|
551
|
+
sendTransaction: (args) => _chunkBGUMUWIEjs.sendTransaction.call(void 0, client, args),
|
552
|
+
signMessage: (args) => _chunkBGUMUWIEjs.signMessage.call(void 0, client, args),
|
553
|
+
signTypedData: (args) => _chunkBGUMUWIEjs.signTypedData.call(void 0, client, args),
|
554
|
+
switchChain: (args) => _chunkBGUMUWIEjs.switchChain.call(void 0, client, args),
|
555
|
+
watchAsset: (args) => _chunkBGUMUWIEjs.watchAsset.call(void 0, client, args),
|
556
|
+
writeContract: (args) => _chunkBGUMUWIEjs.writeContract.call(void 0, client, args)
|
557
557
|
});
|
558
558
|
|
559
559
|
// src/clients/createPublicClient.ts
|
@@ -800,5 +800,5 @@ function createWalletClient({
|
|
800
800
|
|
801
801
|
|
802
802
|
|
803
|
-
exports.AbiConstructorNotFoundError = _chunkM5K2FJOMjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkM5K2FJOMjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkM5K2FJOMjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkM5K2FJOMjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkM5K2FJOMjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkM5K2FJOMjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkM5K2FJOMjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkM5K2FJOMjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkM5K2FJOMjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkM5K2FJOMjs.AbiEventNotFoundError; exports.AbiEventSignatureEmptyTopicsError = _chunkM5K2FJOMjs.AbiEventSignatureEmptyTopicsError; exports.AbiEventSignatureNotFoundError = _chunkM5K2FJOMjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkM5K2FJOMjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkM5K2FJOMjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkM5K2FJOMjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkM5K2FJOMjs.BaseError; exports.BlockNotFoundError = _chunkM5K2FJOMjs.BlockNotFoundError; exports.CallExecutionError = _chunkM5K2FJOMjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkM5K2FJOMjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkM5K2FJOMjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkM5K2FJOMjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkM5K2FJOMjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkM5K2FJOMjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkM5K2FJOMjs.DataLengthTooShortError; exports.DecodeLogTopicsMismatch = _chunkM5K2FJOMjs.DecodeLogTopicsMismatch; exports.EstimateGasExecutionError = _chunkM5K2FJOMjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkM5K2FJOMjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkM5K2FJOMjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkM5K2FJOMjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkM5K2FJOMjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkM5K2FJOMjs.HttpRequestError; exports.InsufficientFundsError = _chunkM5K2FJOMjs.InsufficientFundsError; exports.InternalRpcError = _chunkM5K2FJOMjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkM5K2FJOMjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkM5K2FJOMjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkM5K2FJOMjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkM5K2FJOMjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkM5K2FJOMjs.InvalidAddressError; exports.InvalidArrayError = _chunkM5K2FJOMjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkM5K2FJOMjs.InvalidBytesBooleanError; exports.InvalidDefinitionTypeError = _chunkM5K2FJOMjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkM5K2FJOMjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkM5K2FJOMjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkM5K2FJOMjs.InvalidInputRpcError; exports.InvalidParamsRpcError = _chunkM5K2FJOMjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkM5K2FJOMjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkM5K2FJOMjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkM5K2FJOMjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkM5K2FJOMjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkM5K2FJOMjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkM5K2FJOMjs.NonceMaxValueError; exports.NonceTooHighError = _chunkM5K2FJOMjs.NonceTooHighError; exports.NonceTooLowError = _chunkM5K2FJOMjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkM5K2FJOMjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkM5K2FJOMjs.ParseRpcError; exports.RawContractError = _chunkM5K2FJOMjs.RawContractError; exports.RequestError = _chunkM5K2FJOMjs.RequestError; exports.ResourceNotFoundRpcError = _chunkM5K2FJOMjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkM5K2FJOMjs.ResourceUnavailableRpcError; exports.RpcError = _chunkM5K2FJOMjs.RpcError; exports.RpcRequestError = _chunkM5K2FJOMjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkM5K2FJOMjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkM5K2FJOMjs.SwitchChainError; exports.TimeoutError = _chunkM5K2FJOMjs.TimeoutError; exports.TipAboveFeeCapError = _chunkM5K2FJOMjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkM5K2FJOMjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkM5K2FJOMjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkM5K2FJOMjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkM5K2FJOMjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkM5K2FJOMjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkM5K2FJOMjs.UnknownNodeError; exports.UnknownRpcError = _chunkM5K2FJOMjs.UnknownRpcError; exports.UrlRequiredError = _chunkM5K2FJOMjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkM5K2FJOMjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkM5K2FJOMjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkM5K2FJOMjs.WebSocketRequestError; exports.boolToBytes = _chunkM5K2FJOMjs.boolToBytes; exports.boolToHex = _chunkM5K2FJOMjs.boolToHex; exports.bytesToBigint = _chunkM5K2FJOMjs.bytesToBigint; exports.bytesToBool = _chunkM5K2FJOMjs.bytesToBool; exports.bytesToHex = _chunkM5K2FJOMjs.bytesToHex; exports.bytesToNumber = _chunkM5K2FJOMjs.bytesToNumber; exports.bytesToString = _chunkM5K2FJOMjs.bytesToString; exports.concat = _chunkM5K2FJOMjs.concat; exports.concatBytes = _chunkM5K2FJOMjs.concatBytes; exports.concatHex = _chunkM5K2FJOMjs.concatHex; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkM5K2FJOMjs.decodeAbiParameters; exports.decodeErrorResult = _chunkM5K2FJOMjs.decodeErrorResult; exports.decodeEventLog = _chunkM5K2FJOMjs.decodeEventLog; exports.decodeFunctionData = _chunkM5K2FJOMjs.decodeFunctionData; exports.decodeFunctionResult = _chunkM5K2FJOMjs.decodeFunctionResult; exports.defineBlock = _chunkM5K2FJOMjs.defineBlock; exports.defineChain = _chunkM5K2FJOMjs.defineChain; exports.defineTransaction = _chunkM5K2FJOMjs.defineTransaction; exports.defineTransactionReceipt = _chunkM5K2FJOMjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkM5K2FJOMjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkM5K2FJOMjs.encodeAbiParameters; exports.encodeDeployData = _chunkM5K2FJOMjs.encodeDeployData; exports.encodeErrorResult = _chunkM5K2FJOMjs.encodeErrorResult; exports.encodeEventTopics = _chunkM5K2FJOMjs.encodeEventTopics; exports.encodeFunctionData = _chunkM5K2FJOMjs.encodeFunctionData; exports.encodeFunctionResult = _chunkM5K2FJOMjs.encodeFunctionResult; exports.encodePacked = _chunkM5K2FJOMjs.encodePacked; exports.etherUnits = _chunkM5K2FJOMjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkM5K2FJOMjs.formatBlock; exports.formatEther = _chunkM5K2FJOMjs.formatEther; exports.formatGwei = _chunkM5K2FJOMjs.formatGwei; exports.formatTransaction = _chunkM5K2FJOMjs.formatTransaction; exports.formatTransactionRequest = _chunkM5K2FJOMjs.formatTransactionRequest; exports.formatUnits = _chunkM5K2FJOMjs.formatUnits; exports.fromBytes = _chunkM5K2FJOMjs.fromBytes; exports.fromHex = _chunkM5K2FJOMjs.fromHex; exports.fromRlp = _chunkM5K2FJOMjs.fromRlp; exports.getAbiItem = _chunkM5K2FJOMjs.getAbiItem; exports.getAccount = _chunkM5K2FJOMjs.getAccount; exports.getAddress = _chunkM5K2FJOMjs.getAddress; exports.getContractAddress = _chunkM5K2FJOMjs.getContractAddress; exports.getContractError = _chunkM5K2FJOMjs.getContractError; exports.getCreate2Address = _chunkM5K2FJOMjs.getCreate2Address; exports.getCreateAddress = _chunkM5K2FJOMjs.getCreateAddress; exports.getEventSelector = _chunkM5K2FJOMjs.getEventSelector; exports.getFunctionSelector = _chunkM5K2FJOMjs.getFunctionSelector; exports.gweiUnits = _chunkM5K2FJOMjs.gweiUnits; exports.hashMessage = _chunkM5K2FJOMjs.hashMessage; exports.hexToBigInt = _chunkM5K2FJOMjs.hexToBigInt; exports.hexToBool = _chunkM5K2FJOMjs.hexToBool; exports.hexToBytes = _chunkM5K2FJOMjs.hexToBytes; exports.hexToNumber = _chunkM5K2FJOMjs.hexToNumber; exports.hexToString = _chunkM5K2FJOMjs.hexToString; exports.http = http; exports.isAddress = _chunkM5K2FJOMjs.isAddress; exports.isAddressEqual = _chunkM5K2FJOMjs.isAddressEqual; exports.isBytes = _chunkM5K2FJOMjs.isBytes; exports.isHex = _chunkM5K2FJOMjs.isHex; exports.keccak256 = _chunkM5K2FJOMjs.keccak256; exports.labelhash = _chunkYYL4XXAPjs.labelhash; exports.multicall3Abi = _chunkM5K2FJOMjs.multicall3Abi; exports.namehash = _chunkYYL4XXAPjs.namehash; exports.numberToBytes = _chunkM5K2FJOMjs.numberToBytes; exports.numberToHex = _chunkM5K2FJOMjs.numberToHex; exports.pad = _chunkM5K2FJOMjs.pad; exports.padBytes = _chunkM5K2FJOMjs.padBytes; exports.padHex = _chunkM5K2FJOMjs.padHex; exports.parseAbi = _chunkM5K2FJOMjs.parseAbi; exports.parseAbiItem = _chunkM5K2FJOMjs.parseAbiItem; exports.parseAbiParameter = _chunkM5K2FJOMjs.parseAbiParameter; exports.parseAbiParameters = _chunkM5K2FJOMjs.parseAbiParameters; exports.parseEther = _chunkM5K2FJOMjs.parseEther; exports.parseGwei = _chunkM5K2FJOMjs.parseGwei; exports.parseUnits = _chunkM5K2FJOMjs.parseUnits; exports.recoverAddress = _chunkM5K2FJOMjs.recoverAddress; exports.recoverMessageAddress = _chunkM5K2FJOMjs.recoverMessageAddress; exports.size = _chunkM5K2FJOMjs.size; exports.slice = _chunkM5K2FJOMjs.slice; exports.sliceBytes = _chunkM5K2FJOMjs.sliceBytes; exports.sliceHex = _chunkM5K2FJOMjs.sliceHex; exports.stringToBytes = _chunkM5K2FJOMjs.stringToBytes; exports.stringToHex = _chunkM5K2FJOMjs.stringToHex; exports.stringify = _chunkM5K2FJOMjs.stringify; exports.toBytes = _chunkM5K2FJOMjs.toBytes; exports.toHex = _chunkM5K2FJOMjs.toHex; exports.toRlp = _chunkM5K2FJOMjs.toRlp; exports.transactionType = _chunkM5K2FJOMjs.transactionType; exports.trim = _chunkM5K2FJOMjs.trim; exports.verifyMessage = _chunkM5K2FJOMjs.verifyMessage; exports.webSocket = webSocket; exports.weiUnits = _chunkM5K2FJOMjs.weiUnits;
|
803
|
+
exports.AbiConstructorNotFoundError = _chunkBGUMUWIEjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkBGUMUWIEjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkBGUMUWIEjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkBGUMUWIEjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkBGUMUWIEjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkBGUMUWIEjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkBGUMUWIEjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkBGUMUWIEjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkBGUMUWIEjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkBGUMUWIEjs.AbiEventNotFoundError; exports.AbiEventSignatureEmptyTopicsError = _chunkBGUMUWIEjs.AbiEventSignatureEmptyTopicsError; exports.AbiEventSignatureNotFoundError = _chunkBGUMUWIEjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkBGUMUWIEjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkBGUMUWIEjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkBGUMUWIEjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkBGUMUWIEjs.BaseError; exports.BlockNotFoundError = _chunkBGUMUWIEjs.BlockNotFoundError; exports.CallExecutionError = _chunkBGUMUWIEjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkBGUMUWIEjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkBGUMUWIEjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkBGUMUWIEjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkBGUMUWIEjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkBGUMUWIEjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkBGUMUWIEjs.DataLengthTooShortError; exports.DecodeLogTopicsMismatch = _chunkBGUMUWIEjs.DecodeLogTopicsMismatch; exports.EstimateGasExecutionError = _chunkBGUMUWIEjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkBGUMUWIEjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkBGUMUWIEjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkBGUMUWIEjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkBGUMUWIEjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkBGUMUWIEjs.HttpRequestError; exports.InsufficientFundsError = _chunkBGUMUWIEjs.InsufficientFundsError; exports.InternalRpcError = _chunkBGUMUWIEjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkBGUMUWIEjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkBGUMUWIEjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkBGUMUWIEjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkBGUMUWIEjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkBGUMUWIEjs.InvalidAddressError; exports.InvalidArrayError = _chunkBGUMUWIEjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkBGUMUWIEjs.InvalidBytesBooleanError; exports.InvalidDefinitionTypeError = _chunkBGUMUWIEjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkBGUMUWIEjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkBGUMUWIEjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkBGUMUWIEjs.InvalidInputRpcError; exports.InvalidParamsRpcError = _chunkBGUMUWIEjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkBGUMUWIEjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkBGUMUWIEjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkBGUMUWIEjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkBGUMUWIEjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkBGUMUWIEjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkBGUMUWIEjs.NonceMaxValueError; exports.NonceTooHighError = _chunkBGUMUWIEjs.NonceTooHighError; exports.NonceTooLowError = _chunkBGUMUWIEjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkBGUMUWIEjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkBGUMUWIEjs.ParseRpcError; exports.RawContractError = _chunkBGUMUWIEjs.RawContractError; exports.RequestError = _chunkBGUMUWIEjs.RequestError; exports.ResourceNotFoundRpcError = _chunkBGUMUWIEjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkBGUMUWIEjs.ResourceUnavailableRpcError; exports.RpcError = _chunkBGUMUWIEjs.RpcError; exports.RpcRequestError = _chunkBGUMUWIEjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkBGUMUWIEjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkBGUMUWIEjs.SwitchChainError; exports.TimeoutError = _chunkBGUMUWIEjs.TimeoutError; exports.TipAboveFeeCapError = _chunkBGUMUWIEjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkBGUMUWIEjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkBGUMUWIEjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkBGUMUWIEjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkBGUMUWIEjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkBGUMUWIEjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkBGUMUWIEjs.UnknownNodeError; exports.UnknownRpcError = _chunkBGUMUWIEjs.UnknownRpcError; exports.UrlRequiredError = _chunkBGUMUWIEjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkBGUMUWIEjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkBGUMUWIEjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkBGUMUWIEjs.WebSocketRequestError; exports.boolToBytes = _chunkBGUMUWIEjs.boolToBytes; exports.boolToHex = _chunkBGUMUWIEjs.boolToHex; exports.bytesToBigint = _chunkBGUMUWIEjs.bytesToBigint; exports.bytesToBool = _chunkBGUMUWIEjs.bytesToBool; exports.bytesToHex = _chunkBGUMUWIEjs.bytesToHex; exports.bytesToNumber = _chunkBGUMUWIEjs.bytesToNumber; exports.bytesToString = _chunkBGUMUWIEjs.bytesToString; exports.concat = _chunkBGUMUWIEjs.concat; exports.concatBytes = _chunkBGUMUWIEjs.concatBytes; exports.concatHex = _chunkBGUMUWIEjs.concatHex; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkBGUMUWIEjs.decodeAbiParameters; exports.decodeErrorResult = _chunkBGUMUWIEjs.decodeErrorResult; exports.decodeEventLog = _chunkBGUMUWIEjs.decodeEventLog; exports.decodeFunctionData = _chunkBGUMUWIEjs.decodeFunctionData; exports.decodeFunctionResult = _chunkBGUMUWIEjs.decodeFunctionResult; exports.defineBlock = _chunkBGUMUWIEjs.defineBlock; exports.defineChain = _chunkBGUMUWIEjs.defineChain; exports.defineTransaction = _chunkBGUMUWIEjs.defineTransaction; exports.defineTransactionReceipt = _chunkBGUMUWIEjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkBGUMUWIEjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkBGUMUWIEjs.encodeAbiParameters; exports.encodeDeployData = _chunkBGUMUWIEjs.encodeDeployData; exports.encodeErrorResult = _chunkBGUMUWIEjs.encodeErrorResult; exports.encodeEventTopics = _chunkBGUMUWIEjs.encodeEventTopics; exports.encodeFunctionData = _chunkBGUMUWIEjs.encodeFunctionData; exports.encodeFunctionResult = _chunkBGUMUWIEjs.encodeFunctionResult; exports.encodePacked = _chunkBGUMUWIEjs.encodePacked; exports.etherUnits = _chunkBGUMUWIEjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkBGUMUWIEjs.formatBlock; exports.formatEther = _chunkBGUMUWIEjs.formatEther; exports.formatGwei = _chunkBGUMUWIEjs.formatGwei; exports.formatTransaction = _chunkBGUMUWIEjs.formatTransaction; exports.formatTransactionRequest = _chunkBGUMUWIEjs.formatTransactionRequest; exports.formatUnits = _chunkBGUMUWIEjs.formatUnits; exports.fromBytes = _chunkBGUMUWIEjs.fromBytes; exports.fromHex = _chunkBGUMUWIEjs.fromHex; exports.fromRlp = _chunkBGUMUWIEjs.fromRlp; exports.getAbiItem = _chunkBGUMUWIEjs.getAbiItem; exports.getAccount = _chunkBGUMUWIEjs.getAccount; exports.getAddress = _chunkBGUMUWIEjs.getAddress; exports.getContractAddress = _chunkBGUMUWIEjs.getContractAddress; exports.getContractError = _chunkBGUMUWIEjs.getContractError; exports.getCreate2Address = _chunkBGUMUWIEjs.getCreate2Address; exports.getCreateAddress = _chunkBGUMUWIEjs.getCreateAddress; exports.getEventSelector = _chunkBGUMUWIEjs.getEventSelector; exports.getFunctionSelector = _chunkBGUMUWIEjs.getFunctionSelector; exports.gweiUnits = _chunkBGUMUWIEjs.gweiUnits; exports.hashMessage = _chunkBGUMUWIEjs.hashMessage; exports.hexToBigInt = _chunkBGUMUWIEjs.hexToBigInt; exports.hexToBool = _chunkBGUMUWIEjs.hexToBool; exports.hexToBytes = _chunkBGUMUWIEjs.hexToBytes; exports.hexToNumber = _chunkBGUMUWIEjs.hexToNumber; exports.hexToString = _chunkBGUMUWIEjs.hexToString; exports.http = http; exports.isAddress = _chunkBGUMUWIEjs.isAddress; exports.isAddressEqual = _chunkBGUMUWIEjs.isAddressEqual; exports.isBytes = _chunkBGUMUWIEjs.isBytes; exports.isHex = _chunkBGUMUWIEjs.isHex; exports.keccak256 = _chunkBGUMUWIEjs.keccak256; exports.labelhash = _chunkJI5BLUJIjs.labelhash; exports.multicall3Abi = _chunkBGUMUWIEjs.multicall3Abi; exports.namehash = _chunkJI5BLUJIjs.namehash; exports.numberToBytes = _chunkBGUMUWIEjs.numberToBytes; exports.numberToHex = _chunkBGUMUWIEjs.numberToHex; exports.pad = _chunkBGUMUWIEjs.pad; exports.padBytes = _chunkBGUMUWIEjs.padBytes; exports.padHex = _chunkBGUMUWIEjs.padHex; exports.parseAbi = _chunkBGUMUWIEjs.parseAbi; exports.parseAbiItem = _chunkBGUMUWIEjs.parseAbiItem; exports.parseAbiParameter = _chunkBGUMUWIEjs.parseAbiParameter; exports.parseAbiParameters = _chunkBGUMUWIEjs.parseAbiParameters; exports.parseEther = _chunkBGUMUWIEjs.parseEther; exports.parseGwei = _chunkBGUMUWIEjs.parseGwei; exports.parseUnits = _chunkBGUMUWIEjs.parseUnits; exports.recoverAddress = _chunkBGUMUWIEjs.recoverAddress; exports.recoverMessageAddress = _chunkBGUMUWIEjs.recoverMessageAddress; exports.size = _chunkBGUMUWIEjs.size; exports.slice = _chunkBGUMUWIEjs.slice; exports.sliceBytes = _chunkBGUMUWIEjs.sliceBytes; exports.sliceHex = _chunkBGUMUWIEjs.sliceHex; exports.stringToBytes = _chunkBGUMUWIEjs.stringToBytes; exports.stringToHex = _chunkBGUMUWIEjs.stringToHex; exports.stringify = _chunkBGUMUWIEjs.stringify; exports.toBytes = _chunkBGUMUWIEjs.toBytes; exports.toHex = _chunkBGUMUWIEjs.toHex; exports.toRlp = _chunkBGUMUWIEjs.toRlp; exports.transactionType = _chunkBGUMUWIEjs.transactionType; exports.trim = _chunkBGUMUWIEjs.trim; exports.verifyMessage = _chunkBGUMUWIEjs.verifyMessage; exports.webSocket = webSocket; exports.weiUnits = _chunkBGUMUWIEjs.weiUnits;
|
804
804
|
//# 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-5U4GHDFC.mjs";
|
7
7
|
import {
|
8
8
|
AbiConstructorNotFoundError,
|
9
9
|
AbiConstructorParamsNotFoundError,
|
@@ -245,7 +245,7 @@ import {
|
|
245
245
|
watchPendingTransactions,
|
246
246
|
weiUnits,
|
247
247
|
writeContract
|
248
|
-
} from "./chunk-
|
248
|
+
} from "./chunk-N4453NXA.mjs";
|
249
249
|
|
250
250
|
// src/clients/transports/createTransport.ts
|
251
251
|
function createTransport({
|
package/dist/public.js
CHANGED
@@ -26,7 +26,7 @@
|
|
26
26
|
|
27
27
|
|
28
28
|
|
29
|
-
var
|
29
|
+
var _chunkBGUMUWIEjs = require('./chunk-BGUMUWIE.js');
|
30
30
|
|
31
31
|
|
32
32
|
|
@@ -55,5 +55,5 @@ var _chunkM5K2FJOMjs = require('./chunk-M5K2FJOM.js');
|
|
55
55
|
|
56
56
|
|
57
57
|
|
58
|
-
exports.call =
|
58
|
+
exports.call = _chunkBGUMUWIEjs.call; exports.createBlockFilter = _chunkBGUMUWIEjs.createBlockFilter; exports.createEventFilter = _chunkBGUMUWIEjs.createEventFilter; exports.createPendingTransactionFilter = _chunkBGUMUWIEjs.createPendingTransactionFilter; exports.estimateGas = _chunkBGUMUWIEjs.estimateGas; exports.getBalance = _chunkBGUMUWIEjs.getBalance; exports.getBlock = _chunkBGUMUWIEjs.getBlock; exports.getBlockNumber = _chunkBGUMUWIEjs.getBlockNumber; exports.getBlockNumberCache = _chunkBGUMUWIEjs.getBlockNumberCache; exports.getBlockTransactionCount = _chunkBGUMUWIEjs.getBlockTransactionCount; exports.getBytecode = _chunkBGUMUWIEjs.getBytecode; exports.getChainId = _chunkBGUMUWIEjs.getChainId; exports.getFeeHistory = _chunkBGUMUWIEjs.getFeeHistory; exports.getFilterChanges = _chunkBGUMUWIEjs.getFilterChanges; exports.getFilterLogs = _chunkBGUMUWIEjs.getFilterLogs; exports.getGasPrice = _chunkBGUMUWIEjs.getGasPrice; exports.getLogs = _chunkBGUMUWIEjs.getLogs; exports.getTransaction = _chunkBGUMUWIEjs.getTransaction; exports.getTransactionConfirmations = _chunkBGUMUWIEjs.getTransactionConfirmations; exports.getTransactionCount = _chunkBGUMUWIEjs.getTransactionCount; exports.getTransactionReceipt = _chunkBGUMUWIEjs.getTransactionReceipt; exports.uninstallFilter = _chunkBGUMUWIEjs.uninstallFilter; exports.waitForTransactionReceipt = _chunkBGUMUWIEjs.waitForTransactionReceipt; exports.watchBlockNumber = _chunkBGUMUWIEjs.watchBlockNumber; exports.watchBlocks = _chunkBGUMUWIEjs.watchBlocks; exports.watchEvent = _chunkBGUMUWIEjs.watchEvent; exports.watchPendingTransactions = _chunkBGUMUWIEjs.watchPendingTransactions;
|
59
59
|
//# sourceMappingURL=public.js.map
|
package/dist/public.mjs
CHANGED
package/dist/test.js
CHANGED
@@ -27,7 +27,7 @@
|
|
27
27
|
|
28
28
|
|
29
29
|
|
30
|
-
var
|
30
|
+
var _chunkBGUMUWIEjs = require('./chunk-BGUMUWIE.js');
|
31
31
|
|
32
32
|
|
33
33
|
|
@@ -57,5 +57,5 @@ var _chunkM5K2FJOMjs = require('./chunk-M5K2FJOM.js');
|
|
57
57
|
|
58
58
|
|
59
59
|
|
60
|
-
exports.dropTransaction =
|
60
|
+
exports.dropTransaction = _chunkBGUMUWIEjs.dropTransaction; exports.getAutomine = _chunkBGUMUWIEjs.getAutomine; exports.getTxpoolContent = _chunkBGUMUWIEjs.getTxpoolContent; exports.getTxpoolStatus = _chunkBGUMUWIEjs.getTxpoolStatus; exports.impersonateAccount = _chunkBGUMUWIEjs.impersonateAccount; exports.increaseTime = _chunkBGUMUWIEjs.increaseTime; exports.inspectTxpool = _chunkBGUMUWIEjs.inspectTxpool; exports.mine = _chunkBGUMUWIEjs.mine; exports.removeBlockTimestampInterval = _chunkBGUMUWIEjs.removeBlockTimestampInterval; exports.reset = _chunkBGUMUWIEjs.reset; exports.revert = _chunkBGUMUWIEjs.revert; exports.sendUnsignedTransaction = _chunkBGUMUWIEjs.sendUnsignedTransaction; exports.setAutomine = _chunkBGUMUWIEjs.setAutomine; exports.setBalance = _chunkBGUMUWIEjs.setBalance; exports.setBlockGasLimit = _chunkBGUMUWIEjs.setBlockGasLimit; exports.setBlockTimestampInterval = _chunkBGUMUWIEjs.setBlockTimestampInterval; exports.setCode = _chunkBGUMUWIEjs.setCode; exports.setCoinbase = _chunkBGUMUWIEjs.setCoinbase; exports.setIntervalMining = _chunkBGUMUWIEjs.setIntervalMining; exports.setLoggingEnabled = _chunkBGUMUWIEjs.setLoggingEnabled; exports.setMinGasPrice = _chunkBGUMUWIEjs.setMinGasPrice; exports.setNextBlockBaseFeePerGas = _chunkBGUMUWIEjs.setNextBlockBaseFeePerGas; exports.setNextBlockTimestamp = _chunkBGUMUWIEjs.setNextBlockTimestamp; exports.setNonce = _chunkBGUMUWIEjs.setNonce; exports.setRpcUrl = _chunkBGUMUWIEjs.setRpcUrl; exports.setStorageAt = _chunkBGUMUWIEjs.setStorageAt; exports.snapshot = _chunkBGUMUWIEjs.snapshot; exports.stopImpersonatingAccount = _chunkBGUMUWIEjs.stopImpersonatingAccount;
|
61
61
|
//# sourceMappingURL=test.js.map
|
package/dist/test.mjs
CHANGED
package/dist/utils/index.js
CHANGED
@@ -105,7 +105,7 @@
|
|
105
105
|
|
106
106
|
|
107
107
|
|
108
|
-
var
|
108
|
+
var _chunkBGUMUWIEjs = require('../chunk-BGUMUWIE.js');
|
109
109
|
|
110
110
|
|
111
111
|
|
@@ -213,5 +213,5 @@ var _chunkM5K2FJOMjs = require('../chunk-M5K2FJOM.js');
|
|
213
213
|
|
214
214
|
|
215
215
|
|
216
|
-
exports.arrayRegex =
|
216
|
+
exports.arrayRegex = _chunkBGUMUWIEjs.arrayRegex; exports.assertRequest = _chunkBGUMUWIEjs.assertRequest; exports.boolToBytes = _chunkBGUMUWIEjs.boolToBytes; exports.boolToHex = _chunkBGUMUWIEjs.boolToHex; exports.buildRequest = _chunkBGUMUWIEjs.buildRequest; exports.bytesRegex = _chunkBGUMUWIEjs.bytesRegex; exports.bytesToBigint = _chunkBGUMUWIEjs.bytesToBigint; exports.bytesToBool = _chunkBGUMUWIEjs.bytesToBool; exports.bytesToHex = _chunkBGUMUWIEjs.bytesToHex; exports.bytesToNumber = _chunkBGUMUWIEjs.bytesToNumber; exports.bytesToString = _chunkBGUMUWIEjs.bytesToString; exports.concat = _chunkBGUMUWIEjs.concat; exports.concatBytes = _chunkBGUMUWIEjs.concatBytes; exports.concatHex = _chunkBGUMUWIEjs.concatHex; exports.containsNodeError = _chunkBGUMUWIEjs.containsNodeError; exports.decodeAbiParameters = _chunkBGUMUWIEjs.decodeAbiParameters; exports.decodeErrorResult = _chunkBGUMUWIEjs.decodeErrorResult; exports.decodeEventLog = _chunkBGUMUWIEjs.decodeEventLog; exports.decodeFunctionData = _chunkBGUMUWIEjs.decodeFunctionData; exports.decodeFunctionResult = _chunkBGUMUWIEjs.decodeFunctionResult; exports.defineBlock = _chunkBGUMUWIEjs.defineBlock; exports.defineChain = _chunkBGUMUWIEjs.defineChain; exports.defineFormatter = _chunkBGUMUWIEjs.defineFormatter; exports.defineTransaction = _chunkBGUMUWIEjs.defineTransaction; exports.defineTransactionReceipt = _chunkBGUMUWIEjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkBGUMUWIEjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkBGUMUWIEjs.encodeAbiParameters; exports.encodeDeployData = _chunkBGUMUWIEjs.encodeDeployData; exports.encodeErrorResult = _chunkBGUMUWIEjs.encodeErrorResult; exports.encodeEventTopics = _chunkBGUMUWIEjs.encodeEventTopics; exports.encodeFunctionData = _chunkBGUMUWIEjs.encodeFunctionData; exports.encodeFunctionResult = _chunkBGUMUWIEjs.encodeFunctionResult; exports.encodePacked = _chunkBGUMUWIEjs.encodePacked; exports.extract = _chunkBGUMUWIEjs.extract; exports.extractFunctionName = _chunkBGUMUWIEjs.extractFunctionName; exports.extractFunctionParams = _chunkBGUMUWIEjs.extractFunctionParams; exports.extractFunctionParts = _chunkBGUMUWIEjs.extractFunctionParts; exports.extractFunctionType = _chunkBGUMUWIEjs.extractFunctionType; exports.format = _chunkBGUMUWIEjs.format; exports.formatAbiItem = _chunkBGUMUWIEjs.formatAbiItem; exports.formatAbiItemWithArgs = _chunkBGUMUWIEjs.formatAbiItemWithArgs; exports.formatBlock = _chunkBGUMUWIEjs.formatBlock; exports.formatEther = _chunkBGUMUWIEjs.formatEther; exports.formatGwei = _chunkBGUMUWIEjs.formatGwei; exports.formatTransaction = _chunkBGUMUWIEjs.formatTransaction; exports.formatTransactionRequest = _chunkBGUMUWIEjs.formatTransactionRequest; exports.formatUnits = _chunkBGUMUWIEjs.formatUnits; exports.fromBytes = _chunkBGUMUWIEjs.fromBytes; exports.fromHex = _chunkBGUMUWIEjs.fromHex; exports.fromRlp = _chunkBGUMUWIEjs.fromRlp; exports.getAbiItem = _chunkBGUMUWIEjs.getAbiItem; exports.getAccount = _chunkBGUMUWIEjs.getAccount; exports.getAddress = _chunkBGUMUWIEjs.getAddress; exports.getCallError = _chunkBGUMUWIEjs.getCallError; exports.getChainContractAddress = _chunkBGUMUWIEjs.getChainContractAddress; exports.getContractAddress = _chunkBGUMUWIEjs.getContractAddress; exports.getContractError = _chunkBGUMUWIEjs.getContractError; exports.getCreate2Address = _chunkBGUMUWIEjs.getCreate2Address; exports.getCreateAddress = _chunkBGUMUWIEjs.getCreateAddress; exports.getEstimateGasError = _chunkBGUMUWIEjs.getEstimateGasError; exports.getEventSelector = _chunkBGUMUWIEjs.getEventSelector; exports.getFunctionSelector = _chunkBGUMUWIEjs.getFunctionSelector; exports.getNodeError = _chunkBGUMUWIEjs.getNodeError; exports.getSocket = _chunkBGUMUWIEjs.getSocket; exports.getTransactionError = _chunkBGUMUWIEjs.getTransactionError; exports.hashMessage = _chunkBGUMUWIEjs.hashMessage; exports.hexToBigInt = _chunkBGUMUWIEjs.hexToBigInt; exports.hexToBool = _chunkBGUMUWIEjs.hexToBool; exports.hexToBytes = _chunkBGUMUWIEjs.hexToBytes; exports.hexToNumber = _chunkBGUMUWIEjs.hexToNumber; exports.hexToString = _chunkBGUMUWIEjs.hexToString; exports.integerRegex = _chunkBGUMUWIEjs.integerRegex; exports.isAddress = _chunkBGUMUWIEjs.isAddress; exports.isAddressEqual = _chunkBGUMUWIEjs.isAddressEqual; exports.isBytes = _chunkBGUMUWIEjs.isBytes; exports.isHex = _chunkBGUMUWIEjs.isHex; exports.keccak256 = _chunkBGUMUWIEjs.keccak256; exports.numberToBytes = _chunkBGUMUWIEjs.numberToBytes; exports.numberToHex = _chunkBGUMUWIEjs.numberToHex; exports.pad = _chunkBGUMUWIEjs.pad; exports.padBytes = _chunkBGUMUWIEjs.padBytes; exports.padHex = _chunkBGUMUWIEjs.padHex; exports.parseAbi = _chunkBGUMUWIEjs.parseAbi; exports.parseAbiItem = _chunkBGUMUWIEjs.parseAbiItem; exports.parseAbiParameter = _chunkBGUMUWIEjs.parseAbiParameter; exports.parseAbiParameters = _chunkBGUMUWIEjs.parseAbiParameters; exports.parseEther = _chunkBGUMUWIEjs.parseEther; exports.parseGwei = _chunkBGUMUWIEjs.parseGwei; exports.parseUnits = _chunkBGUMUWIEjs.parseUnits; exports.prepareRequest = _chunkBGUMUWIEjs.prepareRequest; exports.recoverAddress = _chunkBGUMUWIEjs.recoverAddress; exports.recoverMessageAddress = _chunkBGUMUWIEjs.recoverMessageAddress; exports.rpc = _chunkBGUMUWIEjs.rpc; exports.size = _chunkBGUMUWIEjs.size; exports.slice = _chunkBGUMUWIEjs.slice; exports.sliceBytes = _chunkBGUMUWIEjs.sliceBytes; exports.sliceHex = _chunkBGUMUWIEjs.sliceHex; exports.stringToBytes = _chunkBGUMUWIEjs.stringToBytes; exports.stringToHex = _chunkBGUMUWIEjs.stringToHex; exports.stringify = _chunkBGUMUWIEjs.stringify; exports.toBytes = _chunkBGUMUWIEjs.toBytes; exports.toHex = _chunkBGUMUWIEjs.toHex; exports.toRlp = _chunkBGUMUWIEjs.toRlp; exports.transactionType = _chunkBGUMUWIEjs.transactionType; exports.trim = _chunkBGUMUWIEjs.trim; exports.verifyMessage = _chunkBGUMUWIEjs.verifyMessage;
|
217
217
|
//# sourceMappingURL=index.js.map
|
package/dist/utils/index.mjs
CHANGED
package/dist/wallet.js
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
|
10
10
|
|
11
11
|
|
12
|
-
var
|
12
|
+
var _chunkBGUMUWIEjs = require('./chunk-BGUMUWIE.js');
|
13
13
|
|
14
14
|
|
15
15
|
|
@@ -21,5 +21,5 @@ var _chunkM5K2FJOMjs = require('./chunk-M5K2FJOM.js');
|
|
21
21
|
|
22
22
|
|
23
23
|
|
24
|
-
exports.addChain =
|
24
|
+
exports.addChain = _chunkBGUMUWIEjs.addChain; exports.getAddresses = _chunkBGUMUWIEjs.getAddresses; exports.getPermissions = _chunkBGUMUWIEjs.getPermissions; exports.requestAddresses = _chunkBGUMUWIEjs.requestAddresses; exports.requestPermissions = _chunkBGUMUWIEjs.requestPermissions; exports.sendTransaction = _chunkBGUMUWIEjs.sendTransaction; exports.signMessage = _chunkBGUMUWIEjs.signMessage; exports.signTypedData = _chunkBGUMUWIEjs.signTypedData; exports.switchChain = _chunkBGUMUWIEjs.switchChain; exports.watchAsset = _chunkBGUMUWIEjs.watchAsset;
|
25
25
|
//# sourceMappingURL=wallet.js.map
|
package/dist/wallet.mjs
CHANGED