viem 0.1.1 → 0.1.2
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 +46 -46
- package/dist/chains.mjs +1 -1
- package/dist/{chunk-NM6QXEYF.js → chunk-75OCRSSB.js} +21 -21
- package/dist/{chunk-PZIHILNK.js → chunk-R5D7QBNZ.js} +3 -3
- package/dist/{chunk-PZIHILNK.js.map → chunk-R5D7QBNZ.js.map} +1 -1
- package/dist/{chunk-HDZRBHNX.mjs → chunk-VUSHGUTQ.mjs} +3 -3
- package/dist/{chunk-HDZRBHNX.mjs.map → chunk-VUSHGUTQ.mjs.map} +1 -1
- package/dist/{chunk-N5WJ5FTW.mjs → chunk-XRSXWQKH.mjs} +2 -2
- 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/index.js +88 -88
- 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 +2 -2
- /package/dist/{chunk-NM6QXEYF.js.map → chunk-75OCRSSB.js.map} +0 -0
- /package/dist/{chunk-N5WJ5FTW.mjs.map → chunk-XRSXWQKH.mjs.map} +0 -0
@@ -11,7 +11,7 @@ import {
|
|
11
11
|
stringToBytes,
|
12
12
|
toBytes,
|
13
13
|
toHex
|
14
|
-
} from "./chunk-
|
14
|
+
} from "./chunk-VUSHGUTQ.mjs";
|
15
15
|
|
16
16
|
// src/utils/ens/labelhash.ts
|
17
17
|
function labelhash(label) {
|
@@ -205,4 +205,4 @@ export {
|
|
205
205
|
getEnsAddress,
|
206
206
|
getEnsName
|
207
207
|
};
|
208
|
-
//# sourceMappingURL=chunk-
|
208
|
+
//# sourceMappingURL=chunk-XRSXWQKH.mjs.map
|
package/dist/contract.js
CHANGED
@@ -23,7 +23,7 @@
|
|
23
23
|
|
24
24
|
|
25
25
|
|
26
|
-
var
|
26
|
+
var _chunkR5D7QBNZjs = require('./chunk-R5D7QBNZ.js');
|
27
27
|
|
28
28
|
|
29
29
|
|
@@ -49,5 +49,5 @@ var _chunkPZIHILNKjs = require('./chunk-PZIHILNK.js');
|
|
49
49
|
|
50
50
|
|
51
51
|
|
52
|
-
exports.createContractEventFilter =
|
52
|
+
exports.createContractEventFilter = _chunkR5D7QBNZjs.createContractEventFilter; exports.decodeAbiParameters = _chunkR5D7QBNZjs.decodeAbiParameters; exports.decodeErrorResult = _chunkR5D7QBNZjs.decodeErrorResult; exports.decodeEventLog = _chunkR5D7QBNZjs.decodeEventLog; exports.decodeFunctionData = _chunkR5D7QBNZjs.decodeFunctionData; exports.decodeFunctionResult = _chunkR5D7QBNZjs.decodeFunctionResult; exports.deployContract = _chunkR5D7QBNZjs.deployContract; exports.encodeAbiParameters = _chunkR5D7QBNZjs.encodeAbiParameters; exports.encodeDeployData = _chunkR5D7QBNZjs.encodeDeployData; exports.encodeErrorResult = _chunkR5D7QBNZjs.encodeErrorResult; exports.encodeEventTopics = _chunkR5D7QBNZjs.encodeEventTopics; exports.encodeFunctionData = _chunkR5D7QBNZjs.encodeFunctionData; exports.encodeFunctionResult = _chunkR5D7QBNZjs.encodeFunctionResult; exports.estimateContractGas = _chunkR5D7QBNZjs.estimateContractGas; exports.formatAbiItem = _chunkR5D7QBNZjs.formatAbiItem; exports.formatAbiItemWithArgs = _chunkR5D7QBNZjs.formatAbiItemWithArgs; exports.getAbiItem = _chunkR5D7QBNZjs.getAbiItem; exports.getBytecode = _chunkR5D7QBNZjs.getBytecode; exports.getStorageAt = _chunkR5D7QBNZjs.getStorageAt; exports.multicall = _chunkR5D7QBNZjs.multicall; exports.readContract = _chunkR5D7QBNZjs.readContract; exports.simulateContract = _chunkR5D7QBNZjs.simulateContract; exports.watchContractEvent = _chunkR5D7QBNZjs.watchContractEvent; exports.writeContract = _chunkR5D7QBNZjs.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 _chunk75OCRSSBjs = require('./chunk-75OCRSSB.js');
|
7
|
+
require('./chunk-R5D7QBNZ.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 = _chunk75OCRSSBjs.getEnsAddress; exports.getEnsName = _chunk75OCRSSBjs.getEnsName; exports.labelhash = _chunk75OCRSSBjs.labelhash; exports.namehash = _chunk75OCRSSBjs.namehash; exports.normalize = normalize;
|
21
21
|
//# sourceMappingURL=ens.js.map
|
package/dist/ens.mjs
CHANGED
package/dist/index.js
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
|
5
5
|
|
6
|
-
var
|
6
|
+
var _chunk75OCRSSBjs = require('./chunk-75OCRSSB.js');
|
7
7
|
|
8
8
|
|
9
9
|
|
@@ -234,7 +234,7 @@ var _chunkNM6QXEYFjs = require('./chunk-NM6QXEYF.js');
|
|
234
234
|
|
235
235
|
|
236
236
|
|
237
|
-
var
|
237
|
+
var _chunkR5D7QBNZjs = require('./chunk-R5D7QBNZ.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: _chunkR5D7QBNZjs.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 (_chunkR5D7QBNZjs.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, _chunkR5D7QBNZjs.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 _chunkR5D7QBNZjs.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, _chunkR5D7QBNZjs.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 _chunkR5D7QBNZjs.getSocket.call(void 0, url_);
|
366
|
+
const { result } = await _chunkR5D7QBNZjs.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 _chunkR5D7QBNZjs.getSocket.call(void 0, url_);
|
380
380
|
},
|
381
381
|
async subscribe({ params, onData, onError }) {
|
382
|
-
const socket = await
|
382
|
+
const socket = await _chunkR5D7QBNZjs.getSocket.call(void 0, url_);
|
383
383
|
const { result: subscriptionId } = await new Promise(
|
384
|
-
(resolve, reject) =>
|
384
|
+
(resolve, reject) => _chunkR5D7QBNZjs.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) => _chunkR5D7QBNZjs.rpc.webSocket(socket, {
|
407
407
|
body: {
|
408
408
|
method: "eth_unsubscribe",
|
409
409
|
params: [subscriptionId]
|
@@ -459,88 +459,88 @@ 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) => _chunkR5D7QBNZjs.call.call(void 0, client, args),
|
463
|
+
createBlockFilter: () => _chunkR5D7QBNZjs.createBlockFilter.call(void 0, client),
|
464
|
+
createContractEventFilter: (args) => _chunkR5D7QBNZjs.createContractEventFilter.call(void 0, client, args),
|
465
|
+
createEventFilter: (args) => _chunkR5D7QBNZjs.createEventFilter.call(void 0, client, args),
|
466
|
+
createPendingTransactionFilter: () => _chunkR5D7QBNZjs.createPendingTransactionFilter.call(void 0, client),
|
467
|
+
estimateContractGas: (args) => _chunkR5D7QBNZjs.estimateContractGas.call(void 0, client, args),
|
468
|
+
estimateGas: (args) => _chunkR5D7QBNZjs.estimateGas.call(void 0, client, args),
|
469
|
+
getBalance: (args) => _chunkR5D7QBNZjs.getBalance.call(void 0, client, args),
|
470
|
+
getBlock: (args) => _chunkR5D7QBNZjs.getBlock.call(void 0, client, args),
|
471
|
+
getBlockNumber: (args) => _chunkR5D7QBNZjs.getBlockNumber.call(void 0, client, args),
|
472
|
+
getBlockTransactionCount: (args) => _chunkR5D7QBNZjs.getBlockTransactionCount.call(void 0, client, args),
|
473
|
+
getBytecode: (args) => _chunkR5D7QBNZjs.getBytecode.call(void 0, client, args),
|
474
|
+
getChainId: () => _chunkR5D7QBNZjs.getChainId.call(void 0, client),
|
475
|
+
getEnsAddress: (args) => _chunk75OCRSSBjs.getEnsAddress.call(void 0, client, args),
|
476
|
+
getEnsName: (args) => _chunk75OCRSSBjs.getEnsName.call(void 0, client, args),
|
477
|
+
getFeeHistory: (args) => _chunkR5D7QBNZjs.getFeeHistory.call(void 0, client, args),
|
478
|
+
getFilterChanges: (args) => _chunkR5D7QBNZjs.getFilterChanges.call(void 0, client, args),
|
479
|
+
getFilterLogs: (args) => _chunkR5D7QBNZjs.getFilterLogs.call(void 0, client, args),
|
480
|
+
getGasPrice: () => _chunkR5D7QBNZjs.getGasPrice.call(void 0, client),
|
481
|
+
getLogs: (args) => _chunkR5D7QBNZjs.getLogs.call(void 0, client, args),
|
482
|
+
getStorageAt: (args) => _chunkR5D7QBNZjs.getStorageAt.call(void 0, client, args),
|
483
|
+
getTransaction: (args) => _chunkR5D7QBNZjs.getTransaction.call(void 0, client, args),
|
484
|
+
getTransactionConfirmations: (args) => _chunkR5D7QBNZjs.getTransactionConfirmations.call(void 0, client, args),
|
485
|
+
getTransactionReceipt: (args) => _chunkR5D7QBNZjs.getTransactionReceipt.call(void 0, client, args),
|
486
|
+
multicall: (args) => _chunkR5D7QBNZjs.multicall.call(void 0, client, args),
|
487
|
+
readContract: (args) => _chunkR5D7QBNZjs.readContract.call(void 0, client, args),
|
488
|
+
simulateContract: (args) => _chunkR5D7QBNZjs.simulateContract.call(void 0, client, args),
|
489
|
+
uninstallFilter: (args) => _chunkR5D7QBNZjs.uninstallFilter.call(void 0, client, args),
|
490
|
+
waitForTransactionReceipt: (args) => _chunkR5D7QBNZjs.waitForTransactionReceipt.call(void 0, client, args),
|
491
|
+
watchBlocks: (args) => _chunkR5D7QBNZjs.watchBlocks.call(void 0, client, args),
|
492
|
+
watchBlockNumber: (args) => _chunkR5D7QBNZjs.watchBlockNumber.call(void 0, client, args),
|
493
|
+
watchContractEvent: (args) => _chunkR5D7QBNZjs.watchContractEvent.call(void 0, client, args),
|
494
|
+
watchEvent: (args) => _chunkR5D7QBNZjs.watchEvent.call(void 0, client, args),
|
495
|
+
watchPendingTransactions: (args) => _chunkR5D7QBNZjs.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) => _chunkR5D7QBNZjs.dropTransaction.call(void 0, client, args),
|
501
|
+
getAutomine: () => _chunkR5D7QBNZjs.getAutomine.call(void 0, client),
|
502
|
+
getTxpoolContent: () => _chunkR5D7QBNZjs.getTxpoolContent.call(void 0, client),
|
503
|
+
getTxpoolStatus: () => _chunkR5D7QBNZjs.getTxpoolStatus.call(void 0, client),
|
504
|
+
impersonateAccount: (args) => _chunkR5D7QBNZjs.impersonateAccount.call(void 0, client, args),
|
505
|
+
increaseTime: (args) => _chunkR5D7QBNZjs.increaseTime.call(void 0, client, args),
|
506
|
+
inspectTxpool: () => _chunkR5D7QBNZjs.inspectTxpool.call(void 0, client),
|
507
|
+
mine: (args) => _chunkR5D7QBNZjs.mine.call(void 0, client, args),
|
508
|
+
removeBlockTimestampInterval: () => _chunkR5D7QBNZjs.removeBlockTimestampInterval.call(void 0, client),
|
509
|
+
reset: (args) => _chunkR5D7QBNZjs.reset.call(void 0, client, args),
|
510
|
+
revert: (args) => _chunkR5D7QBNZjs.revert.call(void 0, client, args),
|
511
|
+
sendUnsignedTransaction: (args) => _chunkR5D7QBNZjs.sendUnsignedTransaction.call(void 0, client, args),
|
512
|
+
setAutomine: (args) => _chunkR5D7QBNZjs.setAutomine.call(void 0, client, args),
|
513
|
+
setBalance: (args) => _chunkR5D7QBNZjs.setBalance.call(void 0, client, args),
|
514
|
+
setBlockGasLimit: (args) => _chunkR5D7QBNZjs.setBlockGasLimit.call(void 0, client, args),
|
515
|
+
setBlockTimestampInterval: (args) => _chunkR5D7QBNZjs.setBlockTimestampInterval.call(void 0, client, args),
|
516
|
+
setCode: (args) => _chunkR5D7QBNZjs.setCode.call(void 0, client, args),
|
517
|
+
setCoinbase: (args) => _chunkR5D7QBNZjs.setCoinbase.call(void 0, client, args),
|
518
|
+
setIntervalMining: (args) => _chunkR5D7QBNZjs.setIntervalMining.call(void 0, client, args),
|
519
|
+
setLoggingEnabled: (args) => _chunkR5D7QBNZjs.setLoggingEnabled.call(void 0, client, args),
|
520
|
+
setMinGasPrice: (args) => _chunkR5D7QBNZjs.setMinGasPrice.call(void 0, client, args),
|
521
|
+
setNextBlockBaseFeePerGas: (args) => _chunkR5D7QBNZjs.setNextBlockBaseFeePerGas.call(void 0, client, args),
|
522
|
+
setNextBlockTimestamp: (args) => _chunkR5D7QBNZjs.setNextBlockTimestamp.call(void 0, client, args),
|
523
|
+
setNonce: (args) => _chunkR5D7QBNZjs.setNonce.call(void 0, client, args),
|
524
|
+
setRpcUrl: (args) => _chunkR5D7QBNZjs.setRpcUrl.call(void 0, client, args),
|
525
|
+
setStorageAt: (args) => _chunkR5D7QBNZjs.setStorageAt.call(void 0, client, args),
|
526
|
+
snapshot: () => _chunkR5D7QBNZjs.snapshot.call(void 0, client),
|
527
|
+
stopImpersonatingAccount: (args) => _chunkR5D7QBNZjs.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
|
-
getAddresses: () =>
|
535
|
-
getChainId: () =>
|
536
|
-
getPermissions: () =>
|
537
|
-
requestAddresses: () =>
|
538
|
-
requestPermissions: (args) =>
|
539
|
-
sendTransaction: (args) =>
|
540
|
-
signMessage: (args) =>
|
541
|
-
switchChain: (args) =>
|
542
|
-
watchAsset: (args) =>
|
543
|
-
writeContract: (args) =>
|
532
|
+
addChain: (args) => _chunkR5D7QBNZjs.addChain.call(void 0, client, args),
|
533
|
+
deployContract: (args) => _chunkR5D7QBNZjs.deployContract.call(void 0, client, args),
|
534
|
+
getAddresses: () => _chunkR5D7QBNZjs.getAddresses.call(void 0, client),
|
535
|
+
getChainId: () => _chunkR5D7QBNZjs.getChainId.call(void 0, client),
|
536
|
+
getPermissions: () => _chunkR5D7QBNZjs.getPermissions.call(void 0, client),
|
537
|
+
requestAddresses: () => _chunkR5D7QBNZjs.requestAddresses.call(void 0, client),
|
538
|
+
requestPermissions: (args) => _chunkR5D7QBNZjs.requestPermissions.call(void 0, client, args),
|
539
|
+
sendTransaction: (args) => _chunkR5D7QBNZjs.sendTransaction.call(void 0, client, args),
|
540
|
+
signMessage: (args) => _chunkR5D7QBNZjs.signMessage.call(void 0, client, args),
|
541
|
+
switchChain: (args) => _chunkR5D7QBNZjs.switchChain.call(void 0, client, args),
|
542
|
+
watchAsset: (args) => _chunkR5D7QBNZjs.watchAsset.call(void 0, client, args),
|
543
|
+
writeContract: (args) => _chunkR5D7QBNZjs.writeContract.call(void 0, client, args)
|
544
544
|
});
|
545
545
|
|
546
546
|
// src/clients/createPublicClient.ts
|
@@ -776,5 +776,5 @@ function createWalletClient({
|
|
776
776
|
|
777
777
|
|
778
778
|
|
779
|
-
exports.AbiConstructorNotFoundError = _chunkPZIHILNKjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkPZIHILNKjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkPZIHILNKjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkPZIHILNKjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkPZIHILNKjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkPZIHILNKjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkPZIHILNKjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkPZIHILNKjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkPZIHILNKjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkPZIHILNKjs.AbiEventNotFoundError; exports.AbiEventSignatureNotFoundError = _chunkPZIHILNKjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkPZIHILNKjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkPZIHILNKjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkPZIHILNKjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkPZIHILNKjs.BaseError; exports.BlockNotFoundError = _chunkPZIHILNKjs.BlockNotFoundError; exports.CallExecutionError = _chunkPZIHILNKjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkPZIHILNKjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkPZIHILNKjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkPZIHILNKjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkPZIHILNKjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkPZIHILNKjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkPZIHILNKjs.DataLengthTooShortError; exports.EstimateGasExecutionError = _chunkPZIHILNKjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkPZIHILNKjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkPZIHILNKjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkPZIHILNKjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkPZIHILNKjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkPZIHILNKjs.HttpRequestError; exports.InsufficientFundsError = _chunkPZIHILNKjs.InsufficientFundsError; exports.InternalRpcError = _chunkPZIHILNKjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkPZIHILNKjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkPZIHILNKjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkPZIHILNKjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkPZIHILNKjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkPZIHILNKjs.InvalidAddressError; exports.InvalidArrayError = _chunkPZIHILNKjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkPZIHILNKjs.InvalidBytesBooleanError; exports.InvalidDefinitionTypeError = _chunkPZIHILNKjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkPZIHILNKjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkPZIHILNKjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkPZIHILNKjs.InvalidInputRpcError; exports.InvalidParamsRpcError = _chunkPZIHILNKjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkPZIHILNKjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkPZIHILNKjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkPZIHILNKjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkPZIHILNKjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkPZIHILNKjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkPZIHILNKjs.NonceMaxValueError; exports.NonceTooHighError = _chunkPZIHILNKjs.NonceTooHighError; exports.NonceTooLowError = _chunkPZIHILNKjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkPZIHILNKjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkPZIHILNKjs.ParseRpcError; exports.RawContractError = _chunkPZIHILNKjs.RawContractError; exports.RequestError = _chunkPZIHILNKjs.RequestError; exports.ResourceNotFoundRpcError = _chunkPZIHILNKjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkPZIHILNKjs.ResourceUnavailableRpcError; exports.RpcError = _chunkPZIHILNKjs.RpcError; exports.RpcRequestError = _chunkPZIHILNKjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkPZIHILNKjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkPZIHILNKjs.SwitchChainError; exports.TimeoutError = _chunkPZIHILNKjs.TimeoutError; exports.TipAboveFeeCapError = _chunkPZIHILNKjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkPZIHILNKjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkPZIHILNKjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkPZIHILNKjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkPZIHILNKjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkPZIHILNKjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkPZIHILNKjs.UnknownNodeError; exports.UnknownRpcError = _chunkPZIHILNKjs.UnknownRpcError; exports.UrlRequiredError = _chunkPZIHILNKjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkPZIHILNKjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkPZIHILNKjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkPZIHILNKjs.WebSocketRequestError; exports.boolToBytes = _chunkPZIHILNKjs.boolToBytes; exports.boolToHex = _chunkPZIHILNKjs.boolToHex; exports.bytesToBigint = _chunkPZIHILNKjs.bytesToBigint; exports.bytesToBool = _chunkPZIHILNKjs.bytesToBool; exports.bytesToHex = _chunkPZIHILNKjs.bytesToHex; exports.bytesToNumber = _chunkPZIHILNKjs.bytesToNumber; exports.bytesToString = _chunkPZIHILNKjs.bytesToString; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkPZIHILNKjs.decodeAbiParameters; exports.decodeErrorResult = _chunkPZIHILNKjs.decodeErrorResult; exports.decodeEventLog = _chunkPZIHILNKjs.decodeEventLog; exports.decodeFunctionData = _chunkPZIHILNKjs.decodeFunctionData; exports.decodeFunctionResult = _chunkPZIHILNKjs.decodeFunctionResult; exports.defineBlock = _chunkPZIHILNKjs.defineBlock; exports.defineChain = _chunkPZIHILNKjs.defineChain; exports.defineTransaction = _chunkPZIHILNKjs.defineTransaction; exports.defineTransactionReceipt = _chunkPZIHILNKjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkPZIHILNKjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkPZIHILNKjs.encodeAbiParameters; exports.encodeDeployData = _chunkPZIHILNKjs.encodeDeployData; exports.encodeErrorResult = _chunkPZIHILNKjs.encodeErrorResult; exports.encodeEventTopics = _chunkPZIHILNKjs.encodeEventTopics; exports.encodeFunctionData = _chunkPZIHILNKjs.encodeFunctionData; exports.encodeFunctionResult = _chunkPZIHILNKjs.encodeFunctionResult; exports.encodePacked = _chunkPZIHILNKjs.encodePacked; exports.etherUnits = _chunkPZIHILNKjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkPZIHILNKjs.formatBlock; exports.formatEther = _chunkPZIHILNKjs.formatEther; exports.formatGwei = _chunkPZIHILNKjs.formatGwei; exports.formatTransaction = _chunkPZIHILNKjs.formatTransaction; exports.formatTransactionRequest = _chunkPZIHILNKjs.formatTransactionRequest; exports.formatUnits = _chunkPZIHILNKjs.formatUnits; exports.fromBytes = _chunkPZIHILNKjs.fromBytes; exports.fromHex = _chunkPZIHILNKjs.fromHex; exports.fromRlp = _chunkPZIHILNKjs.fromRlp; exports.getAbiItem = _chunkPZIHILNKjs.getAbiItem; exports.getAccount = _chunkPZIHILNKjs.getAccount; exports.getAddress = _chunkPZIHILNKjs.getAddress; exports.getContractAddress = _chunkPZIHILNKjs.getContractAddress; exports.getContractError = _chunkPZIHILNKjs.getContractError; exports.getCreate2Address = _chunkPZIHILNKjs.getCreate2Address; exports.getCreateAddress = _chunkPZIHILNKjs.getCreateAddress; exports.getEventSelector = _chunkPZIHILNKjs.getEventSelector; exports.getFunctionSelector = _chunkPZIHILNKjs.getFunctionSelector; exports.gweiUnits = _chunkPZIHILNKjs.gweiUnits; exports.hexToBigInt = _chunkPZIHILNKjs.hexToBigInt; exports.hexToBool = _chunkPZIHILNKjs.hexToBool; exports.hexToBytes = _chunkPZIHILNKjs.hexToBytes; exports.hexToNumber = _chunkPZIHILNKjs.hexToNumber; exports.hexToString = _chunkPZIHILNKjs.hexToString; exports.http = http; exports.isAddress = _chunkPZIHILNKjs.isAddress; exports.isAddressEqual = _chunkPZIHILNKjs.isAddressEqual; exports.isBytes = _chunkPZIHILNKjs.isBytes; exports.isHex = _chunkPZIHILNKjs.isHex; exports.keccak256 = _chunkPZIHILNKjs.keccak256; exports.labelhash = _chunkNM6QXEYFjs.labelhash; exports.multicall3Abi = _chunkPZIHILNKjs.multicall3Abi; exports.namehash = _chunkNM6QXEYFjs.namehash; exports.numberToBytes = _chunkPZIHILNKjs.numberToBytes; exports.numberToHex = _chunkPZIHILNKjs.numberToHex; exports.pad = _chunkPZIHILNKjs.pad; exports.padBytes = _chunkPZIHILNKjs.padBytes; exports.padHex = _chunkPZIHILNKjs.padHex; exports.parseAbi = _chunkPZIHILNKjs.parseAbi; exports.parseAbiItem = _chunkPZIHILNKjs.parseAbiItem; exports.parseAbiParameter = _chunkPZIHILNKjs.parseAbiParameter; exports.parseAbiParameters = _chunkPZIHILNKjs.parseAbiParameters; exports.parseEther = _chunkPZIHILNKjs.parseEther; exports.parseGwei = _chunkPZIHILNKjs.parseGwei; exports.parseUnits = _chunkPZIHILNKjs.parseUnits; exports.size = _chunkPZIHILNKjs.size; exports.slice = _chunkPZIHILNKjs.slice; exports.sliceBytes = _chunkPZIHILNKjs.sliceBytes; exports.sliceHex = _chunkPZIHILNKjs.sliceHex; exports.stringToBytes = _chunkPZIHILNKjs.stringToBytes; exports.stringToHex = _chunkPZIHILNKjs.stringToHex; exports.stringify = _chunkPZIHILNKjs.stringify; exports.toBytes = _chunkPZIHILNKjs.toBytes; exports.toHex = _chunkPZIHILNKjs.toHex; exports.toRlp = _chunkPZIHILNKjs.toRlp; exports.transactionType = _chunkPZIHILNKjs.transactionType; exports.trim = _chunkPZIHILNKjs.trim; exports.webSocket = webSocket; exports.weiUnits = _chunkPZIHILNKjs.weiUnits;
|
779
|
+
exports.AbiConstructorNotFoundError = _chunkR5D7QBNZjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkR5D7QBNZjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkR5D7QBNZjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkR5D7QBNZjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkR5D7QBNZjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkR5D7QBNZjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkR5D7QBNZjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkR5D7QBNZjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkR5D7QBNZjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkR5D7QBNZjs.AbiEventNotFoundError; exports.AbiEventSignatureNotFoundError = _chunkR5D7QBNZjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkR5D7QBNZjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkR5D7QBNZjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkR5D7QBNZjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkR5D7QBNZjs.BaseError; exports.BlockNotFoundError = _chunkR5D7QBNZjs.BlockNotFoundError; exports.CallExecutionError = _chunkR5D7QBNZjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkR5D7QBNZjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkR5D7QBNZjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkR5D7QBNZjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkR5D7QBNZjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkR5D7QBNZjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkR5D7QBNZjs.DataLengthTooShortError; exports.EstimateGasExecutionError = _chunkR5D7QBNZjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkR5D7QBNZjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkR5D7QBNZjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkR5D7QBNZjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkR5D7QBNZjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkR5D7QBNZjs.HttpRequestError; exports.InsufficientFundsError = _chunkR5D7QBNZjs.InsufficientFundsError; exports.InternalRpcError = _chunkR5D7QBNZjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkR5D7QBNZjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkR5D7QBNZjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkR5D7QBNZjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkR5D7QBNZjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkR5D7QBNZjs.InvalidAddressError; exports.InvalidArrayError = _chunkR5D7QBNZjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkR5D7QBNZjs.InvalidBytesBooleanError; exports.InvalidDefinitionTypeError = _chunkR5D7QBNZjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkR5D7QBNZjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkR5D7QBNZjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkR5D7QBNZjs.InvalidInputRpcError; exports.InvalidParamsRpcError = _chunkR5D7QBNZjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkR5D7QBNZjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkR5D7QBNZjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkR5D7QBNZjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkR5D7QBNZjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkR5D7QBNZjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkR5D7QBNZjs.NonceMaxValueError; exports.NonceTooHighError = _chunkR5D7QBNZjs.NonceTooHighError; exports.NonceTooLowError = _chunkR5D7QBNZjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkR5D7QBNZjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkR5D7QBNZjs.ParseRpcError; exports.RawContractError = _chunkR5D7QBNZjs.RawContractError; exports.RequestError = _chunkR5D7QBNZjs.RequestError; exports.ResourceNotFoundRpcError = _chunkR5D7QBNZjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkR5D7QBNZjs.ResourceUnavailableRpcError; exports.RpcError = _chunkR5D7QBNZjs.RpcError; exports.RpcRequestError = _chunkR5D7QBNZjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkR5D7QBNZjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkR5D7QBNZjs.SwitchChainError; exports.TimeoutError = _chunkR5D7QBNZjs.TimeoutError; exports.TipAboveFeeCapError = _chunkR5D7QBNZjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkR5D7QBNZjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkR5D7QBNZjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkR5D7QBNZjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkR5D7QBNZjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkR5D7QBNZjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkR5D7QBNZjs.UnknownNodeError; exports.UnknownRpcError = _chunkR5D7QBNZjs.UnknownRpcError; exports.UrlRequiredError = _chunkR5D7QBNZjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkR5D7QBNZjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkR5D7QBNZjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkR5D7QBNZjs.WebSocketRequestError; exports.boolToBytes = _chunkR5D7QBNZjs.boolToBytes; exports.boolToHex = _chunkR5D7QBNZjs.boolToHex; exports.bytesToBigint = _chunkR5D7QBNZjs.bytesToBigint; exports.bytesToBool = _chunkR5D7QBNZjs.bytesToBool; exports.bytesToHex = _chunkR5D7QBNZjs.bytesToHex; exports.bytesToNumber = _chunkR5D7QBNZjs.bytesToNumber; exports.bytesToString = _chunkR5D7QBNZjs.bytesToString; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkR5D7QBNZjs.decodeAbiParameters; exports.decodeErrorResult = _chunkR5D7QBNZjs.decodeErrorResult; exports.decodeEventLog = _chunkR5D7QBNZjs.decodeEventLog; exports.decodeFunctionData = _chunkR5D7QBNZjs.decodeFunctionData; exports.decodeFunctionResult = _chunkR5D7QBNZjs.decodeFunctionResult; exports.defineBlock = _chunkR5D7QBNZjs.defineBlock; exports.defineChain = _chunkR5D7QBNZjs.defineChain; exports.defineTransaction = _chunkR5D7QBNZjs.defineTransaction; exports.defineTransactionReceipt = _chunkR5D7QBNZjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkR5D7QBNZjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkR5D7QBNZjs.encodeAbiParameters; exports.encodeDeployData = _chunkR5D7QBNZjs.encodeDeployData; exports.encodeErrorResult = _chunkR5D7QBNZjs.encodeErrorResult; exports.encodeEventTopics = _chunkR5D7QBNZjs.encodeEventTopics; exports.encodeFunctionData = _chunkR5D7QBNZjs.encodeFunctionData; exports.encodeFunctionResult = _chunkR5D7QBNZjs.encodeFunctionResult; exports.encodePacked = _chunkR5D7QBNZjs.encodePacked; exports.etherUnits = _chunkR5D7QBNZjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkR5D7QBNZjs.formatBlock; exports.formatEther = _chunkR5D7QBNZjs.formatEther; exports.formatGwei = _chunkR5D7QBNZjs.formatGwei; exports.formatTransaction = _chunkR5D7QBNZjs.formatTransaction; exports.formatTransactionRequest = _chunkR5D7QBNZjs.formatTransactionRequest; exports.formatUnits = _chunkR5D7QBNZjs.formatUnits; exports.fromBytes = _chunkR5D7QBNZjs.fromBytes; exports.fromHex = _chunkR5D7QBNZjs.fromHex; exports.fromRlp = _chunkR5D7QBNZjs.fromRlp; exports.getAbiItem = _chunkR5D7QBNZjs.getAbiItem; exports.getAccount = _chunkR5D7QBNZjs.getAccount; exports.getAddress = _chunkR5D7QBNZjs.getAddress; exports.getContractAddress = _chunkR5D7QBNZjs.getContractAddress; exports.getContractError = _chunkR5D7QBNZjs.getContractError; exports.getCreate2Address = _chunkR5D7QBNZjs.getCreate2Address; exports.getCreateAddress = _chunkR5D7QBNZjs.getCreateAddress; exports.getEventSelector = _chunkR5D7QBNZjs.getEventSelector; exports.getFunctionSelector = _chunkR5D7QBNZjs.getFunctionSelector; exports.gweiUnits = _chunkR5D7QBNZjs.gweiUnits; exports.hexToBigInt = _chunkR5D7QBNZjs.hexToBigInt; exports.hexToBool = _chunkR5D7QBNZjs.hexToBool; exports.hexToBytes = _chunkR5D7QBNZjs.hexToBytes; exports.hexToNumber = _chunkR5D7QBNZjs.hexToNumber; exports.hexToString = _chunkR5D7QBNZjs.hexToString; exports.http = http; exports.isAddress = _chunkR5D7QBNZjs.isAddress; exports.isAddressEqual = _chunkR5D7QBNZjs.isAddressEqual; exports.isBytes = _chunkR5D7QBNZjs.isBytes; exports.isHex = _chunkR5D7QBNZjs.isHex; exports.keccak256 = _chunkR5D7QBNZjs.keccak256; exports.labelhash = _chunk75OCRSSBjs.labelhash; exports.multicall3Abi = _chunkR5D7QBNZjs.multicall3Abi; exports.namehash = _chunk75OCRSSBjs.namehash; exports.numberToBytes = _chunkR5D7QBNZjs.numberToBytes; exports.numberToHex = _chunkR5D7QBNZjs.numberToHex; exports.pad = _chunkR5D7QBNZjs.pad; exports.padBytes = _chunkR5D7QBNZjs.padBytes; exports.padHex = _chunkR5D7QBNZjs.padHex; exports.parseAbi = _chunkR5D7QBNZjs.parseAbi; exports.parseAbiItem = _chunkR5D7QBNZjs.parseAbiItem; exports.parseAbiParameter = _chunkR5D7QBNZjs.parseAbiParameter; exports.parseAbiParameters = _chunkR5D7QBNZjs.parseAbiParameters; exports.parseEther = _chunkR5D7QBNZjs.parseEther; exports.parseGwei = _chunkR5D7QBNZjs.parseGwei; exports.parseUnits = _chunkR5D7QBNZjs.parseUnits; exports.size = _chunkR5D7QBNZjs.size; exports.slice = _chunkR5D7QBNZjs.slice; exports.sliceBytes = _chunkR5D7QBNZjs.sliceBytes; exports.sliceHex = _chunkR5D7QBNZjs.sliceHex; exports.stringToBytes = _chunkR5D7QBNZjs.stringToBytes; exports.stringToHex = _chunkR5D7QBNZjs.stringToHex; exports.stringify = _chunkR5D7QBNZjs.stringify; exports.toBytes = _chunkR5D7QBNZjs.toBytes; exports.toHex = _chunkR5D7QBNZjs.toHex; exports.toRlp = _chunkR5D7QBNZjs.toRlp; exports.transactionType = _chunkR5D7QBNZjs.transactionType; exports.trim = _chunkR5D7QBNZjs.trim; exports.webSocket = webSocket; exports.weiUnits = _chunkR5D7QBNZjs.weiUnits;
|
780
780
|
//# 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-XRSXWQKH.mjs";
|
7
7
|
import {
|
8
8
|
AbiConstructorNotFoundError,
|
9
9
|
AbiConstructorParamsNotFoundError,
|
@@ -234,7 +234,7 @@ import {
|
|
234
234
|
watchPendingTransactions,
|
235
235
|
weiUnits,
|
236
236
|
writeContract
|
237
|
-
} from "./chunk-
|
237
|
+
} from "./chunk-VUSHGUTQ.mjs";
|
238
238
|
|
239
239
|
// src/clients/transports/createTransport.ts
|
240
240
|
function createTransport({
|
package/dist/public.js
CHANGED
@@ -26,7 +26,7 @@
|
|
26
26
|
|
27
27
|
|
28
28
|
|
29
|
-
var
|
29
|
+
var _chunkR5D7QBNZjs = require('./chunk-R5D7QBNZ.js');
|
30
30
|
|
31
31
|
|
32
32
|
|
@@ -55,5 +55,5 @@ var _chunkPZIHILNKjs = require('./chunk-PZIHILNK.js');
|
|
55
55
|
|
56
56
|
|
57
57
|
|
58
|
-
exports.call =
|
58
|
+
exports.call = _chunkR5D7QBNZjs.call; exports.createBlockFilter = _chunkR5D7QBNZjs.createBlockFilter; exports.createEventFilter = _chunkR5D7QBNZjs.createEventFilter; exports.createPendingTransactionFilter = _chunkR5D7QBNZjs.createPendingTransactionFilter; exports.estimateGas = _chunkR5D7QBNZjs.estimateGas; exports.getBalance = _chunkR5D7QBNZjs.getBalance; exports.getBlock = _chunkR5D7QBNZjs.getBlock; exports.getBlockNumber = _chunkR5D7QBNZjs.getBlockNumber; exports.getBlockNumberCache = _chunkR5D7QBNZjs.getBlockNumberCache; exports.getBlockTransactionCount = _chunkR5D7QBNZjs.getBlockTransactionCount; exports.getBytecode = _chunkR5D7QBNZjs.getBytecode; exports.getChainId = _chunkR5D7QBNZjs.getChainId; exports.getFeeHistory = _chunkR5D7QBNZjs.getFeeHistory; exports.getFilterChanges = _chunkR5D7QBNZjs.getFilterChanges; exports.getFilterLogs = _chunkR5D7QBNZjs.getFilterLogs; exports.getGasPrice = _chunkR5D7QBNZjs.getGasPrice; exports.getLogs = _chunkR5D7QBNZjs.getLogs; exports.getTransaction = _chunkR5D7QBNZjs.getTransaction; exports.getTransactionConfirmations = _chunkR5D7QBNZjs.getTransactionConfirmations; exports.getTransactionCount = _chunkR5D7QBNZjs.getTransactionCount; exports.getTransactionReceipt = _chunkR5D7QBNZjs.getTransactionReceipt; exports.uninstallFilter = _chunkR5D7QBNZjs.uninstallFilter; exports.waitForTransactionReceipt = _chunkR5D7QBNZjs.waitForTransactionReceipt; exports.watchBlockNumber = _chunkR5D7QBNZjs.watchBlockNumber; exports.watchBlocks = _chunkR5D7QBNZjs.watchBlocks; exports.watchEvent = _chunkR5D7QBNZjs.watchEvent; exports.watchPendingTransactions = _chunkR5D7QBNZjs.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 _chunkR5D7QBNZjs = require('./chunk-R5D7QBNZ.js');
|
31
31
|
|
32
32
|
|
33
33
|
|
@@ -57,5 +57,5 @@ var _chunkPZIHILNKjs = require('./chunk-PZIHILNK.js');
|
|
57
57
|
|
58
58
|
|
59
59
|
|
60
|
-
exports.dropTransaction =
|
60
|
+
exports.dropTransaction = _chunkR5D7QBNZjs.dropTransaction; exports.getAutomine = _chunkR5D7QBNZjs.getAutomine; exports.getTxpoolContent = _chunkR5D7QBNZjs.getTxpoolContent; exports.getTxpoolStatus = _chunkR5D7QBNZjs.getTxpoolStatus; exports.impersonateAccount = _chunkR5D7QBNZjs.impersonateAccount; exports.increaseTime = _chunkR5D7QBNZjs.increaseTime; exports.inspectTxpool = _chunkR5D7QBNZjs.inspectTxpool; exports.mine = _chunkR5D7QBNZjs.mine; exports.removeBlockTimestampInterval = _chunkR5D7QBNZjs.removeBlockTimestampInterval; exports.reset = _chunkR5D7QBNZjs.reset; exports.revert = _chunkR5D7QBNZjs.revert; exports.sendUnsignedTransaction = _chunkR5D7QBNZjs.sendUnsignedTransaction; exports.setAutomine = _chunkR5D7QBNZjs.setAutomine; exports.setBalance = _chunkR5D7QBNZjs.setBalance; exports.setBlockGasLimit = _chunkR5D7QBNZjs.setBlockGasLimit; exports.setBlockTimestampInterval = _chunkR5D7QBNZjs.setBlockTimestampInterval; exports.setCode = _chunkR5D7QBNZjs.setCode; exports.setCoinbase = _chunkR5D7QBNZjs.setCoinbase; exports.setIntervalMining = _chunkR5D7QBNZjs.setIntervalMining; exports.setLoggingEnabled = _chunkR5D7QBNZjs.setLoggingEnabled; exports.setMinGasPrice = _chunkR5D7QBNZjs.setMinGasPrice; exports.setNextBlockBaseFeePerGas = _chunkR5D7QBNZjs.setNextBlockBaseFeePerGas; exports.setNextBlockTimestamp = _chunkR5D7QBNZjs.setNextBlockTimestamp; exports.setNonce = _chunkR5D7QBNZjs.setNonce; exports.setRpcUrl = _chunkR5D7QBNZjs.setRpcUrl; exports.setStorageAt = _chunkR5D7QBNZjs.setStorageAt; exports.snapshot = _chunkR5D7QBNZjs.snapshot; exports.stopImpersonatingAccount = _chunkR5D7QBNZjs.stopImpersonatingAccount;
|
61
61
|
//# sourceMappingURL=test.js.map
|
package/dist/test.mjs
CHANGED
package/dist/utils/index.js
CHANGED
@@ -97,7 +97,7 @@
|
|
97
97
|
|
98
98
|
|
99
99
|
|
100
|
-
var
|
100
|
+
var _chunkR5D7QBNZjs = require('../chunk-R5D7QBNZ.js');
|
101
101
|
|
102
102
|
|
103
103
|
|
@@ -197,5 +197,5 @@ var _chunkPZIHILNKjs = require('../chunk-PZIHILNK.js');
|
|
197
197
|
|
198
198
|
|
199
199
|
|
200
|
-
exports.arrayRegex =
|
200
|
+
exports.arrayRegex = _chunkR5D7QBNZjs.arrayRegex; exports.assertRequest = _chunkR5D7QBNZjs.assertRequest; exports.boolToBytes = _chunkR5D7QBNZjs.boolToBytes; exports.boolToHex = _chunkR5D7QBNZjs.boolToHex; exports.buildRequest = _chunkR5D7QBNZjs.buildRequest; exports.bytesRegex = _chunkR5D7QBNZjs.bytesRegex; exports.bytesToBigint = _chunkR5D7QBNZjs.bytesToBigint; exports.bytesToBool = _chunkR5D7QBNZjs.bytesToBool; exports.bytesToHex = _chunkR5D7QBNZjs.bytesToHex; exports.bytesToNumber = _chunkR5D7QBNZjs.bytesToNumber; exports.bytesToString = _chunkR5D7QBNZjs.bytesToString; exports.containsNodeError = _chunkR5D7QBNZjs.containsNodeError; exports.decodeAbiParameters = _chunkR5D7QBNZjs.decodeAbiParameters; exports.decodeErrorResult = _chunkR5D7QBNZjs.decodeErrorResult; exports.decodeEventLog = _chunkR5D7QBNZjs.decodeEventLog; exports.decodeFunctionData = _chunkR5D7QBNZjs.decodeFunctionData; exports.decodeFunctionResult = _chunkR5D7QBNZjs.decodeFunctionResult; exports.defineBlock = _chunkR5D7QBNZjs.defineBlock; exports.defineChain = _chunkR5D7QBNZjs.defineChain; exports.defineFormatter = _chunkR5D7QBNZjs.defineFormatter; exports.defineTransaction = _chunkR5D7QBNZjs.defineTransaction; exports.defineTransactionReceipt = _chunkR5D7QBNZjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkR5D7QBNZjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkR5D7QBNZjs.encodeAbiParameters; exports.encodeDeployData = _chunkR5D7QBNZjs.encodeDeployData; exports.encodeErrorResult = _chunkR5D7QBNZjs.encodeErrorResult; exports.encodeEventTopics = _chunkR5D7QBNZjs.encodeEventTopics; exports.encodeFunctionData = _chunkR5D7QBNZjs.encodeFunctionData; exports.encodeFunctionResult = _chunkR5D7QBNZjs.encodeFunctionResult; exports.encodePacked = _chunkR5D7QBNZjs.encodePacked; exports.extract = _chunkR5D7QBNZjs.extract; exports.extractFunctionName = _chunkR5D7QBNZjs.extractFunctionName; exports.extractFunctionParams = _chunkR5D7QBNZjs.extractFunctionParams; exports.extractFunctionParts = _chunkR5D7QBNZjs.extractFunctionParts; exports.extractFunctionType = _chunkR5D7QBNZjs.extractFunctionType; exports.format = _chunkR5D7QBNZjs.format; exports.formatAbiItem = _chunkR5D7QBNZjs.formatAbiItem; exports.formatAbiItemWithArgs = _chunkR5D7QBNZjs.formatAbiItemWithArgs; exports.formatBlock = _chunkR5D7QBNZjs.formatBlock; exports.formatEther = _chunkR5D7QBNZjs.formatEther; exports.formatGwei = _chunkR5D7QBNZjs.formatGwei; exports.formatTransaction = _chunkR5D7QBNZjs.formatTransaction; exports.formatTransactionRequest = _chunkR5D7QBNZjs.formatTransactionRequest; exports.formatUnits = _chunkR5D7QBNZjs.formatUnits; exports.fromBytes = _chunkR5D7QBNZjs.fromBytes; exports.fromHex = _chunkR5D7QBNZjs.fromHex; exports.fromRlp = _chunkR5D7QBNZjs.fromRlp; exports.getAbiItem = _chunkR5D7QBNZjs.getAbiItem; exports.getAccount = _chunkR5D7QBNZjs.getAccount; exports.getAddress = _chunkR5D7QBNZjs.getAddress; exports.getCallError = _chunkR5D7QBNZjs.getCallError; exports.getContractAddress = _chunkR5D7QBNZjs.getContractAddress; exports.getContractError = _chunkR5D7QBNZjs.getContractError; exports.getCreate2Address = _chunkR5D7QBNZjs.getCreate2Address; exports.getCreateAddress = _chunkR5D7QBNZjs.getCreateAddress; exports.getEstimateGasError = _chunkR5D7QBNZjs.getEstimateGasError; exports.getEventSelector = _chunkR5D7QBNZjs.getEventSelector; exports.getFunctionSelector = _chunkR5D7QBNZjs.getFunctionSelector; exports.getNodeError = _chunkR5D7QBNZjs.getNodeError; exports.getSocket = _chunkR5D7QBNZjs.getSocket; exports.getTransactionError = _chunkR5D7QBNZjs.getTransactionError; exports.hexToBigInt = _chunkR5D7QBNZjs.hexToBigInt; exports.hexToBool = _chunkR5D7QBNZjs.hexToBool; exports.hexToBytes = _chunkR5D7QBNZjs.hexToBytes; exports.hexToNumber = _chunkR5D7QBNZjs.hexToNumber; exports.hexToString = _chunkR5D7QBNZjs.hexToString; exports.integerRegex = _chunkR5D7QBNZjs.integerRegex; exports.isAddress = _chunkR5D7QBNZjs.isAddress; exports.isAddressEqual = _chunkR5D7QBNZjs.isAddressEqual; exports.isBytes = _chunkR5D7QBNZjs.isBytes; exports.isHex = _chunkR5D7QBNZjs.isHex; exports.keccak256 = _chunkR5D7QBNZjs.keccak256; exports.numberToBytes = _chunkR5D7QBNZjs.numberToBytes; exports.numberToHex = _chunkR5D7QBNZjs.numberToHex; exports.pad = _chunkR5D7QBNZjs.pad; exports.padBytes = _chunkR5D7QBNZjs.padBytes; exports.padHex = _chunkR5D7QBNZjs.padHex; exports.parseAbi = _chunkR5D7QBNZjs.parseAbi; exports.parseAbiItem = _chunkR5D7QBNZjs.parseAbiItem; exports.parseAbiParameter = _chunkR5D7QBNZjs.parseAbiParameter; exports.parseAbiParameters = _chunkR5D7QBNZjs.parseAbiParameters; exports.parseEther = _chunkR5D7QBNZjs.parseEther; exports.parseGwei = _chunkR5D7QBNZjs.parseGwei; exports.parseUnits = _chunkR5D7QBNZjs.parseUnits; exports.prepareRequest = _chunkR5D7QBNZjs.prepareRequest; exports.rpc = _chunkR5D7QBNZjs.rpc; exports.size = _chunkR5D7QBNZjs.size; exports.slice = _chunkR5D7QBNZjs.slice; exports.sliceBytes = _chunkR5D7QBNZjs.sliceBytes; exports.sliceHex = _chunkR5D7QBNZjs.sliceHex; exports.stringToBytes = _chunkR5D7QBNZjs.stringToBytes; exports.stringToHex = _chunkR5D7QBNZjs.stringToHex; exports.stringify = _chunkR5D7QBNZjs.stringify; exports.toBytes = _chunkR5D7QBNZjs.toBytes; exports.toHex = _chunkR5D7QBNZjs.toHex; exports.toRlp = _chunkR5D7QBNZjs.toRlp; exports.transactionType = _chunkR5D7QBNZjs.transactionType; exports.trim = _chunkR5D7QBNZjs.trim;
|
201
201
|
//# sourceMappingURL=index.js.map
|
package/dist/utils/index.mjs
CHANGED
package/dist/wallet.js
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
|
10
10
|
|
11
|
-
var
|
11
|
+
var _chunkR5D7QBNZjs = require('./chunk-R5D7QBNZ.js');
|
12
12
|
|
13
13
|
|
14
14
|
|
@@ -19,5 +19,5 @@ var _chunkPZIHILNKjs = require('./chunk-PZIHILNK.js');
|
|
19
19
|
|
20
20
|
|
21
21
|
|
22
|
-
exports.addChain =
|
22
|
+
exports.addChain = _chunkR5D7QBNZjs.addChain; exports.getAddresses = _chunkR5D7QBNZjs.getAddresses; exports.getPermissions = _chunkR5D7QBNZjs.getPermissions; exports.requestAddresses = _chunkR5D7QBNZjs.requestAddresses; exports.requestPermissions = _chunkR5D7QBNZjs.requestPermissions; exports.sendTransaction = _chunkR5D7QBNZjs.sendTransaction; exports.signMessage = _chunkR5D7QBNZjs.signMessage; exports.switchChain = _chunkR5D7QBNZjs.switchChain; exports.watchAsset = _chunkR5D7QBNZjs.watchAsset;
|
23
23
|
//# sourceMappingURL=wallet.js.map
|
package/dist/wallet.mjs
CHANGED
package/package.json
CHANGED
@@ -4,12 +4,12 @@
|
|
4
4
|
"dependencies": {
|
5
5
|
"@noble/hashes": "^1.1.2",
|
6
6
|
"@wagmi/chains": "~0.2.8",
|
7
|
-
"abitype": "~0.6.
|
7
|
+
"abitype": "~0.6.7",
|
8
8
|
"idna-uts46-hx": "^4.1.2",
|
9
9
|
"isomorphic-ws": "^5.0.0",
|
10
10
|
"ws": "^8.12.0"
|
11
11
|
},
|
12
|
-
"version": "0.1.
|
12
|
+
"version": "0.1.2",
|
13
13
|
"files": [
|
14
14
|
"/abi",
|
15
15
|
"/dist",
|
File without changes
|
File without changes
|