viem 0.2.0-canary.20230316T042447 → 0.2.0-main.20230319T220237
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-ISLCPEI2.mjs → chunk-HZ3XNLWB.mjs} +2 -2
- package/dist/{chunk-ISLCPEI2.mjs.map → chunk-HZ3XNLWB.mjs.map} +1 -1
- package/dist/{chunk-A5BRAPQQ.js → chunk-M5K2FJOM.js} +2 -2
- package/dist/{chunk-A5BRAPQQ.js.map → chunk-M5K2FJOM.js.map} +1 -1
- package/dist/{chunk-PLALZ2GD.mjs → chunk-PCOB33JR.mjs} +2 -2
- package/dist/{chunk-GZ67J32T.js → chunk-YYL4XXAP.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-PLALZ2GD.mjs.map → chunk-PCOB33JR.mjs.map} +0 -0
- /package/dist/{chunk-GZ67J32T.js.map → chunk-YYL4XXAP.js.map} +0 -0
@@ -11,7 +11,7 @@ import {
|
|
11
11
|
stringToBytes,
|
12
12
|
toBytes,
|
13
13
|
toHex
|
14
|
-
} from "./chunk-
|
14
|
+
} from "./chunk-HZ3XNLWB.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-PCOB33JR.mjs.map
|
@@ -11,27 +11,27 @@
|
|
11
11
|
|
12
12
|
|
13
13
|
|
14
|
-
var
|
14
|
+
var _chunkM5K2FJOMjs = require('./chunk-M5K2FJOM.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 _chunkM5K2FJOMjs.bytesToHex.call(void 0, result);
|
21
|
+
return _chunkM5K2FJOMjs.keccak256.call(void 0, _chunkM5K2FJOMjs.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 _chunkM5K2FJOMjs.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 = _chunkM5K2FJOMjs.keccak256.call(void 0, _chunkM5K2FJOMjs.stringToBytes.call(void 0, labels[i]), "bytes");
|
32
|
+
result = _chunkM5K2FJOMjs.keccak256.call(void 0, _chunkM5K2FJOMjs.concat.call(void 0, [result, hashed]), "bytes");
|
33
33
|
}
|
34
|
-
return
|
34
|
+
return _chunkM5K2FJOMjs.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 _chunkM5K2FJOMjs.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 = _chunkM5K2FJOMjs.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 = _chunkM5K2FJOMjs.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 _chunkM5K2FJOMjs.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
|
+
_chunkM5K2FJOMjs.toHex.call(void 0, packetToBytes(name)),
|
98
|
+
_chunkM5K2FJOMjs.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 _chunkM5K2FJOMjs.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 = _chunkM5K2FJOMjs.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 _chunkM5K2FJOMjs.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: [_chunkM5K2FJOMjs.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 _chunkM5K2FJOMjs.ContractFunctionExecutionError && error.cause.reason === _chunkM5K2FJOMjs.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-YYL4XXAP.js.map
|
package/dist/contract.js
CHANGED
@@ -23,7 +23,7 @@
|
|
23
23
|
|
24
24
|
|
25
25
|
|
26
|
-
var
|
26
|
+
var _chunkM5K2FJOMjs = require('./chunk-M5K2FJOM.js');
|
27
27
|
|
28
28
|
|
29
29
|
|
@@ -49,5 +49,5 @@ var _chunkA5BRAPQQjs = require('./chunk-A5BRAPQQ.js');
|
|
49
49
|
|
50
50
|
|
51
51
|
|
52
|
-
exports.createContractEventFilter =
|
52
|
+
exports.createContractEventFilter = _chunkM5K2FJOMjs.createContractEventFilter; exports.decodeAbiParameters = _chunkM5K2FJOMjs.decodeAbiParameters; exports.decodeErrorResult = _chunkM5K2FJOMjs.decodeErrorResult; exports.decodeEventLog = _chunkM5K2FJOMjs.decodeEventLog; exports.decodeFunctionData = _chunkM5K2FJOMjs.decodeFunctionData; exports.decodeFunctionResult = _chunkM5K2FJOMjs.decodeFunctionResult; exports.deployContract = _chunkM5K2FJOMjs.deployContract; exports.encodeAbiParameters = _chunkM5K2FJOMjs.encodeAbiParameters; exports.encodeDeployData = _chunkM5K2FJOMjs.encodeDeployData; exports.encodeErrorResult = _chunkM5K2FJOMjs.encodeErrorResult; exports.encodeEventTopics = _chunkM5K2FJOMjs.encodeEventTopics; exports.encodeFunctionData = _chunkM5K2FJOMjs.encodeFunctionData; exports.encodeFunctionResult = _chunkM5K2FJOMjs.encodeFunctionResult; exports.estimateContractGas = _chunkM5K2FJOMjs.estimateContractGas; exports.formatAbiItem = _chunkM5K2FJOMjs.formatAbiItem; exports.formatAbiItemWithArgs = _chunkM5K2FJOMjs.formatAbiItemWithArgs; exports.getAbiItem = _chunkM5K2FJOMjs.getAbiItem; exports.getBytecode = _chunkM5K2FJOMjs.getBytecode; exports.getStorageAt = _chunkM5K2FJOMjs.getStorageAt; exports.multicall = _chunkM5K2FJOMjs.multicall; exports.readContract = _chunkM5K2FJOMjs.readContract; exports.simulateContract = _chunkM5K2FJOMjs.simulateContract; exports.watchContractEvent = _chunkM5K2FJOMjs.watchContractEvent; exports.writeContract = _chunkM5K2FJOMjs.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 _chunkYYL4XXAPjs = require('./chunk-YYL4XXAP.js');
|
7
|
+
require('./chunk-M5K2FJOM.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 = _chunkYYL4XXAPjs.getEnsAddress; exports.getEnsName = _chunkYYL4XXAPjs.getEnsName; exports.labelhash = _chunkYYL4XXAPjs.labelhash; exports.namehash = _chunkYYL4XXAPjs.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 _chunkM5K2FJOMjs = require('./chunk-M5K2FJOM.js');
|
5
5
|
|
6
6
|
// src/adapters/ethers.ts
|
7
|
-
var getAccount2 = (wallet) =>
|
7
|
+
var getAccount2 = (wallet) => _chunkM5K2FJOMjs.getAccount.call(void 0, {
|
8
8
|
address: wallet.address,
|
9
9
|
async signMessage(message) {
|
10
|
-
return await wallet.signMessage(
|
10
|
+
return await wallet.signMessage(_chunkM5K2FJOMjs.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 _chunkYYL4XXAPjs = require('./chunk-YYL4XXAP.js');
|
7
7
|
|
8
8
|
|
9
9
|
|
@@ -245,7 +245,7 @@ var _chunkGZ67J32Tjs = require('./chunk-GZ67J32T.js');
|
|
245
245
|
|
246
246
|
|
247
247
|
|
248
|
-
var
|
248
|
+
var _chunkM5K2FJOMjs = require('./chunk-M5K2FJOM.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: _chunkM5K2FJOMjs.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 (_chunkM5K2FJOMjs.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, _chunkM5K2FJOMjs.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 _chunkM5K2FJOMjs.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, _chunkM5K2FJOMjs.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 _chunkM5K2FJOMjs.getSocket.call(void 0, url_);
|
377
|
+
const { result } = await _chunkM5K2FJOMjs.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 _chunkM5K2FJOMjs.getSocket.call(void 0, url_);
|
391
391
|
},
|
392
392
|
async subscribe({ params, onData, onError }) {
|
393
|
-
const socket = await
|
393
|
+
const socket = await _chunkM5K2FJOMjs.getSocket.call(void 0, url_);
|
394
394
|
const { result: subscriptionId } = await new Promise(
|
395
|
-
(resolve, reject) =>
|
395
|
+
(resolve, reject) => _chunkM5K2FJOMjs.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) => _chunkM5K2FJOMjs.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) => _chunkM5K2FJOMjs.call.call(void 0, client, args),
|
474
|
+
createBlockFilter: () => _chunkM5K2FJOMjs.createBlockFilter.call(void 0, client),
|
475
|
+
createContractEventFilter: (args) => _chunkM5K2FJOMjs.createContractEventFilter.call(void 0, client, args),
|
476
|
+
createEventFilter: (args) => _chunkM5K2FJOMjs.createEventFilter.call(void 0, client, args),
|
477
|
+
createPendingTransactionFilter: () => _chunkM5K2FJOMjs.createPendingTransactionFilter.call(void 0, client),
|
478
|
+
estimateContractGas: (args) => _chunkM5K2FJOMjs.estimateContractGas.call(void 0, client, args),
|
479
|
+
estimateGas: (args) => _chunkM5K2FJOMjs.estimateGas.call(void 0, client, args),
|
480
|
+
getBalance: (args) => _chunkM5K2FJOMjs.getBalance.call(void 0, client, args),
|
481
|
+
getBlock: (args) => _chunkM5K2FJOMjs.getBlock.call(void 0, client, args),
|
482
|
+
getBlockNumber: (args) => _chunkM5K2FJOMjs.getBlockNumber.call(void 0, client, args),
|
483
|
+
getBlockTransactionCount: (args) => _chunkM5K2FJOMjs.getBlockTransactionCount.call(void 0, client, args),
|
484
|
+
getBytecode: (args) => _chunkM5K2FJOMjs.getBytecode.call(void 0, client, args),
|
485
|
+
getChainId: () => _chunkM5K2FJOMjs.getChainId.call(void 0, client),
|
486
|
+
getEnsAddress: (args) => _chunkYYL4XXAPjs.getEnsAddress.call(void 0, client, args),
|
487
|
+
getEnsName: (args) => _chunkYYL4XXAPjs.getEnsName.call(void 0, client, args),
|
488
|
+
getFeeHistory: (args) => _chunkM5K2FJOMjs.getFeeHistory.call(void 0, client, args),
|
489
|
+
getFilterChanges: (args) => _chunkM5K2FJOMjs.getFilterChanges.call(void 0, client, args),
|
490
|
+
getFilterLogs: (args) => _chunkM5K2FJOMjs.getFilterLogs.call(void 0, client, args),
|
491
|
+
getGasPrice: () => _chunkM5K2FJOMjs.getGasPrice.call(void 0, client),
|
492
|
+
getLogs: (args) => _chunkM5K2FJOMjs.getLogs.call(void 0, client, args),
|
493
|
+
getStorageAt: (args) => _chunkM5K2FJOMjs.getStorageAt.call(void 0, client, args),
|
494
|
+
getTransaction: (args) => _chunkM5K2FJOMjs.getTransaction.call(void 0, client, args),
|
495
|
+
getTransactionConfirmations: (args) => _chunkM5K2FJOMjs.getTransactionConfirmations.call(void 0, client, args),
|
496
|
+
getTransactionCount: (args) => _chunkM5K2FJOMjs.getTransactionCount.call(void 0, client, args),
|
497
|
+
getTransactionReceipt: (args) => _chunkM5K2FJOMjs.getTransactionReceipt.call(void 0, client, args),
|
498
|
+
multicall: (args) => _chunkM5K2FJOMjs.multicall.call(void 0, client, args),
|
499
|
+
readContract: (args) => _chunkM5K2FJOMjs.readContract.call(void 0, client, args),
|
500
|
+
simulateContract: (args) => _chunkM5K2FJOMjs.simulateContract.call(void 0, client, args),
|
501
|
+
uninstallFilter: (args) => _chunkM5K2FJOMjs.uninstallFilter.call(void 0, client, args),
|
502
|
+
waitForTransactionReceipt: (args) => _chunkM5K2FJOMjs.waitForTransactionReceipt.call(void 0, client, args),
|
503
|
+
watchBlocks: (args) => _chunkM5K2FJOMjs.watchBlocks.call(void 0, client, args),
|
504
|
+
watchBlockNumber: (args) => _chunkM5K2FJOMjs.watchBlockNumber.call(void 0, client, args),
|
505
|
+
watchContractEvent: (args) => _chunkM5K2FJOMjs.watchContractEvent.call(void 0, client, args),
|
506
|
+
watchEvent: (args) => _chunkM5K2FJOMjs.watchEvent.call(void 0, client, args),
|
507
|
+
watchPendingTransactions: (args) => _chunkM5K2FJOMjs.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) => _chunkM5K2FJOMjs.dropTransaction.call(void 0, client, args),
|
513
|
+
getAutomine: () => _chunkM5K2FJOMjs.getAutomine.call(void 0, client),
|
514
|
+
getTxpoolContent: () => _chunkM5K2FJOMjs.getTxpoolContent.call(void 0, client),
|
515
|
+
getTxpoolStatus: () => _chunkM5K2FJOMjs.getTxpoolStatus.call(void 0, client),
|
516
|
+
impersonateAccount: (args) => _chunkM5K2FJOMjs.impersonateAccount.call(void 0, client, args),
|
517
|
+
increaseTime: (args) => _chunkM5K2FJOMjs.increaseTime.call(void 0, client, args),
|
518
|
+
inspectTxpool: () => _chunkM5K2FJOMjs.inspectTxpool.call(void 0, client),
|
519
|
+
mine: (args) => _chunkM5K2FJOMjs.mine.call(void 0, client, args),
|
520
|
+
removeBlockTimestampInterval: () => _chunkM5K2FJOMjs.removeBlockTimestampInterval.call(void 0, client),
|
521
|
+
reset: (args) => _chunkM5K2FJOMjs.reset.call(void 0, client, args),
|
522
|
+
revert: (args) => _chunkM5K2FJOMjs.revert.call(void 0, client, args),
|
523
|
+
sendUnsignedTransaction: (args) => _chunkM5K2FJOMjs.sendUnsignedTransaction.call(void 0, client, args),
|
524
|
+
setAutomine: (args) => _chunkM5K2FJOMjs.setAutomine.call(void 0, client, args),
|
525
|
+
setBalance: (args) => _chunkM5K2FJOMjs.setBalance.call(void 0, client, args),
|
526
|
+
setBlockGasLimit: (args) => _chunkM5K2FJOMjs.setBlockGasLimit.call(void 0, client, args),
|
527
|
+
setBlockTimestampInterval: (args) => _chunkM5K2FJOMjs.setBlockTimestampInterval.call(void 0, client, args),
|
528
|
+
setCode: (args) => _chunkM5K2FJOMjs.setCode.call(void 0, client, args),
|
529
|
+
setCoinbase: (args) => _chunkM5K2FJOMjs.setCoinbase.call(void 0, client, args),
|
530
|
+
setIntervalMining: (args) => _chunkM5K2FJOMjs.setIntervalMining.call(void 0, client, args),
|
531
|
+
setLoggingEnabled: (args) => _chunkM5K2FJOMjs.setLoggingEnabled.call(void 0, client, args),
|
532
|
+
setMinGasPrice: (args) => _chunkM5K2FJOMjs.setMinGasPrice.call(void 0, client, args),
|
533
|
+
setNextBlockBaseFeePerGas: (args) => _chunkM5K2FJOMjs.setNextBlockBaseFeePerGas.call(void 0, client, args),
|
534
|
+
setNextBlockTimestamp: (args) => _chunkM5K2FJOMjs.setNextBlockTimestamp.call(void 0, client, args),
|
535
|
+
setNonce: (args) => _chunkM5K2FJOMjs.setNonce.call(void 0, client, args),
|
536
|
+
setRpcUrl: (args) => _chunkM5K2FJOMjs.setRpcUrl.call(void 0, client, args),
|
537
|
+
setStorageAt: (args) => _chunkM5K2FJOMjs.setStorageAt.call(void 0, client, args),
|
538
|
+
snapshot: () => _chunkM5K2FJOMjs.snapshot.call(void 0, client),
|
539
|
+
stopImpersonatingAccount: (args) => _chunkM5K2FJOMjs.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) => _chunkM5K2FJOMjs.addChain.call(void 0, client, args),
|
545
|
+
deployContract: (args) => _chunkM5K2FJOMjs.deployContract.call(void 0, client, args),
|
546
|
+
getAddresses: () => _chunkM5K2FJOMjs.getAddresses.call(void 0, client),
|
547
|
+
getChainId: () => _chunkM5K2FJOMjs.getChainId.call(void 0, client),
|
548
|
+
getPermissions: () => _chunkM5K2FJOMjs.getPermissions.call(void 0, client),
|
549
|
+
requestAddresses: () => _chunkM5K2FJOMjs.requestAddresses.call(void 0, client),
|
550
|
+
requestPermissions: (args) => _chunkM5K2FJOMjs.requestPermissions.call(void 0, client, args),
|
551
|
+
sendTransaction: (args) => _chunkM5K2FJOMjs.sendTransaction.call(void 0, client, args),
|
552
|
+
signMessage: (args) => _chunkM5K2FJOMjs.signMessage.call(void 0, client, args),
|
553
|
+
signTypedData: (args) => _chunkM5K2FJOMjs.signTypedData.call(void 0, client, args),
|
554
|
+
switchChain: (args) => _chunkM5K2FJOMjs.switchChain.call(void 0, client, args),
|
555
|
+
watchAsset: (args) => _chunkM5K2FJOMjs.watchAsset.call(void 0, client, args),
|
556
|
+
writeContract: (args) => _chunkM5K2FJOMjs.writeContract.call(void 0, client, args)
|
557
557
|
});
|
558
558
|
|
559
559
|
// src/clients/createPublicClient.ts
|
@@ -800,5 +800,5 @@ function createWalletClient({
|
|
800
800
|
|
801
801
|
|
802
802
|
|
803
|
-
exports.AbiConstructorNotFoundError = _chunkA5BRAPQQjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkA5BRAPQQjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkA5BRAPQQjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkA5BRAPQQjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkA5BRAPQQjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkA5BRAPQQjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkA5BRAPQQjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkA5BRAPQQjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkA5BRAPQQjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkA5BRAPQQjs.AbiEventNotFoundError; exports.AbiEventSignatureEmptyTopicsError = _chunkA5BRAPQQjs.AbiEventSignatureEmptyTopicsError; exports.AbiEventSignatureNotFoundError = _chunkA5BRAPQQjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkA5BRAPQQjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkA5BRAPQQjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkA5BRAPQQjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkA5BRAPQQjs.BaseError; exports.BlockNotFoundError = _chunkA5BRAPQQjs.BlockNotFoundError; exports.CallExecutionError = _chunkA5BRAPQQjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkA5BRAPQQjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkA5BRAPQQjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkA5BRAPQQjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkA5BRAPQQjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkA5BRAPQQjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkA5BRAPQQjs.DataLengthTooShortError; exports.DecodeLogTopicsMismatch = _chunkA5BRAPQQjs.DecodeLogTopicsMismatch; exports.EstimateGasExecutionError = _chunkA5BRAPQQjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkA5BRAPQQjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkA5BRAPQQjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkA5BRAPQQjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkA5BRAPQQjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkA5BRAPQQjs.HttpRequestError; exports.InsufficientFundsError = _chunkA5BRAPQQjs.InsufficientFundsError; exports.InternalRpcError = _chunkA5BRAPQQjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkA5BRAPQQjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkA5BRAPQQjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkA5BRAPQQjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkA5BRAPQQjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkA5BRAPQQjs.InvalidAddressError; exports.InvalidArrayError = _chunkA5BRAPQQjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkA5BRAPQQjs.InvalidBytesBooleanError; exports.InvalidDefinitionTypeError = _chunkA5BRAPQQjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkA5BRAPQQjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkA5BRAPQQjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkA5BRAPQQjs.InvalidInputRpcError; exports.InvalidParamsRpcError = _chunkA5BRAPQQjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkA5BRAPQQjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkA5BRAPQQjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkA5BRAPQQjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkA5BRAPQQjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkA5BRAPQQjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkA5BRAPQQjs.NonceMaxValueError; exports.NonceTooHighError = _chunkA5BRAPQQjs.NonceTooHighError; exports.NonceTooLowError = _chunkA5BRAPQQjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkA5BRAPQQjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkA5BRAPQQjs.ParseRpcError; exports.RawContractError = _chunkA5BRAPQQjs.RawContractError; exports.RequestError = _chunkA5BRAPQQjs.RequestError; exports.ResourceNotFoundRpcError = _chunkA5BRAPQQjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkA5BRAPQQjs.ResourceUnavailableRpcError; exports.RpcError = _chunkA5BRAPQQjs.RpcError; exports.RpcRequestError = _chunkA5BRAPQQjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkA5BRAPQQjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkA5BRAPQQjs.SwitchChainError; exports.TimeoutError = _chunkA5BRAPQQjs.TimeoutError; exports.TipAboveFeeCapError = _chunkA5BRAPQQjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkA5BRAPQQjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkA5BRAPQQjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkA5BRAPQQjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkA5BRAPQQjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkA5BRAPQQjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkA5BRAPQQjs.UnknownNodeError; exports.UnknownRpcError = _chunkA5BRAPQQjs.UnknownRpcError; exports.UrlRequiredError = _chunkA5BRAPQQjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkA5BRAPQQjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkA5BRAPQQjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkA5BRAPQQjs.WebSocketRequestError; exports.boolToBytes = _chunkA5BRAPQQjs.boolToBytes; exports.boolToHex = _chunkA5BRAPQQjs.boolToHex; exports.bytesToBigint = _chunkA5BRAPQQjs.bytesToBigint; exports.bytesToBool = _chunkA5BRAPQQjs.bytesToBool; exports.bytesToHex = _chunkA5BRAPQQjs.bytesToHex; exports.bytesToNumber = _chunkA5BRAPQQjs.bytesToNumber; exports.bytesToString = _chunkA5BRAPQQjs.bytesToString; exports.concat = _chunkA5BRAPQQjs.concat; exports.concatBytes = _chunkA5BRAPQQjs.concatBytes; exports.concatHex = _chunkA5BRAPQQjs.concatHex; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkA5BRAPQQjs.decodeAbiParameters; exports.decodeErrorResult = _chunkA5BRAPQQjs.decodeErrorResult; exports.decodeEventLog = _chunkA5BRAPQQjs.decodeEventLog; exports.decodeFunctionData = _chunkA5BRAPQQjs.decodeFunctionData; exports.decodeFunctionResult = _chunkA5BRAPQQjs.decodeFunctionResult; exports.defineBlock = _chunkA5BRAPQQjs.defineBlock; exports.defineChain = _chunkA5BRAPQQjs.defineChain; exports.defineTransaction = _chunkA5BRAPQQjs.defineTransaction; exports.defineTransactionReceipt = _chunkA5BRAPQQjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkA5BRAPQQjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkA5BRAPQQjs.encodeAbiParameters; exports.encodeDeployData = _chunkA5BRAPQQjs.encodeDeployData; exports.encodeErrorResult = _chunkA5BRAPQQjs.encodeErrorResult; exports.encodeEventTopics = _chunkA5BRAPQQjs.encodeEventTopics; exports.encodeFunctionData = _chunkA5BRAPQQjs.encodeFunctionData; exports.encodeFunctionResult = _chunkA5BRAPQQjs.encodeFunctionResult; exports.encodePacked = _chunkA5BRAPQQjs.encodePacked; exports.etherUnits = _chunkA5BRAPQQjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkA5BRAPQQjs.formatBlock; exports.formatEther = _chunkA5BRAPQQjs.formatEther; exports.formatGwei = _chunkA5BRAPQQjs.formatGwei; exports.formatTransaction = _chunkA5BRAPQQjs.formatTransaction; exports.formatTransactionRequest = _chunkA5BRAPQQjs.formatTransactionRequest; exports.formatUnits = _chunkA5BRAPQQjs.formatUnits; exports.fromBytes = _chunkA5BRAPQQjs.fromBytes; exports.fromHex = _chunkA5BRAPQQjs.fromHex; exports.fromRlp = _chunkA5BRAPQQjs.fromRlp; exports.getAbiItem = _chunkA5BRAPQQjs.getAbiItem; exports.getAccount = _chunkA5BRAPQQjs.getAccount; exports.getAddress = _chunkA5BRAPQQjs.getAddress; exports.getContractAddress = _chunkA5BRAPQQjs.getContractAddress; exports.getContractError = _chunkA5BRAPQQjs.getContractError; exports.getCreate2Address = _chunkA5BRAPQQjs.getCreate2Address; exports.getCreateAddress = _chunkA5BRAPQQjs.getCreateAddress; exports.getEventSelector = _chunkA5BRAPQQjs.getEventSelector; exports.getFunctionSelector = _chunkA5BRAPQQjs.getFunctionSelector; exports.gweiUnits = _chunkA5BRAPQQjs.gweiUnits; exports.hashMessage = _chunkA5BRAPQQjs.hashMessage; exports.hexToBigInt = _chunkA5BRAPQQjs.hexToBigInt; exports.hexToBool = _chunkA5BRAPQQjs.hexToBool; exports.hexToBytes = _chunkA5BRAPQQjs.hexToBytes; exports.hexToNumber = _chunkA5BRAPQQjs.hexToNumber; exports.hexToString = _chunkA5BRAPQQjs.hexToString; exports.http = http; exports.isAddress = _chunkA5BRAPQQjs.isAddress; exports.isAddressEqual = _chunkA5BRAPQQjs.isAddressEqual; exports.isBytes = _chunkA5BRAPQQjs.isBytes; exports.isHex = _chunkA5BRAPQQjs.isHex; exports.keccak256 = _chunkA5BRAPQQjs.keccak256; exports.labelhash = _chunkGZ67J32Tjs.labelhash; exports.multicall3Abi = _chunkA5BRAPQQjs.multicall3Abi; exports.namehash = _chunkGZ67J32Tjs.namehash; exports.numberToBytes = _chunkA5BRAPQQjs.numberToBytes; exports.numberToHex = _chunkA5BRAPQQjs.numberToHex; exports.pad = _chunkA5BRAPQQjs.pad; exports.padBytes = _chunkA5BRAPQQjs.padBytes; exports.padHex = _chunkA5BRAPQQjs.padHex; exports.parseAbi = _chunkA5BRAPQQjs.parseAbi; exports.parseAbiItem = _chunkA5BRAPQQjs.parseAbiItem; exports.parseAbiParameter = _chunkA5BRAPQQjs.parseAbiParameter; exports.parseAbiParameters = _chunkA5BRAPQQjs.parseAbiParameters; exports.parseEther = _chunkA5BRAPQQjs.parseEther; exports.parseGwei = _chunkA5BRAPQQjs.parseGwei; exports.parseUnits = _chunkA5BRAPQQjs.parseUnits; exports.recoverAddress = _chunkA5BRAPQQjs.recoverAddress; exports.recoverMessageAddress = _chunkA5BRAPQQjs.recoverMessageAddress; exports.size = _chunkA5BRAPQQjs.size; exports.slice = _chunkA5BRAPQQjs.slice; exports.sliceBytes = _chunkA5BRAPQQjs.sliceBytes; exports.sliceHex = _chunkA5BRAPQQjs.sliceHex; exports.stringToBytes = _chunkA5BRAPQQjs.stringToBytes; exports.stringToHex = _chunkA5BRAPQQjs.stringToHex; exports.stringify = _chunkA5BRAPQQjs.stringify; exports.toBytes = _chunkA5BRAPQQjs.toBytes; exports.toHex = _chunkA5BRAPQQjs.toHex; exports.toRlp = _chunkA5BRAPQQjs.toRlp; exports.transactionType = _chunkA5BRAPQQjs.transactionType; exports.trim = _chunkA5BRAPQQjs.trim; exports.verifyMessage = _chunkA5BRAPQQjs.verifyMessage; exports.webSocket = webSocket; exports.weiUnits = _chunkA5BRAPQQjs.weiUnits;
|
803
|
+
exports.AbiConstructorNotFoundError = _chunkM5K2FJOMjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkM5K2FJOMjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkM5K2FJOMjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkM5K2FJOMjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkM5K2FJOMjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkM5K2FJOMjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkM5K2FJOMjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkM5K2FJOMjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkM5K2FJOMjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkM5K2FJOMjs.AbiEventNotFoundError; exports.AbiEventSignatureEmptyTopicsError = _chunkM5K2FJOMjs.AbiEventSignatureEmptyTopicsError; exports.AbiEventSignatureNotFoundError = _chunkM5K2FJOMjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkM5K2FJOMjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkM5K2FJOMjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkM5K2FJOMjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkM5K2FJOMjs.BaseError; exports.BlockNotFoundError = _chunkM5K2FJOMjs.BlockNotFoundError; exports.CallExecutionError = _chunkM5K2FJOMjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkM5K2FJOMjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkM5K2FJOMjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkM5K2FJOMjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkM5K2FJOMjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkM5K2FJOMjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkM5K2FJOMjs.DataLengthTooShortError; exports.DecodeLogTopicsMismatch = _chunkM5K2FJOMjs.DecodeLogTopicsMismatch; exports.EstimateGasExecutionError = _chunkM5K2FJOMjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkM5K2FJOMjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkM5K2FJOMjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkM5K2FJOMjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkM5K2FJOMjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkM5K2FJOMjs.HttpRequestError; exports.InsufficientFundsError = _chunkM5K2FJOMjs.InsufficientFundsError; exports.InternalRpcError = _chunkM5K2FJOMjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkM5K2FJOMjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkM5K2FJOMjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkM5K2FJOMjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkM5K2FJOMjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkM5K2FJOMjs.InvalidAddressError; exports.InvalidArrayError = _chunkM5K2FJOMjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkM5K2FJOMjs.InvalidBytesBooleanError; exports.InvalidDefinitionTypeError = _chunkM5K2FJOMjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkM5K2FJOMjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkM5K2FJOMjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkM5K2FJOMjs.InvalidInputRpcError; exports.InvalidParamsRpcError = _chunkM5K2FJOMjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkM5K2FJOMjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkM5K2FJOMjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkM5K2FJOMjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkM5K2FJOMjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkM5K2FJOMjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkM5K2FJOMjs.NonceMaxValueError; exports.NonceTooHighError = _chunkM5K2FJOMjs.NonceTooHighError; exports.NonceTooLowError = _chunkM5K2FJOMjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkM5K2FJOMjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkM5K2FJOMjs.ParseRpcError; exports.RawContractError = _chunkM5K2FJOMjs.RawContractError; exports.RequestError = _chunkM5K2FJOMjs.RequestError; exports.ResourceNotFoundRpcError = _chunkM5K2FJOMjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkM5K2FJOMjs.ResourceUnavailableRpcError; exports.RpcError = _chunkM5K2FJOMjs.RpcError; exports.RpcRequestError = _chunkM5K2FJOMjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkM5K2FJOMjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkM5K2FJOMjs.SwitchChainError; exports.TimeoutError = _chunkM5K2FJOMjs.TimeoutError; exports.TipAboveFeeCapError = _chunkM5K2FJOMjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkM5K2FJOMjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkM5K2FJOMjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkM5K2FJOMjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkM5K2FJOMjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkM5K2FJOMjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkM5K2FJOMjs.UnknownNodeError; exports.UnknownRpcError = _chunkM5K2FJOMjs.UnknownRpcError; exports.UrlRequiredError = _chunkM5K2FJOMjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkM5K2FJOMjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkM5K2FJOMjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkM5K2FJOMjs.WebSocketRequestError; exports.boolToBytes = _chunkM5K2FJOMjs.boolToBytes; exports.boolToHex = _chunkM5K2FJOMjs.boolToHex; exports.bytesToBigint = _chunkM5K2FJOMjs.bytesToBigint; exports.bytesToBool = _chunkM5K2FJOMjs.bytesToBool; exports.bytesToHex = _chunkM5K2FJOMjs.bytesToHex; exports.bytesToNumber = _chunkM5K2FJOMjs.bytesToNumber; exports.bytesToString = _chunkM5K2FJOMjs.bytesToString; exports.concat = _chunkM5K2FJOMjs.concat; exports.concatBytes = _chunkM5K2FJOMjs.concatBytes; exports.concatHex = _chunkM5K2FJOMjs.concatHex; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkM5K2FJOMjs.decodeAbiParameters; exports.decodeErrorResult = _chunkM5K2FJOMjs.decodeErrorResult; exports.decodeEventLog = _chunkM5K2FJOMjs.decodeEventLog; exports.decodeFunctionData = _chunkM5K2FJOMjs.decodeFunctionData; exports.decodeFunctionResult = _chunkM5K2FJOMjs.decodeFunctionResult; exports.defineBlock = _chunkM5K2FJOMjs.defineBlock; exports.defineChain = _chunkM5K2FJOMjs.defineChain; exports.defineTransaction = _chunkM5K2FJOMjs.defineTransaction; exports.defineTransactionReceipt = _chunkM5K2FJOMjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkM5K2FJOMjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkM5K2FJOMjs.encodeAbiParameters; exports.encodeDeployData = _chunkM5K2FJOMjs.encodeDeployData; exports.encodeErrorResult = _chunkM5K2FJOMjs.encodeErrorResult; exports.encodeEventTopics = _chunkM5K2FJOMjs.encodeEventTopics; exports.encodeFunctionData = _chunkM5K2FJOMjs.encodeFunctionData; exports.encodeFunctionResult = _chunkM5K2FJOMjs.encodeFunctionResult; exports.encodePacked = _chunkM5K2FJOMjs.encodePacked; exports.etherUnits = _chunkM5K2FJOMjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkM5K2FJOMjs.formatBlock; exports.formatEther = _chunkM5K2FJOMjs.formatEther; exports.formatGwei = _chunkM5K2FJOMjs.formatGwei; exports.formatTransaction = _chunkM5K2FJOMjs.formatTransaction; exports.formatTransactionRequest = _chunkM5K2FJOMjs.formatTransactionRequest; exports.formatUnits = _chunkM5K2FJOMjs.formatUnits; exports.fromBytes = _chunkM5K2FJOMjs.fromBytes; exports.fromHex = _chunkM5K2FJOMjs.fromHex; exports.fromRlp = _chunkM5K2FJOMjs.fromRlp; exports.getAbiItem = _chunkM5K2FJOMjs.getAbiItem; exports.getAccount = _chunkM5K2FJOMjs.getAccount; exports.getAddress = _chunkM5K2FJOMjs.getAddress; exports.getContractAddress = _chunkM5K2FJOMjs.getContractAddress; exports.getContractError = _chunkM5K2FJOMjs.getContractError; exports.getCreate2Address = _chunkM5K2FJOMjs.getCreate2Address; exports.getCreateAddress = _chunkM5K2FJOMjs.getCreateAddress; exports.getEventSelector = _chunkM5K2FJOMjs.getEventSelector; exports.getFunctionSelector = _chunkM5K2FJOMjs.getFunctionSelector; exports.gweiUnits = _chunkM5K2FJOMjs.gweiUnits; exports.hashMessage = _chunkM5K2FJOMjs.hashMessage; exports.hexToBigInt = _chunkM5K2FJOMjs.hexToBigInt; exports.hexToBool = _chunkM5K2FJOMjs.hexToBool; exports.hexToBytes = _chunkM5K2FJOMjs.hexToBytes; exports.hexToNumber = _chunkM5K2FJOMjs.hexToNumber; exports.hexToString = _chunkM5K2FJOMjs.hexToString; exports.http = http; exports.isAddress = _chunkM5K2FJOMjs.isAddress; exports.isAddressEqual = _chunkM5K2FJOMjs.isAddressEqual; exports.isBytes = _chunkM5K2FJOMjs.isBytes; exports.isHex = _chunkM5K2FJOMjs.isHex; exports.keccak256 = _chunkM5K2FJOMjs.keccak256; exports.labelhash = _chunkYYL4XXAPjs.labelhash; exports.multicall3Abi = _chunkM5K2FJOMjs.multicall3Abi; exports.namehash = _chunkYYL4XXAPjs.namehash; exports.numberToBytes = _chunkM5K2FJOMjs.numberToBytes; exports.numberToHex = _chunkM5K2FJOMjs.numberToHex; exports.pad = _chunkM5K2FJOMjs.pad; exports.padBytes = _chunkM5K2FJOMjs.padBytes; exports.padHex = _chunkM5K2FJOMjs.padHex; exports.parseAbi = _chunkM5K2FJOMjs.parseAbi; exports.parseAbiItem = _chunkM5K2FJOMjs.parseAbiItem; exports.parseAbiParameter = _chunkM5K2FJOMjs.parseAbiParameter; exports.parseAbiParameters = _chunkM5K2FJOMjs.parseAbiParameters; exports.parseEther = _chunkM5K2FJOMjs.parseEther; exports.parseGwei = _chunkM5K2FJOMjs.parseGwei; exports.parseUnits = _chunkM5K2FJOMjs.parseUnits; exports.recoverAddress = _chunkM5K2FJOMjs.recoverAddress; exports.recoverMessageAddress = _chunkM5K2FJOMjs.recoverMessageAddress; exports.size = _chunkM5K2FJOMjs.size; exports.slice = _chunkM5K2FJOMjs.slice; exports.sliceBytes = _chunkM5K2FJOMjs.sliceBytes; exports.sliceHex = _chunkM5K2FJOMjs.sliceHex; exports.stringToBytes = _chunkM5K2FJOMjs.stringToBytes; exports.stringToHex = _chunkM5K2FJOMjs.stringToHex; exports.stringify = _chunkM5K2FJOMjs.stringify; exports.toBytes = _chunkM5K2FJOMjs.toBytes; exports.toHex = _chunkM5K2FJOMjs.toHex; exports.toRlp = _chunkM5K2FJOMjs.toRlp; exports.transactionType = _chunkM5K2FJOMjs.transactionType; exports.trim = _chunkM5K2FJOMjs.trim; exports.verifyMessage = _chunkM5K2FJOMjs.verifyMessage; exports.webSocket = webSocket; exports.weiUnits = _chunkM5K2FJOMjs.weiUnits;
|
804
804
|
//# 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-PCOB33JR.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-HZ3XNLWB.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 _chunkM5K2FJOMjs = require('./chunk-M5K2FJOM.js');
|
30
30
|
|
31
31
|
|
32
32
|
|
@@ -55,5 +55,5 @@ var _chunkA5BRAPQQjs = require('./chunk-A5BRAPQQ.js');
|
|
55
55
|
|
56
56
|
|
57
57
|
|
58
|
-
exports.call =
|
58
|
+
exports.call = _chunkM5K2FJOMjs.call; exports.createBlockFilter = _chunkM5K2FJOMjs.createBlockFilter; exports.createEventFilter = _chunkM5K2FJOMjs.createEventFilter; exports.createPendingTransactionFilter = _chunkM5K2FJOMjs.createPendingTransactionFilter; exports.estimateGas = _chunkM5K2FJOMjs.estimateGas; exports.getBalance = _chunkM5K2FJOMjs.getBalance; exports.getBlock = _chunkM5K2FJOMjs.getBlock; exports.getBlockNumber = _chunkM5K2FJOMjs.getBlockNumber; exports.getBlockNumberCache = _chunkM5K2FJOMjs.getBlockNumberCache; exports.getBlockTransactionCount = _chunkM5K2FJOMjs.getBlockTransactionCount; exports.getBytecode = _chunkM5K2FJOMjs.getBytecode; exports.getChainId = _chunkM5K2FJOMjs.getChainId; exports.getFeeHistory = _chunkM5K2FJOMjs.getFeeHistory; exports.getFilterChanges = _chunkM5K2FJOMjs.getFilterChanges; exports.getFilterLogs = _chunkM5K2FJOMjs.getFilterLogs; exports.getGasPrice = _chunkM5K2FJOMjs.getGasPrice; exports.getLogs = _chunkM5K2FJOMjs.getLogs; exports.getTransaction = _chunkM5K2FJOMjs.getTransaction; exports.getTransactionConfirmations = _chunkM5K2FJOMjs.getTransactionConfirmations; exports.getTransactionCount = _chunkM5K2FJOMjs.getTransactionCount; exports.getTransactionReceipt = _chunkM5K2FJOMjs.getTransactionReceipt; exports.uninstallFilter = _chunkM5K2FJOMjs.uninstallFilter; exports.waitForTransactionReceipt = _chunkM5K2FJOMjs.waitForTransactionReceipt; exports.watchBlockNumber = _chunkM5K2FJOMjs.watchBlockNumber; exports.watchBlocks = _chunkM5K2FJOMjs.watchBlocks; exports.watchEvent = _chunkM5K2FJOMjs.watchEvent; exports.watchPendingTransactions = _chunkM5K2FJOMjs.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 _chunkM5K2FJOMjs = require('./chunk-M5K2FJOM.js');
|
31
31
|
|
32
32
|
|
33
33
|
|
@@ -57,5 +57,5 @@ var _chunkA5BRAPQQjs = require('./chunk-A5BRAPQQ.js');
|
|
57
57
|
|
58
58
|
|
59
59
|
|
60
|
-
exports.dropTransaction =
|
60
|
+
exports.dropTransaction = _chunkM5K2FJOMjs.dropTransaction; exports.getAutomine = _chunkM5K2FJOMjs.getAutomine; exports.getTxpoolContent = _chunkM5K2FJOMjs.getTxpoolContent; exports.getTxpoolStatus = _chunkM5K2FJOMjs.getTxpoolStatus; exports.impersonateAccount = _chunkM5K2FJOMjs.impersonateAccount; exports.increaseTime = _chunkM5K2FJOMjs.increaseTime; exports.inspectTxpool = _chunkM5K2FJOMjs.inspectTxpool; exports.mine = _chunkM5K2FJOMjs.mine; exports.removeBlockTimestampInterval = _chunkM5K2FJOMjs.removeBlockTimestampInterval; exports.reset = _chunkM5K2FJOMjs.reset; exports.revert = _chunkM5K2FJOMjs.revert; exports.sendUnsignedTransaction = _chunkM5K2FJOMjs.sendUnsignedTransaction; exports.setAutomine = _chunkM5K2FJOMjs.setAutomine; exports.setBalance = _chunkM5K2FJOMjs.setBalance; exports.setBlockGasLimit = _chunkM5K2FJOMjs.setBlockGasLimit; exports.setBlockTimestampInterval = _chunkM5K2FJOMjs.setBlockTimestampInterval; exports.setCode = _chunkM5K2FJOMjs.setCode; exports.setCoinbase = _chunkM5K2FJOMjs.setCoinbase; exports.setIntervalMining = _chunkM5K2FJOMjs.setIntervalMining; exports.setLoggingEnabled = _chunkM5K2FJOMjs.setLoggingEnabled; exports.setMinGasPrice = _chunkM5K2FJOMjs.setMinGasPrice; exports.setNextBlockBaseFeePerGas = _chunkM5K2FJOMjs.setNextBlockBaseFeePerGas; exports.setNextBlockTimestamp = _chunkM5K2FJOMjs.setNextBlockTimestamp; exports.setNonce = _chunkM5K2FJOMjs.setNonce; exports.setRpcUrl = _chunkM5K2FJOMjs.setRpcUrl; exports.setStorageAt = _chunkM5K2FJOMjs.setStorageAt; exports.snapshot = _chunkM5K2FJOMjs.snapshot; exports.stopImpersonatingAccount = _chunkM5K2FJOMjs.stopImpersonatingAccount;
|
61
61
|
//# sourceMappingURL=test.js.map
|