viem 0.1.24 → 0.1.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abi.js +2 -2
- package/dist/abi.mjs +1 -1
- package/dist/chains.js +63 -63
- package/dist/chains.mjs +1 -1
- package/dist/{chunk-QQ7PCGDW.mjs → chunk-4E27RP3Y.mjs} +2 -2
- package/dist/{chunk-DZQWSJNJ.mjs → chunk-FTVVJS5Q.mjs} +3 -3
- package/dist/chunk-FTVVJS5Q.mjs.map +1 -0
- package/dist/{chunk-TO4LQVPW.js → chunk-G5HJC7PY.js} +3 -3
- package/dist/chunk-G5HJC7PY.js.map +1 -0
- package/dist/{chunk-CVKFUFQP.js → chunk-JBAQOWGC.js} +19 -19
- package/dist/contract.js +2 -2
- package/dist/contract.mjs +1 -1
- package/dist/ens.js +3 -3
- package/dist/ens.mjs +2 -2
- package/dist/ethers.js +3 -3
- package/dist/ethers.mjs +1 -1
- package/dist/index.js +91 -91
- 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-DZQWSJNJ.mjs.map +0 -1
- package/dist/chunk-TO4LQVPW.js.map +0 -1
- /package/dist/{chunk-QQ7PCGDW.mjs.map → chunk-4E27RP3Y.mjs.map} +0 -0
- /package/dist/{chunk-CVKFUFQP.js.map → chunk-JBAQOWGC.js.map} +0 -0
@@ -11,27 +11,27 @@
|
|
11
11
|
|
12
12
|
|
13
13
|
|
14
|
-
var
|
14
|
+
var _chunkG5HJC7PYjs = require('./chunk-G5HJC7PY.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 _chunkG5HJC7PYjs.bytesToHex.call(void 0, result);
|
21
|
+
return _chunkG5HJC7PYjs.keccak256.call(void 0, _chunkG5HJC7PYjs.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 _chunkG5HJC7PYjs.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 = _chunkG5HJC7PYjs.keccak256.call(void 0, _chunkG5HJC7PYjs.stringToBytes.call(void 0, labels[i]), "bytes");
|
32
|
+
result = _chunkG5HJC7PYjs.keccak256.call(void 0, _chunkG5HJC7PYjs.concat.call(void 0, [result, hashed]), "bytes");
|
33
33
|
}
|
34
|
-
return
|
34
|
+
return _chunkG5HJC7PYjs.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 _chunkG5HJC7PYjs.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 = _chunkG5HJC7PYjs.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;
|
@@ -69,13 +69,13 @@ async function getEnsAddress(client, {
|
|
69
69
|
throw new Error(
|
70
70
|
"client chain not configured. universalResolverAddress is required."
|
71
71
|
);
|
72
|
-
universalResolverAddress =
|
72
|
+
universalResolverAddress = _chunkG5HJC7PYjs.getChainContractAddress.call(void 0, {
|
73
73
|
blockNumber,
|
74
74
|
chain: client.chain,
|
75
75
|
contract: "ensUniversalResolver"
|
76
76
|
});
|
77
77
|
}
|
78
|
-
const res = await
|
78
|
+
const res = await _chunkG5HJC7PYjs.readContract.call(void 0, client, {
|
79
79
|
address: universalResolverAddress,
|
80
80
|
abi: [
|
81
81
|
{
|
@@ -94,8 +94,8 @@ async function getEnsAddress(client, {
|
|
94
94
|
],
|
95
95
|
functionName: "resolve",
|
96
96
|
args: [
|
97
|
-
|
98
|
-
|
97
|
+
_chunkG5HJC7PYjs.toHex.call(void 0, packetToBytes(name)),
|
98
|
+
_chunkG5HJC7PYjs.encodeFunctionData.call(void 0, {
|
99
99
|
abi: [
|
100
100
|
{
|
101
101
|
name: "addr",
|
@@ -112,7 +112,7 @@ async function getEnsAddress(client, {
|
|
112
112
|
blockNumber,
|
113
113
|
blockTag
|
114
114
|
});
|
115
|
-
return
|
115
|
+
return _chunkG5HJC7PYjs.decodeFunctionResult.call(void 0, {
|
116
116
|
abi: [
|
117
117
|
{
|
118
118
|
name: "addr",
|
@@ -140,7 +140,7 @@ async function getEnsName(client, {
|
|
140
140
|
throw new Error(
|
141
141
|
"client chain not configured. universalResolverAddress is required."
|
142
142
|
);
|
143
|
-
universalResolverAddress =
|
143
|
+
universalResolverAddress = _chunkG5HJC7PYjs.getChainContractAddress.call(void 0, {
|
144
144
|
blockNumber,
|
145
145
|
chain: client.chain,
|
146
146
|
contract: "ensUniversalResolver"
|
@@ -148,7 +148,7 @@ async function getEnsName(client, {
|
|
148
148
|
}
|
149
149
|
const reverseNode = `${address.toLowerCase().substring(2)}.addr.reverse`;
|
150
150
|
try {
|
151
|
-
const res = await
|
151
|
+
const res = await _chunkG5HJC7PYjs.readContract.call(void 0, client, {
|
152
152
|
address: universalResolverAddress,
|
153
153
|
abi: [
|
154
154
|
{
|
@@ -165,13 +165,13 @@ async function getEnsName(client, {
|
|
165
165
|
}
|
166
166
|
],
|
167
167
|
functionName: "reverse",
|
168
|
-
args: [
|
168
|
+
args: [_chunkG5HJC7PYjs.toHex.call(void 0, packetToBytes(reverseNode))],
|
169
169
|
blockNumber,
|
170
170
|
blockTag
|
171
171
|
});
|
172
172
|
return res[0];
|
173
173
|
} catch (error) {
|
174
|
-
if (error instanceof
|
174
|
+
if (error instanceof _chunkG5HJC7PYjs.ContractFunctionExecutionError && error.cause.reason === _chunkG5HJC7PYjs.panicReasons[50])
|
175
175
|
return null;
|
176
176
|
throw error;
|
177
177
|
}
|
@@ -183,4 +183,4 @@ async function getEnsName(client, {
|
|
183
183
|
|
184
184
|
|
185
185
|
exports.labelhash = labelhash; exports.namehash = namehash; exports.getEnsAddress = getEnsAddress; exports.getEnsName = getEnsName;
|
186
|
-
//# sourceMappingURL=chunk-
|
186
|
+
//# sourceMappingURL=chunk-JBAQOWGC.js.map
|
package/dist/contract.js
CHANGED
@@ -23,7 +23,7 @@
|
|
23
23
|
|
24
24
|
|
25
25
|
|
26
|
-
var
|
26
|
+
var _chunkG5HJC7PYjs = require('./chunk-G5HJC7PY.js');
|
27
27
|
|
28
28
|
|
29
29
|
|
@@ -49,5 +49,5 @@ var _chunkTO4LQVPWjs = require('./chunk-TO4LQVPW.js');
|
|
49
49
|
|
50
50
|
|
51
51
|
|
52
|
-
exports.createContractEventFilter =
|
52
|
+
exports.createContractEventFilter = _chunkG5HJC7PYjs.createContractEventFilter; exports.decodeAbiParameters = _chunkG5HJC7PYjs.decodeAbiParameters; exports.decodeErrorResult = _chunkG5HJC7PYjs.decodeErrorResult; exports.decodeEventLog = _chunkG5HJC7PYjs.decodeEventLog; exports.decodeFunctionData = _chunkG5HJC7PYjs.decodeFunctionData; exports.decodeFunctionResult = _chunkG5HJC7PYjs.decodeFunctionResult; exports.deployContract = _chunkG5HJC7PYjs.deployContract; exports.encodeAbiParameters = _chunkG5HJC7PYjs.encodeAbiParameters; exports.encodeDeployData = _chunkG5HJC7PYjs.encodeDeployData; exports.encodeErrorResult = _chunkG5HJC7PYjs.encodeErrorResult; exports.encodeEventTopics = _chunkG5HJC7PYjs.encodeEventTopics; exports.encodeFunctionData = _chunkG5HJC7PYjs.encodeFunctionData; exports.encodeFunctionResult = _chunkG5HJC7PYjs.encodeFunctionResult; exports.estimateContractGas = _chunkG5HJC7PYjs.estimateContractGas; exports.formatAbiItem = _chunkG5HJC7PYjs.formatAbiItem; exports.formatAbiItemWithArgs = _chunkG5HJC7PYjs.formatAbiItemWithArgs; exports.getAbiItem = _chunkG5HJC7PYjs.getAbiItem; exports.getBytecode = _chunkG5HJC7PYjs.getBytecode; exports.getStorageAt = _chunkG5HJC7PYjs.getStorageAt; exports.multicall = _chunkG5HJC7PYjs.multicall; exports.readContract = _chunkG5HJC7PYjs.readContract; exports.simulateContract = _chunkG5HJC7PYjs.simulateContract; exports.watchContractEvent = _chunkG5HJC7PYjs.watchContractEvent; exports.writeContract = _chunkG5HJC7PYjs.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 _chunkJBAQOWGCjs = require('./chunk-JBAQOWGC.js');
|
7
|
+
require('./chunk-G5HJC7PY.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 = _chunkJBAQOWGCjs.getEnsAddress; exports.getEnsName = _chunkJBAQOWGCjs.getEnsName; exports.labelhash = _chunkJBAQOWGCjs.labelhash; exports.namehash = _chunkJBAQOWGCjs.namehash; exports.normalize = normalize;
|
21
21
|
//# sourceMappingURL=ens.js.map
|
package/dist/ens.mjs
CHANGED
package/dist/ethers.js
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
2
2
|
|
3
3
|
|
4
|
-
var
|
4
|
+
var _chunkG5HJC7PYjs = require('./chunk-G5HJC7PY.js');
|
5
5
|
|
6
6
|
// src/adapters/ethers.ts
|
7
|
-
var getAccount2 = (wallet) =>
|
7
|
+
var getAccount2 = (wallet) => _chunkG5HJC7PYjs.getAccount.call(void 0, {
|
8
8
|
address: wallet.address,
|
9
9
|
async signMessage(message) {
|
10
|
-
return await wallet.signMessage(
|
10
|
+
return await wallet.signMessage(_chunkG5HJC7PYjs.toBytes.call(void 0, message));
|
11
11
|
},
|
12
12
|
async signTransaction(txn) {
|
13
13
|
return await wallet.signTransaction({
|
package/dist/ethers.mjs
CHANGED
package/dist/index.js
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
|
5
5
|
|
6
|
-
var
|
6
|
+
var _chunkJBAQOWGCjs = require('./chunk-JBAQOWGC.js');
|
7
7
|
|
8
8
|
|
9
9
|
|
@@ -246,7 +246,7 @@ var _chunkCVKFUFQPjs = require('./chunk-CVKFUFQP.js');
|
|
246
246
|
|
247
247
|
|
248
248
|
|
249
|
-
var
|
249
|
+
var _chunkG5HJC7PYjs = require('./chunk-G5HJC7PY.js');
|
250
250
|
|
251
251
|
// src/clients/transports/createTransport.ts
|
252
252
|
function createTransport({
|
@@ -260,7 +260,7 @@ function createTransport({
|
|
260
260
|
}, value) {
|
261
261
|
return {
|
262
262
|
config: { key, name, request, retryCount, retryDelay, timeout, type },
|
263
|
-
request:
|
263
|
+
request: _chunkG5HJC7PYjs.buildRequest.call(void 0, request, { retryCount, retryDelay }),
|
264
264
|
value
|
265
265
|
};
|
266
266
|
}
|
@@ -302,7 +302,7 @@ function fallback(transports_, config = {}) {
|
|
302
302
|
params
|
303
303
|
});
|
304
304
|
} catch (err) {
|
305
|
-
if (
|
305
|
+
if (_chunkG5HJC7PYjs.isDeterministicError.call(void 0, err))
|
306
306
|
throw err;
|
307
307
|
if (i === transports.length - 1)
|
308
308
|
throw err;
|
@@ -388,7 +388,7 @@ function rankTransports({
|
|
388
388
|
];
|
389
389
|
}).sort((a, b) => b[0] - a[0]);
|
390
390
|
onTransports(scores.map(([, i]) => transports[i]));
|
391
|
-
await
|
391
|
+
await _chunkG5HJC7PYjs.wait.call(void 0, interval);
|
392
392
|
rankTransports_();
|
393
393
|
};
|
394
394
|
rankTransports_();
|
@@ -407,13 +407,13 @@ function http(url, config = {}) {
|
|
407
407
|
const timeout = _nullishCoalesce(_nullishCoalesce(timeout_, () => ( config.timeout)), () => ( 1e4));
|
408
408
|
const url_ = url || _optionalChain([chain, 'optionalAccess', _2 => _2.rpcUrls, 'access', _3 => _3.default, 'access', _4 => _4.http, 'access', _5 => _5[0]]);
|
409
409
|
if (!url_)
|
410
|
-
throw new (0,
|
410
|
+
throw new (0, _chunkG5HJC7PYjs.UrlRequiredError)();
|
411
411
|
return createTransport(
|
412
412
|
{
|
413
413
|
key,
|
414
414
|
name,
|
415
415
|
async request({ method, params }) {
|
416
|
-
const { result } = await
|
416
|
+
const { result } = await _chunkG5HJC7PYjs.rpc.http(url_, {
|
417
417
|
body: {
|
418
418
|
method,
|
419
419
|
params
|
@@ -443,14 +443,14 @@ function webSocket(url, config = {}) {
|
|
443
443
|
const timeout = _nullishCoalesce(_nullishCoalesce(timeout_, () => ( config.timeout)), () => ( 1e4));
|
444
444
|
const url_ = url || _optionalChain([chain, 'optionalAccess', _6 => _6.rpcUrls, 'access', _7 => _7.default, 'access', _8 => _8.webSocket, 'optionalAccess', _9 => _9[0]]);
|
445
445
|
if (!url_)
|
446
|
-
throw new (0,
|
446
|
+
throw new (0, _chunkG5HJC7PYjs.UrlRequiredError)();
|
447
447
|
return createTransport(
|
448
448
|
{
|
449
449
|
key,
|
450
450
|
name,
|
451
451
|
async request({ method, params }) {
|
452
|
-
const socket = await
|
453
|
-
const { result } = await
|
452
|
+
const socket = await _chunkG5HJC7PYjs.getSocket.call(void 0, url_);
|
453
|
+
const { result } = await _chunkG5HJC7PYjs.rpc.webSocketAsync(socket, {
|
454
454
|
body: { method, params },
|
455
455
|
timeout
|
456
456
|
});
|
@@ -463,12 +463,12 @@ function webSocket(url, config = {}) {
|
|
463
463
|
},
|
464
464
|
{
|
465
465
|
getSocket() {
|
466
|
-
return
|
466
|
+
return _chunkG5HJC7PYjs.getSocket.call(void 0, url_);
|
467
467
|
},
|
468
468
|
async subscribe({ params, onData, onError }) {
|
469
|
-
const socket = await
|
469
|
+
const socket = await _chunkG5HJC7PYjs.getSocket.call(void 0, url_);
|
470
470
|
const { result: subscriptionId } = await new Promise(
|
471
|
-
(resolve, reject) =>
|
471
|
+
(resolve, reject) => _chunkG5HJC7PYjs.rpc.webSocket(socket, {
|
472
472
|
body: {
|
473
473
|
method: "eth_subscribe",
|
474
474
|
params
|
@@ -490,7 +490,7 @@ function webSocket(url, config = {}) {
|
|
490
490
|
subscriptionId,
|
491
491
|
async unsubscribe() {
|
492
492
|
return new Promise(
|
493
|
-
(resolve, reject) =>
|
493
|
+
(resolve, reject) => _chunkG5HJC7PYjs.rpc.webSocket(socket, {
|
494
494
|
body: {
|
495
495
|
method: "eth_unsubscribe",
|
496
496
|
params: [subscriptionId]
|
@@ -546,90 +546,90 @@ function createClient({
|
|
546
546
|
|
547
547
|
// src/clients/decorators/public.ts
|
548
548
|
var publicActions = (client) => ({
|
549
|
-
call: (args) =>
|
550
|
-
createBlockFilter: () =>
|
551
|
-
createContractEventFilter: (args) =>
|
552
|
-
createEventFilter: (args) =>
|
553
|
-
createPendingTransactionFilter: () =>
|
554
|
-
estimateContractGas: (args) =>
|
555
|
-
estimateGas: (args) =>
|
556
|
-
getBalance: (args) =>
|
557
|
-
getBlock: (args) =>
|
558
|
-
getBlockNumber: (args) =>
|
559
|
-
getBlockTransactionCount: (args) =>
|
560
|
-
getBytecode: (args) =>
|
561
|
-
getChainId: () =>
|
562
|
-
getEnsAddress: (args) =>
|
563
|
-
getEnsName: (args) =>
|
564
|
-
getFeeHistory: (args) =>
|
565
|
-
getFilterChanges: (args) =>
|
566
|
-
getFilterLogs: (args) =>
|
567
|
-
getGasPrice: () =>
|
568
|
-
getLogs: (args) =>
|
569
|
-
getStorageAt: (args) =>
|
570
|
-
getTransaction: (args) =>
|
571
|
-
getTransactionConfirmations: (args) =>
|
572
|
-
getTransactionCount: (args) =>
|
573
|
-
getTransactionReceipt: (args) =>
|
574
|
-
multicall: (args) =>
|
575
|
-
readContract: (args) =>
|
576
|
-
simulateContract: (args) =>
|
577
|
-
uninstallFilter: (args) =>
|
578
|
-
waitForTransactionReceipt: (args) =>
|
579
|
-
watchBlocks: (args) =>
|
580
|
-
watchBlockNumber: (args) =>
|
581
|
-
watchContractEvent: (args) =>
|
582
|
-
watchEvent: (args) =>
|
583
|
-
watchPendingTransactions: (args) =>
|
549
|
+
call: (args) => _chunkG5HJC7PYjs.call.call(void 0, client, args),
|
550
|
+
createBlockFilter: () => _chunkG5HJC7PYjs.createBlockFilter.call(void 0, client),
|
551
|
+
createContractEventFilter: (args) => _chunkG5HJC7PYjs.createContractEventFilter.call(void 0, client, args),
|
552
|
+
createEventFilter: (args) => _chunkG5HJC7PYjs.createEventFilter.call(void 0, client, args),
|
553
|
+
createPendingTransactionFilter: () => _chunkG5HJC7PYjs.createPendingTransactionFilter.call(void 0, client),
|
554
|
+
estimateContractGas: (args) => _chunkG5HJC7PYjs.estimateContractGas.call(void 0, client, args),
|
555
|
+
estimateGas: (args) => _chunkG5HJC7PYjs.estimateGas.call(void 0, client, args),
|
556
|
+
getBalance: (args) => _chunkG5HJC7PYjs.getBalance.call(void 0, client, args),
|
557
|
+
getBlock: (args) => _chunkG5HJC7PYjs.getBlock.call(void 0, client, args),
|
558
|
+
getBlockNumber: (args) => _chunkG5HJC7PYjs.getBlockNumber.call(void 0, client, args),
|
559
|
+
getBlockTransactionCount: (args) => _chunkG5HJC7PYjs.getBlockTransactionCount.call(void 0, client, args),
|
560
|
+
getBytecode: (args) => _chunkG5HJC7PYjs.getBytecode.call(void 0, client, args),
|
561
|
+
getChainId: () => _chunkG5HJC7PYjs.getChainId.call(void 0, client),
|
562
|
+
getEnsAddress: (args) => _chunkJBAQOWGCjs.getEnsAddress.call(void 0, client, args),
|
563
|
+
getEnsName: (args) => _chunkJBAQOWGCjs.getEnsName.call(void 0, client, args),
|
564
|
+
getFeeHistory: (args) => _chunkG5HJC7PYjs.getFeeHistory.call(void 0, client, args),
|
565
|
+
getFilterChanges: (args) => _chunkG5HJC7PYjs.getFilterChanges.call(void 0, client, args),
|
566
|
+
getFilterLogs: (args) => _chunkG5HJC7PYjs.getFilterLogs.call(void 0, client, args),
|
567
|
+
getGasPrice: () => _chunkG5HJC7PYjs.getGasPrice.call(void 0, client),
|
568
|
+
getLogs: (args) => _chunkG5HJC7PYjs.getLogs.call(void 0, client, args),
|
569
|
+
getStorageAt: (args) => _chunkG5HJC7PYjs.getStorageAt.call(void 0, client, args),
|
570
|
+
getTransaction: (args) => _chunkG5HJC7PYjs.getTransaction.call(void 0, client, args),
|
571
|
+
getTransactionConfirmations: (args) => _chunkG5HJC7PYjs.getTransactionConfirmations.call(void 0, client, args),
|
572
|
+
getTransactionCount: (args) => _chunkG5HJC7PYjs.getTransactionCount.call(void 0, client, args),
|
573
|
+
getTransactionReceipt: (args) => _chunkG5HJC7PYjs.getTransactionReceipt.call(void 0, client, args),
|
574
|
+
multicall: (args) => _chunkG5HJC7PYjs.multicall.call(void 0, client, args),
|
575
|
+
readContract: (args) => _chunkG5HJC7PYjs.readContract.call(void 0, client, args),
|
576
|
+
simulateContract: (args) => _chunkG5HJC7PYjs.simulateContract.call(void 0, client, args),
|
577
|
+
uninstallFilter: (args) => _chunkG5HJC7PYjs.uninstallFilter.call(void 0, client, args),
|
578
|
+
waitForTransactionReceipt: (args) => _chunkG5HJC7PYjs.waitForTransactionReceipt.call(void 0, client, args),
|
579
|
+
watchBlocks: (args) => _chunkG5HJC7PYjs.watchBlocks.call(void 0, client, args),
|
580
|
+
watchBlockNumber: (args) => _chunkG5HJC7PYjs.watchBlockNumber.call(void 0, client, args),
|
581
|
+
watchContractEvent: (args) => _chunkG5HJC7PYjs.watchContractEvent.call(void 0, client, args),
|
582
|
+
watchEvent: (args) => _chunkG5HJC7PYjs.watchEvent.call(void 0, client, args),
|
583
|
+
watchPendingTransactions: (args) => _chunkG5HJC7PYjs.watchPendingTransactions.call(void 0, client, args)
|
584
584
|
});
|
585
585
|
|
586
586
|
// src/clients/decorators/test.ts
|
587
587
|
var testActions = (client) => ({
|
588
|
-
dropTransaction: (args) =>
|
589
|
-
getAutomine: () =>
|
590
|
-
getTxpoolContent: () =>
|
591
|
-
getTxpoolStatus: () =>
|
592
|
-
impersonateAccount: (args) =>
|
593
|
-
increaseTime: (args) =>
|
594
|
-
inspectTxpool: () =>
|
595
|
-
mine: (args) =>
|
596
|
-
removeBlockTimestampInterval: () =>
|
597
|
-
reset: (args) =>
|
598
|
-
revert: (args) =>
|
599
|
-
sendUnsignedTransaction: (args) =>
|
600
|
-
setAutomine: (args) =>
|
601
|
-
setBalance: (args) =>
|
602
|
-
setBlockGasLimit: (args) =>
|
603
|
-
setBlockTimestampInterval: (args) =>
|
604
|
-
setCode: (args) =>
|
605
|
-
setCoinbase: (args) =>
|
606
|
-
setIntervalMining: (args) =>
|
607
|
-
setLoggingEnabled: (args) =>
|
608
|
-
setMinGasPrice: (args) =>
|
609
|
-
setNextBlockBaseFeePerGas: (args) =>
|
610
|
-
setNextBlockTimestamp: (args) =>
|
611
|
-
setNonce: (args) =>
|
612
|
-
setRpcUrl: (args) =>
|
613
|
-
setStorageAt: (args) =>
|
614
|
-
snapshot: () =>
|
615
|
-
stopImpersonatingAccount: (args) =>
|
588
|
+
dropTransaction: (args) => _chunkG5HJC7PYjs.dropTransaction.call(void 0, client, args),
|
589
|
+
getAutomine: () => _chunkG5HJC7PYjs.getAutomine.call(void 0, client),
|
590
|
+
getTxpoolContent: () => _chunkG5HJC7PYjs.getTxpoolContent.call(void 0, client),
|
591
|
+
getTxpoolStatus: () => _chunkG5HJC7PYjs.getTxpoolStatus.call(void 0, client),
|
592
|
+
impersonateAccount: (args) => _chunkG5HJC7PYjs.impersonateAccount.call(void 0, client, args),
|
593
|
+
increaseTime: (args) => _chunkG5HJC7PYjs.increaseTime.call(void 0, client, args),
|
594
|
+
inspectTxpool: () => _chunkG5HJC7PYjs.inspectTxpool.call(void 0, client),
|
595
|
+
mine: (args) => _chunkG5HJC7PYjs.mine.call(void 0, client, args),
|
596
|
+
removeBlockTimestampInterval: () => _chunkG5HJC7PYjs.removeBlockTimestampInterval.call(void 0, client),
|
597
|
+
reset: (args) => _chunkG5HJC7PYjs.reset.call(void 0, client, args),
|
598
|
+
revert: (args) => _chunkG5HJC7PYjs.revert.call(void 0, client, args),
|
599
|
+
sendUnsignedTransaction: (args) => _chunkG5HJC7PYjs.sendUnsignedTransaction.call(void 0, client, args),
|
600
|
+
setAutomine: (args) => _chunkG5HJC7PYjs.setAutomine.call(void 0, client, args),
|
601
|
+
setBalance: (args) => _chunkG5HJC7PYjs.setBalance.call(void 0, client, args),
|
602
|
+
setBlockGasLimit: (args) => _chunkG5HJC7PYjs.setBlockGasLimit.call(void 0, client, args),
|
603
|
+
setBlockTimestampInterval: (args) => _chunkG5HJC7PYjs.setBlockTimestampInterval.call(void 0, client, args),
|
604
|
+
setCode: (args) => _chunkG5HJC7PYjs.setCode.call(void 0, client, args),
|
605
|
+
setCoinbase: (args) => _chunkG5HJC7PYjs.setCoinbase.call(void 0, client, args),
|
606
|
+
setIntervalMining: (args) => _chunkG5HJC7PYjs.setIntervalMining.call(void 0, client, args),
|
607
|
+
setLoggingEnabled: (args) => _chunkG5HJC7PYjs.setLoggingEnabled.call(void 0, client, args),
|
608
|
+
setMinGasPrice: (args) => _chunkG5HJC7PYjs.setMinGasPrice.call(void 0, client, args),
|
609
|
+
setNextBlockBaseFeePerGas: (args) => _chunkG5HJC7PYjs.setNextBlockBaseFeePerGas.call(void 0, client, args),
|
610
|
+
setNextBlockTimestamp: (args) => _chunkG5HJC7PYjs.setNextBlockTimestamp.call(void 0, client, args),
|
611
|
+
setNonce: (args) => _chunkG5HJC7PYjs.setNonce.call(void 0, client, args),
|
612
|
+
setRpcUrl: (args) => _chunkG5HJC7PYjs.setRpcUrl.call(void 0, client, args),
|
613
|
+
setStorageAt: (args) => _chunkG5HJC7PYjs.setStorageAt.call(void 0, client, args),
|
614
|
+
snapshot: () => _chunkG5HJC7PYjs.snapshot.call(void 0, client),
|
615
|
+
stopImpersonatingAccount: (args) => _chunkG5HJC7PYjs.stopImpersonatingAccount.call(void 0, client, args)
|
616
616
|
});
|
617
617
|
|
618
618
|
// src/clients/decorators/wallet.ts
|
619
619
|
var walletActions = (client) => ({
|
620
|
-
addChain: (args) =>
|
621
|
-
deployContract: (args) =>
|
622
|
-
getAddresses: () =>
|
623
|
-
getChainId: () =>
|
624
|
-
getPermissions: () =>
|
625
|
-
requestAddresses: () =>
|
626
|
-
requestPermissions: (args) =>
|
627
|
-
sendTransaction: (args) =>
|
628
|
-
signMessage: (args) =>
|
629
|
-
signTypedData: (args) =>
|
630
|
-
switchChain: (args) =>
|
631
|
-
watchAsset: (args) =>
|
632
|
-
writeContract: (args) =>
|
620
|
+
addChain: (args) => _chunkG5HJC7PYjs.addChain.call(void 0, client, args),
|
621
|
+
deployContract: (args) => _chunkG5HJC7PYjs.deployContract.call(void 0, client, args),
|
622
|
+
getAddresses: () => _chunkG5HJC7PYjs.getAddresses.call(void 0, client),
|
623
|
+
getChainId: () => _chunkG5HJC7PYjs.getChainId.call(void 0, client),
|
624
|
+
getPermissions: () => _chunkG5HJC7PYjs.getPermissions.call(void 0, client),
|
625
|
+
requestAddresses: () => _chunkG5HJC7PYjs.requestAddresses.call(void 0, client),
|
626
|
+
requestPermissions: (args) => _chunkG5HJC7PYjs.requestPermissions.call(void 0, client, args),
|
627
|
+
sendTransaction: (args) => _chunkG5HJC7PYjs.sendTransaction.call(void 0, client, args),
|
628
|
+
signMessage: (args) => _chunkG5HJC7PYjs.signMessage.call(void 0, client, args),
|
629
|
+
signTypedData: (args) => _chunkG5HJC7PYjs.signTypedData.call(void 0, client, args),
|
630
|
+
switchChain: (args) => _chunkG5HJC7PYjs.switchChain.call(void 0, client, args),
|
631
|
+
watchAsset: (args) => _chunkG5HJC7PYjs.watchAsset.call(void 0, client, args),
|
632
|
+
writeContract: (args) => _chunkG5HJC7PYjs.writeContract.call(void 0, client, args)
|
633
633
|
});
|
634
634
|
|
635
635
|
// src/clients/createPublicClient.ts
|
@@ -876,5 +876,5 @@ function createWalletClient({
|
|
876
876
|
|
877
877
|
|
878
878
|
|
879
|
-
exports.AbiConstructorNotFoundError = _chunkTO4LQVPWjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkTO4LQVPWjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkTO4LQVPWjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkTO4LQVPWjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkTO4LQVPWjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkTO4LQVPWjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkTO4LQVPWjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkTO4LQVPWjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkTO4LQVPWjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkTO4LQVPWjs.AbiEventNotFoundError; exports.AbiEventSignatureEmptyTopicsError = _chunkTO4LQVPWjs.AbiEventSignatureEmptyTopicsError; exports.AbiEventSignatureNotFoundError = _chunkTO4LQVPWjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkTO4LQVPWjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkTO4LQVPWjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkTO4LQVPWjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkTO4LQVPWjs.BaseError; exports.BlockNotFoundError = _chunkTO4LQVPWjs.BlockNotFoundError; exports.CallExecutionError = _chunkTO4LQVPWjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkTO4LQVPWjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkTO4LQVPWjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkTO4LQVPWjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkTO4LQVPWjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkTO4LQVPWjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkTO4LQVPWjs.DataLengthTooShortError; exports.DecodeLogTopicsMismatch = _chunkTO4LQVPWjs.DecodeLogTopicsMismatch; exports.EstimateGasExecutionError = _chunkTO4LQVPWjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkTO4LQVPWjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkTO4LQVPWjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkTO4LQVPWjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkTO4LQVPWjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkTO4LQVPWjs.HttpRequestError; exports.InsufficientFundsError = _chunkTO4LQVPWjs.InsufficientFundsError; exports.InternalRpcError = _chunkTO4LQVPWjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkTO4LQVPWjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkTO4LQVPWjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkTO4LQVPWjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkTO4LQVPWjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkTO4LQVPWjs.InvalidAddressError; exports.InvalidArrayError = _chunkTO4LQVPWjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkTO4LQVPWjs.InvalidBytesBooleanError; exports.InvalidDefinitionTypeError = _chunkTO4LQVPWjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkTO4LQVPWjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkTO4LQVPWjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkTO4LQVPWjs.InvalidInputRpcError; exports.InvalidParamsRpcError = _chunkTO4LQVPWjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkTO4LQVPWjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkTO4LQVPWjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkTO4LQVPWjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkTO4LQVPWjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkTO4LQVPWjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkTO4LQVPWjs.NonceMaxValueError; exports.NonceTooHighError = _chunkTO4LQVPWjs.NonceTooHighError; exports.NonceTooLowError = _chunkTO4LQVPWjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkTO4LQVPWjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkTO4LQVPWjs.ParseRpcError; exports.RawContractError = _chunkTO4LQVPWjs.RawContractError; exports.RequestError = _chunkTO4LQVPWjs.RequestError; exports.ResourceNotFoundRpcError = _chunkTO4LQVPWjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkTO4LQVPWjs.ResourceUnavailableRpcError; exports.RpcError = _chunkTO4LQVPWjs.RpcError; exports.RpcRequestError = _chunkTO4LQVPWjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkTO4LQVPWjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkTO4LQVPWjs.SwitchChainError; exports.TimeoutError = _chunkTO4LQVPWjs.TimeoutError; exports.TipAboveFeeCapError = _chunkTO4LQVPWjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkTO4LQVPWjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkTO4LQVPWjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkTO4LQVPWjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkTO4LQVPWjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkTO4LQVPWjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkTO4LQVPWjs.UnknownNodeError; exports.UnknownRpcError = _chunkTO4LQVPWjs.UnknownRpcError; exports.UrlRequiredError = _chunkTO4LQVPWjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkTO4LQVPWjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkTO4LQVPWjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkTO4LQVPWjs.WebSocketRequestError; exports.boolToBytes = _chunkTO4LQVPWjs.boolToBytes; exports.boolToHex = _chunkTO4LQVPWjs.boolToHex; exports.bytesToBigint = _chunkTO4LQVPWjs.bytesToBigint; exports.bytesToBool = _chunkTO4LQVPWjs.bytesToBool; exports.bytesToHex = _chunkTO4LQVPWjs.bytesToHex; exports.bytesToNumber = _chunkTO4LQVPWjs.bytesToNumber; exports.bytesToString = _chunkTO4LQVPWjs.bytesToString; exports.concat = _chunkTO4LQVPWjs.concat; exports.concatBytes = _chunkTO4LQVPWjs.concatBytes; exports.concatHex = _chunkTO4LQVPWjs.concatHex; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkTO4LQVPWjs.decodeAbiParameters; exports.decodeErrorResult = _chunkTO4LQVPWjs.decodeErrorResult; exports.decodeEventLog = _chunkTO4LQVPWjs.decodeEventLog; exports.decodeFunctionData = _chunkTO4LQVPWjs.decodeFunctionData; exports.decodeFunctionResult = _chunkTO4LQVPWjs.decodeFunctionResult; exports.defineBlock = _chunkTO4LQVPWjs.defineBlock; exports.defineChain = _chunkTO4LQVPWjs.defineChain; exports.defineTransaction = _chunkTO4LQVPWjs.defineTransaction; exports.defineTransactionReceipt = _chunkTO4LQVPWjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkTO4LQVPWjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkTO4LQVPWjs.encodeAbiParameters; exports.encodeDeployData = _chunkTO4LQVPWjs.encodeDeployData; exports.encodeErrorResult = _chunkTO4LQVPWjs.encodeErrorResult; exports.encodeEventTopics = _chunkTO4LQVPWjs.encodeEventTopics; exports.encodeFunctionData = _chunkTO4LQVPWjs.encodeFunctionData; exports.encodeFunctionResult = _chunkTO4LQVPWjs.encodeFunctionResult; exports.encodePacked = _chunkTO4LQVPWjs.encodePacked; exports.etherUnits = _chunkTO4LQVPWjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkTO4LQVPWjs.formatBlock; exports.formatEther = _chunkTO4LQVPWjs.formatEther; exports.formatGwei = _chunkTO4LQVPWjs.formatGwei; exports.formatTransaction = _chunkTO4LQVPWjs.formatTransaction; exports.formatTransactionRequest = _chunkTO4LQVPWjs.formatTransactionRequest; exports.formatUnits = _chunkTO4LQVPWjs.formatUnits; exports.fromBytes = _chunkTO4LQVPWjs.fromBytes; exports.fromHex = _chunkTO4LQVPWjs.fromHex; exports.fromRlp = _chunkTO4LQVPWjs.fromRlp; exports.getAbiItem = _chunkTO4LQVPWjs.getAbiItem; exports.getAccount = _chunkTO4LQVPWjs.getAccount; exports.getAddress = _chunkTO4LQVPWjs.getAddress; exports.getContractAddress = _chunkTO4LQVPWjs.getContractAddress; exports.getContractError = _chunkTO4LQVPWjs.getContractError; exports.getCreate2Address = _chunkTO4LQVPWjs.getCreate2Address; exports.getCreateAddress = _chunkTO4LQVPWjs.getCreateAddress; exports.getEventSelector = _chunkTO4LQVPWjs.getEventSelector; exports.getFunctionSelector = _chunkTO4LQVPWjs.getFunctionSelector; exports.gweiUnits = _chunkTO4LQVPWjs.gweiUnits; exports.hashMessage = _chunkTO4LQVPWjs.hashMessage; exports.hexToBigInt = _chunkTO4LQVPWjs.hexToBigInt; exports.hexToBool = _chunkTO4LQVPWjs.hexToBool; exports.hexToBytes = _chunkTO4LQVPWjs.hexToBytes; exports.hexToNumber = _chunkTO4LQVPWjs.hexToNumber; exports.hexToString = _chunkTO4LQVPWjs.hexToString; exports.http = http; exports.isAddress = _chunkTO4LQVPWjs.isAddress; exports.isAddressEqual = _chunkTO4LQVPWjs.isAddressEqual; exports.isBytes = _chunkTO4LQVPWjs.isBytes; exports.isHex = _chunkTO4LQVPWjs.isHex; exports.keccak256 = _chunkTO4LQVPWjs.keccak256; exports.labelhash = _chunkCVKFUFQPjs.labelhash; exports.multicall3Abi = _chunkTO4LQVPWjs.multicall3Abi; exports.namehash = _chunkCVKFUFQPjs.namehash; exports.numberToBytes = _chunkTO4LQVPWjs.numberToBytes; exports.numberToHex = _chunkTO4LQVPWjs.numberToHex; exports.pad = _chunkTO4LQVPWjs.pad; exports.padBytes = _chunkTO4LQVPWjs.padBytes; exports.padHex = _chunkTO4LQVPWjs.padHex; exports.parseAbi = _chunkTO4LQVPWjs.parseAbi; exports.parseAbiItem = _chunkTO4LQVPWjs.parseAbiItem; exports.parseAbiParameter = _chunkTO4LQVPWjs.parseAbiParameter; exports.parseAbiParameters = _chunkTO4LQVPWjs.parseAbiParameters; exports.parseEther = _chunkTO4LQVPWjs.parseEther; exports.parseGwei = _chunkTO4LQVPWjs.parseGwei; exports.parseUnits = _chunkTO4LQVPWjs.parseUnits; exports.recoverAddress = _chunkTO4LQVPWjs.recoverAddress; exports.recoverMessageAddress = _chunkTO4LQVPWjs.recoverMessageAddress; exports.size = _chunkTO4LQVPWjs.size; exports.slice = _chunkTO4LQVPWjs.slice; exports.sliceBytes = _chunkTO4LQVPWjs.sliceBytes; exports.sliceHex = _chunkTO4LQVPWjs.sliceHex; exports.stringToBytes = _chunkTO4LQVPWjs.stringToBytes; exports.stringToHex = _chunkTO4LQVPWjs.stringToHex; exports.stringify = _chunkTO4LQVPWjs.stringify; exports.toBytes = _chunkTO4LQVPWjs.toBytes; exports.toHex = _chunkTO4LQVPWjs.toHex; exports.toRlp = _chunkTO4LQVPWjs.toRlp; exports.transactionType = _chunkTO4LQVPWjs.transactionType; exports.trim = _chunkTO4LQVPWjs.trim; exports.verifyMessage = _chunkTO4LQVPWjs.verifyMessage; exports.webSocket = webSocket; exports.weiUnits = _chunkTO4LQVPWjs.weiUnits;
|
879
|
+
exports.AbiConstructorNotFoundError = _chunkG5HJC7PYjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkG5HJC7PYjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkG5HJC7PYjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkG5HJC7PYjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkG5HJC7PYjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkG5HJC7PYjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkG5HJC7PYjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkG5HJC7PYjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkG5HJC7PYjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkG5HJC7PYjs.AbiEventNotFoundError; exports.AbiEventSignatureEmptyTopicsError = _chunkG5HJC7PYjs.AbiEventSignatureEmptyTopicsError; exports.AbiEventSignatureNotFoundError = _chunkG5HJC7PYjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkG5HJC7PYjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkG5HJC7PYjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkG5HJC7PYjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkG5HJC7PYjs.BaseError; exports.BlockNotFoundError = _chunkG5HJC7PYjs.BlockNotFoundError; exports.CallExecutionError = _chunkG5HJC7PYjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkG5HJC7PYjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkG5HJC7PYjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkG5HJC7PYjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkG5HJC7PYjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkG5HJC7PYjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkG5HJC7PYjs.DataLengthTooShortError; exports.DecodeLogTopicsMismatch = _chunkG5HJC7PYjs.DecodeLogTopicsMismatch; exports.EstimateGasExecutionError = _chunkG5HJC7PYjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkG5HJC7PYjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkG5HJC7PYjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkG5HJC7PYjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkG5HJC7PYjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkG5HJC7PYjs.HttpRequestError; exports.InsufficientFundsError = _chunkG5HJC7PYjs.InsufficientFundsError; exports.InternalRpcError = _chunkG5HJC7PYjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkG5HJC7PYjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkG5HJC7PYjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkG5HJC7PYjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkG5HJC7PYjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkG5HJC7PYjs.InvalidAddressError; exports.InvalidArrayError = _chunkG5HJC7PYjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkG5HJC7PYjs.InvalidBytesBooleanError; exports.InvalidDefinitionTypeError = _chunkG5HJC7PYjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkG5HJC7PYjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkG5HJC7PYjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkG5HJC7PYjs.InvalidInputRpcError; exports.InvalidParamsRpcError = _chunkG5HJC7PYjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkG5HJC7PYjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkG5HJC7PYjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkG5HJC7PYjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkG5HJC7PYjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkG5HJC7PYjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkG5HJC7PYjs.NonceMaxValueError; exports.NonceTooHighError = _chunkG5HJC7PYjs.NonceTooHighError; exports.NonceTooLowError = _chunkG5HJC7PYjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkG5HJC7PYjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkG5HJC7PYjs.ParseRpcError; exports.RawContractError = _chunkG5HJC7PYjs.RawContractError; exports.RequestError = _chunkG5HJC7PYjs.RequestError; exports.ResourceNotFoundRpcError = _chunkG5HJC7PYjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkG5HJC7PYjs.ResourceUnavailableRpcError; exports.RpcError = _chunkG5HJC7PYjs.RpcError; exports.RpcRequestError = _chunkG5HJC7PYjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkG5HJC7PYjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkG5HJC7PYjs.SwitchChainError; exports.TimeoutError = _chunkG5HJC7PYjs.TimeoutError; exports.TipAboveFeeCapError = _chunkG5HJC7PYjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkG5HJC7PYjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkG5HJC7PYjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkG5HJC7PYjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkG5HJC7PYjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkG5HJC7PYjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkG5HJC7PYjs.UnknownNodeError; exports.UnknownRpcError = _chunkG5HJC7PYjs.UnknownRpcError; exports.UrlRequiredError = _chunkG5HJC7PYjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkG5HJC7PYjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkG5HJC7PYjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkG5HJC7PYjs.WebSocketRequestError; exports.boolToBytes = _chunkG5HJC7PYjs.boolToBytes; exports.boolToHex = _chunkG5HJC7PYjs.boolToHex; exports.bytesToBigint = _chunkG5HJC7PYjs.bytesToBigint; exports.bytesToBool = _chunkG5HJC7PYjs.bytesToBool; exports.bytesToHex = _chunkG5HJC7PYjs.bytesToHex; exports.bytesToNumber = _chunkG5HJC7PYjs.bytesToNumber; exports.bytesToString = _chunkG5HJC7PYjs.bytesToString; exports.concat = _chunkG5HJC7PYjs.concat; exports.concatBytes = _chunkG5HJC7PYjs.concatBytes; exports.concatHex = _chunkG5HJC7PYjs.concatHex; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkG5HJC7PYjs.decodeAbiParameters; exports.decodeErrorResult = _chunkG5HJC7PYjs.decodeErrorResult; exports.decodeEventLog = _chunkG5HJC7PYjs.decodeEventLog; exports.decodeFunctionData = _chunkG5HJC7PYjs.decodeFunctionData; exports.decodeFunctionResult = _chunkG5HJC7PYjs.decodeFunctionResult; exports.defineBlock = _chunkG5HJC7PYjs.defineBlock; exports.defineChain = _chunkG5HJC7PYjs.defineChain; exports.defineTransaction = _chunkG5HJC7PYjs.defineTransaction; exports.defineTransactionReceipt = _chunkG5HJC7PYjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkG5HJC7PYjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkG5HJC7PYjs.encodeAbiParameters; exports.encodeDeployData = _chunkG5HJC7PYjs.encodeDeployData; exports.encodeErrorResult = _chunkG5HJC7PYjs.encodeErrorResult; exports.encodeEventTopics = _chunkG5HJC7PYjs.encodeEventTopics; exports.encodeFunctionData = _chunkG5HJC7PYjs.encodeFunctionData; exports.encodeFunctionResult = _chunkG5HJC7PYjs.encodeFunctionResult; exports.encodePacked = _chunkG5HJC7PYjs.encodePacked; exports.etherUnits = _chunkG5HJC7PYjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkG5HJC7PYjs.formatBlock; exports.formatEther = _chunkG5HJC7PYjs.formatEther; exports.formatGwei = _chunkG5HJC7PYjs.formatGwei; exports.formatTransaction = _chunkG5HJC7PYjs.formatTransaction; exports.formatTransactionRequest = _chunkG5HJC7PYjs.formatTransactionRequest; exports.formatUnits = _chunkG5HJC7PYjs.formatUnits; exports.fromBytes = _chunkG5HJC7PYjs.fromBytes; exports.fromHex = _chunkG5HJC7PYjs.fromHex; exports.fromRlp = _chunkG5HJC7PYjs.fromRlp; exports.getAbiItem = _chunkG5HJC7PYjs.getAbiItem; exports.getAccount = _chunkG5HJC7PYjs.getAccount; exports.getAddress = _chunkG5HJC7PYjs.getAddress; exports.getContractAddress = _chunkG5HJC7PYjs.getContractAddress; exports.getContractError = _chunkG5HJC7PYjs.getContractError; exports.getCreate2Address = _chunkG5HJC7PYjs.getCreate2Address; exports.getCreateAddress = _chunkG5HJC7PYjs.getCreateAddress; exports.getEventSelector = _chunkG5HJC7PYjs.getEventSelector; exports.getFunctionSelector = _chunkG5HJC7PYjs.getFunctionSelector; exports.gweiUnits = _chunkG5HJC7PYjs.gweiUnits; exports.hashMessage = _chunkG5HJC7PYjs.hashMessage; exports.hexToBigInt = _chunkG5HJC7PYjs.hexToBigInt; exports.hexToBool = _chunkG5HJC7PYjs.hexToBool; exports.hexToBytes = _chunkG5HJC7PYjs.hexToBytes; exports.hexToNumber = _chunkG5HJC7PYjs.hexToNumber; exports.hexToString = _chunkG5HJC7PYjs.hexToString; exports.http = http; exports.isAddress = _chunkG5HJC7PYjs.isAddress; exports.isAddressEqual = _chunkG5HJC7PYjs.isAddressEqual; exports.isBytes = _chunkG5HJC7PYjs.isBytes; exports.isHex = _chunkG5HJC7PYjs.isHex; exports.keccak256 = _chunkG5HJC7PYjs.keccak256; exports.labelhash = _chunkJBAQOWGCjs.labelhash; exports.multicall3Abi = _chunkG5HJC7PYjs.multicall3Abi; exports.namehash = _chunkJBAQOWGCjs.namehash; exports.numberToBytes = _chunkG5HJC7PYjs.numberToBytes; exports.numberToHex = _chunkG5HJC7PYjs.numberToHex; exports.pad = _chunkG5HJC7PYjs.pad; exports.padBytes = _chunkG5HJC7PYjs.padBytes; exports.padHex = _chunkG5HJC7PYjs.padHex; exports.parseAbi = _chunkG5HJC7PYjs.parseAbi; exports.parseAbiItem = _chunkG5HJC7PYjs.parseAbiItem; exports.parseAbiParameter = _chunkG5HJC7PYjs.parseAbiParameter; exports.parseAbiParameters = _chunkG5HJC7PYjs.parseAbiParameters; exports.parseEther = _chunkG5HJC7PYjs.parseEther; exports.parseGwei = _chunkG5HJC7PYjs.parseGwei; exports.parseUnits = _chunkG5HJC7PYjs.parseUnits; exports.recoverAddress = _chunkG5HJC7PYjs.recoverAddress; exports.recoverMessageAddress = _chunkG5HJC7PYjs.recoverMessageAddress; exports.size = _chunkG5HJC7PYjs.size; exports.slice = _chunkG5HJC7PYjs.slice; exports.sliceBytes = _chunkG5HJC7PYjs.sliceBytes; exports.sliceHex = _chunkG5HJC7PYjs.sliceHex; exports.stringToBytes = _chunkG5HJC7PYjs.stringToBytes; exports.stringToHex = _chunkG5HJC7PYjs.stringToHex; exports.stringify = _chunkG5HJC7PYjs.stringify; exports.toBytes = _chunkG5HJC7PYjs.toBytes; exports.toHex = _chunkG5HJC7PYjs.toHex; exports.toRlp = _chunkG5HJC7PYjs.toRlp; exports.transactionType = _chunkG5HJC7PYjs.transactionType; exports.trim = _chunkG5HJC7PYjs.trim; exports.verifyMessage = _chunkG5HJC7PYjs.verifyMessage; exports.webSocket = webSocket; exports.weiUnits = _chunkG5HJC7PYjs.weiUnits;
|
880
880
|
//# 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-4E27RP3Y.mjs";
|
7
7
|
import {
|
8
8
|
AbiConstructorNotFoundError,
|
9
9
|
AbiConstructorParamsNotFoundError,
|
@@ -246,7 +246,7 @@ import {
|
|
246
246
|
watchPendingTransactions,
|
247
247
|
weiUnits,
|
248
248
|
writeContract
|
249
|
-
} from "./chunk-
|
249
|
+
} from "./chunk-FTVVJS5Q.mjs";
|
250
250
|
|
251
251
|
// src/clients/transports/createTransport.ts
|
252
252
|
function createTransport({
|
package/dist/public.js
CHANGED
@@ -26,7 +26,7 @@
|
|
26
26
|
|
27
27
|
|
28
28
|
|
29
|
-
var
|
29
|
+
var _chunkG5HJC7PYjs = require('./chunk-G5HJC7PY.js');
|
30
30
|
|
31
31
|
|
32
32
|
|
@@ -55,5 +55,5 @@ var _chunkTO4LQVPWjs = require('./chunk-TO4LQVPW.js');
|
|
55
55
|
|
56
56
|
|
57
57
|
|
58
|
-
exports.call =
|
58
|
+
exports.call = _chunkG5HJC7PYjs.call; exports.createBlockFilter = _chunkG5HJC7PYjs.createBlockFilter; exports.createEventFilter = _chunkG5HJC7PYjs.createEventFilter; exports.createPendingTransactionFilter = _chunkG5HJC7PYjs.createPendingTransactionFilter; exports.estimateGas = _chunkG5HJC7PYjs.estimateGas; exports.getBalance = _chunkG5HJC7PYjs.getBalance; exports.getBlock = _chunkG5HJC7PYjs.getBlock; exports.getBlockNumber = _chunkG5HJC7PYjs.getBlockNumber; exports.getBlockNumberCache = _chunkG5HJC7PYjs.getBlockNumberCache; exports.getBlockTransactionCount = _chunkG5HJC7PYjs.getBlockTransactionCount; exports.getBytecode = _chunkG5HJC7PYjs.getBytecode; exports.getChainId = _chunkG5HJC7PYjs.getChainId; exports.getFeeHistory = _chunkG5HJC7PYjs.getFeeHistory; exports.getFilterChanges = _chunkG5HJC7PYjs.getFilterChanges; exports.getFilterLogs = _chunkG5HJC7PYjs.getFilterLogs; exports.getGasPrice = _chunkG5HJC7PYjs.getGasPrice; exports.getLogs = _chunkG5HJC7PYjs.getLogs; exports.getTransaction = _chunkG5HJC7PYjs.getTransaction; exports.getTransactionConfirmations = _chunkG5HJC7PYjs.getTransactionConfirmations; exports.getTransactionCount = _chunkG5HJC7PYjs.getTransactionCount; exports.getTransactionReceipt = _chunkG5HJC7PYjs.getTransactionReceipt; exports.uninstallFilter = _chunkG5HJC7PYjs.uninstallFilter; exports.waitForTransactionReceipt = _chunkG5HJC7PYjs.waitForTransactionReceipt; exports.watchBlockNumber = _chunkG5HJC7PYjs.watchBlockNumber; exports.watchBlocks = _chunkG5HJC7PYjs.watchBlocks; exports.watchEvent = _chunkG5HJC7PYjs.watchEvent; exports.watchPendingTransactions = _chunkG5HJC7PYjs.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 _chunkG5HJC7PYjs = require('./chunk-G5HJC7PY.js');
|
31
31
|
|
32
32
|
|
33
33
|
|
@@ -57,5 +57,5 @@ var _chunkTO4LQVPWjs = require('./chunk-TO4LQVPW.js');
|
|
57
57
|
|
58
58
|
|
59
59
|
|
60
|
-
exports.dropTransaction =
|
60
|
+
exports.dropTransaction = _chunkG5HJC7PYjs.dropTransaction; exports.getAutomine = _chunkG5HJC7PYjs.getAutomine; exports.getTxpoolContent = _chunkG5HJC7PYjs.getTxpoolContent; exports.getTxpoolStatus = _chunkG5HJC7PYjs.getTxpoolStatus; exports.impersonateAccount = _chunkG5HJC7PYjs.impersonateAccount; exports.increaseTime = _chunkG5HJC7PYjs.increaseTime; exports.inspectTxpool = _chunkG5HJC7PYjs.inspectTxpool; exports.mine = _chunkG5HJC7PYjs.mine; exports.removeBlockTimestampInterval = _chunkG5HJC7PYjs.removeBlockTimestampInterval; exports.reset = _chunkG5HJC7PYjs.reset; exports.revert = _chunkG5HJC7PYjs.revert; exports.sendUnsignedTransaction = _chunkG5HJC7PYjs.sendUnsignedTransaction; exports.setAutomine = _chunkG5HJC7PYjs.setAutomine; exports.setBalance = _chunkG5HJC7PYjs.setBalance; exports.setBlockGasLimit = _chunkG5HJC7PYjs.setBlockGasLimit; exports.setBlockTimestampInterval = _chunkG5HJC7PYjs.setBlockTimestampInterval; exports.setCode = _chunkG5HJC7PYjs.setCode; exports.setCoinbase = _chunkG5HJC7PYjs.setCoinbase; exports.setIntervalMining = _chunkG5HJC7PYjs.setIntervalMining; exports.setLoggingEnabled = _chunkG5HJC7PYjs.setLoggingEnabled; exports.setMinGasPrice = _chunkG5HJC7PYjs.setMinGasPrice; exports.setNextBlockBaseFeePerGas = _chunkG5HJC7PYjs.setNextBlockBaseFeePerGas; exports.setNextBlockTimestamp = _chunkG5HJC7PYjs.setNextBlockTimestamp; exports.setNonce = _chunkG5HJC7PYjs.setNonce; exports.setRpcUrl = _chunkG5HJC7PYjs.setRpcUrl; exports.setStorageAt = _chunkG5HJC7PYjs.setStorageAt; exports.snapshot = _chunkG5HJC7PYjs.snapshot; exports.stopImpersonatingAccount = _chunkG5HJC7PYjs.stopImpersonatingAccount;
|
61
61
|
//# sourceMappingURL=test.js.map
|