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