viem 0.1.2 → 0.1.3
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/README.md +8 -6
- 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-75OCRSSB.js → chunk-MC6HQXR7.js} +21 -21
- package/dist/{chunk-XRSXWQKH.mjs → chunk-PLPHFY5A.mjs} +2 -2
- package/dist/{chunk-VUSHGUTQ.mjs → chunk-UJYIRVKR.mjs} +22 -14
- package/dist/chunk-UJYIRVKR.mjs.map +1 -0
- package/dist/{chunk-R5D7QBNZ.js → chunk-Z62X7UMW.js} +22 -14
- package/dist/chunk-Z62X7UMW.js.map +1 -0
- package/dist/contract.js +2 -2
- package/dist/contract.mjs +1 -1
- package/dist/ens.js +3 -3
- package/dist/ens.mjs +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +88 -88
- package/dist/index.mjs +2 -2
- package/dist/{parseGwei-23d1c213.d.ts → parseGwei-f91ad655.d.ts} +1 -1
- package/dist/public.js +2 -2
- package/dist/public.mjs +1 -1
- package/dist/test.js +2 -2
- package/dist/test.mjs +1 -1
- package/dist/utils/index.d.ts +2 -2
- package/dist/utils/index.js +2 -2
- package/dist/utils/index.mjs +1 -1
- package/dist/wallet.js +2 -2
- package/dist/wallet.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-R5D7QBNZ.js.map +0 -1
- package/dist/chunk-VUSHGUTQ.mjs.map +0 -1
- /package/dist/{chunk-75OCRSSB.js.map → chunk-MC6HQXR7.js.map} +0 -0
- /package/dist/{chunk-XRSXWQKH.mjs.map → chunk-PLPHFY5A.mjs.map} +0 -0
package/dist/contract.js
CHANGED
@@ -23,7 +23,7 @@
|
|
23
23
|
|
24
24
|
|
25
25
|
|
26
|
-
var
|
26
|
+
var _chunkZ62X7UMWjs = require('./chunk-Z62X7UMW.js');
|
27
27
|
|
28
28
|
|
29
29
|
|
@@ -49,5 +49,5 @@ var _chunkR5D7QBNZjs = require('./chunk-R5D7QBNZ.js');
|
|
49
49
|
|
50
50
|
|
51
51
|
|
52
|
-
exports.createContractEventFilter =
|
52
|
+
exports.createContractEventFilter = _chunkZ62X7UMWjs.createContractEventFilter; exports.decodeAbiParameters = _chunkZ62X7UMWjs.decodeAbiParameters; exports.decodeErrorResult = _chunkZ62X7UMWjs.decodeErrorResult; exports.decodeEventLog = _chunkZ62X7UMWjs.decodeEventLog; exports.decodeFunctionData = _chunkZ62X7UMWjs.decodeFunctionData; exports.decodeFunctionResult = _chunkZ62X7UMWjs.decodeFunctionResult; exports.deployContract = _chunkZ62X7UMWjs.deployContract; exports.encodeAbiParameters = _chunkZ62X7UMWjs.encodeAbiParameters; exports.encodeDeployData = _chunkZ62X7UMWjs.encodeDeployData; exports.encodeErrorResult = _chunkZ62X7UMWjs.encodeErrorResult; exports.encodeEventTopics = _chunkZ62X7UMWjs.encodeEventTopics; exports.encodeFunctionData = _chunkZ62X7UMWjs.encodeFunctionData; exports.encodeFunctionResult = _chunkZ62X7UMWjs.encodeFunctionResult; exports.estimateContractGas = _chunkZ62X7UMWjs.estimateContractGas; exports.formatAbiItem = _chunkZ62X7UMWjs.formatAbiItem; exports.formatAbiItemWithArgs = _chunkZ62X7UMWjs.formatAbiItemWithArgs; exports.getAbiItem = _chunkZ62X7UMWjs.getAbiItem; exports.getBytecode = _chunkZ62X7UMWjs.getBytecode; exports.getStorageAt = _chunkZ62X7UMWjs.getStorageAt; exports.multicall = _chunkZ62X7UMWjs.multicall; exports.readContract = _chunkZ62X7UMWjs.readContract; exports.simulateContract = _chunkZ62X7UMWjs.simulateContract; exports.watchContractEvent = _chunkZ62X7UMWjs.watchContractEvent; exports.writeContract = _chunkZ62X7UMWjs.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 _chunkMC6HQXR7js = require('./chunk-MC6HQXR7.js');
|
7
|
+
require('./chunk-Z62X7UMW.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 = _chunkMC6HQXR7js.getEnsAddress; exports.getEnsName = _chunkMC6HQXR7js.getEnsName; exports.labelhash = _chunkMC6HQXR7js.labelhash; exports.namehash = _chunkMC6HQXR7js.namehash; exports.normalize = normalize;
|
21
21
|
//# sourceMappingURL=ens.js.map
|
package/dist/ens.mjs
CHANGED
package/dist/index.d.ts
CHANGED
@@ -2,8 +2,8 @@ import { T as TransportConfig, a as Transport, B as BaseRpcRequests } from './cr
|
|
2
2
|
export { C as Client, b as ClientConfig, a as Transport, T as TransportConfig, c as createClient, d as createTransport } from './createClient-8575dcd6.js';
|
3
3
|
import { H as Hex, a as Hash, C as Chain, B as ByteArray } from './chain-d64be356.js';
|
4
4
|
export { A as AbiItem, b as AccessList, c as Block, d as BlockIdentifier, e as BlockNumber, f as BlockTag, B as ByteArray, C as Chain, g as ContractConfig, I as ExtractFormatter, F as FeeHistory, h as FeeValues, i as FeeValuesEIP1559, j as FeeValuesLegacy, J as Formatted, K as FormattedTransaction, a as Hash, H as Hex, L as Log, R as RpcBlock, k as RpcBlockIdentifier, l as RpcBlockNumber, m as RpcFeeHistory, n as RpcFeeValues, o as RpcLog, p as RpcTransaction, q as RpcTransactionReceipt, r as RpcTransactionRequest, s as RpcUncle, y as Transaction, z as TransactionBase, D as TransactionEIP1559, E as TransactionEIP2930, M as TransactionFormatter, G as TransactionLegacy, T as TransactionReceipt, t as TransactionRequest, u as TransactionRequestBase, v as TransactionRequestEIP1559, w as TransactionRequestEIP2930, x as TransactionRequestLegacy, U as Uncle, N as defineTransaction, O as formatTransaction, P as transactionType } from './chain-d64be356.js';
|
5
|
-
import { B as BaseError, H as HttpOptions, R as RpcResponse } from './parseGwei-
|
6
|
-
export { B as BaseError, C as CallExecutionError, a as ContractFunctionExecutionError, b as ContractFunctionRevertedError, c as ContractFunctionZeroDataError, E as EstimateGasExecutionError, d as ExecutionRevertedError, F as FeeCapTooHighError, e as FeeCapTooLowError, G as GetContractAddressOptions, o as GetCreate2AddressOptions, p as GetCreateAddressOptions, I as InsufficientFundsError, f as IntrinsicGasTooHighError, g as IntrinsicGasTooLowError, N as NonceMaxValueError, h as NonceTooHighError, i as NonceTooLowError, j as RawContractError, T as TipAboveFeeCapError, q as ToRlpReturnType, k as TransactionExecutionError, m as TransactionNotFoundError, n as TransactionReceiptNotFoundError, l as TransactionTypeNotSupportedError, U as UnknownNodeError, W as WaitForTransactionReceiptTimeoutError, r as boolToBytes, s as boolToHex, t as bytesToBigint, u as bytesToBool, v as bytesToHex, w as bytesToNumber, x as bytesToString, y as formatEther, z as formatGwei, A as formatUnits, D as fromBytes, J as fromHex, K as fromRlp, L as getAccount, M as getAddress, O as getContractAddress, P as getContractError, Q as getCreate2Address, S as getCreateAddress, V as getEventSelector, X as getFunctionSelector, Y as hexToBigInt, Z as hexToBool, _ as hexToBytes, $ as hexToNumber, a0 as hexToString, a1 as isAddress, a2 as isAddressEqual, a3 as isBytes, a4 as isHex, a5 as keccak256, a6 as numberToBytes, a7 as numberToHex, a8 as pad, a9 as padBytes, aa as padHex, ab as parseEther, ac as parseGwei, ad as parseUnits, ae as size, af as slice, ag as sliceBytes, ah as sliceHex, ai as stringToBytes, aj as stringToHex, ak as stringify, al as toBytes, am as toHex, an as toRlp, ao as trim } from './parseGwei-
|
5
|
+
import { B as BaseError, H as HttpOptions, R as RpcResponse } from './parseGwei-f91ad655.js';
|
6
|
+
export { B as BaseError, C as CallExecutionError, a as ContractFunctionExecutionError, b as ContractFunctionRevertedError, c as ContractFunctionZeroDataError, E as EstimateGasExecutionError, d as ExecutionRevertedError, F as FeeCapTooHighError, e as FeeCapTooLowError, G as GetContractAddressOptions, o as GetCreate2AddressOptions, p as GetCreateAddressOptions, I as InsufficientFundsError, f as IntrinsicGasTooHighError, g as IntrinsicGasTooLowError, N as NonceMaxValueError, h as NonceTooHighError, i as NonceTooLowError, j as RawContractError, T as TipAboveFeeCapError, q as ToRlpReturnType, k as TransactionExecutionError, m as TransactionNotFoundError, n as TransactionReceiptNotFoundError, l as TransactionTypeNotSupportedError, U as UnknownNodeError, W as WaitForTransactionReceiptTimeoutError, r as boolToBytes, s as boolToHex, t as bytesToBigint, u as bytesToBool, v as bytesToHex, w as bytesToNumber, x as bytesToString, y as formatEther, z as formatGwei, A as formatUnits, D as fromBytes, J as fromHex, K as fromRlp, L as getAccount, M as getAddress, O as getContractAddress, P as getContractError, Q as getCreate2Address, S as getCreateAddress, V as getEventSelector, X as getFunctionSelector, Y as hexToBigInt, Z as hexToBool, _ as hexToBytes, $ as hexToNumber, a0 as hexToString, a1 as isAddress, a2 as isAddressEqual, a3 as isBytes, a4 as isHex, a5 as keccak256, a6 as numberToBytes, a7 as numberToHex, a8 as pad, a9 as padBytes, aa as padHex, ab as parseEther, ac as parseGwei, ad as parseUnits, ae as size, af as slice, ag as sliceBytes, ah as sliceHex, ai as stringToBytes, aj as stringToHex, ak as stringify, al as toBytes, am as toHex, an as toRlp, ao as trim } from './parseGwei-f91ad655.js';
|
7
7
|
import WebSocket from 'isomorphic-ws';
|
8
8
|
export { A as Account, B as BlockFormatter, F as FormattedBlock, e as FormattedTransactionReceipt, f as FormattedTransactionRequest, J as JsonRpcAccount, L as LocalAccount, P as PublicClient, a as PublicClientConfig, T as TransactionReceiptFormatter, g as TransactionRequestFormatter, W as WalletClient, b as WalletClientConfig, c as createPublicClient, d as createWalletClient, h as defineBlock, i as defineTransactionReceipt, j as defineTransactionRequest, k as formatBlock, l as formatTransactionRequest } from './createPublicClient-c13b17f9.js';
|
9
9
|
export { T as TestClient, a as TestClientConfig, c as createTestClient } from './test-f964519b.js';
|
package/dist/index.js
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
|
5
5
|
|
6
|
-
var
|
6
|
+
var _chunkMC6HQXR7js = require('./chunk-MC6HQXR7.js');
|
7
7
|
|
8
8
|
|
9
9
|
|
@@ -234,7 +234,7 @@ var _chunk75OCRSSBjs = require('./chunk-75OCRSSB.js');
|
|
234
234
|
|
235
235
|
|
236
236
|
|
237
|
-
var
|
237
|
+
var _chunkZ62X7UMWjs = require('./chunk-Z62X7UMW.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: _chunkZ62X7UMWjs.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 (_chunkZ62X7UMWjs.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, _chunkZ62X7UMWjs.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 _chunkZ62X7UMWjs.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, _chunkZ62X7UMWjs.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 _chunkZ62X7UMWjs.getSocket.call(void 0, url_);
|
366
|
+
const { result } = await _chunkZ62X7UMWjs.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 _chunkZ62X7UMWjs.getSocket.call(void 0, url_);
|
380
380
|
},
|
381
381
|
async subscribe({ params, onData, onError }) {
|
382
|
-
const socket = await
|
382
|
+
const socket = await _chunkZ62X7UMWjs.getSocket.call(void 0, url_);
|
383
383
|
const { result: subscriptionId } = await new Promise(
|
384
|
-
(resolve, reject) =>
|
384
|
+
(resolve, reject) => _chunkZ62X7UMWjs.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) => _chunkZ62X7UMWjs.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) => _chunkZ62X7UMWjs.call.call(void 0, client, args),
|
463
|
+
createBlockFilter: () => _chunkZ62X7UMWjs.createBlockFilter.call(void 0, client),
|
464
|
+
createContractEventFilter: (args) => _chunkZ62X7UMWjs.createContractEventFilter.call(void 0, client, args),
|
465
|
+
createEventFilter: (args) => _chunkZ62X7UMWjs.createEventFilter.call(void 0, client, args),
|
466
|
+
createPendingTransactionFilter: () => _chunkZ62X7UMWjs.createPendingTransactionFilter.call(void 0, client),
|
467
|
+
estimateContractGas: (args) => _chunkZ62X7UMWjs.estimateContractGas.call(void 0, client, args),
|
468
|
+
estimateGas: (args) => _chunkZ62X7UMWjs.estimateGas.call(void 0, client, args),
|
469
|
+
getBalance: (args) => _chunkZ62X7UMWjs.getBalance.call(void 0, client, args),
|
470
|
+
getBlock: (args) => _chunkZ62X7UMWjs.getBlock.call(void 0, client, args),
|
471
|
+
getBlockNumber: (args) => _chunkZ62X7UMWjs.getBlockNumber.call(void 0, client, args),
|
472
|
+
getBlockTransactionCount: (args) => _chunkZ62X7UMWjs.getBlockTransactionCount.call(void 0, client, args),
|
473
|
+
getBytecode: (args) => _chunkZ62X7UMWjs.getBytecode.call(void 0, client, args),
|
474
|
+
getChainId: () => _chunkZ62X7UMWjs.getChainId.call(void 0, client),
|
475
|
+
getEnsAddress: (args) => _chunkMC6HQXR7js.getEnsAddress.call(void 0, client, args),
|
476
|
+
getEnsName: (args) => _chunkMC6HQXR7js.getEnsName.call(void 0, client, args),
|
477
|
+
getFeeHistory: (args) => _chunkZ62X7UMWjs.getFeeHistory.call(void 0, client, args),
|
478
|
+
getFilterChanges: (args) => _chunkZ62X7UMWjs.getFilterChanges.call(void 0, client, args),
|
479
|
+
getFilterLogs: (args) => _chunkZ62X7UMWjs.getFilterLogs.call(void 0, client, args),
|
480
|
+
getGasPrice: () => _chunkZ62X7UMWjs.getGasPrice.call(void 0, client),
|
481
|
+
getLogs: (args) => _chunkZ62X7UMWjs.getLogs.call(void 0, client, args),
|
482
|
+
getStorageAt: (args) => _chunkZ62X7UMWjs.getStorageAt.call(void 0, client, args),
|
483
|
+
getTransaction: (args) => _chunkZ62X7UMWjs.getTransaction.call(void 0, client, args),
|
484
|
+
getTransactionConfirmations: (args) => _chunkZ62X7UMWjs.getTransactionConfirmations.call(void 0, client, args),
|
485
|
+
getTransactionReceipt: (args) => _chunkZ62X7UMWjs.getTransactionReceipt.call(void 0, client, args),
|
486
|
+
multicall: (args) => _chunkZ62X7UMWjs.multicall.call(void 0, client, args),
|
487
|
+
readContract: (args) => _chunkZ62X7UMWjs.readContract.call(void 0, client, args),
|
488
|
+
simulateContract: (args) => _chunkZ62X7UMWjs.simulateContract.call(void 0, client, args),
|
489
|
+
uninstallFilter: (args) => _chunkZ62X7UMWjs.uninstallFilter.call(void 0, client, args),
|
490
|
+
waitForTransactionReceipt: (args) => _chunkZ62X7UMWjs.waitForTransactionReceipt.call(void 0, client, args),
|
491
|
+
watchBlocks: (args) => _chunkZ62X7UMWjs.watchBlocks.call(void 0, client, args),
|
492
|
+
watchBlockNumber: (args) => _chunkZ62X7UMWjs.watchBlockNumber.call(void 0, client, args),
|
493
|
+
watchContractEvent: (args) => _chunkZ62X7UMWjs.watchContractEvent.call(void 0, client, args),
|
494
|
+
watchEvent: (args) => _chunkZ62X7UMWjs.watchEvent.call(void 0, client, args),
|
495
|
+
watchPendingTransactions: (args) => _chunkZ62X7UMWjs.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) => _chunkZ62X7UMWjs.dropTransaction.call(void 0, client, args),
|
501
|
+
getAutomine: () => _chunkZ62X7UMWjs.getAutomine.call(void 0, client),
|
502
|
+
getTxpoolContent: () => _chunkZ62X7UMWjs.getTxpoolContent.call(void 0, client),
|
503
|
+
getTxpoolStatus: () => _chunkZ62X7UMWjs.getTxpoolStatus.call(void 0, client),
|
504
|
+
impersonateAccount: (args) => _chunkZ62X7UMWjs.impersonateAccount.call(void 0, client, args),
|
505
|
+
increaseTime: (args) => _chunkZ62X7UMWjs.increaseTime.call(void 0, client, args),
|
506
|
+
inspectTxpool: () => _chunkZ62X7UMWjs.inspectTxpool.call(void 0, client),
|
507
|
+
mine: (args) => _chunkZ62X7UMWjs.mine.call(void 0, client, args),
|
508
|
+
removeBlockTimestampInterval: () => _chunkZ62X7UMWjs.removeBlockTimestampInterval.call(void 0, client),
|
509
|
+
reset: (args) => _chunkZ62X7UMWjs.reset.call(void 0, client, args),
|
510
|
+
revert: (args) => _chunkZ62X7UMWjs.revert.call(void 0, client, args),
|
511
|
+
sendUnsignedTransaction: (args) => _chunkZ62X7UMWjs.sendUnsignedTransaction.call(void 0, client, args),
|
512
|
+
setAutomine: (args) => _chunkZ62X7UMWjs.setAutomine.call(void 0, client, args),
|
513
|
+
setBalance: (args) => _chunkZ62X7UMWjs.setBalance.call(void 0, client, args),
|
514
|
+
setBlockGasLimit: (args) => _chunkZ62X7UMWjs.setBlockGasLimit.call(void 0, client, args),
|
515
|
+
setBlockTimestampInterval: (args) => _chunkZ62X7UMWjs.setBlockTimestampInterval.call(void 0, client, args),
|
516
|
+
setCode: (args) => _chunkZ62X7UMWjs.setCode.call(void 0, client, args),
|
517
|
+
setCoinbase: (args) => _chunkZ62X7UMWjs.setCoinbase.call(void 0, client, args),
|
518
|
+
setIntervalMining: (args) => _chunkZ62X7UMWjs.setIntervalMining.call(void 0, client, args),
|
519
|
+
setLoggingEnabled: (args) => _chunkZ62X7UMWjs.setLoggingEnabled.call(void 0, client, args),
|
520
|
+
setMinGasPrice: (args) => _chunkZ62X7UMWjs.setMinGasPrice.call(void 0, client, args),
|
521
|
+
setNextBlockBaseFeePerGas: (args) => _chunkZ62X7UMWjs.setNextBlockBaseFeePerGas.call(void 0, client, args),
|
522
|
+
setNextBlockTimestamp: (args) => _chunkZ62X7UMWjs.setNextBlockTimestamp.call(void 0, client, args),
|
523
|
+
setNonce: (args) => _chunkZ62X7UMWjs.setNonce.call(void 0, client, args),
|
524
|
+
setRpcUrl: (args) => _chunkZ62X7UMWjs.setRpcUrl.call(void 0, client, args),
|
525
|
+
setStorageAt: (args) => _chunkZ62X7UMWjs.setStorageAt.call(void 0, client, args),
|
526
|
+
snapshot: () => _chunkZ62X7UMWjs.snapshot.call(void 0, client),
|
527
|
+
stopImpersonatingAccount: (args) => _chunkZ62X7UMWjs.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) => _chunkZ62X7UMWjs.addChain.call(void 0, client, args),
|
533
|
+
deployContract: (args) => _chunkZ62X7UMWjs.deployContract.call(void 0, client, args),
|
534
|
+
getAddresses: () => _chunkZ62X7UMWjs.getAddresses.call(void 0, client),
|
535
|
+
getChainId: () => _chunkZ62X7UMWjs.getChainId.call(void 0, client),
|
536
|
+
getPermissions: () => _chunkZ62X7UMWjs.getPermissions.call(void 0, client),
|
537
|
+
requestAddresses: () => _chunkZ62X7UMWjs.requestAddresses.call(void 0, client),
|
538
|
+
requestPermissions: (args) => _chunkZ62X7UMWjs.requestPermissions.call(void 0, client, args),
|
539
|
+
sendTransaction: (args) => _chunkZ62X7UMWjs.sendTransaction.call(void 0, client, args),
|
540
|
+
signMessage: (args) => _chunkZ62X7UMWjs.signMessage.call(void 0, client, args),
|
541
|
+
switchChain: (args) => _chunkZ62X7UMWjs.switchChain.call(void 0, client, args),
|
542
|
+
watchAsset: (args) => _chunkZ62X7UMWjs.watchAsset.call(void 0, client, args),
|
543
|
+
writeContract: (args) => _chunkZ62X7UMWjs.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 = _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;
|
779
|
+
exports.AbiConstructorNotFoundError = _chunkZ62X7UMWjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkZ62X7UMWjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkZ62X7UMWjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkZ62X7UMWjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkZ62X7UMWjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkZ62X7UMWjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkZ62X7UMWjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkZ62X7UMWjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkZ62X7UMWjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkZ62X7UMWjs.AbiEventNotFoundError; exports.AbiEventSignatureNotFoundError = _chunkZ62X7UMWjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkZ62X7UMWjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkZ62X7UMWjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkZ62X7UMWjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkZ62X7UMWjs.BaseError; exports.BlockNotFoundError = _chunkZ62X7UMWjs.BlockNotFoundError; exports.CallExecutionError = _chunkZ62X7UMWjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkZ62X7UMWjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkZ62X7UMWjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkZ62X7UMWjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkZ62X7UMWjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkZ62X7UMWjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkZ62X7UMWjs.DataLengthTooShortError; exports.EstimateGasExecutionError = _chunkZ62X7UMWjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkZ62X7UMWjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkZ62X7UMWjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkZ62X7UMWjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkZ62X7UMWjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkZ62X7UMWjs.HttpRequestError; exports.InsufficientFundsError = _chunkZ62X7UMWjs.InsufficientFundsError; exports.InternalRpcError = _chunkZ62X7UMWjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkZ62X7UMWjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkZ62X7UMWjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkZ62X7UMWjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkZ62X7UMWjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkZ62X7UMWjs.InvalidAddressError; exports.InvalidArrayError = _chunkZ62X7UMWjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkZ62X7UMWjs.InvalidBytesBooleanError; exports.InvalidDefinitionTypeError = _chunkZ62X7UMWjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkZ62X7UMWjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkZ62X7UMWjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkZ62X7UMWjs.InvalidInputRpcError; exports.InvalidParamsRpcError = _chunkZ62X7UMWjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkZ62X7UMWjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkZ62X7UMWjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkZ62X7UMWjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkZ62X7UMWjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkZ62X7UMWjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkZ62X7UMWjs.NonceMaxValueError; exports.NonceTooHighError = _chunkZ62X7UMWjs.NonceTooHighError; exports.NonceTooLowError = _chunkZ62X7UMWjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkZ62X7UMWjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkZ62X7UMWjs.ParseRpcError; exports.RawContractError = _chunkZ62X7UMWjs.RawContractError; exports.RequestError = _chunkZ62X7UMWjs.RequestError; exports.ResourceNotFoundRpcError = _chunkZ62X7UMWjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkZ62X7UMWjs.ResourceUnavailableRpcError; exports.RpcError = _chunkZ62X7UMWjs.RpcError; exports.RpcRequestError = _chunkZ62X7UMWjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkZ62X7UMWjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkZ62X7UMWjs.SwitchChainError; exports.TimeoutError = _chunkZ62X7UMWjs.TimeoutError; exports.TipAboveFeeCapError = _chunkZ62X7UMWjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkZ62X7UMWjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkZ62X7UMWjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkZ62X7UMWjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkZ62X7UMWjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkZ62X7UMWjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkZ62X7UMWjs.UnknownNodeError; exports.UnknownRpcError = _chunkZ62X7UMWjs.UnknownRpcError; exports.UrlRequiredError = _chunkZ62X7UMWjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkZ62X7UMWjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkZ62X7UMWjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkZ62X7UMWjs.WebSocketRequestError; exports.boolToBytes = _chunkZ62X7UMWjs.boolToBytes; exports.boolToHex = _chunkZ62X7UMWjs.boolToHex; exports.bytesToBigint = _chunkZ62X7UMWjs.bytesToBigint; exports.bytesToBool = _chunkZ62X7UMWjs.bytesToBool; exports.bytesToHex = _chunkZ62X7UMWjs.bytesToHex; exports.bytesToNumber = _chunkZ62X7UMWjs.bytesToNumber; exports.bytesToString = _chunkZ62X7UMWjs.bytesToString; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkZ62X7UMWjs.decodeAbiParameters; exports.decodeErrorResult = _chunkZ62X7UMWjs.decodeErrorResult; exports.decodeEventLog = _chunkZ62X7UMWjs.decodeEventLog; exports.decodeFunctionData = _chunkZ62X7UMWjs.decodeFunctionData; exports.decodeFunctionResult = _chunkZ62X7UMWjs.decodeFunctionResult; exports.defineBlock = _chunkZ62X7UMWjs.defineBlock; exports.defineChain = _chunkZ62X7UMWjs.defineChain; exports.defineTransaction = _chunkZ62X7UMWjs.defineTransaction; exports.defineTransactionReceipt = _chunkZ62X7UMWjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkZ62X7UMWjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkZ62X7UMWjs.encodeAbiParameters; exports.encodeDeployData = _chunkZ62X7UMWjs.encodeDeployData; exports.encodeErrorResult = _chunkZ62X7UMWjs.encodeErrorResult; exports.encodeEventTopics = _chunkZ62X7UMWjs.encodeEventTopics; exports.encodeFunctionData = _chunkZ62X7UMWjs.encodeFunctionData; exports.encodeFunctionResult = _chunkZ62X7UMWjs.encodeFunctionResult; exports.encodePacked = _chunkZ62X7UMWjs.encodePacked; exports.etherUnits = _chunkZ62X7UMWjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkZ62X7UMWjs.formatBlock; exports.formatEther = _chunkZ62X7UMWjs.formatEther; exports.formatGwei = _chunkZ62X7UMWjs.formatGwei; exports.formatTransaction = _chunkZ62X7UMWjs.formatTransaction; exports.formatTransactionRequest = _chunkZ62X7UMWjs.formatTransactionRequest; exports.formatUnits = _chunkZ62X7UMWjs.formatUnits; exports.fromBytes = _chunkZ62X7UMWjs.fromBytes; exports.fromHex = _chunkZ62X7UMWjs.fromHex; exports.fromRlp = _chunkZ62X7UMWjs.fromRlp; exports.getAbiItem = _chunkZ62X7UMWjs.getAbiItem; exports.getAccount = _chunkZ62X7UMWjs.getAccount; exports.getAddress = _chunkZ62X7UMWjs.getAddress; exports.getContractAddress = _chunkZ62X7UMWjs.getContractAddress; exports.getContractError = _chunkZ62X7UMWjs.getContractError; exports.getCreate2Address = _chunkZ62X7UMWjs.getCreate2Address; exports.getCreateAddress = _chunkZ62X7UMWjs.getCreateAddress; exports.getEventSelector = _chunkZ62X7UMWjs.getEventSelector; exports.getFunctionSelector = _chunkZ62X7UMWjs.getFunctionSelector; exports.gweiUnits = _chunkZ62X7UMWjs.gweiUnits; exports.hexToBigInt = _chunkZ62X7UMWjs.hexToBigInt; exports.hexToBool = _chunkZ62X7UMWjs.hexToBool; exports.hexToBytes = _chunkZ62X7UMWjs.hexToBytes; exports.hexToNumber = _chunkZ62X7UMWjs.hexToNumber; exports.hexToString = _chunkZ62X7UMWjs.hexToString; exports.http = http; exports.isAddress = _chunkZ62X7UMWjs.isAddress; exports.isAddressEqual = _chunkZ62X7UMWjs.isAddressEqual; exports.isBytes = _chunkZ62X7UMWjs.isBytes; exports.isHex = _chunkZ62X7UMWjs.isHex; exports.keccak256 = _chunkZ62X7UMWjs.keccak256; exports.labelhash = _chunkMC6HQXR7js.labelhash; exports.multicall3Abi = _chunkZ62X7UMWjs.multicall3Abi; exports.namehash = _chunkMC6HQXR7js.namehash; exports.numberToBytes = _chunkZ62X7UMWjs.numberToBytes; exports.numberToHex = _chunkZ62X7UMWjs.numberToHex; exports.pad = _chunkZ62X7UMWjs.pad; exports.padBytes = _chunkZ62X7UMWjs.padBytes; exports.padHex = _chunkZ62X7UMWjs.padHex; exports.parseAbi = _chunkZ62X7UMWjs.parseAbi; exports.parseAbiItem = _chunkZ62X7UMWjs.parseAbiItem; exports.parseAbiParameter = _chunkZ62X7UMWjs.parseAbiParameter; exports.parseAbiParameters = _chunkZ62X7UMWjs.parseAbiParameters; exports.parseEther = _chunkZ62X7UMWjs.parseEther; exports.parseGwei = _chunkZ62X7UMWjs.parseGwei; exports.parseUnits = _chunkZ62X7UMWjs.parseUnits; exports.size = _chunkZ62X7UMWjs.size; exports.slice = _chunkZ62X7UMWjs.slice; exports.sliceBytes = _chunkZ62X7UMWjs.sliceBytes; exports.sliceHex = _chunkZ62X7UMWjs.sliceHex; exports.stringToBytes = _chunkZ62X7UMWjs.stringToBytes; exports.stringToHex = _chunkZ62X7UMWjs.stringToHex; exports.stringify = _chunkZ62X7UMWjs.stringify; exports.toBytes = _chunkZ62X7UMWjs.toBytes; exports.toHex = _chunkZ62X7UMWjs.toHex; exports.toRlp = _chunkZ62X7UMWjs.toRlp; exports.transactionType = _chunkZ62X7UMWjs.transactionType; exports.trim = _chunkZ62X7UMWjs.trim; exports.webSocket = webSocket; exports.weiUnits = _chunkZ62X7UMWjs.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-PLPHFY5A.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-UJYIRVKR.mjs";
|
238
238
|
|
239
239
|
// src/clients/transports/createTransport.ts
|
240
240
|
function createTransport({
|
@@ -109,7 +109,7 @@ declare function numberToHex(value_: number | bigint, opts?: NumberToHexOpts$1):
|
|
109
109
|
/**
|
110
110
|
* @description Encodes a UTF-8 string into a hex string
|
111
111
|
*/
|
112
|
-
declare function stringToHex(
|
112
|
+
declare function stringToHex(value_: string): Hex;
|
113
113
|
|
114
114
|
/** @description Encodes a UTF-8 string, hex value, bigint, number or boolean to a byte array. */
|
115
115
|
declare function toBytes(value: string | bigint | number | boolean | Hex): ByteArray;
|
package/dist/public.js
CHANGED
@@ -26,7 +26,7 @@
|
|
26
26
|
|
27
27
|
|
28
28
|
|
29
|
-
var
|
29
|
+
var _chunkZ62X7UMWjs = require('./chunk-Z62X7UMW.js');
|
30
30
|
|
31
31
|
|
32
32
|
|
@@ -55,5 +55,5 @@ var _chunkR5D7QBNZjs = require('./chunk-R5D7QBNZ.js');
|
|
55
55
|
|
56
56
|
|
57
57
|
|
58
|
-
exports.call =
|
58
|
+
exports.call = _chunkZ62X7UMWjs.call; exports.createBlockFilter = _chunkZ62X7UMWjs.createBlockFilter; exports.createEventFilter = _chunkZ62X7UMWjs.createEventFilter; exports.createPendingTransactionFilter = _chunkZ62X7UMWjs.createPendingTransactionFilter; exports.estimateGas = _chunkZ62X7UMWjs.estimateGas; exports.getBalance = _chunkZ62X7UMWjs.getBalance; exports.getBlock = _chunkZ62X7UMWjs.getBlock; exports.getBlockNumber = _chunkZ62X7UMWjs.getBlockNumber; exports.getBlockNumberCache = _chunkZ62X7UMWjs.getBlockNumberCache; exports.getBlockTransactionCount = _chunkZ62X7UMWjs.getBlockTransactionCount; exports.getBytecode = _chunkZ62X7UMWjs.getBytecode; exports.getChainId = _chunkZ62X7UMWjs.getChainId; exports.getFeeHistory = _chunkZ62X7UMWjs.getFeeHistory; exports.getFilterChanges = _chunkZ62X7UMWjs.getFilterChanges; exports.getFilterLogs = _chunkZ62X7UMWjs.getFilterLogs; exports.getGasPrice = _chunkZ62X7UMWjs.getGasPrice; exports.getLogs = _chunkZ62X7UMWjs.getLogs; exports.getTransaction = _chunkZ62X7UMWjs.getTransaction; exports.getTransactionConfirmations = _chunkZ62X7UMWjs.getTransactionConfirmations; exports.getTransactionCount = _chunkZ62X7UMWjs.getTransactionCount; exports.getTransactionReceipt = _chunkZ62X7UMWjs.getTransactionReceipt; exports.uninstallFilter = _chunkZ62X7UMWjs.uninstallFilter; exports.waitForTransactionReceipt = _chunkZ62X7UMWjs.waitForTransactionReceipt; exports.watchBlockNumber = _chunkZ62X7UMWjs.watchBlockNumber; exports.watchBlocks = _chunkZ62X7UMWjs.watchBlocks; exports.watchEvent = _chunkZ62X7UMWjs.watchEvent; exports.watchPendingTransactions = _chunkZ62X7UMWjs.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 _chunkZ62X7UMWjs = require('./chunk-Z62X7UMW.js');
|
31
31
|
|
32
32
|
|
33
33
|
|
@@ -57,5 +57,5 @@ var _chunkR5D7QBNZjs = require('./chunk-R5D7QBNZ.js');
|
|
57
57
|
|
58
58
|
|
59
59
|
|
60
|
-
exports.dropTransaction =
|
60
|
+
exports.dropTransaction = _chunkZ62X7UMWjs.dropTransaction; exports.getAutomine = _chunkZ62X7UMWjs.getAutomine; exports.getTxpoolContent = _chunkZ62X7UMWjs.getTxpoolContent; exports.getTxpoolStatus = _chunkZ62X7UMWjs.getTxpoolStatus; exports.impersonateAccount = _chunkZ62X7UMWjs.impersonateAccount; exports.increaseTime = _chunkZ62X7UMWjs.increaseTime; exports.inspectTxpool = _chunkZ62X7UMWjs.inspectTxpool; exports.mine = _chunkZ62X7UMWjs.mine; exports.removeBlockTimestampInterval = _chunkZ62X7UMWjs.removeBlockTimestampInterval; exports.reset = _chunkZ62X7UMWjs.reset; exports.revert = _chunkZ62X7UMWjs.revert; exports.sendUnsignedTransaction = _chunkZ62X7UMWjs.sendUnsignedTransaction; exports.setAutomine = _chunkZ62X7UMWjs.setAutomine; exports.setBalance = _chunkZ62X7UMWjs.setBalance; exports.setBlockGasLimit = _chunkZ62X7UMWjs.setBlockGasLimit; exports.setBlockTimestampInterval = _chunkZ62X7UMWjs.setBlockTimestampInterval; exports.setCode = _chunkZ62X7UMWjs.setCode; exports.setCoinbase = _chunkZ62X7UMWjs.setCoinbase; exports.setIntervalMining = _chunkZ62X7UMWjs.setIntervalMining; exports.setLoggingEnabled = _chunkZ62X7UMWjs.setLoggingEnabled; exports.setMinGasPrice = _chunkZ62X7UMWjs.setMinGasPrice; exports.setNextBlockBaseFeePerGas = _chunkZ62X7UMWjs.setNextBlockBaseFeePerGas; exports.setNextBlockTimestamp = _chunkZ62X7UMWjs.setNextBlockTimestamp; exports.setNonce = _chunkZ62X7UMWjs.setNonce; exports.setRpcUrl = _chunkZ62X7UMWjs.setRpcUrl; exports.setStorageAt = _chunkZ62X7UMWjs.setStorageAt; exports.snapshot = _chunkZ62X7UMWjs.snapshot; exports.stopImpersonatingAccount = _chunkZ62X7UMWjs.stopImpersonatingAccount;
|
61
61
|
//# sourceMappingURL=test.js.map
|
package/dist/test.mjs
CHANGED
package/dist/utils/index.d.ts
CHANGED
@@ -4,8 +4,8 @@ export { D as DecodeAbiParametersReturnType, E as EncodeAbiParametersReturnType,
|
|
4
4
|
export { D as DecodeErrorResultParameters, a as DecodeErrorResultReturnType, b as DecodeEventLogParameters, c as DecodeEventLogReturnType, d as DecodeFunctionDataParameters, e as DecodeFunctionResultParameters, f as DecodeFunctionResultReturnType, E as EncodeDeployDataParameters, g as EncodeErrorResultParameters, h as EncodeEventTopicsParameters, i as EncodeFunctionDataParameters, j as EncodeFunctionResultParameters, k as decodeErrorResult, l as decodeEventLog, m as decodeFunctionData, n as decodeFunctionResult, o as encodeDeployData, p as encodeErrorResult, q as encodeEventTopics, r as encodeFunctionData, s as encodeFunctionResult } from '../encodeFunctionResult-12963e93.js';
|
5
5
|
export { e as encodePacked } from '../encodePacked-98b20b4d.js';
|
6
6
|
export { a as formatAbiItem, f as formatAbiItemWithArgs } from '../formatAbiItem-8ee3a7fa.js';
|
7
|
-
import { B as BaseError, C as CallExecutionError, E as EstimateGasExecutionError, d as ExecutionRevertedError, F as FeeCapTooHighError, e as FeeCapTooLowError, h as NonceTooHighError, i as NonceTooLowError, N as NonceMaxValueError, I as InsufficientFundsError, f as IntrinsicGasTooHighError, g as IntrinsicGasTooLowError, l as TransactionTypeNotSupportedError, T as TipAboveFeeCapError, U as UnknownNodeError, k as TransactionExecutionError } from '../parseGwei-
|
8
|
-
export { G as GetContractAddressOptions, o as GetCreate2AddressOptions, p as GetCreateAddressOptions, H as HttpOptions, R as RpcResponse, ap as Socket, q as ToRlpReturnType, r as boolToBytes, s as boolToHex, t as bytesToBigint, u as bytesToBool, v as bytesToHex, w as bytesToNumber, x as bytesToString, y as formatEther, z as formatGwei, A as formatUnits, D as fromBytes, J as fromHex, K as fromRlp, L as getAccount, M as getAddress, O as getContractAddress, P as getContractError, Q as getCreate2Address, S as getCreateAddress, V as getEventSelector, X as getFunctionSelector, aq as getSocket, Y as hexToBigInt, Z as hexToBool, _ as hexToBytes, $ as hexToNumber, a0 as hexToString, a1 as isAddress, a2 as isAddressEqual, a3 as isBytes, a4 as isHex, a5 as keccak256, a6 as numberToBytes, a7 as numberToHex, a8 as pad, a9 as padBytes, aa as padHex, ab as parseEther, ac as parseGwei, ad as parseUnits, ar as rpc, ae as size, af as slice, ag as sliceBytes, ah as sliceHex, ai as stringToBytes, aj as stringToHex, ak as stringify, al as toBytes, am as toHex, an as toRlp, ao as trim } from '../parseGwei-
|
7
|
+
import { B as BaseError, C as CallExecutionError, E as EstimateGasExecutionError, d as ExecutionRevertedError, F as FeeCapTooHighError, e as FeeCapTooLowError, h as NonceTooHighError, i as NonceTooLowError, N as NonceMaxValueError, I as InsufficientFundsError, f as IntrinsicGasTooHighError, g as IntrinsicGasTooLowError, l as TransactionTypeNotSupportedError, T as TipAboveFeeCapError, U as UnknownNodeError, k as TransactionExecutionError } from '../parseGwei-f91ad655.js';
|
8
|
+
export { G as GetContractAddressOptions, o as GetCreate2AddressOptions, p as GetCreateAddressOptions, H as HttpOptions, R as RpcResponse, ap as Socket, q as ToRlpReturnType, r as boolToBytes, s as boolToHex, t as bytesToBigint, u as bytesToBool, v as bytesToHex, w as bytesToNumber, x as bytesToString, y as formatEther, z as formatGwei, A as formatUnits, D as fromBytes, J as fromHex, K as fromRlp, L as getAccount, M as getAddress, O as getContractAddress, P as getContractError, Q as getCreate2Address, S as getCreateAddress, V as getEventSelector, X as getFunctionSelector, aq as getSocket, Y as hexToBigInt, Z as hexToBool, _ as hexToBytes, $ as hexToNumber, a0 as hexToString, a1 as isAddress, a2 as isAddressEqual, a3 as isBytes, a4 as isHex, a5 as keccak256, a6 as numberToBytes, a7 as numberToHex, a8 as pad, a9 as padBytes, aa as padHex, ab as parseEther, ac as parseGwei, ad as parseUnits, ar as rpc, ae as size, af as slice, ag as sliceBytes, ah as sliceHex, ai as stringToBytes, aj as stringToHex, ak as stringify, al as toBytes, am as toHex, an as toRlp, ao as trim } from '../parseGwei-f91ad655.js';
|
9
9
|
export { d as defineChain } from '../chain-688e1663.js';
|
10
10
|
import { S as Formatter, C as Chain } from '../chain-d64be356.js';
|
11
11
|
export { I as ExtractFormatter, J as Formatted, K as FormattedTransaction, M as TransactionFormatter, ac as defineFormatter, N as defineTransaction, ad as format, O as formatTransaction, P as transactionType } from '../chain-d64be356.js';
|
package/dist/utils/index.js
CHANGED
@@ -97,7 +97,7 @@
|
|
97
97
|
|
98
98
|
|
99
99
|
|
100
|
-
var
|
100
|
+
var _chunkZ62X7UMWjs = require('../chunk-Z62X7UMW.js');
|
101
101
|
|
102
102
|
|
103
103
|
|
@@ -197,5 +197,5 @@ var _chunkR5D7QBNZjs = require('../chunk-R5D7QBNZ.js');
|
|
197
197
|
|
198
198
|
|
199
199
|
|
200
|
-
exports.arrayRegex =
|
200
|
+
exports.arrayRegex = _chunkZ62X7UMWjs.arrayRegex; exports.assertRequest = _chunkZ62X7UMWjs.assertRequest; exports.boolToBytes = _chunkZ62X7UMWjs.boolToBytes; exports.boolToHex = _chunkZ62X7UMWjs.boolToHex; exports.buildRequest = _chunkZ62X7UMWjs.buildRequest; exports.bytesRegex = _chunkZ62X7UMWjs.bytesRegex; exports.bytesToBigint = _chunkZ62X7UMWjs.bytesToBigint; exports.bytesToBool = _chunkZ62X7UMWjs.bytesToBool; exports.bytesToHex = _chunkZ62X7UMWjs.bytesToHex; exports.bytesToNumber = _chunkZ62X7UMWjs.bytesToNumber; exports.bytesToString = _chunkZ62X7UMWjs.bytesToString; exports.containsNodeError = _chunkZ62X7UMWjs.containsNodeError; exports.decodeAbiParameters = _chunkZ62X7UMWjs.decodeAbiParameters; exports.decodeErrorResult = _chunkZ62X7UMWjs.decodeErrorResult; exports.decodeEventLog = _chunkZ62X7UMWjs.decodeEventLog; exports.decodeFunctionData = _chunkZ62X7UMWjs.decodeFunctionData; exports.decodeFunctionResult = _chunkZ62X7UMWjs.decodeFunctionResult; exports.defineBlock = _chunkZ62X7UMWjs.defineBlock; exports.defineChain = _chunkZ62X7UMWjs.defineChain; exports.defineFormatter = _chunkZ62X7UMWjs.defineFormatter; exports.defineTransaction = _chunkZ62X7UMWjs.defineTransaction; exports.defineTransactionReceipt = _chunkZ62X7UMWjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkZ62X7UMWjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkZ62X7UMWjs.encodeAbiParameters; exports.encodeDeployData = _chunkZ62X7UMWjs.encodeDeployData; exports.encodeErrorResult = _chunkZ62X7UMWjs.encodeErrorResult; exports.encodeEventTopics = _chunkZ62X7UMWjs.encodeEventTopics; exports.encodeFunctionData = _chunkZ62X7UMWjs.encodeFunctionData; exports.encodeFunctionResult = _chunkZ62X7UMWjs.encodeFunctionResult; exports.encodePacked = _chunkZ62X7UMWjs.encodePacked; exports.extract = _chunkZ62X7UMWjs.extract; exports.extractFunctionName = _chunkZ62X7UMWjs.extractFunctionName; exports.extractFunctionParams = _chunkZ62X7UMWjs.extractFunctionParams; exports.extractFunctionParts = _chunkZ62X7UMWjs.extractFunctionParts; exports.extractFunctionType = _chunkZ62X7UMWjs.extractFunctionType; exports.format = _chunkZ62X7UMWjs.format; exports.formatAbiItem = _chunkZ62X7UMWjs.formatAbiItem; exports.formatAbiItemWithArgs = _chunkZ62X7UMWjs.formatAbiItemWithArgs; exports.formatBlock = _chunkZ62X7UMWjs.formatBlock; exports.formatEther = _chunkZ62X7UMWjs.formatEther; exports.formatGwei = _chunkZ62X7UMWjs.formatGwei; exports.formatTransaction = _chunkZ62X7UMWjs.formatTransaction; exports.formatTransactionRequest = _chunkZ62X7UMWjs.formatTransactionRequest; exports.formatUnits = _chunkZ62X7UMWjs.formatUnits; exports.fromBytes = _chunkZ62X7UMWjs.fromBytes; exports.fromHex = _chunkZ62X7UMWjs.fromHex; exports.fromRlp = _chunkZ62X7UMWjs.fromRlp; exports.getAbiItem = _chunkZ62X7UMWjs.getAbiItem; exports.getAccount = _chunkZ62X7UMWjs.getAccount; exports.getAddress = _chunkZ62X7UMWjs.getAddress; exports.getCallError = _chunkZ62X7UMWjs.getCallError; exports.getContractAddress = _chunkZ62X7UMWjs.getContractAddress; exports.getContractError = _chunkZ62X7UMWjs.getContractError; exports.getCreate2Address = _chunkZ62X7UMWjs.getCreate2Address; exports.getCreateAddress = _chunkZ62X7UMWjs.getCreateAddress; exports.getEstimateGasError = _chunkZ62X7UMWjs.getEstimateGasError; exports.getEventSelector = _chunkZ62X7UMWjs.getEventSelector; exports.getFunctionSelector = _chunkZ62X7UMWjs.getFunctionSelector; exports.getNodeError = _chunkZ62X7UMWjs.getNodeError; exports.getSocket = _chunkZ62X7UMWjs.getSocket; exports.getTransactionError = _chunkZ62X7UMWjs.getTransactionError; exports.hexToBigInt = _chunkZ62X7UMWjs.hexToBigInt; exports.hexToBool = _chunkZ62X7UMWjs.hexToBool; exports.hexToBytes = _chunkZ62X7UMWjs.hexToBytes; exports.hexToNumber = _chunkZ62X7UMWjs.hexToNumber; exports.hexToString = _chunkZ62X7UMWjs.hexToString; exports.integerRegex = _chunkZ62X7UMWjs.integerRegex; exports.isAddress = _chunkZ62X7UMWjs.isAddress; exports.isAddressEqual = _chunkZ62X7UMWjs.isAddressEqual; exports.isBytes = _chunkZ62X7UMWjs.isBytes; exports.isHex = _chunkZ62X7UMWjs.isHex; exports.keccak256 = _chunkZ62X7UMWjs.keccak256; exports.numberToBytes = _chunkZ62X7UMWjs.numberToBytes; exports.numberToHex = _chunkZ62X7UMWjs.numberToHex; exports.pad = _chunkZ62X7UMWjs.pad; exports.padBytes = _chunkZ62X7UMWjs.padBytes; exports.padHex = _chunkZ62X7UMWjs.padHex; exports.parseAbi = _chunkZ62X7UMWjs.parseAbi; exports.parseAbiItem = _chunkZ62X7UMWjs.parseAbiItem; exports.parseAbiParameter = _chunkZ62X7UMWjs.parseAbiParameter; exports.parseAbiParameters = _chunkZ62X7UMWjs.parseAbiParameters; exports.parseEther = _chunkZ62X7UMWjs.parseEther; exports.parseGwei = _chunkZ62X7UMWjs.parseGwei; exports.parseUnits = _chunkZ62X7UMWjs.parseUnits; exports.prepareRequest = _chunkZ62X7UMWjs.prepareRequest; exports.rpc = _chunkZ62X7UMWjs.rpc; exports.size = _chunkZ62X7UMWjs.size; exports.slice = _chunkZ62X7UMWjs.slice; exports.sliceBytes = _chunkZ62X7UMWjs.sliceBytes; exports.sliceHex = _chunkZ62X7UMWjs.sliceHex; exports.stringToBytes = _chunkZ62X7UMWjs.stringToBytes; exports.stringToHex = _chunkZ62X7UMWjs.stringToHex; exports.stringify = _chunkZ62X7UMWjs.stringify; exports.toBytes = _chunkZ62X7UMWjs.toBytes; exports.toHex = _chunkZ62X7UMWjs.toHex; exports.toRlp = _chunkZ62X7UMWjs.toRlp; exports.transactionType = _chunkZ62X7UMWjs.transactionType; exports.trim = _chunkZ62X7UMWjs.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 _chunkZ62X7UMWjs = require('./chunk-Z62X7UMW.js');
|
12
12
|
|
13
13
|
|
14
14
|
|
@@ -19,5 +19,5 @@ var _chunkR5D7QBNZjs = require('./chunk-R5D7QBNZ.js');
|
|
19
19
|
|
20
20
|
|
21
21
|
|
22
|
-
exports.addChain =
|
22
|
+
exports.addChain = _chunkZ62X7UMWjs.addChain; exports.getAddresses = _chunkZ62X7UMWjs.getAddresses; exports.getPermissions = _chunkZ62X7UMWjs.getPermissions; exports.requestAddresses = _chunkZ62X7UMWjs.requestAddresses; exports.requestPermissions = _chunkZ62X7UMWjs.requestPermissions; exports.sendTransaction = _chunkZ62X7UMWjs.sendTransaction; exports.signMessage = _chunkZ62X7UMWjs.signMessage; exports.switchChain = _chunkZ62X7UMWjs.switchChain; exports.watchAsset = _chunkZ62X7UMWjs.watchAsset;
|
23
23
|
//# sourceMappingURL=wallet.js.map
|
package/dist/wallet.mjs
CHANGED