viem 0.0.1-alpha.28 → 0.0.1-alpha.29
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/chains.js +46 -46
- package/dist/chains.mjs +1 -1
- package/dist/{chunk-7GQB4KE5.js → chunk-4VQKZYE2.js} +72 -72
- package/dist/{chunk-7GQB4KE5.js.map → chunk-4VQKZYE2.js.map} +0 -0
- package/dist/{chunk-JJ4FDDDW.js → chunk-CKYH337I.js} +14 -14
- package/dist/{chunk-JJ4FDDDW.js.map → chunk-CKYH337I.js.map} +0 -0
- package/dist/{chunk-NYWN5V47.js → chunk-EYORBAD4.js} +37 -37
- package/dist/chunk-EYORBAD4.js.map +1 -0
- package/dist/{chunk-PVBEFQET.mjs → chunk-HPUQL3IM.mjs} +2 -2
- package/dist/{chunk-PVBEFQET.mjs.map → chunk-HPUQL3IM.mjs.map} +0 -0
- package/dist/{chunk-FPEKYEVU.js → chunk-OJ7H3CQF.js} +14 -14
- package/dist/{chunk-FPEKYEVU.js.map → chunk-OJ7H3CQF.js.map} +0 -0
- package/dist/{chunk-GRILGOX5.mjs → chunk-Q67VUTW3.mjs} +3 -3
- package/dist/{chunk-GRILGOX5.mjs.map → chunk-Q67VUTW3.mjs.map} +0 -0
- package/dist/{chunk-TDOKFOQ5.mjs → chunk-RR4MGS6O.mjs} +19 -19
- package/dist/chunk-RR4MGS6O.mjs.map +1 -0
- package/dist/{chunk-NKO23GXR.mjs → chunk-S252SZEL.mjs} +2 -2
- package/dist/{chunk-NKO23GXR.mjs.map → chunk-S252SZEL.mjs.map} +0 -0
- package/dist/{chunk-67DKKHAV.js → chunk-SEIPUKZE.js} +22 -22
- package/dist/{chunk-67DKKHAV.js.map → chunk-SEIPUKZE.js.map} +0 -0
- package/dist/{chunk-RCJJFKTU.mjs → chunk-TQC7KZ24.mjs} +2 -2
- package/dist/{chunk-RCJJFKTU.mjs.map → chunk-TQC7KZ24.mjs.map} +0 -0
- package/dist/contract.js +4 -4
- package/dist/contract.mjs +3 -3
- package/dist/ens.js +4 -4
- package/dist/ens.mjs +3 -3
- package/dist/index.d.ts +4 -4
- package/dist/index.js +90 -90
- package/dist/index.mjs +5 -5
- package/dist/{parseGwei-07adffee.d.ts → parseGwei-4d0b0d73.d.ts} +4 -4
- package/dist/public.js +3 -3
- package/dist/public.mjs +2 -2
- package/dist/test.js +3 -3
- package/dist/test.mjs +2 -2
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +2 -2
- package/dist/utils/index.mjs +1 -1
- package/dist/wallet.js +3 -3
- package/dist/wallet.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-NYWN5V47.js.map +0 -1
- package/dist/chunk-TDOKFOQ5.mjs.map +0 -1
package/dist/index.js
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
|
5
5
|
|
6
|
-
var
|
6
|
+
var _chunkSEIPUKZEjs = require('./chunk-SEIPUKZE.js');
|
7
7
|
|
8
8
|
|
9
9
|
|
@@ -37,7 +37,7 @@ var _chunk67DKKHAVjs = require('./chunk-67DKKHAV.js');
|
|
37
37
|
|
38
38
|
|
39
39
|
|
40
|
-
var
|
40
|
+
var _chunk4VQKZYE2js = require('./chunk-4VQKZYE2.js');
|
41
41
|
|
42
42
|
|
43
43
|
|
@@ -67,7 +67,7 @@ var _chunk7GQB4KE5js = require('./chunk-7GQB4KE5.js');
|
|
67
67
|
|
68
68
|
|
69
69
|
|
70
|
-
var
|
70
|
+
var _chunkOJ7H3CQFjs = require('./chunk-OJ7H3CQF.js');
|
71
71
|
|
72
72
|
|
73
73
|
|
@@ -80,7 +80,7 @@ var _chunkFPEKYEVUjs = require('./chunk-FPEKYEVU.js');
|
|
80
80
|
|
81
81
|
|
82
82
|
|
83
|
-
var
|
83
|
+
var _chunkCKYH337Ijs = require('./chunk-CKYH337I.js');
|
84
84
|
|
85
85
|
|
86
86
|
|
@@ -214,7 +214,7 @@ var _chunkJJ4FDDDWjs = require('./chunk-JJ4FDDDW.js');
|
|
214
214
|
|
215
215
|
|
216
216
|
|
217
|
-
var
|
217
|
+
var _chunkEYORBAD4js = require('./chunk-EYORBAD4.js');
|
218
218
|
|
219
219
|
// src/clients/transports/createTransport.ts
|
220
220
|
function createTransport({
|
@@ -228,7 +228,7 @@ function createTransport({
|
|
228
228
|
}, value) {
|
229
229
|
return {
|
230
230
|
config: { key, name, request, retryCount, retryDelay, timeout, type },
|
231
|
-
request:
|
231
|
+
request: _chunkEYORBAD4js.buildRequest.call(void 0, request, { retryCount, retryDelay }),
|
232
232
|
value
|
233
233
|
};
|
234
234
|
}
|
@@ -262,7 +262,7 @@ function fallback(transports, config = {}) {
|
|
262
262
|
params
|
263
263
|
});
|
264
264
|
} catch (err) {
|
265
|
-
if (
|
265
|
+
if (_chunkEYORBAD4js.isDeterministicError.call(void 0, err))
|
266
266
|
throw err;
|
267
267
|
if (i === transports.length - 1)
|
268
268
|
throw err;
|
@@ -295,13 +295,13 @@ function http(url, config = {}) {
|
|
295
295
|
const retryCount = _nullishCoalesce(config.retryCount, () => ( defaultRetryCount));
|
296
296
|
const url_ = url || _optionalChain([chain, 'optionalAccess', _ => _.rpcUrls, 'access', _2 => _2.default, 'access', _3 => _3.http, 'access', _4 => _4[0]]);
|
297
297
|
if (!url_)
|
298
|
-
throw new (0,
|
298
|
+
throw new (0, _chunkEYORBAD4js.UrlRequiredError)();
|
299
299
|
return createTransport(
|
300
300
|
{
|
301
301
|
key,
|
302
302
|
name,
|
303
303
|
async request({ method, params }) {
|
304
|
-
const { result } = await
|
304
|
+
const { result } = await _chunkEYORBAD4js.rpc.http(url_, {
|
305
305
|
body: {
|
306
306
|
method,
|
307
307
|
params
|
@@ -334,14 +334,14 @@ function webSocket(url, config = {}) {
|
|
334
334
|
const retryCount = _nullishCoalesce(config.retryCount, () => ( defaultRetryCount));
|
335
335
|
const url_ = url || _optionalChain([chain, 'optionalAccess', _5 => _5.rpcUrls, 'access', _6 => _6.default, 'access', _7 => _7.webSocket, 'optionalAccess', _8 => _8[0]]);
|
336
336
|
if (!url_)
|
337
|
-
throw new (0,
|
337
|
+
throw new (0, _chunkEYORBAD4js.UrlRequiredError)();
|
338
338
|
return createTransport(
|
339
339
|
{
|
340
340
|
key,
|
341
341
|
name,
|
342
342
|
async request({ method, params }) {
|
343
|
-
const socket = await
|
344
|
-
const { result } = await
|
343
|
+
const socket = await _chunkEYORBAD4js.getSocket.call(void 0, url_);
|
344
|
+
const { result } = await _chunkEYORBAD4js.rpc.webSocketAsync(socket, {
|
345
345
|
body: { method, params },
|
346
346
|
timeout
|
347
347
|
});
|
@@ -354,12 +354,12 @@ function webSocket(url, config = {}) {
|
|
354
354
|
},
|
355
355
|
{
|
356
356
|
getSocket() {
|
357
|
-
return
|
357
|
+
return _chunkEYORBAD4js.getSocket.call(void 0, url_);
|
358
358
|
},
|
359
359
|
async subscribe({ params, onData, onError }) {
|
360
|
-
const socket = await
|
360
|
+
const socket = await _chunkEYORBAD4js.getSocket.call(void 0, url_);
|
361
361
|
const { result: subscriptionId } = await new Promise(
|
362
|
-
(resolve, reject) =>
|
362
|
+
(resolve, reject) => _chunkEYORBAD4js.rpc.webSocket(socket, {
|
363
363
|
body: {
|
364
364
|
method: "eth_subscribe",
|
365
365
|
params
|
@@ -381,7 +381,7 @@ function webSocket(url, config = {}) {
|
|
381
381
|
subscriptionId,
|
382
382
|
async unsubscribe() {
|
383
383
|
return new Promise(
|
384
|
-
(resolve, reject) =>
|
384
|
+
(resolve, reject) => _chunkEYORBAD4js.rpc.webSocket(socket, {
|
385
385
|
body: {
|
386
386
|
method: "eth_unsubscribe",
|
387
387
|
params: [subscriptionId]
|
@@ -437,87 +437,87 @@ function createClient({
|
|
437
437
|
|
438
438
|
// src/clients/decorators/public.ts
|
439
439
|
var publicActions = (client) => ({
|
440
|
-
call: (args) =>
|
441
|
-
createBlockFilter: () =>
|
442
|
-
createContractEventFilter: (args) =>
|
443
|
-
createEventFilter: (args) =>
|
444
|
-
createPendingTransactionFilter: () =>
|
445
|
-
estimateContractGas: (args) =>
|
446
|
-
estimateGas: (args) =>
|
447
|
-
getBalance: (args) =>
|
448
|
-
getBlock: (args) =>
|
449
|
-
getBlockNumber: (args) =>
|
450
|
-
getBlockTransactionCount: (args) =>
|
451
|
-
getBytecode: (args) =>
|
452
|
-
getChainId: () =>
|
453
|
-
getEnsAddress: (args) =>
|
454
|
-
getEnsName: (args) =>
|
455
|
-
getFeeHistory: (args) =>
|
456
|
-
getFilterChanges: (args) =>
|
457
|
-
getFilterLogs: (args) =>
|
458
|
-
getGasPrice: () =>
|
459
|
-
getLogs: (args) =>
|
460
|
-
getStorageAt: (args) =>
|
461
|
-
getTransaction: (args) =>
|
462
|
-
getTransactionConfirmations: (args) =>
|
463
|
-
getTransactionReceipt: (args) =>
|
464
|
-
multicall: (args) =>
|
465
|
-
readContract: (args) =>
|
466
|
-
simulateContract: (args) =>
|
467
|
-
uninstallFilter: (args) =>
|
468
|
-
waitForTransactionReceipt: (args) =>
|
469
|
-
watchBlocks: (args) =>
|
470
|
-
watchBlockNumber: (args) =>
|
471
|
-
watchContractEvent: (args) =>
|
472
|
-
watchEvent: (args) =>
|
473
|
-
watchPendingTransactions: (args) =>
|
440
|
+
call: (args) => _chunk4VQKZYE2js.call.call(void 0, client, args),
|
441
|
+
createBlockFilter: () => _chunk4VQKZYE2js.createBlockFilter.call(void 0, client),
|
442
|
+
createContractEventFilter: (args) => _chunk4VQKZYE2js.createContractEventFilter.call(void 0, client, args),
|
443
|
+
createEventFilter: (args) => _chunk4VQKZYE2js.createEventFilter.call(void 0, client, args),
|
444
|
+
createPendingTransactionFilter: () => _chunk4VQKZYE2js.createPendingTransactionFilter.call(void 0, client),
|
445
|
+
estimateContractGas: (args) => _chunk4VQKZYE2js.estimateContractGas.call(void 0, client, args),
|
446
|
+
estimateGas: (args) => _chunk4VQKZYE2js.estimateGas.call(void 0, client, args),
|
447
|
+
getBalance: (args) => _chunk4VQKZYE2js.getBalance.call(void 0, client, args),
|
448
|
+
getBlock: (args) => _chunk4VQKZYE2js.getBlock.call(void 0, client, args),
|
449
|
+
getBlockNumber: (args) => _chunk4VQKZYE2js.getBlockNumber.call(void 0, client, args),
|
450
|
+
getBlockTransactionCount: (args) => _chunk4VQKZYE2js.getBlockTransactionCount.call(void 0, client, args),
|
451
|
+
getBytecode: (args) => _chunk4VQKZYE2js.getBytecode.call(void 0, client, args),
|
452
|
+
getChainId: () => _chunk4VQKZYE2js.getChainId.call(void 0, client),
|
453
|
+
getEnsAddress: (args) => _chunkSEIPUKZEjs.getEnsAddress.call(void 0, client, args),
|
454
|
+
getEnsName: (args) => _chunkSEIPUKZEjs.getEnsName.call(void 0, client, args),
|
455
|
+
getFeeHistory: (args) => _chunk4VQKZYE2js.getFeeHistory.call(void 0, client, args),
|
456
|
+
getFilterChanges: (args) => _chunk4VQKZYE2js.getFilterChanges.call(void 0, client, args),
|
457
|
+
getFilterLogs: (args) => _chunk4VQKZYE2js.getFilterLogs.call(void 0, client, args),
|
458
|
+
getGasPrice: () => _chunk4VQKZYE2js.getGasPrice.call(void 0, client),
|
459
|
+
getLogs: (args) => _chunk4VQKZYE2js.getLogs.call(void 0, client, args),
|
460
|
+
getStorageAt: (args) => _chunk4VQKZYE2js.getStorageAt.call(void 0, client, args),
|
461
|
+
getTransaction: (args) => _chunk4VQKZYE2js.getTransaction.call(void 0, client, args),
|
462
|
+
getTransactionConfirmations: (args) => _chunk4VQKZYE2js.getTransactionConfirmations.call(void 0, client, args),
|
463
|
+
getTransactionReceipt: (args) => _chunk4VQKZYE2js.getTransactionReceipt.call(void 0, client, args),
|
464
|
+
multicall: (args) => _chunk4VQKZYE2js.multicall.call(void 0, client, args),
|
465
|
+
readContract: (args) => _chunk4VQKZYE2js.readContract.call(void 0, client, args),
|
466
|
+
simulateContract: (args) => _chunk4VQKZYE2js.simulateContract.call(void 0, client, args),
|
467
|
+
uninstallFilter: (args) => _chunk4VQKZYE2js.uninstallFilter.call(void 0, client, args),
|
468
|
+
waitForTransactionReceipt: (args) => _chunk4VQKZYE2js.waitForTransactionReceipt.call(void 0, client, args),
|
469
|
+
watchBlocks: (args) => _chunk4VQKZYE2js.watchBlocks.call(void 0, client, args),
|
470
|
+
watchBlockNumber: (args) => _chunk4VQKZYE2js.watchBlockNumber.call(void 0, client, args),
|
471
|
+
watchContractEvent: (args) => _chunk4VQKZYE2js.watchContractEvent.call(void 0, client, args),
|
472
|
+
watchEvent: (args) => _chunk4VQKZYE2js.watchEvent.call(void 0, client, args),
|
473
|
+
watchPendingTransactions: (args) => _chunk4VQKZYE2js.watchPendingTransactions.call(void 0, client, args)
|
474
474
|
});
|
475
475
|
|
476
476
|
// src/clients/decorators/test.ts
|
477
477
|
var testActions = (client) => ({
|
478
|
-
dropTransaction: (args) =>
|
479
|
-
getAutomine: () =>
|
480
|
-
getTxPoolContent: () =>
|
481
|
-
getTxPoolStatus: () =>
|
482
|
-
impersonateAccount: (args) =>
|
483
|
-
increaseTime: (args) =>
|
484
|
-
inspectTxpool: () =>
|
485
|
-
mine: (args) =>
|
486
|
-
removeBlockTimestampInterval: () =>
|
487
|
-
reset: (args) =>
|
488
|
-
revert: (args) =>
|
489
|
-
sendUnsignedTransaction: (args) =>
|
490
|
-
setAutomine: (args) =>
|
491
|
-
setBalance: (args) =>
|
492
|
-
setBlockGasLimit: (args) =>
|
493
|
-
setBlockTimestampInterval: (args) =>
|
494
|
-
setCode: (args) =>
|
495
|
-
setCoinbase: (args) =>
|
496
|
-
setIntervalMining: (args) =>
|
497
|
-
setLoggingEnabled: (args) =>
|
498
|
-
setMinGasPrice: (args) =>
|
499
|
-
setNextBlockBaseFeePerGas: (args) =>
|
500
|
-
setNextBlockTimestamp: (args) =>
|
501
|
-
setNonce: (args) =>
|
502
|
-
setRpcUrl: (args) =>
|
503
|
-
setStorageAt: (args) =>
|
504
|
-
snapshot: () =>
|
505
|
-
stopImpersonatingAccount: (args) =>
|
478
|
+
dropTransaction: (args) => _chunkOJ7H3CQFjs.dropTransaction.call(void 0, client, args),
|
479
|
+
getAutomine: () => _chunkOJ7H3CQFjs.getAutomine.call(void 0, client),
|
480
|
+
getTxPoolContent: () => _chunkOJ7H3CQFjs.getTxpoolContent.call(void 0, client),
|
481
|
+
getTxPoolStatus: () => _chunkOJ7H3CQFjs.getTxpoolStatus.call(void 0, client),
|
482
|
+
impersonateAccount: (args) => _chunkOJ7H3CQFjs.impersonateAccount.call(void 0, client, args),
|
483
|
+
increaseTime: (args) => _chunkOJ7H3CQFjs.increaseTime.call(void 0, client, args),
|
484
|
+
inspectTxpool: () => _chunkOJ7H3CQFjs.inspectTxpool.call(void 0, client),
|
485
|
+
mine: (args) => _chunkOJ7H3CQFjs.mine.call(void 0, client, args),
|
486
|
+
removeBlockTimestampInterval: () => _chunkOJ7H3CQFjs.removeBlockTimestampInterval.call(void 0, client),
|
487
|
+
reset: (args) => _chunkOJ7H3CQFjs.reset.call(void 0, client, args),
|
488
|
+
revert: (args) => _chunkOJ7H3CQFjs.revert.call(void 0, client, args),
|
489
|
+
sendUnsignedTransaction: (args) => _chunkOJ7H3CQFjs.sendUnsignedTransaction.call(void 0, client, args),
|
490
|
+
setAutomine: (args) => _chunkOJ7H3CQFjs.setAutomine.call(void 0, client, args),
|
491
|
+
setBalance: (args) => _chunkOJ7H3CQFjs.setBalance.call(void 0, client, args),
|
492
|
+
setBlockGasLimit: (args) => _chunkOJ7H3CQFjs.setBlockGasLimit.call(void 0, client, args),
|
493
|
+
setBlockTimestampInterval: (args) => _chunkOJ7H3CQFjs.setBlockTimestampInterval.call(void 0, client, args),
|
494
|
+
setCode: (args) => _chunkOJ7H3CQFjs.setCode.call(void 0, client, args),
|
495
|
+
setCoinbase: (args) => _chunkOJ7H3CQFjs.setCoinbase.call(void 0, client, args),
|
496
|
+
setIntervalMining: (args) => _chunkOJ7H3CQFjs.setIntervalMining.call(void 0, client, args),
|
497
|
+
setLoggingEnabled: (args) => _chunkOJ7H3CQFjs.setLoggingEnabled.call(void 0, client, args),
|
498
|
+
setMinGasPrice: (args) => _chunkOJ7H3CQFjs.setMinGasPrice.call(void 0, client, args),
|
499
|
+
setNextBlockBaseFeePerGas: (args) => _chunkOJ7H3CQFjs.setNextBlockBaseFeePerGas.call(void 0, client, args),
|
500
|
+
setNextBlockTimestamp: (args) => _chunkOJ7H3CQFjs.setNextBlockTimestamp.call(void 0, client, args),
|
501
|
+
setNonce: (args) => _chunkOJ7H3CQFjs.setNonce.call(void 0, client, args),
|
502
|
+
setRpcUrl: (args) => _chunkOJ7H3CQFjs.setRpcUrl.call(void 0, client, args),
|
503
|
+
setStorageAt: (args) => _chunkOJ7H3CQFjs.setStorageAt.call(void 0, client, args),
|
504
|
+
snapshot: () => _chunkOJ7H3CQFjs.snapshot.call(void 0, client),
|
505
|
+
stopImpersonatingAccount: (args) => _chunkOJ7H3CQFjs.stopImpersonatingAccount.call(void 0, client, args)
|
506
506
|
});
|
507
507
|
|
508
508
|
// src/clients/decorators/wallet.ts
|
509
509
|
var walletActions = (client) => ({
|
510
|
-
addChain: (args) =>
|
511
|
-
deployContract: (args) =>
|
512
|
-
getAccounts: () =>
|
513
|
-
getPermissions: () =>
|
514
|
-
requestAccounts: () =>
|
515
|
-
requestPermissions: (args) =>
|
516
|
-
sendTransaction: (args) =>
|
517
|
-
signMessage: (args) =>
|
518
|
-
switchChain: (args) =>
|
519
|
-
watchAsset: (args) =>
|
520
|
-
writeContract: (args) =>
|
510
|
+
addChain: (args) => _chunkCKYH337Ijs.addChain.call(void 0, client, args),
|
511
|
+
deployContract: (args) => _chunkCKYH337Ijs.deployContract.call(void 0, client, args),
|
512
|
+
getAccounts: () => _chunkCKYH337Ijs.getAccounts.call(void 0, client),
|
513
|
+
getPermissions: () => _chunkCKYH337Ijs.getPermissions.call(void 0, client),
|
514
|
+
requestAccounts: () => _chunkCKYH337Ijs.requestAccounts.call(void 0, client),
|
515
|
+
requestPermissions: (args) => _chunkCKYH337Ijs.requestPermissions.call(void 0, client, args),
|
516
|
+
sendTransaction: (args) => _chunkCKYH337Ijs.sendTransaction.call(void 0, client, args),
|
517
|
+
signMessage: (args) => _chunkCKYH337Ijs.signMessage.call(void 0, client, args),
|
518
|
+
switchChain: (args) => _chunkCKYH337Ijs.switchChain.call(void 0, client, args),
|
519
|
+
watchAsset: (args) => _chunkCKYH337Ijs.watchAsset.call(void 0, client, args),
|
520
|
+
writeContract: (args) => _chunkCKYH337Ijs.writeContract.call(void 0, client, args)
|
521
521
|
});
|
522
522
|
|
523
523
|
// src/clients/createPublicClient.ts
|
@@ -727,5 +727,5 @@ function createWalletClient({
|
|
727
727
|
|
728
728
|
|
729
729
|
|
730
|
-
exports.AbiConstructorNotFoundError =
|
730
|
+
exports.AbiConstructorNotFoundError = _chunkEYORBAD4js.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkEYORBAD4js.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkEYORBAD4js.AbiDecodingDataSizeInvalidError; exports.AbiEncodingArrayLengthMismatchError = _chunkEYORBAD4js.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkEYORBAD4js.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkEYORBAD4js.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkEYORBAD4js.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkEYORBAD4js.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkEYORBAD4js.AbiEventNotFoundError; exports.AbiFunctionNotFoundError = _chunkEYORBAD4js.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkEYORBAD4js.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkEYORBAD4js.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkEYORBAD4js.BaseError; exports.BlockNotFoundError = _chunkEYORBAD4js.BlockNotFoundError; exports.ContractFunctionExecutionError = _chunkEYORBAD4js.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkEYORBAD4js.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkEYORBAD4js.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkEYORBAD4js.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkEYORBAD4js.DataLengthTooShortError; exports.FilterTypeNotSupportedError = _chunkEYORBAD4js.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkEYORBAD4js.HttpRequestError; exports.InternalRpcError = _chunkEYORBAD4js.InternalRpcError; exports.InvalidAbiDecodingTypeError = _chunkEYORBAD4js.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkEYORBAD4js.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkEYORBAD4js.InvalidAddressError; exports.InvalidArrayError = _chunkEYORBAD4js.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkEYORBAD4js.InvalidBytesBooleanError; exports.InvalidDefinitionTypeError = _chunkEYORBAD4js.InvalidDefinitionTypeError; exports.InvalidGasArgumentsError = _chunkEYORBAD4js.InvalidGasArgumentsError; exports.InvalidHexBooleanError = _chunkEYORBAD4js.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkEYORBAD4js.InvalidHexValueError; exports.InvalidInputRpcError = _chunkEYORBAD4js.InvalidInputRpcError; exports.InvalidParamsRpcError = _chunkEYORBAD4js.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkEYORBAD4js.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkEYORBAD4js.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkEYORBAD4js.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkEYORBAD4js.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkEYORBAD4js.MethodNotSupportedRpcError; exports.OffsetOutOfBoundsError = _chunkEYORBAD4js.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkEYORBAD4js.ParseRpcError; exports.RequestError = _chunkEYORBAD4js.RequestError; exports.ResourceNotFoundRpcError = _chunkEYORBAD4js.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkEYORBAD4js.ResourceUnavailableRpcError; exports.RpcError = _chunkEYORBAD4js.RpcError; exports.RpcRequestError = _chunkEYORBAD4js.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkEYORBAD4js.SizeExceedsPaddingSizeError; exports.TimeoutError = _chunkEYORBAD4js.TimeoutError; exports.TransactionNotFoundError = _chunkEYORBAD4js.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkEYORBAD4js.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkEYORBAD4js.TransactionRejectedRpcError; exports.UnknownRpcError = _chunkEYORBAD4js.UnknownRpcError; exports.UrlRequiredError = _chunkEYORBAD4js.UrlRequiredError; exports.WaitForTransactionReceiptTimeoutError = _chunkEYORBAD4js.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkEYORBAD4js.WebSocketRequestError; exports.boolToBytes = _chunkEYORBAD4js.boolToBytes; exports.boolToHex = _chunkEYORBAD4js.boolToHex; exports.bytesToBigint = _chunkEYORBAD4js.bytesToBigint; exports.bytesToBool = _chunkEYORBAD4js.bytesToBool; exports.bytesToHex = _chunkEYORBAD4js.bytesToHex; exports.bytesToNumber = _chunkEYORBAD4js.bytesToNumber; exports.bytesToString = _chunkEYORBAD4js.bytesToString; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbi = _chunkEYORBAD4js.decodeAbi; exports.decodeErrorResult = _chunkEYORBAD4js.decodeErrorResult; exports.decodeEventLog = _chunkEYORBAD4js.decodeEventLog; exports.decodeFunctionData = _chunkEYORBAD4js.decodeFunctionData; exports.decodeFunctionResult = _chunkEYORBAD4js.decodeFunctionResult; exports.defineBlock = _chunkEYORBAD4js.defineBlock; exports.defineChain = _chunkEYORBAD4js.defineChain; exports.defineTransaction = _chunkEYORBAD4js.defineTransaction; exports.defineTransactionReceipt = _chunkEYORBAD4js.defineTransactionReceipt; exports.defineTransactionRequest = _chunkEYORBAD4js.defineTransactionRequest; exports.encodeAbi = _chunkEYORBAD4js.encodeAbi; exports.encodeDeployData = _chunkEYORBAD4js.encodeDeployData; exports.encodeErrorResult = _chunkEYORBAD4js.encodeErrorResult; exports.encodeEventTopics = _chunkEYORBAD4js.encodeEventTopics; exports.encodeFunctionData = _chunkEYORBAD4js.encodeFunctionData; exports.encodeFunctionResult = _chunkEYORBAD4js.encodeFunctionResult; exports.etherUnits = _chunkEYORBAD4js.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkEYORBAD4js.formatBlock; exports.formatEther = _chunkEYORBAD4js.formatEther; exports.formatGwei = _chunkEYORBAD4js.formatGwei; exports.formatTransaction = _chunkEYORBAD4js.formatTransaction; exports.formatTransactionRequest = _chunkEYORBAD4js.formatTransactionRequest; exports.formatUnit = _chunkEYORBAD4js.formatUnit; exports.fromBytes = _chunkEYORBAD4js.fromBytes; exports.fromHex = _chunkEYORBAD4js.fromHex; exports.fromRlp = _chunkEYORBAD4js.fromRlp; exports.getAbiItem = _chunkEYORBAD4js.getAbiItem; exports.getAddress = _chunkEYORBAD4js.getAddress; exports.getContractAddress = _chunkEYORBAD4js.getContractAddress; exports.getContractError = _chunkEYORBAD4js.getContractError; exports.getCreate2Address = _chunkEYORBAD4js.getCreate2Address; exports.getCreateAddress = _chunkEYORBAD4js.getCreateAddress; exports.getEventSignature = _chunkEYORBAD4js.getEventSignature; exports.getFunctionSignature = _chunkEYORBAD4js.getFunctionSignature; exports.gweiUnits = _chunkEYORBAD4js.gweiUnits; exports.hexToBigInt = _chunkEYORBAD4js.hexToBigInt; exports.hexToBool = _chunkEYORBAD4js.hexToBool; exports.hexToBytes = _chunkEYORBAD4js.hexToBytes; exports.hexToNumber = _chunkEYORBAD4js.hexToNumber; exports.hexToString = _chunkEYORBAD4js.hexToString; exports.http = http; exports.isAddress = _chunkEYORBAD4js.isAddress; exports.isAddressEqual = _chunkEYORBAD4js.isAddressEqual; exports.isBytes = _chunkEYORBAD4js.isBytes; exports.isHex = _chunkEYORBAD4js.isHex; exports.keccak256 = _chunkEYORBAD4js.keccak256; exports.labelhash = _chunkSEIPUKZEjs.labelhash; exports.multicall3Abi = _chunkEYORBAD4js.multicall3Abi; exports.namehash = _chunkSEIPUKZEjs.namehash; exports.numberToBytes = _chunkEYORBAD4js.numberToBytes; exports.numberToHex = _chunkEYORBAD4js.numberToHex; exports.pad = _chunkEYORBAD4js.pad; exports.padBytes = _chunkEYORBAD4js.padBytes; exports.padHex = _chunkEYORBAD4js.padHex; exports.parseEther = _chunkEYORBAD4js.parseEther; exports.parseGwei = _chunkEYORBAD4js.parseGwei; exports.parseUnit = _chunkEYORBAD4js.parseUnit; exports.size = _chunkEYORBAD4js.size; exports.slice = _chunkEYORBAD4js.slice; exports.sliceBytes = _chunkEYORBAD4js.sliceBytes; exports.sliceHex = _chunkEYORBAD4js.sliceHex; exports.stringToBytes = _chunkEYORBAD4js.stringToBytes; exports.stringToHex = _chunkEYORBAD4js.stringToHex; exports.stringify = _chunkEYORBAD4js.stringify; exports.toBytes = _chunkEYORBAD4js.toBytes; exports.toHex = _chunkEYORBAD4js.toHex; exports.toRlp = _chunkEYORBAD4js.toRlp; exports.transactionType = _chunkEYORBAD4js.transactionType; exports.trim = _chunkEYORBAD4js.trim; exports.webSocket = webSocket; exports.weiUnits = _chunkEYORBAD4js.weiUnits;
|
731
731
|
//# 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-Q67VUTW3.mjs";
|
7
7
|
import {
|
8
8
|
call,
|
9
9
|
createBlockFilter,
|
@@ -37,7 +37,7 @@ import {
|
|
37
37
|
watchContractEvent,
|
38
38
|
watchEvent,
|
39
39
|
watchPendingTransactions
|
40
|
-
} from "./chunk-
|
40
|
+
} from "./chunk-TQC7KZ24.mjs";
|
41
41
|
import {
|
42
42
|
dropTransaction,
|
43
43
|
getAutomine,
|
@@ -67,7 +67,7 @@ import {
|
|
67
67
|
setStorageAt,
|
68
68
|
snapshot,
|
69
69
|
stopImpersonatingAccount
|
70
|
-
} from "./chunk-
|
70
|
+
} from "./chunk-S252SZEL.mjs";
|
71
71
|
import {
|
72
72
|
addChain,
|
73
73
|
deployContract,
|
@@ -80,7 +80,7 @@ import {
|
|
80
80
|
switchChain,
|
81
81
|
watchAsset,
|
82
82
|
writeContract
|
83
|
-
} from "./chunk-
|
83
|
+
} from "./chunk-HPUQL3IM.mjs";
|
84
84
|
import {
|
85
85
|
AbiConstructorNotFoundError,
|
86
86
|
AbiConstructorParamsNotFoundError,
|
@@ -214,7 +214,7 @@ import {
|
|
214
214
|
transactionType,
|
215
215
|
trim,
|
216
216
|
weiUnits
|
217
|
-
} from "./chunk-
|
217
|
+
} from "./chunk-RR4MGS6O.mjs";
|
218
218
|
|
219
219
|
// src/clients/transports/createTransport.ts
|
220
220
|
function createTransport({
|
@@ -3,7 +3,7 @@ import { Abi } from 'abitype';
|
|
3
3
|
import { b as DecodeErrorResultResponse } from './getAbiItem-0e085959.js';
|
4
4
|
import WebSocket from 'isomorphic-ws';
|
5
5
|
|
6
|
-
declare function getAddress(address:
|
6
|
+
declare function getAddress(address: string): Address;
|
7
7
|
|
8
8
|
type GetCreateAddressOptions = {
|
9
9
|
from: Address;
|
@@ -23,7 +23,7 @@ declare function getContractAddress(opts: GetContractAddressOptions): `0x${strin
|
|
23
23
|
declare function getCreateAddress(opts: GetCreateAddressOptions): `0x${string}`;
|
24
24
|
declare function getCreate2Address(opts: GetCreate2AddressOptions): `0x${string}`;
|
25
25
|
|
26
|
-
declare function isAddress(address:
|
26
|
+
declare function isAddress(address: string): address is Address;
|
27
27
|
|
28
28
|
declare function isAddressEqual(a: Address, b: Address): boolean;
|
29
29
|
|
@@ -91,9 +91,9 @@ declare function getContractError(err: BaseError, { abi, address, args, docsPath
|
|
91
91
|
sender?: Address;
|
92
92
|
}): ContractFunctionExecutionError;
|
93
93
|
|
94
|
-
declare function isBytes(value:
|
94
|
+
declare function isBytes(value: unknown): value is ByteArray;
|
95
95
|
|
96
|
-
declare function isHex(value:
|
96
|
+
declare function isHex(value: unknown): value is Hex;
|
97
97
|
|
98
98
|
type PadOptions = {
|
99
99
|
dir?: 'left' | 'right';
|
package/dist/public.js
CHANGED
@@ -26,8 +26,8 @@
|
|
26
26
|
|
27
27
|
|
28
28
|
|
29
|
-
var
|
30
|
-
require('./chunk-
|
29
|
+
var _chunk4VQKZYE2js = require('./chunk-4VQKZYE2.js');
|
30
|
+
require('./chunk-EYORBAD4.js');
|
31
31
|
|
32
32
|
|
33
33
|
|
@@ -56,5 +56,5 @@ require('./chunk-NYWN5V47.js');
|
|
56
56
|
|
57
57
|
|
58
58
|
|
59
|
-
exports.call =
|
59
|
+
exports.call = _chunk4VQKZYE2js.call; exports.createBlockFilter = _chunk4VQKZYE2js.createBlockFilter; exports.createEventFilter = _chunk4VQKZYE2js.createEventFilter; exports.createPendingTransactionFilter = _chunk4VQKZYE2js.createPendingTransactionFilter; exports.estimateGas = _chunk4VQKZYE2js.estimateGas; exports.getBalance = _chunk4VQKZYE2js.getBalance; exports.getBlock = _chunk4VQKZYE2js.getBlock; exports.getBlockNumber = _chunk4VQKZYE2js.getBlockNumber; exports.getBlockNumberCache = _chunk4VQKZYE2js.getBlockNumberCache; exports.getBlockTransactionCount = _chunk4VQKZYE2js.getBlockTransactionCount; exports.getBytecode = _chunk4VQKZYE2js.getBytecode; exports.getChainId = _chunk4VQKZYE2js.getChainId; exports.getFeeHistory = _chunk4VQKZYE2js.getFeeHistory; exports.getFilterChanges = _chunk4VQKZYE2js.getFilterChanges; exports.getFilterLogs = _chunk4VQKZYE2js.getFilterLogs; exports.getGasPrice = _chunk4VQKZYE2js.getGasPrice; exports.getLogs = _chunk4VQKZYE2js.getLogs; exports.getTransaction = _chunk4VQKZYE2js.getTransaction; exports.getTransactionConfirmations = _chunk4VQKZYE2js.getTransactionConfirmations; exports.getTransactionCount = _chunk4VQKZYE2js.getTransactionCount; exports.getTransactionReceipt = _chunk4VQKZYE2js.getTransactionReceipt; exports.uninstallFilter = _chunk4VQKZYE2js.uninstallFilter; exports.waitForTransactionReceipt = _chunk4VQKZYE2js.waitForTransactionReceipt; exports.watchBlockNumber = _chunk4VQKZYE2js.watchBlockNumber; exports.watchBlocks = _chunk4VQKZYE2js.watchBlocks; exports.watchEvent = _chunk4VQKZYE2js.watchEvent; exports.watchPendingTransactions = _chunk4VQKZYE2js.watchPendingTransactions;
|
60
60
|
//# sourceMappingURL=public.js.map
|
package/dist/public.mjs
CHANGED
package/dist/test.js
CHANGED
@@ -27,8 +27,8 @@
|
|
27
27
|
|
28
28
|
|
29
29
|
|
30
|
-
var
|
31
|
-
require('./chunk-
|
30
|
+
var _chunkOJ7H3CQFjs = require('./chunk-OJ7H3CQF.js');
|
31
|
+
require('./chunk-EYORBAD4.js');
|
32
32
|
|
33
33
|
|
34
34
|
|
@@ -58,5 +58,5 @@ require('./chunk-NYWN5V47.js');
|
|
58
58
|
|
59
59
|
|
60
60
|
|
61
|
-
exports.dropTransaction =
|
61
|
+
exports.dropTransaction = _chunkOJ7H3CQFjs.dropTransaction; exports.getAutomine = _chunkOJ7H3CQFjs.getAutomine; exports.getTxpoolContent = _chunkOJ7H3CQFjs.getTxpoolContent; exports.getTxpoolStatus = _chunkOJ7H3CQFjs.getTxpoolStatus; exports.impersonateAccount = _chunkOJ7H3CQFjs.impersonateAccount; exports.increaseTime = _chunkOJ7H3CQFjs.increaseTime; exports.inspectTxpool = _chunkOJ7H3CQFjs.inspectTxpool; exports.mine = _chunkOJ7H3CQFjs.mine; exports.removeBlockTimestampInterval = _chunkOJ7H3CQFjs.removeBlockTimestampInterval; exports.reset = _chunkOJ7H3CQFjs.reset; exports.revert = _chunkOJ7H3CQFjs.revert; exports.sendUnsignedTransaction = _chunkOJ7H3CQFjs.sendUnsignedTransaction; exports.setAutomine = _chunkOJ7H3CQFjs.setAutomine; exports.setBalance = _chunkOJ7H3CQFjs.setBalance; exports.setBlockGasLimit = _chunkOJ7H3CQFjs.setBlockGasLimit; exports.setBlockTimestampInterval = _chunkOJ7H3CQFjs.setBlockTimestampInterval; exports.setCode = _chunkOJ7H3CQFjs.setCode; exports.setCoinbase = _chunkOJ7H3CQFjs.setCoinbase; exports.setIntervalMining = _chunkOJ7H3CQFjs.setIntervalMining; exports.setLoggingEnabled = _chunkOJ7H3CQFjs.setLoggingEnabled; exports.setMinGasPrice = _chunkOJ7H3CQFjs.setMinGasPrice; exports.setNextBlockBaseFeePerGas = _chunkOJ7H3CQFjs.setNextBlockBaseFeePerGas; exports.setNextBlockTimestamp = _chunkOJ7H3CQFjs.setNextBlockTimestamp; exports.setNonce = _chunkOJ7H3CQFjs.setNonce; exports.setRpcUrl = _chunkOJ7H3CQFjs.setRpcUrl; exports.setStorageAt = _chunkOJ7H3CQFjs.setStorageAt; exports.snapshot = _chunkOJ7H3CQFjs.snapshot; exports.stopImpersonatingAccount = _chunkOJ7H3CQFjs.stopImpersonatingAccount;
|
62
62
|
//# sourceMappingURL=test.js.map
|
package/dist/test.mjs
CHANGED
package/dist/utils/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
export { D as DecodeAbiArgs, a as DecodeErrorResultArgs, b as DecodeErrorResultResponse, c as DecodeEventLogArgs, d as DecodeEventLogResponse, e as DecodeFunctionDataArgs, f as DecodeFunctionResultArgs, g as DecodeFunctionResultResponse, E as EncodeAbiArgs, h as EncodeDeployDataArgs, i as EncodeErrorResultArgs, j as EncodeEventTopicsArgs, k as EncodeFunctionDataArgs, l as EncodeFunctionResultArgs, G as GetAbiItemArgs, m as decodeAbi, n as decodeErrorResult, o as decodeEventLog, p as decodeFunctionData, q as decodeFunctionResult, r as encodeAbi, s as encodeDeployData, t as encodeErrorResult, u as encodeEventTopics, v as encodeFunctionData, w as encodeFunctionResult, x as getAbiItem } from '../getAbiItem-0e085959.js';
|
2
2
|
export { a as formatAbiItem, f as formatAbiItemWithArgs } from '../formatAbiItem-d231fef2.js';
|
3
|
-
export { G as GetContractAddressOptions, c as GetCreate2AddressOptions, d as GetCreateAddressOptions, T as ToRlpResponse, e as boolToBytes, f as boolToHex, g as bytesToBigint, h as bytesToBool, i as bytesToHex, j as bytesToNumber, k as bytesToString, l as etherUnits, m as formatEther, n as formatGwei, o as formatUnit, p as fromBytes, q as fromHex, r as fromRlp, s as getAddress, t as getContractAddress, u as getContractError, v as getCreate2Address, w as getCreateAddress, x as getEventSignature, y as getFunctionSignature, z as gweiUnits, A as hexToBigInt, D as hexToBool, E as hexToBytes, F as hexToNumber, H as hexToString, I as isAddress, J as isAddressEqual, K as isBytes, L as isHex, M as keccak256, N as numberToBytes, O as numberToHex, P as pad, Q as padBytes, S as padHex, U as parseEther, V as parseGwei, W as parseUnit, a7 as rpc, X as size, Y as slice, Z as sliceBytes, _ as sliceHex, $ as stringToBytes, a0 as stringToHex, a1 as stringify, a2 as toBytes, a3 as toHex, a4 as toRlp, a5 as trim, a6 as weiUnits } from '../parseGwei-
|
3
|
+
export { G as GetContractAddressOptions, c as GetCreate2AddressOptions, d as GetCreateAddressOptions, T as ToRlpResponse, e as boolToBytes, f as boolToHex, g as bytesToBigint, h as bytesToBool, i as bytesToHex, j as bytesToNumber, k as bytesToString, l as etherUnits, m as formatEther, n as formatGwei, o as formatUnit, p as fromBytes, q as fromHex, r as fromRlp, s as getAddress, t as getContractAddress, u as getContractError, v as getCreate2Address, w as getCreateAddress, x as getEventSignature, y as getFunctionSignature, z as gweiUnits, A as hexToBigInt, D as hexToBool, E as hexToBytes, F as hexToNumber, H as hexToString, I as isAddress, J as isAddressEqual, K as isBytes, L as isHex, M as keccak256, N as numberToBytes, O as numberToHex, P as pad, Q as padBytes, S as padHex, U as parseEther, V as parseGwei, W as parseUnit, a7 as rpc, X as size, Y as slice, Z as sliceBytes, _ as sliceHex, $ as stringToBytes, a0 as stringToHex, a1 as stringify, a2 as toBytes, a3 as toHex, a4 as toRlp, a5 as trim, a6 as weiUnits } from '../parseGwei-4d0b0d73.js';
|
4
4
|
export { d as defineChain } from '../chain-c7c44165.js';
|
5
5
|
export { B as BlockFormatter, F as FormattedBlock, a as FormattedTransactionReceipt, T as TransactionReceiptFormatter, d as defineBlock, b as defineTransactionReceipt, f as formatBlock } from '../transactionReceipt-84fc92e1.js';
|
6
6
|
import { W as Formatter } from '../chain-4d46a747.js';
|
package/dist/utils/index.js
CHANGED
@@ -83,7 +83,7 @@
|
|
83
83
|
|
84
84
|
|
85
85
|
|
86
|
-
var
|
86
|
+
var _chunkEYORBAD4js = require('../chunk-EYORBAD4.js');
|
87
87
|
|
88
88
|
|
89
89
|
|
@@ -169,5 +169,5 @@ var _chunkNYWN5V47js = require('../chunk-NYWN5V47.js');
|
|
169
169
|
|
170
170
|
|
171
171
|
|
172
|
-
exports.boolToBytes =
|
172
|
+
exports.boolToBytes = _chunkEYORBAD4js.boolToBytes; exports.boolToHex = _chunkEYORBAD4js.boolToHex; exports.buildRequest = _chunkEYORBAD4js.buildRequest; exports.bytesToBigint = _chunkEYORBAD4js.bytesToBigint; exports.bytesToBool = _chunkEYORBAD4js.bytesToBool; exports.bytesToHex = _chunkEYORBAD4js.bytesToHex; exports.bytesToNumber = _chunkEYORBAD4js.bytesToNumber; exports.bytesToString = _chunkEYORBAD4js.bytesToString; exports.decodeAbi = _chunkEYORBAD4js.decodeAbi; exports.decodeErrorResult = _chunkEYORBAD4js.decodeErrorResult; exports.decodeEventLog = _chunkEYORBAD4js.decodeEventLog; exports.decodeFunctionData = _chunkEYORBAD4js.decodeFunctionData; exports.decodeFunctionResult = _chunkEYORBAD4js.decodeFunctionResult; exports.defineBlock = _chunkEYORBAD4js.defineBlock; exports.defineChain = _chunkEYORBAD4js.defineChain; exports.defineFormatter = _chunkEYORBAD4js.defineFormatter; exports.defineTransaction = _chunkEYORBAD4js.defineTransaction; exports.defineTransactionReceipt = _chunkEYORBAD4js.defineTransactionReceipt; exports.defineTransactionRequest = _chunkEYORBAD4js.defineTransactionRequest; exports.encodeAbi = _chunkEYORBAD4js.encodeAbi; exports.encodeDeployData = _chunkEYORBAD4js.encodeDeployData; exports.encodeErrorResult = _chunkEYORBAD4js.encodeErrorResult; exports.encodeEventTopics = _chunkEYORBAD4js.encodeEventTopics; exports.encodeFunctionData = _chunkEYORBAD4js.encodeFunctionData; exports.encodeFunctionResult = _chunkEYORBAD4js.encodeFunctionResult; exports.etherUnits = _chunkEYORBAD4js.etherUnits; exports.extract = _chunkEYORBAD4js.extract; exports.extractFunctionName = _chunkEYORBAD4js.extractFunctionName; exports.extractFunctionParams = _chunkEYORBAD4js.extractFunctionParams; exports.extractFunctionParts = _chunkEYORBAD4js.extractFunctionParts; exports.extractFunctionType = _chunkEYORBAD4js.extractFunctionType; exports.format = _chunkEYORBAD4js.format; exports.formatAbiItem = _chunkEYORBAD4js.formatAbiItem; exports.formatAbiItemWithArgs = _chunkEYORBAD4js.formatAbiItemWithArgs; exports.formatBlock = _chunkEYORBAD4js.formatBlock; exports.formatEther = _chunkEYORBAD4js.formatEther; exports.formatGwei = _chunkEYORBAD4js.formatGwei; exports.formatTransaction = _chunkEYORBAD4js.formatTransaction; exports.formatTransactionRequest = _chunkEYORBAD4js.formatTransactionRequest; exports.formatUnit = _chunkEYORBAD4js.formatUnit; exports.fromBytes = _chunkEYORBAD4js.fromBytes; exports.fromHex = _chunkEYORBAD4js.fromHex; exports.fromRlp = _chunkEYORBAD4js.fromRlp; exports.getAbiItem = _chunkEYORBAD4js.getAbiItem; exports.getAddress = _chunkEYORBAD4js.getAddress; exports.getContractAddress = _chunkEYORBAD4js.getContractAddress; exports.getContractError = _chunkEYORBAD4js.getContractError; exports.getCreate2Address = _chunkEYORBAD4js.getCreate2Address; exports.getCreateAddress = _chunkEYORBAD4js.getCreateAddress; exports.getEventSignature = _chunkEYORBAD4js.getEventSignature; exports.getFunctionSignature = _chunkEYORBAD4js.getFunctionSignature; exports.gweiUnits = _chunkEYORBAD4js.gweiUnits; exports.hexToBigInt = _chunkEYORBAD4js.hexToBigInt; exports.hexToBool = _chunkEYORBAD4js.hexToBool; exports.hexToBytes = _chunkEYORBAD4js.hexToBytes; exports.hexToNumber = _chunkEYORBAD4js.hexToNumber; exports.hexToString = _chunkEYORBAD4js.hexToString; exports.isAddress = _chunkEYORBAD4js.isAddress; exports.isAddressEqual = _chunkEYORBAD4js.isAddressEqual; exports.isBytes = _chunkEYORBAD4js.isBytes; exports.isHex = _chunkEYORBAD4js.isHex; exports.keccak256 = _chunkEYORBAD4js.keccak256; exports.numberToBytes = _chunkEYORBAD4js.numberToBytes; exports.numberToHex = _chunkEYORBAD4js.numberToHex; exports.pad = _chunkEYORBAD4js.pad; exports.padBytes = _chunkEYORBAD4js.padBytes; exports.padHex = _chunkEYORBAD4js.padHex; exports.parseEther = _chunkEYORBAD4js.parseEther; exports.parseGwei = _chunkEYORBAD4js.parseGwei; exports.parseUnit = _chunkEYORBAD4js.parseUnit; exports.rpc = _chunkEYORBAD4js.rpc; exports.size = _chunkEYORBAD4js.size; exports.slice = _chunkEYORBAD4js.slice; exports.sliceBytes = _chunkEYORBAD4js.sliceBytes; exports.sliceHex = _chunkEYORBAD4js.sliceHex; exports.stringToBytes = _chunkEYORBAD4js.stringToBytes; exports.stringToHex = _chunkEYORBAD4js.stringToHex; exports.stringify = _chunkEYORBAD4js.stringify; exports.toBytes = _chunkEYORBAD4js.toBytes; exports.toHex = _chunkEYORBAD4js.toHex; exports.toRlp = _chunkEYORBAD4js.toRlp; exports.transactionType = _chunkEYORBAD4js.transactionType; exports.trim = _chunkEYORBAD4js.trim; exports.weiUnits = _chunkEYORBAD4js.weiUnits;
|
173
173
|
//# sourceMappingURL=index.js.map
|
package/dist/utils/index.mjs
CHANGED
package/dist/wallet.js
CHANGED
@@ -8,8 +8,8 @@
|
|
8
8
|
|
9
9
|
|
10
10
|
|
11
|
-
var
|
12
|
-
require('./chunk-
|
11
|
+
var _chunkCKYH337Ijs = require('./chunk-CKYH337I.js');
|
12
|
+
require('./chunk-EYORBAD4.js');
|
13
13
|
|
14
14
|
|
15
15
|
|
@@ -20,5 +20,5 @@ require('./chunk-NYWN5V47.js');
|
|
20
20
|
|
21
21
|
|
22
22
|
|
23
|
-
exports.addChain =
|
23
|
+
exports.addChain = _chunkCKYH337Ijs.addChain; exports.getAccounts = _chunkCKYH337Ijs.getAccounts; exports.getPermissions = _chunkCKYH337Ijs.getPermissions; exports.requestAccounts = _chunkCKYH337Ijs.requestAccounts; exports.requestPermissions = _chunkCKYH337Ijs.requestPermissions; exports.sendTransaction = _chunkCKYH337Ijs.sendTransaction; exports.signMessage = _chunkCKYH337Ijs.signMessage; exports.switchChain = _chunkCKYH337Ijs.switchChain; exports.watchAsset = _chunkCKYH337Ijs.watchAsset;
|
24
24
|
//# sourceMappingURL=wallet.js.map
|
package/dist/wallet.mjs
CHANGED