viem 0.1.6 → 0.1.8
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 +30 -19
- package/dist/abi.js +2 -2
- package/dist/abi.mjs +1 -1
- package/dist/chains.js +63 -63
- package/dist/chains.mjs +1 -1
- package/dist/{chunk-KJWXTN6G.mjs → chunk-2NPEMQUQ.mjs} +2 -2
- package/dist/{chunk-KWPP37TE.mjs → chunk-EYQS4UG5.mjs} +9 -8
- package/dist/chunk-EYQS4UG5.mjs.map +1 -0
- package/dist/{chunk-6CICSWSU.js → chunk-SWM5USHJ.js} +9 -8
- package/dist/chunk-SWM5USHJ.js.map +1 -0
- package/dist/{chunk-PGDJ2CCF.js → chunk-TFO2ZNO6.js} +21 -21
- package/dist/contract.js +2 -2
- package/dist/contract.mjs +1 -1
- package/dist/ens.js +3 -3
- package/dist/ens.mjs +2 -2
- package/dist/index.js +89 -89
- package/dist/index.mjs +2 -2
- package/dist/public.js +2 -2
- package/dist/public.mjs +1 -1
- package/dist/test.js +2 -2
- package/dist/test.mjs +1 -1
- package/dist/utils/index.js +2 -2
- package/dist/utils/index.mjs +1 -1
- package/dist/wallet.js +2 -2
- package/dist/wallet.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-6CICSWSU.js.map +0 -1
- package/dist/chunk-KWPP37TE.mjs.map +0 -1
- /package/dist/{chunk-KJWXTN6G.mjs.map → chunk-2NPEMQUQ.mjs.map} +0 -0
- /package/dist/{chunk-PGDJ2CCF.js.map → chunk-TFO2ZNO6.js.map} +0 -0
@@ -11,27 +11,27 @@
|
|
11
11
|
|
12
12
|
|
13
13
|
|
14
|
-
var
|
14
|
+
var _chunkSWM5USHJjs = require('./chunk-SWM5USHJ.js');
|
15
15
|
|
16
16
|
// src/utils/ens/labelhash.ts
|
17
17
|
function labelhash(label) {
|
18
18
|
let result = new Uint8Array(32).fill(0);
|
19
19
|
if (!label)
|
20
|
-
return
|
21
|
-
return
|
20
|
+
return _chunkSWM5USHJjs.bytesToHex.call(void 0, result);
|
21
|
+
return _chunkSWM5USHJjs.keccak256.call(void 0, _chunkSWM5USHJjs.stringToBytes.call(void 0, label));
|
22
22
|
}
|
23
23
|
|
24
24
|
// src/utils/ens/namehash.ts
|
25
25
|
function namehash(name) {
|
26
26
|
let result = new Uint8Array(32).fill(0);
|
27
27
|
if (!name)
|
28
|
-
return
|
28
|
+
return _chunkSWM5USHJjs.bytesToHex.call(void 0, result);
|
29
29
|
const labels = name.split(".");
|
30
30
|
for (let i = labels.length - 1; i >= 0; i -= 1) {
|
31
|
-
const hashed =
|
32
|
-
result =
|
31
|
+
const hashed = _chunkSWM5USHJjs.keccak256.call(void 0, _chunkSWM5USHJjs.stringToBytes.call(void 0, labels[i]), "bytes");
|
32
|
+
result = _chunkSWM5USHJjs.keccak256.call(void 0, _chunkSWM5USHJjs.concat.call(void 0, [result, hashed]), "bytes");
|
33
33
|
}
|
34
|
-
return
|
34
|
+
return _chunkSWM5USHJjs.bytesToHex.call(void 0, result);
|
35
35
|
}
|
36
36
|
|
37
37
|
// src/utils/ens/packetToBytes.ts
|
@@ -39,7 +39,7 @@ function packetToBytes(packet) {
|
|
39
39
|
function length(value2) {
|
40
40
|
if (value2 === "." || value2 === "..")
|
41
41
|
return 1;
|
42
|
-
return
|
42
|
+
return _chunkSWM5USHJjs.toBytes.call(void 0, value2.replace(/^\.|\.$/gm, "")).length + 2;
|
43
43
|
}
|
44
44
|
const bytes = new Uint8Array(length(packet));
|
45
45
|
const value = packet.replace(/^\.|\.$/gm, "");
|
@@ -48,7 +48,7 @@ function packetToBytes(packet) {
|
|
48
48
|
let offset = 0;
|
49
49
|
const list = value.split(".");
|
50
50
|
for (let i = 0; i < list.length; i++) {
|
51
|
-
const encoded =
|
51
|
+
const encoded = _chunkSWM5USHJjs.toBytes.call(void 0, list[i]);
|
52
52
|
bytes[offset] = encoded.length;
|
53
53
|
bytes.set(encoded, offset + 1);
|
54
54
|
offset += encoded.length + 1;
|
@@ -71,12 +71,12 @@ async function getEnsAddress(client, {
|
|
71
71
|
);
|
72
72
|
const contract = _optionalChain([client, 'access', _ => _.chain, 'optionalAccess', _2 => _2.contracts, 'optionalAccess', _3 => _3.ensUniversalResolver]);
|
73
73
|
if (!contract)
|
74
|
-
throw new (0,
|
74
|
+
throw new (0, _chunkSWM5USHJjs.ChainDoesNotSupportContract)({
|
75
75
|
chain: client.chain,
|
76
76
|
contract: { name: "ensUniversalResolver" }
|
77
77
|
});
|
78
78
|
if (blockNumber && contract.blockCreated && contract.blockCreated > blockNumber)
|
79
|
-
throw new (0,
|
79
|
+
throw new (0, _chunkSWM5USHJjs.ChainDoesNotSupportContract)({
|
80
80
|
blockNumber,
|
81
81
|
chain: client.chain,
|
82
82
|
contract: {
|
@@ -86,7 +86,7 @@ async function getEnsAddress(client, {
|
|
86
86
|
});
|
87
87
|
universalResolverAddress = contract.address;
|
88
88
|
}
|
89
|
-
const res = await
|
89
|
+
const res = await _chunkSWM5USHJjs.readContract.call(void 0, client, {
|
90
90
|
address: universalResolverAddress,
|
91
91
|
abi: [
|
92
92
|
{
|
@@ -105,8 +105,8 @@ async function getEnsAddress(client, {
|
|
105
105
|
],
|
106
106
|
functionName: "resolve",
|
107
107
|
args: [
|
108
|
-
|
109
|
-
|
108
|
+
_chunkSWM5USHJjs.toHex.call(void 0, packetToBytes(name)),
|
109
|
+
_chunkSWM5USHJjs.encodeFunctionData.call(void 0, {
|
110
110
|
abi: [
|
111
111
|
{
|
112
112
|
name: "addr",
|
@@ -123,7 +123,7 @@ async function getEnsAddress(client, {
|
|
123
123
|
blockNumber,
|
124
124
|
blockTag
|
125
125
|
});
|
126
|
-
return
|
126
|
+
return _chunkSWM5USHJjs.decodeFunctionResult.call(void 0, {
|
127
127
|
abi: [
|
128
128
|
{
|
129
129
|
name: "addr",
|
@@ -153,12 +153,12 @@ async function getEnsName(client, {
|
|
153
153
|
);
|
154
154
|
const contract = _optionalChain([client, 'access', _4 => _4.chain, 'optionalAccess', _5 => _5.contracts, 'optionalAccess', _6 => _6.ensUniversalResolver]);
|
155
155
|
if (!contract)
|
156
|
-
throw new (0,
|
156
|
+
throw new (0, _chunkSWM5USHJjs.ChainDoesNotSupportContract)({
|
157
157
|
chain: client.chain,
|
158
158
|
contract: { name: "ensUniversalResolver" }
|
159
159
|
});
|
160
160
|
if (blockNumber && contract.blockCreated && contract.blockCreated > blockNumber)
|
161
|
-
throw new (0,
|
161
|
+
throw new (0, _chunkSWM5USHJjs.ChainDoesNotSupportContract)({
|
162
162
|
blockNumber,
|
163
163
|
chain: client.chain,
|
164
164
|
contract: {
|
@@ -170,7 +170,7 @@ async function getEnsName(client, {
|
|
170
170
|
}
|
171
171
|
const reverseNode = `${address.toLowerCase().substring(2)}.addr.reverse`;
|
172
172
|
try {
|
173
|
-
const res = await
|
173
|
+
const res = await _chunkSWM5USHJjs.readContract.call(void 0, client, {
|
174
174
|
address: universalResolverAddress,
|
175
175
|
abi: [
|
176
176
|
{
|
@@ -187,13 +187,13 @@ async function getEnsName(client, {
|
|
187
187
|
}
|
188
188
|
],
|
189
189
|
functionName: "reverse",
|
190
|
-
args: [
|
190
|
+
args: [_chunkSWM5USHJjs.toHex.call(void 0, packetToBytes(reverseNode))],
|
191
191
|
blockNumber,
|
192
192
|
blockTag
|
193
193
|
});
|
194
194
|
return res[0];
|
195
195
|
} catch (error) {
|
196
|
-
if (error instanceof
|
196
|
+
if (error instanceof _chunkSWM5USHJjs.ContractFunctionExecutionError && error.cause.reason === _chunkSWM5USHJjs.panicReasons[50])
|
197
197
|
return null;
|
198
198
|
throw error;
|
199
199
|
}
|
@@ -205,4 +205,4 @@ async function getEnsName(client, {
|
|
205
205
|
|
206
206
|
|
207
207
|
exports.labelhash = labelhash; exports.namehash = namehash; exports.getEnsAddress = getEnsAddress; exports.getEnsName = getEnsName;
|
208
|
-
//# sourceMappingURL=chunk-
|
208
|
+
//# sourceMappingURL=chunk-TFO2ZNO6.js.map
|
package/dist/contract.js
CHANGED
@@ -23,7 +23,7 @@
|
|
23
23
|
|
24
24
|
|
25
25
|
|
26
|
-
var
|
26
|
+
var _chunkSWM5USHJjs = require('./chunk-SWM5USHJ.js');
|
27
27
|
|
28
28
|
|
29
29
|
|
@@ -49,5 +49,5 @@ var _chunk6CICSWSUjs = require('./chunk-6CICSWSU.js');
|
|
49
49
|
|
50
50
|
|
51
51
|
|
52
|
-
exports.createContractEventFilter =
|
52
|
+
exports.createContractEventFilter = _chunkSWM5USHJjs.createContractEventFilter; exports.decodeAbiParameters = _chunkSWM5USHJjs.decodeAbiParameters; exports.decodeErrorResult = _chunkSWM5USHJjs.decodeErrorResult; exports.decodeEventLog = _chunkSWM5USHJjs.decodeEventLog; exports.decodeFunctionData = _chunkSWM5USHJjs.decodeFunctionData; exports.decodeFunctionResult = _chunkSWM5USHJjs.decodeFunctionResult; exports.deployContract = _chunkSWM5USHJjs.deployContract; exports.encodeAbiParameters = _chunkSWM5USHJjs.encodeAbiParameters; exports.encodeDeployData = _chunkSWM5USHJjs.encodeDeployData; exports.encodeErrorResult = _chunkSWM5USHJjs.encodeErrorResult; exports.encodeEventTopics = _chunkSWM5USHJjs.encodeEventTopics; exports.encodeFunctionData = _chunkSWM5USHJjs.encodeFunctionData; exports.encodeFunctionResult = _chunkSWM5USHJjs.encodeFunctionResult; exports.estimateContractGas = _chunkSWM5USHJjs.estimateContractGas; exports.formatAbiItem = _chunkSWM5USHJjs.formatAbiItem; exports.formatAbiItemWithArgs = _chunkSWM5USHJjs.formatAbiItemWithArgs; exports.getAbiItem = _chunkSWM5USHJjs.getAbiItem; exports.getBytecode = _chunkSWM5USHJjs.getBytecode; exports.getStorageAt = _chunkSWM5USHJjs.getStorageAt; exports.multicall = _chunkSWM5USHJjs.multicall; exports.readContract = _chunkSWM5USHJjs.readContract; exports.simulateContract = _chunkSWM5USHJjs.simulateContract; exports.watchContractEvent = _chunkSWM5USHJjs.watchContractEvent; exports.writeContract = _chunkSWM5USHJjs.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 _chunkTFO2ZNO6js = require('./chunk-TFO2ZNO6.js');
|
7
|
+
require('./chunk-SWM5USHJ.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 = _chunkTFO2ZNO6js.getEnsAddress; exports.getEnsName = _chunkTFO2ZNO6js.getEnsName; exports.labelhash = _chunkTFO2ZNO6js.labelhash; exports.namehash = _chunkTFO2ZNO6js.namehash; exports.normalize = normalize;
|
21
21
|
//# sourceMappingURL=ens.js.map
|
package/dist/ens.mjs
CHANGED
package/dist/index.js
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
|
5
5
|
|
6
|
-
var
|
6
|
+
var _chunkTFO2ZNO6js = require('./chunk-TFO2ZNO6.js');
|
7
7
|
|
8
8
|
|
9
9
|
|
@@ -235,7 +235,7 @@ var _chunkPGDJ2CCFjs = require('./chunk-PGDJ2CCF.js');
|
|
235
235
|
|
236
236
|
|
237
237
|
|
238
|
-
var
|
238
|
+
var _chunkSWM5USHJjs = require('./chunk-SWM5USHJ.js');
|
239
239
|
|
240
240
|
// src/clients/transports/createTransport.ts
|
241
241
|
function createTransport({
|
@@ -249,7 +249,7 @@ function createTransport({
|
|
249
249
|
}, value) {
|
250
250
|
return {
|
251
251
|
config: { key, name, request, retryCount, retryDelay, timeout, type },
|
252
|
-
request:
|
252
|
+
request: _chunkSWM5USHJjs.buildRequest.call(void 0, request, { retryCount, retryDelay }),
|
253
253
|
value
|
254
254
|
};
|
255
255
|
}
|
@@ -283,7 +283,7 @@ function fallback(transports, config = {}) {
|
|
283
283
|
params
|
284
284
|
});
|
285
285
|
} catch (err) {
|
286
|
-
if (
|
286
|
+
if (_chunkSWM5USHJjs.isDeterministicError.call(void 0, err))
|
287
287
|
throw err;
|
288
288
|
if (i === transports.length - 1)
|
289
289
|
throw err;
|
@@ -317,13 +317,13 @@ function http(url, config = {}) {
|
|
317
317
|
const retryCount = _nullishCoalesce(config.retryCount, () => ( defaultRetryCount));
|
318
318
|
const url_ = url || _optionalChain([chain, 'optionalAccess', _ => _.rpcUrls, 'access', _2 => _2.default, 'access', _3 => _3.http, 'access', _4 => _4[0]]);
|
319
319
|
if (!url_)
|
320
|
-
throw new (0,
|
320
|
+
throw new (0, _chunkSWM5USHJjs.UrlRequiredError)();
|
321
321
|
return createTransport(
|
322
322
|
{
|
323
323
|
key,
|
324
324
|
name,
|
325
325
|
async request({ method, params }) {
|
326
|
-
const { result } = await
|
326
|
+
const { result } = await _chunkSWM5USHJjs.rpc.http(url_, {
|
327
327
|
body: {
|
328
328
|
method,
|
329
329
|
params
|
@@ -357,14 +357,14 @@ function webSocket(url, config = {}) {
|
|
357
357
|
const retryCount = _nullishCoalesce(config.retryCount, () => ( defaultRetryCount));
|
358
358
|
const url_ = url || _optionalChain([chain, 'optionalAccess', _5 => _5.rpcUrls, 'access', _6 => _6.default, 'access', _7 => _7.webSocket, 'optionalAccess', _8 => _8[0]]);
|
359
359
|
if (!url_)
|
360
|
-
throw new (0,
|
360
|
+
throw new (0, _chunkSWM5USHJjs.UrlRequiredError)();
|
361
361
|
return createTransport(
|
362
362
|
{
|
363
363
|
key,
|
364
364
|
name,
|
365
365
|
async request({ method, params }) {
|
366
|
-
const socket = await
|
367
|
-
const { result } = await
|
366
|
+
const socket = await _chunkSWM5USHJjs.getSocket.call(void 0, url_);
|
367
|
+
const { result } = await _chunkSWM5USHJjs.rpc.webSocketAsync(socket, {
|
368
368
|
body: { method, params },
|
369
369
|
timeout
|
370
370
|
});
|
@@ -377,12 +377,12 @@ function webSocket(url, config = {}) {
|
|
377
377
|
},
|
378
378
|
{
|
379
379
|
getSocket() {
|
380
|
-
return
|
380
|
+
return _chunkSWM5USHJjs.getSocket.call(void 0, url_);
|
381
381
|
},
|
382
382
|
async subscribe({ params, onData, onError }) {
|
383
|
-
const socket = await
|
383
|
+
const socket = await _chunkSWM5USHJjs.getSocket.call(void 0, url_);
|
384
384
|
const { result: subscriptionId } = await new Promise(
|
385
|
-
(resolve, reject) =>
|
385
|
+
(resolve, reject) => _chunkSWM5USHJjs.rpc.webSocket(socket, {
|
386
386
|
body: {
|
387
387
|
method: "eth_subscribe",
|
388
388
|
params
|
@@ -404,7 +404,7 @@ function webSocket(url, config = {}) {
|
|
404
404
|
subscriptionId,
|
405
405
|
async unsubscribe() {
|
406
406
|
return new Promise(
|
407
|
-
(resolve, reject) =>
|
407
|
+
(resolve, reject) => _chunkSWM5USHJjs.rpc.webSocket(socket, {
|
408
408
|
body: {
|
409
409
|
method: "eth_unsubscribe",
|
410
410
|
params: [subscriptionId]
|
@@ -460,89 +460,89 @@ function createClient({
|
|
460
460
|
|
461
461
|
// src/clients/decorators/public.ts
|
462
462
|
var publicActions = (client) => ({
|
463
|
-
call: (args) =>
|
464
|
-
createBlockFilter: () =>
|
465
|
-
createContractEventFilter: (args) =>
|
466
|
-
createEventFilter: (args) =>
|
467
|
-
createPendingTransactionFilter: () =>
|
468
|
-
estimateContractGas: (args) =>
|
469
|
-
estimateGas: (args) =>
|
470
|
-
getBalance: (args) =>
|
471
|
-
getBlock: (args) =>
|
472
|
-
getBlockNumber: (args) =>
|
473
|
-
getBlockTransactionCount: (args) =>
|
474
|
-
getBytecode: (args) =>
|
475
|
-
getChainId: () =>
|
476
|
-
getEnsAddress: (args) =>
|
477
|
-
getEnsName: (args) =>
|
478
|
-
getFeeHistory: (args) =>
|
479
|
-
getFilterChanges: (args) =>
|
480
|
-
getFilterLogs: (args) =>
|
481
|
-
getGasPrice: () =>
|
482
|
-
getLogs: (args) =>
|
483
|
-
getStorageAt: (args) =>
|
484
|
-
getTransaction: (args) =>
|
485
|
-
getTransactionConfirmations: (args) =>
|
486
|
-
getTransactionCount: (args) =>
|
487
|
-
getTransactionReceipt: (args) =>
|
488
|
-
multicall: (args) =>
|
489
|
-
readContract: (args) =>
|
490
|
-
simulateContract: (args) =>
|
491
|
-
uninstallFilter: (args) =>
|
492
|
-
waitForTransactionReceipt: (args) =>
|
493
|
-
watchBlocks: (args) =>
|
494
|
-
watchBlockNumber: (args) =>
|
495
|
-
watchContractEvent: (args) =>
|
496
|
-
watchEvent: (args) =>
|
497
|
-
watchPendingTransactions: (args) =>
|
463
|
+
call: (args) => _chunkSWM5USHJjs.call.call(void 0, client, args),
|
464
|
+
createBlockFilter: () => _chunkSWM5USHJjs.createBlockFilter.call(void 0, client),
|
465
|
+
createContractEventFilter: (args) => _chunkSWM5USHJjs.createContractEventFilter.call(void 0, client, args),
|
466
|
+
createEventFilter: (args) => _chunkSWM5USHJjs.createEventFilter.call(void 0, client, args),
|
467
|
+
createPendingTransactionFilter: () => _chunkSWM5USHJjs.createPendingTransactionFilter.call(void 0, client),
|
468
|
+
estimateContractGas: (args) => _chunkSWM5USHJjs.estimateContractGas.call(void 0, client, args),
|
469
|
+
estimateGas: (args) => _chunkSWM5USHJjs.estimateGas.call(void 0, client, args),
|
470
|
+
getBalance: (args) => _chunkSWM5USHJjs.getBalance.call(void 0, client, args),
|
471
|
+
getBlock: (args) => _chunkSWM5USHJjs.getBlock.call(void 0, client, args),
|
472
|
+
getBlockNumber: (args) => _chunkSWM5USHJjs.getBlockNumber.call(void 0, client, args),
|
473
|
+
getBlockTransactionCount: (args) => _chunkSWM5USHJjs.getBlockTransactionCount.call(void 0, client, args),
|
474
|
+
getBytecode: (args) => _chunkSWM5USHJjs.getBytecode.call(void 0, client, args),
|
475
|
+
getChainId: () => _chunkSWM5USHJjs.getChainId.call(void 0, client),
|
476
|
+
getEnsAddress: (args) => _chunkTFO2ZNO6js.getEnsAddress.call(void 0, client, args),
|
477
|
+
getEnsName: (args) => _chunkTFO2ZNO6js.getEnsName.call(void 0, client, args),
|
478
|
+
getFeeHistory: (args) => _chunkSWM5USHJjs.getFeeHistory.call(void 0, client, args),
|
479
|
+
getFilterChanges: (args) => _chunkSWM5USHJjs.getFilterChanges.call(void 0, client, args),
|
480
|
+
getFilterLogs: (args) => _chunkSWM5USHJjs.getFilterLogs.call(void 0, client, args),
|
481
|
+
getGasPrice: () => _chunkSWM5USHJjs.getGasPrice.call(void 0, client),
|
482
|
+
getLogs: (args) => _chunkSWM5USHJjs.getLogs.call(void 0, client, args),
|
483
|
+
getStorageAt: (args) => _chunkSWM5USHJjs.getStorageAt.call(void 0, client, args),
|
484
|
+
getTransaction: (args) => _chunkSWM5USHJjs.getTransaction.call(void 0, client, args),
|
485
|
+
getTransactionConfirmations: (args) => _chunkSWM5USHJjs.getTransactionConfirmations.call(void 0, client, args),
|
486
|
+
getTransactionCount: (args) => _chunkSWM5USHJjs.getTransactionCount.call(void 0, client, args),
|
487
|
+
getTransactionReceipt: (args) => _chunkSWM5USHJjs.getTransactionReceipt.call(void 0, client, args),
|
488
|
+
multicall: (args) => _chunkSWM5USHJjs.multicall.call(void 0, client, args),
|
489
|
+
readContract: (args) => _chunkSWM5USHJjs.readContract.call(void 0, client, args),
|
490
|
+
simulateContract: (args) => _chunkSWM5USHJjs.simulateContract.call(void 0, client, args),
|
491
|
+
uninstallFilter: (args) => _chunkSWM5USHJjs.uninstallFilter.call(void 0, client, args),
|
492
|
+
waitForTransactionReceipt: (args) => _chunkSWM5USHJjs.waitForTransactionReceipt.call(void 0, client, args),
|
493
|
+
watchBlocks: (args) => _chunkSWM5USHJjs.watchBlocks.call(void 0, client, args),
|
494
|
+
watchBlockNumber: (args) => _chunkSWM5USHJjs.watchBlockNumber.call(void 0, client, args),
|
495
|
+
watchContractEvent: (args) => _chunkSWM5USHJjs.watchContractEvent.call(void 0, client, args),
|
496
|
+
watchEvent: (args) => _chunkSWM5USHJjs.watchEvent.call(void 0, client, args),
|
497
|
+
watchPendingTransactions: (args) => _chunkSWM5USHJjs.watchPendingTransactions.call(void 0, client, args)
|
498
498
|
});
|
499
499
|
|
500
500
|
// src/clients/decorators/test.ts
|
501
501
|
var testActions = (client) => ({
|
502
|
-
dropTransaction: (args) =>
|
503
|
-
getAutomine: () =>
|
504
|
-
getTxpoolContent: () =>
|
505
|
-
getTxpoolStatus: () =>
|
506
|
-
impersonateAccount: (args) =>
|
507
|
-
increaseTime: (args) =>
|
508
|
-
inspectTxpool: () =>
|
509
|
-
mine: (args) =>
|
510
|
-
removeBlockTimestampInterval: () =>
|
511
|
-
reset: (args) =>
|
512
|
-
revert: (args) =>
|
513
|
-
sendUnsignedTransaction: (args) =>
|
514
|
-
setAutomine: (args) =>
|
515
|
-
setBalance: (args) =>
|
516
|
-
setBlockGasLimit: (args) =>
|
517
|
-
setBlockTimestampInterval: (args) =>
|
518
|
-
setCode: (args) =>
|
519
|
-
setCoinbase: (args) =>
|
520
|
-
setIntervalMining: (args) =>
|
521
|
-
setLoggingEnabled: (args) =>
|
522
|
-
setMinGasPrice: (args) =>
|
523
|
-
setNextBlockBaseFeePerGas: (args) =>
|
524
|
-
setNextBlockTimestamp: (args) =>
|
525
|
-
setNonce: (args) =>
|
526
|
-
setRpcUrl: (args) =>
|
527
|
-
setStorageAt: (args) =>
|
528
|
-
snapshot: () =>
|
529
|
-
stopImpersonatingAccount: (args) =>
|
502
|
+
dropTransaction: (args) => _chunkSWM5USHJjs.dropTransaction.call(void 0, client, args),
|
503
|
+
getAutomine: () => _chunkSWM5USHJjs.getAutomine.call(void 0, client),
|
504
|
+
getTxpoolContent: () => _chunkSWM5USHJjs.getTxpoolContent.call(void 0, client),
|
505
|
+
getTxpoolStatus: () => _chunkSWM5USHJjs.getTxpoolStatus.call(void 0, client),
|
506
|
+
impersonateAccount: (args) => _chunkSWM5USHJjs.impersonateAccount.call(void 0, client, args),
|
507
|
+
increaseTime: (args) => _chunkSWM5USHJjs.increaseTime.call(void 0, client, args),
|
508
|
+
inspectTxpool: () => _chunkSWM5USHJjs.inspectTxpool.call(void 0, client),
|
509
|
+
mine: (args) => _chunkSWM5USHJjs.mine.call(void 0, client, args),
|
510
|
+
removeBlockTimestampInterval: () => _chunkSWM5USHJjs.removeBlockTimestampInterval.call(void 0, client),
|
511
|
+
reset: (args) => _chunkSWM5USHJjs.reset.call(void 0, client, args),
|
512
|
+
revert: (args) => _chunkSWM5USHJjs.revert.call(void 0, client, args),
|
513
|
+
sendUnsignedTransaction: (args) => _chunkSWM5USHJjs.sendUnsignedTransaction.call(void 0, client, args),
|
514
|
+
setAutomine: (args) => _chunkSWM5USHJjs.setAutomine.call(void 0, client, args),
|
515
|
+
setBalance: (args) => _chunkSWM5USHJjs.setBalance.call(void 0, client, args),
|
516
|
+
setBlockGasLimit: (args) => _chunkSWM5USHJjs.setBlockGasLimit.call(void 0, client, args),
|
517
|
+
setBlockTimestampInterval: (args) => _chunkSWM5USHJjs.setBlockTimestampInterval.call(void 0, client, args),
|
518
|
+
setCode: (args) => _chunkSWM5USHJjs.setCode.call(void 0, client, args),
|
519
|
+
setCoinbase: (args) => _chunkSWM5USHJjs.setCoinbase.call(void 0, client, args),
|
520
|
+
setIntervalMining: (args) => _chunkSWM5USHJjs.setIntervalMining.call(void 0, client, args),
|
521
|
+
setLoggingEnabled: (args) => _chunkSWM5USHJjs.setLoggingEnabled.call(void 0, client, args),
|
522
|
+
setMinGasPrice: (args) => _chunkSWM5USHJjs.setMinGasPrice.call(void 0, client, args),
|
523
|
+
setNextBlockBaseFeePerGas: (args) => _chunkSWM5USHJjs.setNextBlockBaseFeePerGas.call(void 0, client, args),
|
524
|
+
setNextBlockTimestamp: (args) => _chunkSWM5USHJjs.setNextBlockTimestamp.call(void 0, client, args),
|
525
|
+
setNonce: (args) => _chunkSWM5USHJjs.setNonce.call(void 0, client, args),
|
526
|
+
setRpcUrl: (args) => _chunkSWM5USHJjs.setRpcUrl.call(void 0, client, args),
|
527
|
+
setStorageAt: (args) => _chunkSWM5USHJjs.setStorageAt.call(void 0, client, args),
|
528
|
+
snapshot: () => _chunkSWM5USHJjs.snapshot.call(void 0, client),
|
529
|
+
stopImpersonatingAccount: (args) => _chunkSWM5USHJjs.stopImpersonatingAccount.call(void 0, client, args)
|
530
530
|
});
|
531
531
|
|
532
532
|
// src/clients/decorators/wallet.ts
|
533
533
|
var walletActions = (client) => ({
|
534
|
-
addChain: (args) =>
|
535
|
-
deployContract: (args) =>
|
536
|
-
getAddresses: () =>
|
537
|
-
getChainId: () =>
|
538
|
-
getPermissions: () =>
|
539
|
-
requestAddresses: () =>
|
540
|
-
requestPermissions: (args) =>
|
541
|
-
sendTransaction: (args) =>
|
542
|
-
signMessage: (args) =>
|
543
|
-
switchChain: (args) =>
|
544
|
-
watchAsset: (args) =>
|
545
|
-
writeContract: (args) =>
|
534
|
+
addChain: (args) => _chunkSWM5USHJjs.addChain.call(void 0, client, args),
|
535
|
+
deployContract: (args) => _chunkSWM5USHJjs.deployContract.call(void 0, client, args),
|
536
|
+
getAddresses: () => _chunkSWM5USHJjs.getAddresses.call(void 0, client),
|
537
|
+
getChainId: () => _chunkSWM5USHJjs.getChainId.call(void 0, client),
|
538
|
+
getPermissions: () => _chunkSWM5USHJjs.getPermissions.call(void 0, client),
|
539
|
+
requestAddresses: () => _chunkSWM5USHJjs.requestAddresses.call(void 0, client),
|
540
|
+
requestPermissions: (args) => _chunkSWM5USHJjs.requestPermissions.call(void 0, client, args),
|
541
|
+
sendTransaction: (args) => _chunkSWM5USHJjs.sendTransaction.call(void 0, client, args),
|
542
|
+
signMessage: (args) => _chunkSWM5USHJjs.signMessage.call(void 0, client, args),
|
543
|
+
switchChain: (args) => _chunkSWM5USHJjs.switchChain.call(void 0, client, args),
|
544
|
+
watchAsset: (args) => _chunkSWM5USHJjs.watchAsset.call(void 0, client, args),
|
545
|
+
writeContract: (args) => _chunkSWM5USHJjs.writeContract.call(void 0, client, args)
|
546
546
|
});
|
547
547
|
|
548
548
|
// src/clients/createPublicClient.ts
|
@@ -778,5 +778,5 @@ function createWalletClient({
|
|
778
778
|
|
779
779
|
|
780
780
|
|
781
|
-
exports.AbiConstructorNotFoundError = _chunk6CICSWSUjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunk6CICSWSUjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunk6CICSWSUjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunk6CICSWSUjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunk6CICSWSUjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunk6CICSWSUjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunk6CICSWSUjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunk6CICSWSUjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunk6CICSWSUjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunk6CICSWSUjs.AbiEventNotFoundError; exports.AbiEventSignatureNotFoundError = _chunk6CICSWSUjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunk6CICSWSUjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunk6CICSWSUjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunk6CICSWSUjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunk6CICSWSUjs.BaseError; exports.BlockNotFoundError = _chunk6CICSWSUjs.BlockNotFoundError; exports.CallExecutionError = _chunk6CICSWSUjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunk6CICSWSUjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunk6CICSWSUjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunk6CICSWSUjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunk6CICSWSUjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunk6CICSWSUjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunk6CICSWSUjs.DataLengthTooShortError; exports.EstimateGasExecutionError = _chunk6CICSWSUjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunk6CICSWSUjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunk6CICSWSUjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunk6CICSWSUjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunk6CICSWSUjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunk6CICSWSUjs.HttpRequestError; exports.InsufficientFundsError = _chunk6CICSWSUjs.InsufficientFundsError; exports.InternalRpcError = _chunk6CICSWSUjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunk6CICSWSUjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunk6CICSWSUjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunk6CICSWSUjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunk6CICSWSUjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunk6CICSWSUjs.InvalidAddressError; exports.InvalidArrayError = _chunk6CICSWSUjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunk6CICSWSUjs.InvalidBytesBooleanError; exports.InvalidDefinitionTypeError = _chunk6CICSWSUjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunk6CICSWSUjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunk6CICSWSUjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunk6CICSWSUjs.InvalidInputRpcError; exports.InvalidParamsRpcError = _chunk6CICSWSUjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunk6CICSWSUjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunk6CICSWSUjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunk6CICSWSUjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunk6CICSWSUjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunk6CICSWSUjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunk6CICSWSUjs.NonceMaxValueError; exports.NonceTooHighError = _chunk6CICSWSUjs.NonceTooHighError; exports.NonceTooLowError = _chunk6CICSWSUjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunk6CICSWSUjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunk6CICSWSUjs.ParseRpcError; exports.RawContractError = _chunk6CICSWSUjs.RawContractError; exports.RequestError = _chunk6CICSWSUjs.RequestError; exports.ResourceNotFoundRpcError = _chunk6CICSWSUjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunk6CICSWSUjs.ResourceUnavailableRpcError; exports.RpcError = _chunk6CICSWSUjs.RpcError; exports.RpcRequestError = _chunk6CICSWSUjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunk6CICSWSUjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunk6CICSWSUjs.SwitchChainError; exports.TimeoutError = _chunk6CICSWSUjs.TimeoutError; exports.TipAboveFeeCapError = _chunk6CICSWSUjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunk6CICSWSUjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunk6CICSWSUjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunk6CICSWSUjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunk6CICSWSUjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunk6CICSWSUjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunk6CICSWSUjs.UnknownNodeError; exports.UnknownRpcError = _chunk6CICSWSUjs.UnknownRpcError; exports.UrlRequiredError = _chunk6CICSWSUjs.UrlRequiredError; exports.UserRejectedRequestError = _chunk6CICSWSUjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunk6CICSWSUjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunk6CICSWSUjs.WebSocketRequestError; exports.boolToBytes = _chunk6CICSWSUjs.boolToBytes; exports.boolToHex = _chunk6CICSWSUjs.boolToHex; exports.bytesToBigint = _chunk6CICSWSUjs.bytesToBigint; exports.bytesToBool = _chunk6CICSWSUjs.bytesToBool; exports.bytesToHex = _chunk6CICSWSUjs.bytesToHex; exports.bytesToNumber = _chunk6CICSWSUjs.bytesToNumber; exports.bytesToString = _chunk6CICSWSUjs.bytesToString; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunk6CICSWSUjs.decodeAbiParameters; exports.decodeErrorResult = _chunk6CICSWSUjs.decodeErrorResult; exports.decodeEventLog = _chunk6CICSWSUjs.decodeEventLog; exports.decodeFunctionData = _chunk6CICSWSUjs.decodeFunctionData; exports.decodeFunctionResult = _chunk6CICSWSUjs.decodeFunctionResult; exports.defineBlock = _chunk6CICSWSUjs.defineBlock; exports.defineChain = _chunk6CICSWSUjs.defineChain; exports.defineTransaction = _chunk6CICSWSUjs.defineTransaction; exports.defineTransactionReceipt = _chunk6CICSWSUjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunk6CICSWSUjs.defineTransactionRequest; exports.encodeAbiParameters = _chunk6CICSWSUjs.encodeAbiParameters; exports.encodeDeployData = _chunk6CICSWSUjs.encodeDeployData; exports.encodeErrorResult = _chunk6CICSWSUjs.encodeErrorResult; exports.encodeEventTopics = _chunk6CICSWSUjs.encodeEventTopics; exports.encodeFunctionData = _chunk6CICSWSUjs.encodeFunctionData; exports.encodeFunctionResult = _chunk6CICSWSUjs.encodeFunctionResult; exports.encodePacked = _chunk6CICSWSUjs.encodePacked; exports.etherUnits = _chunk6CICSWSUjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunk6CICSWSUjs.formatBlock; exports.formatEther = _chunk6CICSWSUjs.formatEther; exports.formatGwei = _chunk6CICSWSUjs.formatGwei; exports.formatTransaction = _chunk6CICSWSUjs.formatTransaction; exports.formatTransactionRequest = _chunk6CICSWSUjs.formatTransactionRequest; exports.formatUnits = _chunk6CICSWSUjs.formatUnits; exports.fromBytes = _chunk6CICSWSUjs.fromBytes; exports.fromHex = _chunk6CICSWSUjs.fromHex; exports.fromRlp = _chunk6CICSWSUjs.fromRlp; exports.getAbiItem = _chunk6CICSWSUjs.getAbiItem; exports.getAccount = _chunk6CICSWSUjs.getAccount; exports.getAddress = _chunk6CICSWSUjs.getAddress; exports.getContractAddress = _chunk6CICSWSUjs.getContractAddress; exports.getContractError = _chunk6CICSWSUjs.getContractError; exports.getCreate2Address = _chunk6CICSWSUjs.getCreate2Address; exports.getCreateAddress = _chunk6CICSWSUjs.getCreateAddress; exports.getEventSelector = _chunk6CICSWSUjs.getEventSelector; exports.getFunctionSelector = _chunk6CICSWSUjs.getFunctionSelector; exports.gweiUnits = _chunk6CICSWSUjs.gweiUnits; exports.hexToBigInt = _chunk6CICSWSUjs.hexToBigInt; exports.hexToBool = _chunk6CICSWSUjs.hexToBool; exports.hexToBytes = _chunk6CICSWSUjs.hexToBytes; exports.hexToNumber = _chunk6CICSWSUjs.hexToNumber; exports.hexToString = _chunk6CICSWSUjs.hexToString; exports.http = http; exports.isAddress = _chunk6CICSWSUjs.isAddress; exports.isAddressEqual = _chunk6CICSWSUjs.isAddressEqual; exports.isBytes = _chunk6CICSWSUjs.isBytes; exports.isHex = _chunk6CICSWSUjs.isHex; exports.keccak256 = _chunk6CICSWSUjs.keccak256; exports.labelhash = _chunkPGDJ2CCFjs.labelhash; exports.multicall3Abi = _chunk6CICSWSUjs.multicall3Abi; exports.namehash = _chunkPGDJ2CCFjs.namehash; exports.numberToBytes = _chunk6CICSWSUjs.numberToBytes; exports.numberToHex = _chunk6CICSWSUjs.numberToHex; exports.pad = _chunk6CICSWSUjs.pad; exports.padBytes = _chunk6CICSWSUjs.padBytes; exports.padHex = _chunk6CICSWSUjs.padHex; exports.parseAbi = _chunk6CICSWSUjs.parseAbi; exports.parseAbiItem = _chunk6CICSWSUjs.parseAbiItem; exports.parseAbiParameter = _chunk6CICSWSUjs.parseAbiParameter; exports.parseAbiParameters = _chunk6CICSWSUjs.parseAbiParameters; exports.parseEther = _chunk6CICSWSUjs.parseEther; exports.parseGwei = _chunk6CICSWSUjs.parseGwei; exports.parseUnits = _chunk6CICSWSUjs.parseUnits; exports.size = _chunk6CICSWSUjs.size; exports.slice = _chunk6CICSWSUjs.slice; exports.sliceBytes = _chunk6CICSWSUjs.sliceBytes; exports.sliceHex = _chunk6CICSWSUjs.sliceHex; exports.stringToBytes = _chunk6CICSWSUjs.stringToBytes; exports.stringToHex = _chunk6CICSWSUjs.stringToHex; exports.stringify = _chunk6CICSWSUjs.stringify; exports.toBytes = _chunk6CICSWSUjs.toBytes; exports.toHex = _chunk6CICSWSUjs.toHex; exports.toRlp = _chunk6CICSWSUjs.toRlp; exports.transactionType = _chunk6CICSWSUjs.transactionType; exports.trim = _chunk6CICSWSUjs.trim; exports.webSocket = webSocket; exports.weiUnits = _chunk6CICSWSUjs.weiUnits;
|
781
|
+
exports.AbiConstructorNotFoundError = _chunkSWM5USHJjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkSWM5USHJjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkSWM5USHJjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkSWM5USHJjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkSWM5USHJjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkSWM5USHJjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkSWM5USHJjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkSWM5USHJjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkSWM5USHJjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkSWM5USHJjs.AbiEventNotFoundError; exports.AbiEventSignatureNotFoundError = _chunkSWM5USHJjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkSWM5USHJjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkSWM5USHJjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkSWM5USHJjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkSWM5USHJjs.BaseError; exports.BlockNotFoundError = _chunkSWM5USHJjs.BlockNotFoundError; exports.CallExecutionError = _chunkSWM5USHJjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkSWM5USHJjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkSWM5USHJjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkSWM5USHJjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkSWM5USHJjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkSWM5USHJjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkSWM5USHJjs.DataLengthTooShortError; exports.EstimateGasExecutionError = _chunkSWM5USHJjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkSWM5USHJjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkSWM5USHJjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkSWM5USHJjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkSWM5USHJjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkSWM5USHJjs.HttpRequestError; exports.InsufficientFundsError = _chunkSWM5USHJjs.InsufficientFundsError; exports.InternalRpcError = _chunkSWM5USHJjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkSWM5USHJjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkSWM5USHJjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkSWM5USHJjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkSWM5USHJjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkSWM5USHJjs.InvalidAddressError; exports.InvalidArrayError = _chunkSWM5USHJjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkSWM5USHJjs.InvalidBytesBooleanError; exports.InvalidDefinitionTypeError = _chunkSWM5USHJjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkSWM5USHJjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkSWM5USHJjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkSWM5USHJjs.InvalidInputRpcError; exports.InvalidParamsRpcError = _chunkSWM5USHJjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkSWM5USHJjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkSWM5USHJjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkSWM5USHJjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkSWM5USHJjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkSWM5USHJjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkSWM5USHJjs.NonceMaxValueError; exports.NonceTooHighError = _chunkSWM5USHJjs.NonceTooHighError; exports.NonceTooLowError = _chunkSWM5USHJjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkSWM5USHJjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkSWM5USHJjs.ParseRpcError; exports.RawContractError = _chunkSWM5USHJjs.RawContractError; exports.RequestError = _chunkSWM5USHJjs.RequestError; exports.ResourceNotFoundRpcError = _chunkSWM5USHJjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkSWM5USHJjs.ResourceUnavailableRpcError; exports.RpcError = _chunkSWM5USHJjs.RpcError; exports.RpcRequestError = _chunkSWM5USHJjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkSWM5USHJjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkSWM5USHJjs.SwitchChainError; exports.TimeoutError = _chunkSWM5USHJjs.TimeoutError; exports.TipAboveFeeCapError = _chunkSWM5USHJjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkSWM5USHJjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkSWM5USHJjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkSWM5USHJjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkSWM5USHJjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkSWM5USHJjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkSWM5USHJjs.UnknownNodeError; exports.UnknownRpcError = _chunkSWM5USHJjs.UnknownRpcError; exports.UrlRequiredError = _chunkSWM5USHJjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkSWM5USHJjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkSWM5USHJjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkSWM5USHJjs.WebSocketRequestError; exports.boolToBytes = _chunkSWM5USHJjs.boolToBytes; exports.boolToHex = _chunkSWM5USHJjs.boolToHex; exports.bytesToBigint = _chunkSWM5USHJjs.bytesToBigint; exports.bytesToBool = _chunkSWM5USHJjs.bytesToBool; exports.bytesToHex = _chunkSWM5USHJjs.bytesToHex; exports.bytesToNumber = _chunkSWM5USHJjs.bytesToNumber; exports.bytesToString = _chunkSWM5USHJjs.bytesToString; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkSWM5USHJjs.decodeAbiParameters; exports.decodeErrorResult = _chunkSWM5USHJjs.decodeErrorResult; exports.decodeEventLog = _chunkSWM5USHJjs.decodeEventLog; exports.decodeFunctionData = _chunkSWM5USHJjs.decodeFunctionData; exports.decodeFunctionResult = _chunkSWM5USHJjs.decodeFunctionResult; exports.defineBlock = _chunkSWM5USHJjs.defineBlock; exports.defineChain = _chunkSWM5USHJjs.defineChain; exports.defineTransaction = _chunkSWM5USHJjs.defineTransaction; exports.defineTransactionReceipt = _chunkSWM5USHJjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkSWM5USHJjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkSWM5USHJjs.encodeAbiParameters; exports.encodeDeployData = _chunkSWM5USHJjs.encodeDeployData; exports.encodeErrorResult = _chunkSWM5USHJjs.encodeErrorResult; exports.encodeEventTopics = _chunkSWM5USHJjs.encodeEventTopics; exports.encodeFunctionData = _chunkSWM5USHJjs.encodeFunctionData; exports.encodeFunctionResult = _chunkSWM5USHJjs.encodeFunctionResult; exports.encodePacked = _chunkSWM5USHJjs.encodePacked; exports.etherUnits = _chunkSWM5USHJjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkSWM5USHJjs.formatBlock; exports.formatEther = _chunkSWM5USHJjs.formatEther; exports.formatGwei = _chunkSWM5USHJjs.formatGwei; exports.formatTransaction = _chunkSWM5USHJjs.formatTransaction; exports.formatTransactionRequest = _chunkSWM5USHJjs.formatTransactionRequest; exports.formatUnits = _chunkSWM5USHJjs.formatUnits; exports.fromBytes = _chunkSWM5USHJjs.fromBytes; exports.fromHex = _chunkSWM5USHJjs.fromHex; exports.fromRlp = _chunkSWM5USHJjs.fromRlp; exports.getAbiItem = _chunkSWM5USHJjs.getAbiItem; exports.getAccount = _chunkSWM5USHJjs.getAccount; exports.getAddress = _chunkSWM5USHJjs.getAddress; exports.getContractAddress = _chunkSWM5USHJjs.getContractAddress; exports.getContractError = _chunkSWM5USHJjs.getContractError; exports.getCreate2Address = _chunkSWM5USHJjs.getCreate2Address; exports.getCreateAddress = _chunkSWM5USHJjs.getCreateAddress; exports.getEventSelector = _chunkSWM5USHJjs.getEventSelector; exports.getFunctionSelector = _chunkSWM5USHJjs.getFunctionSelector; exports.gweiUnits = _chunkSWM5USHJjs.gweiUnits; exports.hexToBigInt = _chunkSWM5USHJjs.hexToBigInt; exports.hexToBool = _chunkSWM5USHJjs.hexToBool; exports.hexToBytes = _chunkSWM5USHJjs.hexToBytes; exports.hexToNumber = _chunkSWM5USHJjs.hexToNumber; exports.hexToString = _chunkSWM5USHJjs.hexToString; exports.http = http; exports.isAddress = _chunkSWM5USHJjs.isAddress; exports.isAddressEqual = _chunkSWM5USHJjs.isAddressEqual; exports.isBytes = _chunkSWM5USHJjs.isBytes; exports.isHex = _chunkSWM5USHJjs.isHex; exports.keccak256 = _chunkSWM5USHJjs.keccak256; exports.labelhash = _chunkTFO2ZNO6js.labelhash; exports.multicall3Abi = _chunkSWM5USHJjs.multicall3Abi; exports.namehash = _chunkTFO2ZNO6js.namehash; exports.numberToBytes = _chunkSWM5USHJjs.numberToBytes; exports.numberToHex = _chunkSWM5USHJjs.numberToHex; exports.pad = _chunkSWM5USHJjs.pad; exports.padBytes = _chunkSWM5USHJjs.padBytes; exports.padHex = _chunkSWM5USHJjs.padHex; exports.parseAbi = _chunkSWM5USHJjs.parseAbi; exports.parseAbiItem = _chunkSWM5USHJjs.parseAbiItem; exports.parseAbiParameter = _chunkSWM5USHJjs.parseAbiParameter; exports.parseAbiParameters = _chunkSWM5USHJjs.parseAbiParameters; exports.parseEther = _chunkSWM5USHJjs.parseEther; exports.parseGwei = _chunkSWM5USHJjs.parseGwei; exports.parseUnits = _chunkSWM5USHJjs.parseUnits; exports.size = _chunkSWM5USHJjs.size; exports.slice = _chunkSWM5USHJjs.slice; exports.sliceBytes = _chunkSWM5USHJjs.sliceBytes; exports.sliceHex = _chunkSWM5USHJjs.sliceHex; exports.stringToBytes = _chunkSWM5USHJjs.stringToBytes; exports.stringToHex = _chunkSWM5USHJjs.stringToHex; exports.stringify = _chunkSWM5USHJjs.stringify; exports.toBytes = _chunkSWM5USHJjs.toBytes; exports.toHex = _chunkSWM5USHJjs.toHex; exports.toRlp = _chunkSWM5USHJjs.toRlp; exports.transactionType = _chunkSWM5USHJjs.transactionType; exports.trim = _chunkSWM5USHJjs.trim; exports.webSocket = webSocket; exports.weiUnits = _chunkSWM5USHJjs.weiUnits;
|
782
782
|
//# 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-2NPEMQUQ.mjs";
|
7
7
|
import {
|
8
8
|
AbiConstructorNotFoundError,
|
9
9
|
AbiConstructorParamsNotFoundError,
|
@@ -235,7 +235,7 @@ import {
|
|
235
235
|
watchPendingTransactions,
|
236
236
|
weiUnits,
|
237
237
|
writeContract
|
238
|
-
} from "./chunk-
|
238
|
+
} from "./chunk-EYQS4UG5.mjs";
|
239
239
|
|
240
240
|
// src/clients/transports/createTransport.ts
|
241
241
|
function createTransport({
|
package/dist/public.js
CHANGED
@@ -26,7 +26,7 @@
|
|
26
26
|
|
27
27
|
|
28
28
|
|
29
|
-
var
|
29
|
+
var _chunkSWM5USHJjs = require('./chunk-SWM5USHJ.js');
|
30
30
|
|
31
31
|
|
32
32
|
|
@@ -55,5 +55,5 @@ var _chunk6CICSWSUjs = require('./chunk-6CICSWSU.js');
|
|
55
55
|
|
56
56
|
|
57
57
|
|
58
|
-
exports.call =
|
58
|
+
exports.call = _chunkSWM5USHJjs.call; exports.createBlockFilter = _chunkSWM5USHJjs.createBlockFilter; exports.createEventFilter = _chunkSWM5USHJjs.createEventFilter; exports.createPendingTransactionFilter = _chunkSWM5USHJjs.createPendingTransactionFilter; exports.estimateGas = _chunkSWM5USHJjs.estimateGas; exports.getBalance = _chunkSWM5USHJjs.getBalance; exports.getBlock = _chunkSWM5USHJjs.getBlock; exports.getBlockNumber = _chunkSWM5USHJjs.getBlockNumber; exports.getBlockNumberCache = _chunkSWM5USHJjs.getBlockNumberCache; exports.getBlockTransactionCount = _chunkSWM5USHJjs.getBlockTransactionCount; exports.getBytecode = _chunkSWM5USHJjs.getBytecode; exports.getChainId = _chunkSWM5USHJjs.getChainId; exports.getFeeHistory = _chunkSWM5USHJjs.getFeeHistory; exports.getFilterChanges = _chunkSWM5USHJjs.getFilterChanges; exports.getFilterLogs = _chunkSWM5USHJjs.getFilterLogs; exports.getGasPrice = _chunkSWM5USHJjs.getGasPrice; exports.getLogs = _chunkSWM5USHJjs.getLogs; exports.getTransaction = _chunkSWM5USHJjs.getTransaction; exports.getTransactionConfirmations = _chunkSWM5USHJjs.getTransactionConfirmations; exports.getTransactionCount = _chunkSWM5USHJjs.getTransactionCount; exports.getTransactionReceipt = _chunkSWM5USHJjs.getTransactionReceipt; exports.uninstallFilter = _chunkSWM5USHJjs.uninstallFilter; exports.waitForTransactionReceipt = _chunkSWM5USHJjs.waitForTransactionReceipt; exports.watchBlockNumber = _chunkSWM5USHJjs.watchBlockNumber; exports.watchBlocks = _chunkSWM5USHJjs.watchBlocks; exports.watchEvent = _chunkSWM5USHJjs.watchEvent; exports.watchPendingTransactions = _chunkSWM5USHJjs.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 _chunkSWM5USHJjs = require('./chunk-SWM5USHJ.js');
|
31
31
|
|
32
32
|
|
33
33
|
|
@@ -57,5 +57,5 @@ var _chunk6CICSWSUjs = require('./chunk-6CICSWSU.js');
|
|
57
57
|
|
58
58
|
|
59
59
|
|
60
|
-
exports.dropTransaction =
|
60
|
+
exports.dropTransaction = _chunkSWM5USHJjs.dropTransaction; exports.getAutomine = _chunkSWM5USHJjs.getAutomine; exports.getTxpoolContent = _chunkSWM5USHJjs.getTxpoolContent; exports.getTxpoolStatus = _chunkSWM5USHJjs.getTxpoolStatus; exports.impersonateAccount = _chunkSWM5USHJjs.impersonateAccount; exports.increaseTime = _chunkSWM5USHJjs.increaseTime; exports.inspectTxpool = _chunkSWM5USHJjs.inspectTxpool; exports.mine = _chunkSWM5USHJjs.mine; exports.removeBlockTimestampInterval = _chunkSWM5USHJjs.removeBlockTimestampInterval; exports.reset = _chunkSWM5USHJjs.reset; exports.revert = _chunkSWM5USHJjs.revert; exports.sendUnsignedTransaction = _chunkSWM5USHJjs.sendUnsignedTransaction; exports.setAutomine = _chunkSWM5USHJjs.setAutomine; exports.setBalance = _chunkSWM5USHJjs.setBalance; exports.setBlockGasLimit = _chunkSWM5USHJjs.setBlockGasLimit; exports.setBlockTimestampInterval = _chunkSWM5USHJjs.setBlockTimestampInterval; exports.setCode = _chunkSWM5USHJjs.setCode; exports.setCoinbase = _chunkSWM5USHJjs.setCoinbase; exports.setIntervalMining = _chunkSWM5USHJjs.setIntervalMining; exports.setLoggingEnabled = _chunkSWM5USHJjs.setLoggingEnabled; exports.setMinGasPrice = _chunkSWM5USHJjs.setMinGasPrice; exports.setNextBlockBaseFeePerGas = _chunkSWM5USHJjs.setNextBlockBaseFeePerGas; exports.setNextBlockTimestamp = _chunkSWM5USHJjs.setNextBlockTimestamp; exports.setNonce = _chunkSWM5USHJjs.setNonce; exports.setRpcUrl = _chunkSWM5USHJjs.setRpcUrl; exports.setStorageAt = _chunkSWM5USHJjs.setStorageAt; exports.snapshot = _chunkSWM5USHJjs.snapshot; exports.stopImpersonatingAccount = _chunkSWM5USHJjs.stopImpersonatingAccount;
|
61
61
|
//# sourceMappingURL=test.js.map
|