viem 0.2.0-canary.20230315T015852 → 0.2.0-canary.20230315T225958
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-KEOOTIFS.mjs → chunk-74W4SZ66.mjs} +10 -10
- package/dist/{chunk-KEOOTIFS.mjs.map → chunk-74W4SZ66.mjs.map} +1 -1
- package/dist/{chunk-SRXA4Z6S.js → chunk-IUZRZEEU.js} +10 -10
- package/dist/chunk-IUZRZEEU.js.map +1 -0
- package/dist/{chunk-GZNWBWCK.mjs → chunk-KE2G7J6O.mjs} +2 -2
- package/dist/{chunk-433O7HYT.js → chunk-VUA7GJVU.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 +90 -90
- 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-SRXA4Z6S.js.map +0 -1
- /package/dist/{chunk-GZNWBWCK.mjs.map → chunk-KE2G7J6O.mjs.map} +0 -0
- /package/dist/{chunk-433O7HYT.js.map → chunk-VUA7GJVU.js.map} +0 -0
@@ -11,7 +11,7 @@ import {
|
|
11
11
|
stringToBytes,
|
12
12
|
toBytes,
|
13
13
|
toHex
|
14
|
-
} from "./chunk-
|
14
|
+
} from "./chunk-74W4SZ66.mjs";
|
15
15
|
|
16
16
|
// src/utils/ens/labelhash.ts
|
17
17
|
function labelhash(label) {
|
@@ -183,4 +183,4 @@ export {
|
|
183
183
|
getEnsAddress,
|
184
184
|
getEnsName
|
185
185
|
};
|
186
|
-
//# sourceMappingURL=chunk-
|
186
|
+
//# sourceMappingURL=chunk-KE2G7J6O.mjs.map
|
@@ -11,27 +11,27 @@
|
|
11
11
|
|
12
12
|
|
13
13
|
|
14
|
-
var
|
14
|
+
var _chunkIUZRZEEUjs = require('./chunk-IUZRZEEU.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 _chunkIUZRZEEUjs.bytesToHex.call(void 0, result);
|
21
|
+
return _chunkIUZRZEEUjs.keccak256.call(void 0, _chunkIUZRZEEUjs.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 _chunkIUZRZEEUjs.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 = _chunkIUZRZEEUjs.keccak256.call(void 0, _chunkIUZRZEEUjs.stringToBytes.call(void 0, labels[i]), "bytes");
|
32
|
+
result = _chunkIUZRZEEUjs.keccak256.call(void 0, _chunkIUZRZEEUjs.concat.call(void 0, [result, hashed]), "bytes");
|
33
33
|
}
|
34
|
-
return
|
34
|
+
return _chunkIUZRZEEUjs.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 _chunkIUZRZEEUjs.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 = _chunkIUZRZEEUjs.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 = _chunkIUZRZEEUjs.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 _chunkIUZRZEEUjs.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
|
+
_chunkIUZRZEEUjs.toHex.call(void 0, packetToBytes(name)),
|
98
|
+
_chunkIUZRZEEUjs.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 _chunkIUZRZEEUjs.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 = _chunkIUZRZEEUjs.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 _chunkIUZRZEEUjs.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: [_chunkIUZRZEEUjs.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 _chunkIUZRZEEUjs.ContractFunctionExecutionError && error.cause.reason === _chunkIUZRZEEUjs.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-VUA7GJVU.js.map
|
package/dist/contract.js
CHANGED
@@ -23,7 +23,7 @@
|
|
23
23
|
|
24
24
|
|
25
25
|
|
26
|
-
var
|
26
|
+
var _chunkIUZRZEEUjs = require('./chunk-IUZRZEEU.js');
|
27
27
|
|
28
28
|
|
29
29
|
|
@@ -49,5 +49,5 @@ var _chunkSRXA4Z6Sjs = require('./chunk-SRXA4Z6S.js');
|
|
49
49
|
|
50
50
|
|
51
51
|
|
52
|
-
exports.createContractEventFilter =
|
52
|
+
exports.createContractEventFilter = _chunkIUZRZEEUjs.createContractEventFilter; exports.decodeAbiParameters = _chunkIUZRZEEUjs.decodeAbiParameters; exports.decodeErrorResult = _chunkIUZRZEEUjs.decodeErrorResult; exports.decodeEventLog = _chunkIUZRZEEUjs.decodeEventLog; exports.decodeFunctionData = _chunkIUZRZEEUjs.decodeFunctionData; exports.decodeFunctionResult = _chunkIUZRZEEUjs.decodeFunctionResult; exports.deployContract = _chunkIUZRZEEUjs.deployContract; exports.encodeAbiParameters = _chunkIUZRZEEUjs.encodeAbiParameters; exports.encodeDeployData = _chunkIUZRZEEUjs.encodeDeployData; exports.encodeErrorResult = _chunkIUZRZEEUjs.encodeErrorResult; exports.encodeEventTopics = _chunkIUZRZEEUjs.encodeEventTopics; exports.encodeFunctionData = _chunkIUZRZEEUjs.encodeFunctionData; exports.encodeFunctionResult = _chunkIUZRZEEUjs.encodeFunctionResult; exports.estimateContractGas = _chunkIUZRZEEUjs.estimateContractGas; exports.formatAbiItem = _chunkIUZRZEEUjs.formatAbiItem; exports.formatAbiItemWithArgs = _chunkIUZRZEEUjs.formatAbiItemWithArgs; exports.getAbiItem = _chunkIUZRZEEUjs.getAbiItem; exports.getBytecode = _chunkIUZRZEEUjs.getBytecode; exports.getStorageAt = _chunkIUZRZEEUjs.getStorageAt; exports.multicall = _chunkIUZRZEEUjs.multicall; exports.readContract = _chunkIUZRZEEUjs.readContract; exports.simulateContract = _chunkIUZRZEEUjs.simulateContract; exports.watchContractEvent = _chunkIUZRZEEUjs.watchContractEvent; exports.writeContract = _chunkIUZRZEEUjs.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 _chunkVUA7GJVUjs = require('./chunk-VUA7GJVU.js');
|
7
|
+
require('./chunk-IUZRZEEU.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 = _chunkVUA7GJVUjs.getEnsAddress; exports.getEnsName = _chunkVUA7GJVUjs.getEnsName; exports.labelhash = _chunkVUA7GJVUjs.labelhash; exports.namehash = _chunkVUA7GJVUjs.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 _chunkIUZRZEEUjs = require('./chunk-IUZRZEEU.js');
|
5
5
|
|
6
6
|
// src/adapters/ethers.ts
|
7
|
-
var getAccount2 = (wallet) =>
|
7
|
+
var getAccount2 = (wallet) => _chunkIUZRZEEUjs.getAccount.call(void 0, {
|
8
8
|
address: wallet.address,
|
9
9
|
async signMessage(message) {
|
10
|
-
return await wallet.signMessage(
|
10
|
+
return await wallet.signMessage(_chunkIUZRZEEUjs.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 _chunkVUA7GJVUjs = require('./chunk-VUA7GJVU.js');
|
7
7
|
|
8
8
|
|
9
9
|
|
@@ -245,7 +245,7 @@ var _chunk433O7HYTjs = require('./chunk-433O7HYT.js');
|
|
245
245
|
|
246
246
|
|
247
247
|
|
248
|
-
var
|
248
|
+
var _chunkIUZRZEEUjs = require('./chunk-IUZRZEEU.js');
|
249
249
|
|
250
250
|
// src/clients/transports/createTransport.ts
|
251
251
|
function createTransport({
|
@@ -259,7 +259,7 @@ function createTransport({
|
|
259
259
|
}, value) {
|
260
260
|
return {
|
261
261
|
config: { key, name, request, retryCount, retryDelay, timeout, type },
|
262
|
-
request:
|
262
|
+
request: _chunkIUZRZEEUjs.buildRequest.call(void 0, request, { retryCount, retryDelay }),
|
263
263
|
value
|
264
264
|
};
|
265
265
|
}
|
@@ -293,7 +293,7 @@ function fallback(transports, config = {}) {
|
|
293
293
|
params
|
294
294
|
});
|
295
295
|
} catch (err) {
|
296
|
-
if (
|
296
|
+
if (_chunkIUZRZEEUjs.isDeterministicError.call(void 0, err))
|
297
297
|
throw err;
|
298
298
|
if (i === transports.length - 1)
|
299
299
|
throw err;
|
@@ -327,13 +327,13 @@ function http(url, config = {}) {
|
|
327
327
|
const retryCount = _nullishCoalesce(config.retryCount, () => ( defaultRetryCount));
|
328
328
|
const url_ = url || _optionalChain([chain, 'optionalAccess', _ => _.rpcUrls, 'access', _2 => _2.default, 'access', _3 => _3.http, 'access', _4 => _4[0]]);
|
329
329
|
if (!url_)
|
330
|
-
throw new (0,
|
330
|
+
throw new (0, _chunkIUZRZEEUjs.UrlRequiredError)();
|
331
331
|
return createTransport(
|
332
332
|
{
|
333
333
|
key,
|
334
334
|
name,
|
335
335
|
async request({ method, params }) {
|
336
|
-
const { result } = await
|
336
|
+
const { result } = await _chunkIUZRZEEUjs.rpc.http(url_, {
|
337
337
|
body: {
|
338
338
|
method,
|
339
339
|
params
|
@@ -367,14 +367,14 @@ function webSocket(url, config = {}) {
|
|
367
367
|
const retryCount = _nullishCoalesce(config.retryCount, () => ( defaultRetryCount));
|
368
368
|
const url_ = url || _optionalChain([chain, 'optionalAccess', _5 => _5.rpcUrls, 'access', _6 => _6.default, 'access', _7 => _7.webSocket, 'optionalAccess', _8 => _8[0]]);
|
369
369
|
if (!url_)
|
370
|
-
throw new (0,
|
370
|
+
throw new (0, _chunkIUZRZEEUjs.UrlRequiredError)();
|
371
371
|
return createTransport(
|
372
372
|
{
|
373
373
|
key,
|
374
374
|
name,
|
375
375
|
async request({ method, params }) {
|
376
|
-
const socket = await
|
377
|
-
const { result } = await
|
376
|
+
const socket = await _chunkIUZRZEEUjs.getSocket.call(void 0, url_);
|
377
|
+
const { result } = await _chunkIUZRZEEUjs.rpc.webSocketAsync(socket, {
|
378
378
|
body: { method, params },
|
379
379
|
timeout
|
380
380
|
});
|
@@ -387,12 +387,12 @@ function webSocket(url, config = {}) {
|
|
387
387
|
},
|
388
388
|
{
|
389
389
|
getSocket() {
|
390
|
-
return
|
390
|
+
return _chunkIUZRZEEUjs.getSocket.call(void 0, url_);
|
391
391
|
},
|
392
392
|
async subscribe({ params, onData, onError }) {
|
393
|
-
const socket = await
|
393
|
+
const socket = await _chunkIUZRZEEUjs.getSocket.call(void 0, url_);
|
394
394
|
const { result: subscriptionId } = await new Promise(
|
395
|
-
(resolve, reject) =>
|
395
|
+
(resolve, reject) => _chunkIUZRZEEUjs.rpc.webSocket(socket, {
|
396
396
|
body: {
|
397
397
|
method: "eth_subscribe",
|
398
398
|
params
|
@@ -414,7 +414,7 @@ function webSocket(url, config = {}) {
|
|
414
414
|
subscriptionId,
|
415
415
|
async unsubscribe() {
|
416
416
|
return new Promise(
|
417
|
-
(resolve, reject) =>
|
417
|
+
(resolve, reject) => _chunkIUZRZEEUjs.rpc.webSocket(socket, {
|
418
418
|
body: {
|
419
419
|
method: "eth_unsubscribe",
|
420
420
|
params: [subscriptionId]
|
@@ -470,90 +470,90 @@ function createClient({
|
|
470
470
|
|
471
471
|
// src/clients/decorators/public.ts
|
472
472
|
var publicActions = (client) => ({
|
473
|
-
call: (args) =>
|
474
|
-
createBlockFilter: () =>
|
475
|
-
createContractEventFilter: (args) =>
|
476
|
-
createEventFilter: (args) =>
|
477
|
-
createPendingTransactionFilter: () =>
|
478
|
-
estimateContractGas: (args) =>
|
479
|
-
estimateGas: (args) =>
|
480
|
-
getBalance: (args) =>
|
481
|
-
getBlock: (args) =>
|
482
|
-
getBlockNumber: (args) =>
|
483
|
-
getBlockTransactionCount: (args) =>
|
484
|
-
getBytecode: (args) =>
|
485
|
-
getChainId: () =>
|
486
|
-
getEnsAddress: (args) =>
|
487
|
-
getEnsName: (args) =>
|
488
|
-
getFeeHistory: (args) =>
|
489
|
-
getFilterChanges: (args) =>
|
490
|
-
getFilterLogs: (args) =>
|
491
|
-
getGasPrice: () =>
|
492
|
-
getLogs: (args) =>
|
493
|
-
getStorageAt: (args) =>
|
494
|
-
getTransaction: (args) =>
|
495
|
-
getTransactionConfirmations: (args) =>
|
496
|
-
getTransactionCount: (args) =>
|
497
|
-
getTransactionReceipt: (args) =>
|
498
|
-
multicall: (args) =>
|
499
|
-
readContract: (args) =>
|
500
|
-
simulateContract: (args) =>
|
501
|
-
uninstallFilter: (args) =>
|
502
|
-
waitForTransactionReceipt: (args) =>
|
503
|
-
watchBlocks: (args) =>
|
504
|
-
watchBlockNumber: (args) =>
|
505
|
-
watchContractEvent: (args) =>
|
506
|
-
watchEvent: (args) =>
|
507
|
-
watchPendingTransactions: (args) =>
|
473
|
+
call: (args) => _chunkIUZRZEEUjs.call.call(void 0, client, args),
|
474
|
+
createBlockFilter: () => _chunkIUZRZEEUjs.createBlockFilter.call(void 0, client),
|
475
|
+
createContractEventFilter: (args) => _chunkIUZRZEEUjs.createContractEventFilter.call(void 0, client, args),
|
476
|
+
createEventFilter: (args) => _chunkIUZRZEEUjs.createEventFilter.call(void 0, client, args),
|
477
|
+
createPendingTransactionFilter: () => _chunkIUZRZEEUjs.createPendingTransactionFilter.call(void 0, client),
|
478
|
+
estimateContractGas: (args) => _chunkIUZRZEEUjs.estimateContractGas.call(void 0, client, args),
|
479
|
+
estimateGas: (args) => _chunkIUZRZEEUjs.estimateGas.call(void 0, client, args),
|
480
|
+
getBalance: (args) => _chunkIUZRZEEUjs.getBalance.call(void 0, client, args),
|
481
|
+
getBlock: (args) => _chunkIUZRZEEUjs.getBlock.call(void 0, client, args),
|
482
|
+
getBlockNumber: (args) => _chunkIUZRZEEUjs.getBlockNumber.call(void 0, client, args),
|
483
|
+
getBlockTransactionCount: (args) => _chunkIUZRZEEUjs.getBlockTransactionCount.call(void 0, client, args),
|
484
|
+
getBytecode: (args) => _chunkIUZRZEEUjs.getBytecode.call(void 0, client, args),
|
485
|
+
getChainId: () => _chunkIUZRZEEUjs.getChainId.call(void 0, client),
|
486
|
+
getEnsAddress: (args) => _chunkVUA7GJVUjs.getEnsAddress.call(void 0, client, args),
|
487
|
+
getEnsName: (args) => _chunkVUA7GJVUjs.getEnsName.call(void 0, client, args),
|
488
|
+
getFeeHistory: (args) => _chunkIUZRZEEUjs.getFeeHistory.call(void 0, client, args),
|
489
|
+
getFilterChanges: (args) => _chunkIUZRZEEUjs.getFilterChanges.call(void 0, client, args),
|
490
|
+
getFilterLogs: (args) => _chunkIUZRZEEUjs.getFilterLogs.call(void 0, client, args),
|
491
|
+
getGasPrice: () => _chunkIUZRZEEUjs.getGasPrice.call(void 0, client),
|
492
|
+
getLogs: (args) => _chunkIUZRZEEUjs.getLogs.call(void 0, client, args),
|
493
|
+
getStorageAt: (args) => _chunkIUZRZEEUjs.getStorageAt.call(void 0, client, args),
|
494
|
+
getTransaction: (args) => _chunkIUZRZEEUjs.getTransaction.call(void 0, client, args),
|
495
|
+
getTransactionConfirmations: (args) => _chunkIUZRZEEUjs.getTransactionConfirmations.call(void 0, client, args),
|
496
|
+
getTransactionCount: (args) => _chunkIUZRZEEUjs.getTransactionCount.call(void 0, client, args),
|
497
|
+
getTransactionReceipt: (args) => _chunkIUZRZEEUjs.getTransactionReceipt.call(void 0, client, args),
|
498
|
+
multicall: (args) => _chunkIUZRZEEUjs.multicall.call(void 0, client, args),
|
499
|
+
readContract: (args) => _chunkIUZRZEEUjs.readContract.call(void 0, client, args),
|
500
|
+
simulateContract: (args) => _chunkIUZRZEEUjs.simulateContract.call(void 0, client, args),
|
501
|
+
uninstallFilter: (args) => _chunkIUZRZEEUjs.uninstallFilter.call(void 0, client, args),
|
502
|
+
waitForTransactionReceipt: (args) => _chunkIUZRZEEUjs.waitForTransactionReceipt.call(void 0, client, args),
|
503
|
+
watchBlocks: (args) => _chunkIUZRZEEUjs.watchBlocks.call(void 0, client, args),
|
504
|
+
watchBlockNumber: (args) => _chunkIUZRZEEUjs.watchBlockNumber.call(void 0, client, args),
|
505
|
+
watchContractEvent: (args) => _chunkIUZRZEEUjs.watchContractEvent.call(void 0, client, args),
|
506
|
+
watchEvent: (args) => _chunkIUZRZEEUjs.watchEvent.call(void 0, client, args),
|
507
|
+
watchPendingTransactions: (args) => _chunkIUZRZEEUjs.watchPendingTransactions.call(void 0, client, args)
|
508
508
|
});
|
509
509
|
|
510
510
|
// src/clients/decorators/test.ts
|
511
511
|
var testActions = (client) => ({
|
512
|
-
dropTransaction: (args) =>
|
513
|
-
getAutomine: () =>
|
514
|
-
getTxpoolContent: () =>
|
515
|
-
getTxpoolStatus: () =>
|
516
|
-
impersonateAccount: (args) =>
|
517
|
-
increaseTime: (args) =>
|
518
|
-
inspectTxpool: () =>
|
519
|
-
mine: (args) =>
|
520
|
-
removeBlockTimestampInterval: () =>
|
521
|
-
reset: (args) =>
|
522
|
-
revert: (args) =>
|
523
|
-
sendUnsignedTransaction: (args) =>
|
524
|
-
setAutomine: (args) =>
|
525
|
-
setBalance: (args) =>
|
526
|
-
setBlockGasLimit: (args) =>
|
527
|
-
setBlockTimestampInterval: (args) =>
|
528
|
-
setCode: (args) =>
|
529
|
-
setCoinbase: (args) =>
|
530
|
-
setIntervalMining: (args) =>
|
531
|
-
setLoggingEnabled: (args) =>
|
532
|
-
setMinGasPrice: (args) =>
|
533
|
-
setNextBlockBaseFeePerGas: (args) =>
|
534
|
-
setNextBlockTimestamp: (args) =>
|
535
|
-
setNonce: (args) =>
|
536
|
-
setRpcUrl: (args) =>
|
537
|
-
setStorageAt: (args) =>
|
538
|
-
snapshot: () =>
|
539
|
-
stopImpersonatingAccount: (args) =>
|
512
|
+
dropTransaction: (args) => _chunkIUZRZEEUjs.dropTransaction.call(void 0, client, args),
|
513
|
+
getAutomine: () => _chunkIUZRZEEUjs.getAutomine.call(void 0, client),
|
514
|
+
getTxpoolContent: () => _chunkIUZRZEEUjs.getTxpoolContent.call(void 0, client),
|
515
|
+
getTxpoolStatus: () => _chunkIUZRZEEUjs.getTxpoolStatus.call(void 0, client),
|
516
|
+
impersonateAccount: (args) => _chunkIUZRZEEUjs.impersonateAccount.call(void 0, client, args),
|
517
|
+
increaseTime: (args) => _chunkIUZRZEEUjs.increaseTime.call(void 0, client, args),
|
518
|
+
inspectTxpool: () => _chunkIUZRZEEUjs.inspectTxpool.call(void 0, client),
|
519
|
+
mine: (args) => _chunkIUZRZEEUjs.mine.call(void 0, client, args),
|
520
|
+
removeBlockTimestampInterval: () => _chunkIUZRZEEUjs.removeBlockTimestampInterval.call(void 0, client),
|
521
|
+
reset: (args) => _chunkIUZRZEEUjs.reset.call(void 0, client, args),
|
522
|
+
revert: (args) => _chunkIUZRZEEUjs.revert.call(void 0, client, args),
|
523
|
+
sendUnsignedTransaction: (args) => _chunkIUZRZEEUjs.sendUnsignedTransaction.call(void 0, client, args),
|
524
|
+
setAutomine: (args) => _chunkIUZRZEEUjs.setAutomine.call(void 0, client, args),
|
525
|
+
setBalance: (args) => _chunkIUZRZEEUjs.setBalance.call(void 0, client, args),
|
526
|
+
setBlockGasLimit: (args) => _chunkIUZRZEEUjs.setBlockGasLimit.call(void 0, client, args),
|
527
|
+
setBlockTimestampInterval: (args) => _chunkIUZRZEEUjs.setBlockTimestampInterval.call(void 0, client, args),
|
528
|
+
setCode: (args) => _chunkIUZRZEEUjs.setCode.call(void 0, client, args),
|
529
|
+
setCoinbase: (args) => _chunkIUZRZEEUjs.setCoinbase.call(void 0, client, args),
|
530
|
+
setIntervalMining: (args) => _chunkIUZRZEEUjs.setIntervalMining.call(void 0, client, args),
|
531
|
+
setLoggingEnabled: (args) => _chunkIUZRZEEUjs.setLoggingEnabled.call(void 0, client, args),
|
532
|
+
setMinGasPrice: (args) => _chunkIUZRZEEUjs.setMinGasPrice.call(void 0, client, args),
|
533
|
+
setNextBlockBaseFeePerGas: (args) => _chunkIUZRZEEUjs.setNextBlockBaseFeePerGas.call(void 0, client, args),
|
534
|
+
setNextBlockTimestamp: (args) => _chunkIUZRZEEUjs.setNextBlockTimestamp.call(void 0, client, args),
|
535
|
+
setNonce: (args) => _chunkIUZRZEEUjs.setNonce.call(void 0, client, args),
|
536
|
+
setRpcUrl: (args) => _chunkIUZRZEEUjs.setRpcUrl.call(void 0, client, args),
|
537
|
+
setStorageAt: (args) => _chunkIUZRZEEUjs.setStorageAt.call(void 0, client, args),
|
538
|
+
snapshot: () => _chunkIUZRZEEUjs.snapshot.call(void 0, client),
|
539
|
+
stopImpersonatingAccount: (args) => _chunkIUZRZEEUjs.stopImpersonatingAccount.call(void 0, client, args)
|
540
540
|
});
|
541
541
|
|
542
542
|
// src/clients/decorators/wallet.ts
|
543
543
|
var walletActions = (client) => ({
|
544
|
-
addChain: (args) =>
|
545
|
-
deployContract: (args) =>
|
546
|
-
getAddresses: () =>
|
547
|
-
getChainId: () =>
|
548
|
-
getPermissions: () =>
|
549
|
-
requestAddresses: () =>
|
550
|
-
requestPermissions: (args) =>
|
551
|
-
sendTransaction: (args) =>
|
552
|
-
signMessage: (args) =>
|
553
|
-
signTypedData: (args) =>
|
554
|
-
switchChain: (args) =>
|
555
|
-
watchAsset: (args) =>
|
556
|
-
writeContract: (args) =>
|
544
|
+
addChain: (args) => _chunkIUZRZEEUjs.addChain.call(void 0, client, args),
|
545
|
+
deployContract: (args) => _chunkIUZRZEEUjs.deployContract.call(void 0, client, args),
|
546
|
+
getAddresses: () => _chunkIUZRZEEUjs.getAddresses.call(void 0, client),
|
547
|
+
getChainId: () => _chunkIUZRZEEUjs.getChainId.call(void 0, client),
|
548
|
+
getPermissions: () => _chunkIUZRZEEUjs.getPermissions.call(void 0, client),
|
549
|
+
requestAddresses: () => _chunkIUZRZEEUjs.requestAddresses.call(void 0, client),
|
550
|
+
requestPermissions: (args) => _chunkIUZRZEEUjs.requestPermissions.call(void 0, client, args),
|
551
|
+
sendTransaction: (args) => _chunkIUZRZEEUjs.sendTransaction.call(void 0, client, args),
|
552
|
+
signMessage: (args) => _chunkIUZRZEEUjs.signMessage.call(void 0, client, args),
|
553
|
+
signTypedData: (args) => _chunkIUZRZEEUjs.signTypedData.call(void 0, client, args),
|
554
|
+
switchChain: (args) => _chunkIUZRZEEUjs.switchChain.call(void 0, client, args),
|
555
|
+
watchAsset: (args) => _chunkIUZRZEEUjs.watchAsset.call(void 0, client, args),
|
556
|
+
writeContract: (args) => _chunkIUZRZEEUjs.writeContract.call(void 0, client, args)
|
557
557
|
});
|
558
558
|
|
559
559
|
// src/clients/createPublicClient.ts
|
@@ -798,5 +798,5 @@ function createWalletClient({
|
|
798
798
|
|
799
799
|
|
800
800
|
|
801
|
-
exports.AbiConstructorNotFoundError = _chunkSRXA4Z6Sjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkSRXA4Z6Sjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkSRXA4Z6Sjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkSRXA4Z6Sjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkSRXA4Z6Sjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkSRXA4Z6Sjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkSRXA4Z6Sjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkSRXA4Z6Sjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkSRXA4Z6Sjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkSRXA4Z6Sjs.AbiEventNotFoundError; exports.AbiEventSignatureEmptyTopicsError = _chunkSRXA4Z6Sjs.AbiEventSignatureEmptyTopicsError; exports.AbiEventSignatureNotFoundError = _chunkSRXA4Z6Sjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkSRXA4Z6Sjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkSRXA4Z6Sjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkSRXA4Z6Sjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkSRXA4Z6Sjs.BaseError; exports.BlockNotFoundError = _chunkSRXA4Z6Sjs.BlockNotFoundError; exports.CallExecutionError = _chunkSRXA4Z6Sjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkSRXA4Z6Sjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkSRXA4Z6Sjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkSRXA4Z6Sjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkSRXA4Z6Sjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkSRXA4Z6Sjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkSRXA4Z6Sjs.DataLengthTooShortError; exports.DecodeLogTopicsMismatch = _chunkSRXA4Z6Sjs.DecodeLogTopicsMismatch; exports.EstimateGasExecutionError = _chunkSRXA4Z6Sjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkSRXA4Z6Sjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkSRXA4Z6Sjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkSRXA4Z6Sjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkSRXA4Z6Sjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkSRXA4Z6Sjs.HttpRequestError; exports.InsufficientFundsError = _chunkSRXA4Z6Sjs.InsufficientFundsError; exports.InternalRpcError = _chunkSRXA4Z6Sjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkSRXA4Z6Sjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkSRXA4Z6Sjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkSRXA4Z6Sjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkSRXA4Z6Sjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkSRXA4Z6Sjs.InvalidAddressError; exports.InvalidArrayError = _chunkSRXA4Z6Sjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkSRXA4Z6Sjs.InvalidBytesBooleanError; exports.InvalidDefinitionTypeError = _chunkSRXA4Z6Sjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkSRXA4Z6Sjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkSRXA4Z6Sjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkSRXA4Z6Sjs.InvalidInputRpcError; exports.InvalidParamsRpcError = _chunkSRXA4Z6Sjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkSRXA4Z6Sjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkSRXA4Z6Sjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkSRXA4Z6Sjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkSRXA4Z6Sjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkSRXA4Z6Sjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkSRXA4Z6Sjs.NonceMaxValueError; exports.NonceTooHighError = _chunkSRXA4Z6Sjs.NonceTooHighError; exports.NonceTooLowError = _chunkSRXA4Z6Sjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkSRXA4Z6Sjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkSRXA4Z6Sjs.ParseRpcError; exports.RawContractError = _chunkSRXA4Z6Sjs.RawContractError; exports.RequestError = _chunkSRXA4Z6Sjs.RequestError; exports.ResourceNotFoundRpcError = _chunkSRXA4Z6Sjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkSRXA4Z6Sjs.ResourceUnavailableRpcError; exports.RpcError = _chunkSRXA4Z6Sjs.RpcError; exports.RpcRequestError = _chunkSRXA4Z6Sjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkSRXA4Z6Sjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkSRXA4Z6Sjs.SwitchChainError; exports.TimeoutError = _chunkSRXA4Z6Sjs.TimeoutError; exports.TipAboveFeeCapError = _chunkSRXA4Z6Sjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkSRXA4Z6Sjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkSRXA4Z6Sjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkSRXA4Z6Sjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkSRXA4Z6Sjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkSRXA4Z6Sjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkSRXA4Z6Sjs.UnknownNodeError; exports.UnknownRpcError = _chunkSRXA4Z6Sjs.UnknownRpcError; exports.UrlRequiredError = _chunkSRXA4Z6Sjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkSRXA4Z6Sjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkSRXA4Z6Sjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkSRXA4Z6Sjs.WebSocketRequestError; exports.boolToBytes = _chunkSRXA4Z6Sjs.boolToBytes; exports.boolToHex = _chunkSRXA4Z6Sjs.boolToHex; exports.bytesToBigint = _chunkSRXA4Z6Sjs.bytesToBigint; exports.bytesToBool = _chunkSRXA4Z6Sjs.bytesToBool; exports.bytesToHex = _chunkSRXA4Z6Sjs.bytesToHex; exports.bytesToNumber = _chunkSRXA4Z6Sjs.bytesToNumber; exports.bytesToString = _chunkSRXA4Z6Sjs.bytesToString; exports.concat = _chunkSRXA4Z6Sjs.concat; exports.concatBytes = _chunkSRXA4Z6Sjs.concatBytes; exports.concatHex = _chunkSRXA4Z6Sjs.concatHex; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkSRXA4Z6Sjs.decodeAbiParameters; exports.decodeErrorResult = _chunkSRXA4Z6Sjs.decodeErrorResult; exports.decodeEventLog = _chunkSRXA4Z6Sjs.decodeEventLog; exports.decodeFunctionData = _chunkSRXA4Z6Sjs.decodeFunctionData; exports.decodeFunctionResult = _chunkSRXA4Z6Sjs.decodeFunctionResult; exports.defineBlock = _chunkSRXA4Z6Sjs.defineBlock; exports.defineChain = _chunkSRXA4Z6Sjs.defineChain; exports.defineTransaction = _chunkSRXA4Z6Sjs.defineTransaction; exports.defineTransactionReceipt = _chunkSRXA4Z6Sjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkSRXA4Z6Sjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkSRXA4Z6Sjs.encodeAbiParameters; exports.encodeDeployData = _chunkSRXA4Z6Sjs.encodeDeployData; exports.encodeErrorResult = _chunkSRXA4Z6Sjs.encodeErrorResult; exports.encodeEventTopics = _chunkSRXA4Z6Sjs.encodeEventTopics; exports.encodeFunctionData = _chunkSRXA4Z6Sjs.encodeFunctionData; exports.encodeFunctionResult = _chunkSRXA4Z6Sjs.encodeFunctionResult; exports.encodePacked = _chunkSRXA4Z6Sjs.encodePacked; exports.etherUnits = _chunkSRXA4Z6Sjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkSRXA4Z6Sjs.formatBlock; exports.formatEther = _chunkSRXA4Z6Sjs.formatEther; exports.formatGwei = _chunkSRXA4Z6Sjs.formatGwei; exports.formatTransaction = _chunkSRXA4Z6Sjs.formatTransaction; exports.formatTransactionRequest = _chunkSRXA4Z6Sjs.formatTransactionRequest; exports.formatUnits = _chunkSRXA4Z6Sjs.formatUnits; exports.fromBytes = _chunkSRXA4Z6Sjs.fromBytes; exports.fromHex = _chunkSRXA4Z6Sjs.fromHex; exports.fromRlp = _chunkSRXA4Z6Sjs.fromRlp; exports.getAbiItem = _chunkSRXA4Z6Sjs.getAbiItem; exports.getAccount = _chunkSRXA4Z6Sjs.getAccount; exports.getAddress = _chunkSRXA4Z6Sjs.getAddress; exports.getContractAddress = _chunkSRXA4Z6Sjs.getContractAddress; exports.getContractError = _chunkSRXA4Z6Sjs.getContractError; exports.getCreate2Address = _chunkSRXA4Z6Sjs.getCreate2Address; exports.getCreateAddress = _chunkSRXA4Z6Sjs.getCreateAddress; exports.getEventSelector = _chunkSRXA4Z6Sjs.getEventSelector; exports.getFunctionSelector = _chunkSRXA4Z6Sjs.getFunctionSelector; exports.gweiUnits = _chunkSRXA4Z6Sjs.gweiUnits; exports.hashMessage = _chunkSRXA4Z6Sjs.hashMessage; exports.hexToBigInt = _chunkSRXA4Z6Sjs.hexToBigInt; exports.hexToBool = _chunkSRXA4Z6Sjs.hexToBool; exports.hexToBytes = _chunkSRXA4Z6Sjs.hexToBytes; exports.hexToNumber = _chunkSRXA4Z6Sjs.hexToNumber; exports.hexToString = _chunkSRXA4Z6Sjs.hexToString; exports.http = http; exports.isAddress = _chunkSRXA4Z6Sjs.isAddress; exports.isAddressEqual = _chunkSRXA4Z6Sjs.isAddressEqual; exports.isBytes = _chunkSRXA4Z6Sjs.isBytes; exports.isHex = _chunkSRXA4Z6Sjs.isHex; exports.keccak256 = _chunkSRXA4Z6Sjs.keccak256; exports.labelhash = _chunk433O7HYTjs.labelhash; exports.multicall3Abi = _chunkSRXA4Z6Sjs.multicall3Abi; exports.namehash = _chunk433O7HYTjs.namehash; exports.numberToBytes = _chunkSRXA4Z6Sjs.numberToBytes; exports.numberToHex = _chunkSRXA4Z6Sjs.numberToHex; exports.pad = _chunkSRXA4Z6Sjs.pad; exports.padBytes = _chunkSRXA4Z6Sjs.padBytes; exports.padHex = _chunkSRXA4Z6Sjs.padHex; exports.parseAbi = _chunkSRXA4Z6Sjs.parseAbi; exports.parseAbiItem = _chunkSRXA4Z6Sjs.parseAbiItem; exports.parseAbiParameter = _chunkSRXA4Z6Sjs.parseAbiParameter; exports.parseAbiParameters = _chunkSRXA4Z6Sjs.parseAbiParameters; exports.parseEther = _chunkSRXA4Z6Sjs.parseEther; exports.parseGwei = _chunkSRXA4Z6Sjs.parseGwei; exports.parseUnits = _chunkSRXA4Z6Sjs.parseUnits; exports.recoverAddress = _chunkSRXA4Z6Sjs.recoverAddress; exports.recoverMessageAddress = _chunkSRXA4Z6Sjs.recoverMessageAddress; exports.size = _chunkSRXA4Z6Sjs.size; exports.slice = _chunkSRXA4Z6Sjs.slice; exports.sliceBytes = _chunkSRXA4Z6Sjs.sliceBytes; exports.sliceHex = _chunkSRXA4Z6Sjs.sliceHex; exports.stringToBytes = _chunkSRXA4Z6Sjs.stringToBytes; exports.stringToHex = _chunkSRXA4Z6Sjs.stringToHex; exports.stringify = _chunkSRXA4Z6Sjs.stringify; exports.toBytes = _chunkSRXA4Z6Sjs.toBytes; exports.toHex = _chunkSRXA4Z6Sjs.toHex; exports.toRlp = _chunkSRXA4Z6Sjs.toRlp; exports.transactionType = _chunkSRXA4Z6Sjs.transactionType; exports.trim = _chunkSRXA4Z6Sjs.trim; exports.verifyMessage = _chunkSRXA4Z6Sjs.verifyMessage; exports.webSocket = webSocket; exports.weiUnits = _chunkSRXA4Z6Sjs.weiUnits;
|
801
|
+
exports.AbiConstructorNotFoundError = _chunkIUZRZEEUjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkIUZRZEEUjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkIUZRZEEUjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkIUZRZEEUjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkIUZRZEEUjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkIUZRZEEUjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkIUZRZEEUjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkIUZRZEEUjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkIUZRZEEUjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkIUZRZEEUjs.AbiEventNotFoundError; exports.AbiEventSignatureEmptyTopicsError = _chunkIUZRZEEUjs.AbiEventSignatureEmptyTopicsError; exports.AbiEventSignatureNotFoundError = _chunkIUZRZEEUjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkIUZRZEEUjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkIUZRZEEUjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkIUZRZEEUjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkIUZRZEEUjs.BaseError; exports.BlockNotFoundError = _chunkIUZRZEEUjs.BlockNotFoundError; exports.CallExecutionError = _chunkIUZRZEEUjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkIUZRZEEUjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkIUZRZEEUjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkIUZRZEEUjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkIUZRZEEUjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkIUZRZEEUjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkIUZRZEEUjs.DataLengthTooShortError; exports.DecodeLogTopicsMismatch = _chunkIUZRZEEUjs.DecodeLogTopicsMismatch; exports.EstimateGasExecutionError = _chunkIUZRZEEUjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkIUZRZEEUjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkIUZRZEEUjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkIUZRZEEUjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkIUZRZEEUjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkIUZRZEEUjs.HttpRequestError; exports.InsufficientFundsError = _chunkIUZRZEEUjs.InsufficientFundsError; exports.InternalRpcError = _chunkIUZRZEEUjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkIUZRZEEUjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkIUZRZEEUjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkIUZRZEEUjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkIUZRZEEUjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkIUZRZEEUjs.InvalidAddressError; exports.InvalidArrayError = _chunkIUZRZEEUjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkIUZRZEEUjs.InvalidBytesBooleanError; exports.InvalidDefinitionTypeError = _chunkIUZRZEEUjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkIUZRZEEUjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkIUZRZEEUjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkIUZRZEEUjs.InvalidInputRpcError; exports.InvalidParamsRpcError = _chunkIUZRZEEUjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkIUZRZEEUjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkIUZRZEEUjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkIUZRZEEUjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkIUZRZEEUjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkIUZRZEEUjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkIUZRZEEUjs.NonceMaxValueError; exports.NonceTooHighError = _chunkIUZRZEEUjs.NonceTooHighError; exports.NonceTooLowError = _chunkIUZRZEEUjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkIUZRZEEUjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkIUZRZEEUjs.ParseRpcError; exports.RawContractError = _chunkIUZRZEEUjs.RawContractError; exports.RequestError = _chunkIUZRZEEUjs.RequestError; exports.ResourceNotFoundRpcError = _chunkIUZRZEEUjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkIUZRZEEUjs.ResourceUnavailableRpcError; exports.RpcError = _chunkIUZRZEEUjs.RpcError; exports.RpcRequestError = _chunkIUZRZEEUjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkIUZRZEEUjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkIUZRZEEUjs.SwitchChainError; exports.TimeoutError = _chunkIUZRZEEUjs.TimeoutError; exports.TipAboveFeeCapError = _chunkIUZRZEEUjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkIUZRZEEUjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkIUZRZEEUjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkIUZRZEEUjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkIUZRZEEUjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkIUZRZEEUjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkIUZRZEEUjs.UnknownNodeError; exports.UnknownRpcError = _chunkIUZRZEEUjs.UnknownRpcError; exports.UrlRequiredError = _chunkIUZRZEEUjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkIUZRZEEUjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkIUZRZEEUjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkIUZRZEEUjs.WebSocketRequestError; exports.boolToBytes = _chunkIUZRZEEUjs.boolToBytes; exports.boolToHex = _chunkIUZRZEEUjs.boolToHex; exports.bytesToBigint = _chunkIUZRZEEUjs.bytesToBigint; exports.bytesToBool = _chunkIUZRZEEUjs.bytesToBool; exports.bytesToHex = _chunkIUZRZEEUjs.bytesToHex; exports.bytesToNumber = _chunkIUZRZEEUjs.bytesToNumber; exports.bytesToString = _chunkIUZRZEEUjs.bytesToString; exports.concat = _chunkIUZRZEEUjs.concat; exports.concatBytes = _chunkIUZRZEEUjs.concatBytes; exports.concatHex = _chunkIUZRZEEUjs.concatHex; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkIUZRZEEUjs.decodeAbiParameters; exports.decodeErrorResult = _chunkIUZRZEEUjs.decodeErrorResult; exports.decodeEventLog = _chunkIUZRZEEUjs.decodeEventLog; exports.decodeFunctionData = _chunkIUZRZEEUjs.decodeFunctionData; exports.decodeFunctionResult = _chunkIUZRZEEUjs.decodeFunctionResult; exports.defineBlock = _chunkIUZRZEEUjs.defineBlock; exports.defineChain = _chunkIUZRZEEUjs.defineChain; exports.defineTransaction = _chunkIUZRZEEUjs.defineTransaction; exports.defineTransactionReceipt = _chunkIUZRZEEUjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkIUZRZEEUjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkIUZRZEEUjs.encodeAbiParameters; exports.encodeDeployData = _chunkIUZRZEEUjs.encodeDeployData; exports.encodeErrorResult = _chunkIUZRZEEUjs.encodeErrorResult; exports.encodeEventTopics = _chunkIUZRZEEUjs.encodeEventTopics; exports.encodeFunctionData = _chunkIUZRZEEUjs.encodeFunctionData; exports.encodeFunctionResult = _chunkIUZRZEEUjs.encodeFunctionResult; exports.encodePacked = _chunkIUZRZEEUjs.encodePacked; exports.etherUnits = _chunkIUZRZEEUjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkIUZRZEEUjs.formatBlock; exports.formatEther = _chunkIUZRZEEUjs.formatEther; exports.formatGwei = _chunkIUZRZEEUjs.formatGwei; exports.formatTransaction = _chunkIUZRZEEUjs.formatTransaction; exports.formatTransactionRequest = _chunkIUZRZEEUjs.formatTransactionRequest; exports.formatUnits = _chunkIUZRZEEUjs.formatUnits; exports.fromBytes = _chunkIUZRZEEUjs.fromBytes; exports.fromHex = _chunkIUZRZEEUjs.fromHex; exports.fromRlp = _chunkIUZRZEEUjs.fromRlp; exports.getAbiItem = _chunkIUZRZEEUjs.getAbiItem; exports.getAccount = _chunkIUZRZEEUjs.getAccount; exports.getAddress = _chunkIUZRZEEUjs.getAddress; exports.getContractAddress = _chunkIUZRZEEUjs.getContractAddress; exports.getContractError = _chunkIUZRZEEUjs.getContractError; exports.getCreate2Address = _chunkIUZRZEEUjs.getCreate2Address; exports.getCreateAddress = _chunkIUZRZEEUjs.getCreateAddress; exports.getEventSelector = _chunkIUZRZEEUjs.getEventSelector; exports.getFunctionSelector = _chunkIUZRZEEUjs.getFunctionSelector; exports.gweiUnits = _chunkIUZRZEEUjs.gweiUnits; exports.hashMessage = _chunkIUZRZEEUjs.hashMessage; exports.hexToBigInt = _chunkIUZRZEEUjs.hexToBigInt; exports.hexToBool = _chunkIUZRZEEUjs.hexToBool; exports.hexToBytes = _chunkIUZRZEEUjs.hexToBytes; exports.hexToNumber = _chunkIUZRZEEUjs.hexToNumber; exports.hexToString = _chunkIUZRZEEUjs.hexToString; exports.http = http; exports.isAddress = _chunkIUZRZEEUjs.isAddress; exports.isAddressEqual = _chunkIUZRZEEUjs.isAddressEqual; exports.isBytes = _chunkIUZRZEEUjs.isBytes; exports.isHex = _chunkIUZRZEEUjs.isHex; exports.keccak256 = _chunkIUZRZEEUjs.keccak256; exports.labelhash = _chunkVUA7GJVUjs.labelhash; exports.multicall3Abi = _chunkIUZRZEEUjs.multicall3Abi; exports.namehash = _chunkVUA7GJVUjs.namehash; exports.numberToBytes = _chunkIUZRZEEUjs.numberToBytes; exports.numberToHex = _chunkIUZRZEEUjs.numberToHex; exports.pad = _chunkIUZRZEEUjs.pad; exports.padBytes = _chunkIUZRZEEUjs.padBytes; exports.padHex = _chunkIUZRZEEUjs.padHex; exports.parseAbi = _chunkIUZRZEEUjs.parseAbi; exports.parseAbiItem = _chunkIUZRZEEUjs.parseAbiItem; exports.parseAbiParameter = _chunkIUZRZEEUjs.parseAbiParameter; exports.parseAbiParameters = _chunkIUZRZEEUjs.parseAbiParameters; exports.parseEther = _chunkIUZRZEEUjs.parseEther; exports.parseGwei = _chunkIUZRZEEUjs.parseGwei; exports.parseUnits = _chunkIUZRZEEUjs.parseUnits; exports.recoverAddress = _chunkIUZRZEEUjs.recoverAddress; exports.recoverMessageAddress = _chunkIUZRZEEUjs.recoverMessageAddress; exports.size = _chunkIUZRZEEUjs.size; exports.slice = _chunkIUZRZEEUjs.slice; exports.sliceBytes = _chunkIUZRZEEUjs.sliceBytes; exports.sliceHex = _chunkIUZRZEEUjs.sliceHex; exports.stringToBytes = _chunkIUZRZEEUjs.stringToBytes; exports.stringToHex = _chunkIUZRZEEUjs.stringToHex; exports.stringify = _chunkIUZRZEEUjs.stringify; exports.toBytes = _chunkIUZRZEEUjs.toBytes; exports.toHex = _chunkIUZRZEEUjs.toHex; exports.toRlp = _chunkIUZRZEEUjs.toRlp; exports.transactionType = _chunkIUZRZEEUjs.transactionType; exports.trim = _chunkIUZRZEEUjs.trim; exports.verifyMessage = _chunkIUZRZEEUjs.verifyMessage; exports.webSocket = webSocket; exports.weiUnits = _chunkIUZRZEEUjs.weiUnits;
|
802
802
|
//# 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-KE2G7J6O.mjs";
|
7
7
|
import {
|
8
8
|
AbiConstructorNotFoundError,
|
9
9
|
AbiConstructorParamsNotFoundError,
|
@@ -245,7 +245,7 @@ import {
|
|
245
245
|
watchPendingTransactions,
|
246
246
|
weiUnits,
|
247
247
|
writeContract
|
248
|
-
} from "./chunk-
|
248
|
+
} from "./chunk-74W4SZ66.mjs";
|
249
249
|
|
250
250
|
// src/clients/transports/createTransport.ts
|
251
251
|
function createTransport({
|
package/dist/public.js
CHANGED
@@ -26,7 +26,7 @@
|
|
26
26
|
|
27
27
|
|
28
28
|
|
29
|
-
var
|
29
|
+
var _chunkIUZRZEEUjs = require('./chunk-IUZRZEEU.js');
|
30
30
|
|
31
31
|
|
32
32
|
|
@@ -55,5 +55,5 @@ var _chunkSRXA4Z6Sjs = require('./chunk-SRXA4Z6S.js');
|
|
55
55
|
|
56
56
|
|
57
57
|
|
58
|
-
exports.call =
|
58
|
+
exports.call = _chunkIUZRZEEUjs.call; exports.createBlockFilter = _chunkIUZRZEEUjs.createBlockFilter; exports.createEventFilter = _chunkIUZRZEEUjs.createEventFilter; exports.createPendingTransactionFilter = _chunkIUZRZEEUjs.createPendingTransactionFilter; exports.estimateGas = _chunkIUZRZEEUjs.estimateGas; exports.getBalance = _chunkIUZRZEEUjs.getBalance; exports.getBlock = _chunkIUZRZEEUjs.getBlock; exports.getBlockNumber = _chunkIUZRZEEUjs.getBlockNumber; exports.getBlockNumberCache = _chunkIUZRZEEUjs.getBlockNumberCache; exports.getBlockTransactionCount = _chunkIUZRZEEUjs.getBlockTransactionCount; exports.getBytecode = _chunkIUZRZEEUjs.getBytecode; exports.getChainId = _chunkIUZRZEEUjs.getChainId; exports.getFeeHistory = _chunkIUZRZEEUjs.getFeeHistory; exports.getFilterChanges = _chunkIUZRZEEUjs.getFilterChanges; exports.getFilterLogs = _chunkIUZRZEEUjs.getFilterLogs; exports.getGasPrice = _chunkIUZRZEEUjs.getGasPrice; exports.getLogs = _chunkIUZRZEEUjs.getLogs; exports.getTransaction = _chunkIUZRZEEUjs.getTransaction; exports.getTransactionConfirmations = _chunkIUZRZEEUjs.getTransactionConfirmations; exports.getTransactionCount = _chunkIUZRZEEUjs.getTransactionCount; exports.getTransactionReceipt = _chunkIUZRZEEUjs.getTransactionReceipt; exports.uninstallFilter = _chunkIUZRZEEUjs.uninstallFilter; exports.waitForTransactionReceipt = _chunkIUZRZEEUjs.waitForTransactionReceipt; exports.watchBlockNumber = _chunkIUZRZEEUjs.watchBlockNumber; exports.watchBlocks = _chunkIUZRZEEUjs.watchBlocks; exports.watchEvent = _chunkIUZRZEEUjs.watchEvent; exports.watchPendingTransactions = _chunkIUZRZEEUjs.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 _chunkIUZRZEEUjs = require('./chunk-IUZRZEEU.js');
|
31
31
|
|
32
32
|
|
33
33
|
|
@@ -57,5 +57,5 @@ var _chunkSRXA4Z6Sjs = require('./chunk-SRXA4Z6S.js');
|
|
57
57
|
|
58
58
|
|
59
59
|
|
60
|
-
exports.dropTransaction =
|
60
|
+
exports.dropTransaction = _chunkIUZRZEEUjs.dropTransaction; exports.getAutomine = _chunkIUZRZEEUjs.getAutomine; exports.getTxpoolContent = _chunkIUZRZEEUjs.getTxpoolContent; exports.getTxpoolStatus = _chunkIUZRZEEUjs.getTxpoolStatus; exports.impersonateAccount = _chunkIUZRZEEUjs.impersonateAccount; exports.increaseTime = _chunkIUZRZEEUjs.increaseTime; exports.inspectTxpool = _chunkIUZRZEEUjs.inspectTxpool; exports.mine = _chunkIUZRZEEUjs.mine; exports.removeBlockTimestampInterval = _chunkIUZRZEEUjs.removeBlockTimestampInterval; exports.reset = _chunkIUZRZEEUjs.reset; exports.revert = _chunkIUZRZEEUjs.revert; exports.sendUnsignedTransaction = _chunkIUZRZEEUjs.sendUnsignedTransaction; exports.setAutomine = _chunkIUZRZEEUjs.setAutomine; exports.setBalance = _chunkIUZRZEEUjs.setBalance; exports.setBlockGasLimit = _chunkIUZRZEEUjs.setBlockGasLimit; exports.setBlockTimestampInterval = _chunkIUZRZEEUjs.setBlockTimestampInterval; exports.setCode = _chunkIUZRZEEUjs.setCode; exports.setCoinbase = _chunkIUZRZEEUjs.setCoinbase; exports.setIntervalMining = _chunkIUZRZEEUjs.setIntervalMining; exports.setLoggingEnabled = _chunkIUZRZEEUjs.setLoggingEnabled; exports.setMinGasPrice = _chunkIUZRZEEUjs.setMinGasPrice; exports.setNextBlockBaseFeePerGas = _chunkIUZRZEEUjs.setNextBlockBaseFeePerGas; exports.setNextBlockTimestamp = _chunkIUZRZEEUjs.setNextBlockTimestamp; exports.setNonce = _chunkIUZRZEEUjs.setNonce; exports.setRpcUrl = _chunkIUZRZEEUjs.setRpcUrl; exports.setStorageAt = _chunkIUZRZEEUjs.setStorageAt; exports.snapshot = _chunkIUZRZEEUjs.snapshot; exports.stopImpersonatingAccount = _chunkIUZRZEEUjs.stopImpersonatingAccount;
|
61
61
|
//# sourceMappingURL=test.js.map
|