viem 0.0.1-alpha.37 → 0.0.1-alpha.38
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 +46 -46
- package/dist/chains.mjs +1 -1
- package/dist/{chunk-WVZFIDQ5.mjs → chunk-6HE2CZVN.mjs} +6 -3
- package/dist/chunk-6HE2CZVN.mjs.map +1 -0
- package/dist/{chunk-534U2FZG.js → chunk-FRQ7AKUZ.js} +6 -3
- package/dist/chunk-FRQ7AKUZ.js.map +1 -0
- package/dist/{chunk-JXFHSHM6.js → chunk-OZ4DLQQM.js} +21 -21
- package/dist/{chunk-AS2YWIFN.mjs → chunk-VE26HLH7.mjs} +2 -2
- package/dist/contract.js +2 -2
- package/dist/contract.mjs +1 -1
- package/dist/ens.js +3 -3
- package/dist/ens.mjs +2 -2
- package/dist/index.js +88 -88
- 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-534U2FZG.js.map +0 -1
- package/dist/chunk-WVZFIDQ5.mjs.map +0 -1
- /package/dist/{chunk-JXFHSHM6.js.map → chunk-OZ4DLQQM.js.map} +0 -0
- /package/dist/{chunk-AS2YWIFN.mjs.map → chunk-VE26HLH7.mjs.map} +0 -0
@@ -11,27 +11,27 @@
|
|
11
11
|
|
12
12
|
|
13
13
|
|
14
|
-
var
|
14
|
+
var _chunkFRQ7AKUZjs = require('./chunk-FRQ7AKUZ.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 _chunkFRQ7AKUZjs.bytesToHex.call(void 0, result);
|
21
|
+
return _chunkFRQ7AKUZjs.keccak256.call(void 0, _chunkFRQ7AKUZjs.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 _chunkFRQ7AKUZjs.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 = _chunkFRQ7AKUZjs.keccak256.call(void 0, _chunkFRQ7AKUZjs.stringToBytes.call(void 0, labels[i]), "bytes");
|
32
|
+
result = _chunkFRQ7AKUZjs.keccak256.call(void 0, _chunkFRQ7AKUZjs.concat.call(void 0, [result, hashed]), "bytes");
|
33
33
|
}
|
34
|
-
return
|
34
|
+
return _chunkFRQ7AKUZjs.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 _chunkFRQ7AKUZjs.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 = _chunkFRQ7AKUZjs.toBytes.call(void 0, list[i]);
|
52
52
|
bytes[offset] = encoded.length;
|
53
53
|
bytes.set(encoded, offset + 1);
|
54
54
|
offset += encoded.length + 1;
|
@@ -71,12 +71,12 @@ async function getEnsAddress(client, {
|
|
71
71
|
);
|
72
72
|
const contract = _optionalChain([client, 'access', _ => _.chain, 'optionalAccess', _2 => _2.contracts, 'optionalAccess', _3 => _3.ensUniversalResolver]);
|
73
73
|
if (!contract)
|
74
|
-
throw new (0,
|
74
|
+
throw new (0, _chunkFRQ7AKUZjs.ChainDoesNotSupportContract)({
|
75
75
|
chain: client.chain,
|
76
76
|
contract: { name: "ensUniversalResolver" }
|
77
77
|
});
|
78
78
|
if (blockNumber && contract.blockCreated && contract.blockCreated > blockNumber)
|
79
|
-
throw new (0,
|
79
|
+
throw new (0, _chunkFRQ7AKUZjs.ChainDoesNotSupportContract)({
|
80
80
|
blockNumber,
|
81
81
|
chain: client.chain,
|
82
82
|
contract: {
|
@@ -86,7 +86,7 @@ async function getEnsAddress(client, {
|
|
86
86
|
});
|
87
87
|
universalResolverAddress = contract.address;
|
88
88
|
}
|
89
|
-
const res = await
|
89
|
+
const res = await _chunkFRQ7AKUZjs.readContract.call(void 0, client, {
|
90
90
|
address: universalResolverAddress,
|
91
91
|
abi: [
|
92
92
|
{
|
@@ -105,8 +105,8 @@ async function getEnsAddress(client, {
|
|
105
105
|
],
|
106
106
|
functionName: "resolve",
|
107
107
|
args: [
|
108
|
-
|
109
|
-
|
108
|
+
_chunkFRQ7AKUZjs.toHex.call(void 0, packetToBytes(name)),
|
109
|
+
_chunkFRQ7AKUZjs.encodeFunctionData.call(void 0, {
|
110
110
|
abi: [
|
111
111
|
{
|
112
112
|
name: "addr",
|
@@ -123,7 +123,7 @@ async function getEnsAddress(client, {
|
|
123
123
|
blockNumber,
|
124
124
|
blockTag
|
125
125
|
});
|
126
|
-
return
|
126
|
+
return _chunkFRQ7AKUZjs.decodeFunctionResult.call(void 0, {
|
127
127
|
abi: [
|
128
128
|
{
|
129
129
|
name: "addr",
|
@@ -153,12 +153,12 @@ async function getEnsName(client, {
|
|
153
153
|
);
|
154
154
|
const contract = _optionalChain([client, 'access', _4 => _4.chain, 'optionalAccess', _5 => _5.contracts, 'optionalAccess', _6 => _6.ensUniversalResolver]);
|
155
155
|
if (!contract)
|
156
|
-
throw new (0,
|
156
|
+
throw new (0, _chunkFRQ7AKUZjs.ChainDoesNotSupportContract)({
|
157
157
|
chain: client.chain,
|
158
158
|
contract: { name: "ensUniversalResolver" }
|
159
159
|
});
|
160
160
|
if (blockNumber && contract.blockCreated && contract.blockCreated > blockNumber)
|
161
|
-
throw new (0,
|
161
|
+
throw new (0, _chunkFRQ7AKUZjs.ChainDoesNotSupportContract)({
|
162
162
|
blockNumber,
|
163
163
|
chain: client.chain,
|
164
164
|
contract: {
|
@@ -170,7 +170,7 @@ async function getEnsName(client, {
|
|
170
170
|
}
|
171
171
|
const reverseNode = `${address.toLowerCase().substring(2)}.addr.reverse`;
|
172
172
|
try {
|
173
|
-
const res = await
|
173
|
+
const res = await _chunkFRQ7AKUZjs.readContract.call(void 0, client, {
|
174
174
|
address: universalResolverAddress,
|
175
175
|
abi: [
|
176
176
|
{
|
@@ -187,13 +187,13 @@ async function getEnsName(client, {
|
|
187
187
|
}
|
188
188
|
],
|
189
189
|
functionName: "reverse",
|
190
|
-
args: [
|
190
|
+
args: [_chunkFRQ7AKUZjs.toHex.call(void 0, packetToBytes(reverseNode))],
|
191
191
|
blockNumber,
|
192
192
|
blockTag
|
193
193
|
});
|
194
194
|
return res[0];
|
195
195
|
} catch (error) {
|
196
|
-
if (error instanceof
|
196
|
+
if (error instanceof _chunkFRQ7AKUZjs.ContractFunctionExecutionError && error.cause.reason === _chunkFRQ7AKUZjs.panicReasons[50])
|
197
197
|
return null;
|
198
198
|
throw error;
|
199
199
|
}
|
@@ -205,4 +205,4 @@ async function getEnsName(client, {
|
|
205
205
|
|
206
206
|
|
207
207
|
exports.labelhash = labelhash; exports.namehash = namehash; exports.getEnsAddress = getEnsAddress; exports.getEnsName = getEnsName;
|
208
|
-
//# sourceMappingURL=chunk-
|
208
|
+
//# sourceMappingURL=chunk-OZ4DLQQM.js.map
|
@@ -11,7 +11,7 @@ import {
|
|
11
11
|
stringToBytes,
|
12
12
|
toBytes,
|
13
13
|
toHex
|
14
|
-
} from "./chunk-
|
14
|
+
} from "./chunk-6HE2CZVN.mjs";
|
15
15
|
|
16
16
|
// src/utils/ens/labelhash.ts
|
17
17
|
function labelhash(label) {
|
@@ -205,4 +205,4 @@ export {
|
|
205
205
|
getEnsAddress,
|
206
206
|
getEnsName
|
207
207
|
};
|
208
|
-
//# sourceMappingURL=chunk-
|
208
|
+
//# sourceMappingURL=chunk-VE26HLH7.mjs.map
|
package/dist/contract.js
CHANGED
@@ -23,7 +23,7 @@
|
|
23
23
|
|
24
24
|
|
25
25
|
|
26
|
-
var
|
26
|
+
var _chunkFRQ7AKUZjs = require('./chunk-FRQ7AKUZ.js');
|
27
27
|
|
28
28
|
|
29
29
|
|
@@ -49,5 +49,5 @@ var _chunk534U2FZGjs = require('./chunk-534U2FZG.js');
|
|
49
49
|
|
50
50
|
|
51
51
|
|
52
|
-
exports.createContractEventFilter =
|
52
|
+
exports.createContractEventFilter = _chunkFRQ7AKUZjs.createContractEventFilter; exports.decodeAbiParameters = _chunkFRQ7AKUZjs.decodeAbiParameters; exports.decodeErrorResult = _chunkFRQ7AKUZjs.decodeErrorResult; exports.decodeEventLog = _chunkFRQ7AKUZjs.decodeEventLog; exports.decodeFunctionData = _chunkFRQ7AKUZjs.decodeFunctionData; exports.decodeFunctionResult = _chunkFRQ7AKUZjs.decodeFunctionResult; exports.deployContract = _chunkFRQ7AKUZjs.deployContract; exports.encodeAbiParameters = _chunkFRQ7AKUZjs.encodeAbiParameters; exports.encodeDeployData = _chunkFRQ7AKUZjs.encodeDeployData; exports.encodeErrorResult = _chunkFRQ7AKUZjs.encodeErrorResult; exports.encodeEventTopics = _chunkFRQ7AKUZjs.encodeEventTopics; exports.encodeFunctionData = _chunkFRQ7AKUZjs.encodeFunctionData; exports.encodeFunctionResult = _chunkFRQ7AKUZjs.encodeFunctionResult; exports.estimateContractGas = _chunkFRQ7AKUZjs.estimateContractGas; exports.formatAbiItem = _chunkFRQ7AKUZjs.formatAbiItem; exports.formatAbiItemWithArgs = _chunkFRQ7AKUZjs.formatAbiItemWithArgs; exports.getAbiItem = _chunkFRQ7AKUZjs.getAbiItem; exports.getBytecode = _chunkFRQ7AKUZjs.getBytecode; exports.getStorageAt = _chunkFRQ7AKUZjs.getStorageAt; exports.multicall = _chunkFRQ7AKUZjs.multicall; exports.readContract = _chunkFRQ7AKUZjs.readContract; exports.simulateContract = _chunkFRQ7AKUZjs.simulateContract; exports.watchContractEvent = _chunkFRQ7AKUZjs.watchContractEvent; exports.writeContract = _chunkFRQ7AKUZjs.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 _chunkOZ4DLQQMjs = require('./chunk-OZ4DLQQM.js');
|
7
|
+
require('./chunk-FRQ7AKUZ.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 = _chunkOZ4DLQQMjs.getEnsAddress; exports.getEnsName = _chunkOZ4DLQQMjs.getEnsName; exports.labelhash = _chunkOZ4DLQQMjs.labelhash; exports.namehash = _chunkOZ4DLQQMjs.namehash; exports.normalize = normalize;
|
21
21
|
//# sourceMappingURL=ens.js.map
|
package/dist/ens.mjs
CHANGED
package/dist/index.js
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
|
5
5
|
|
6
|
-
var
|
6
|
+
var _chunkOZ4DLQQMjs = require('./chunk-OZ4DLQQM.js');
|
7
7
|
|
8
8
|
|
9
9
|
|
@@ -229,7 +229,7 @@ var _chunkJXFHSHM6js = require('./chunk-JXFHSHM6.js');
|
|
229
229
|
|
230
230
|
|
231
231
|
|
232
|
-
var
|
232
|
+
var _chunkFRQ7AKUZjs = require('./chunk-FRQ7AKUZ.js');
|
233
233
|
|
234
234
|
// src/clients/transports/createTransport.ts
|
235
235
|
function createTransport({
|
@@ -243,7 +243,7 @@ function createTransport({
|
|
243
243
|
}, value) {
|
244
244
|
return {
|
245
245
|
config: { key, name, request, retryCount, retryDelay, timeout, type },
|
246
|
-
request:
|
246
|
+
request: _chunkFRQ7AKUZjs.buildRequest.call(void 0, request, { retryCount, retryDelay }),
|
247
247
|
value
|
248
248
|
};
|
249
249
|
}
|
@@ -277,7 +277,7 @@ function fallback(transports, config = {}) {
|
|
277
277
|
params
|
278
278
|
});
|
279
279
|
} catch (err) {
|
280
|
-
if (
|
280
|
+
if (_chunkFRQ7AKUZjs.isDeterministicError.call(void 0, err))
|
281
281
|
throw err;
|
282
282
|
if (i === transports.length - 1)
|
283
283
|
throw err;
|
@@ -311,13 +311,13 @@ function http(url, config = {}) {
|
|
311
311
|
const retryCount = _nullishCoalesce(config.retryCount, () => ( defaultRetryCount));
|
312
312
|
const url_ = url || _optionalChain([chain, 'optionalAccess', _ => _.rpcUrls, 'access', _2 => _2.default, 'access', _3 => _3.http, 'access', _4 => _4[0]]);
|
313
313
|
if (!url_)
|
314
|
-
throw new (0,
|
314
|
+
throw new (0, _chunkFRQ7AKUZjs.UrlRequiredError)();
|
315
315
|
return createTransport(
|
316
316
|
{
|
317
317
|
key,
|
318
318
|
name,
|
319
319
|
async request({ method, params }) {
|
320
|
-
const { result } = await
|
320
|
+
const { result } = await _chunkFRQ7AKUZjs.rpc.http(url_, {
|
321
321
|
body: {
|
322
322
|
method,
|
323
323
|
params
|
@@ -351,14 +351,14 @@ function webSocket(url, config = {}) {
|
|
351
351
|
const retryCount = _nullishCoalesce(config.retryCount, () => ( defaultRetryCount));
|
352
352
|
const url_ = url || _optionalChain([chain, 'optionalAccess', _5 => _5.rpcUrls, 'access', _6 => _6.default, 'access', _7 => _7.webSocket, 'optionalAccess', _8 => _8[0]]);
|
353
353
|
if (!url_)
|
354
|
-
throw new (0,
|
354
|
+
throw new (0, _chunkFRQ7AKUZjs.UrlRequiredError)();
|
355
355
|
return createTransport(
|
356
356
|
{
|
357
357
|
key,
|
358
358
|
name,
|
359
359
|
async request({ method, params }) {
|
360
|
-
const socket = await
|
361
|
-
const { result } = await
|
360
|
+
const socket = await _chunkFRQ7AKUZjs.getSocket.call(void 0, url_);
|
361
|
+
const { result } = await _chunkFRQ7AKUZjs.rpc.webSocketAsync(socket, {
|
362
362
|
body: { method, params },
|
363
363
|
timeout
|
364
364
|
});
|
@@ -371,12 +371,12 @@ function webSocket(url, config = {}) {
|
|
371
371
|
},
|
372
372
|
{
|
373
373
|
getSocket() {
|
374
|
-
return
|
374
|
+
return _chunkFRQ7AKUZjs.getSocket.call(void 0, url_);
|
375
375
|
},
|
376
376
|
async subscribe({ params, onData, onError }) {
|
377
|
-
const socket = await
|
377
|
+
const socket = await _chunkFRQ7AKUZjs.getSocket.call(void 0, url_);
|
378
378
|
const { result: subscriptionId } = await new Promise(
|
379
|
-
(resolve, reject) =>
|
379
|
+
(resolve, reject) => _chunkFRQ7AKUZjs.rpc.webSocket(socket, {
|
380
380
|
body: {
|
381
381
|
method: "eth_subscribe",
|
382
382
|
params
|
@@ -398,7 +398,7 @@ function webSocket(url, config = {}) {
|
|
398
398
|
subscriptionId,
|
399
399
|
async unsubscribe() {
|
400
400
|
return new Promise(
|
401
|
-
(resolve, reject) =>
|
401
|
+
(resolve, reject) => _chunkFRQ7AKUZjs.rpc.webSocket(socket, {
|
402
402
|
body: {
|
403
403
|
method: "eth_unsubscribe",
|
404
404
|
params: [subscriptionId]
|
@@ -454,88 +454,88 @@ function createClient({
|
|
454
454
|
|
455
455
|
// src/clients/decorators/public.ts
|
456
456
|
var publicActions = (client) => ({
|
457
|
-
call: (args) =>
|
458
|
-
createBlockFilter: () =>
|
459
|
-
createContractEventFilter: (args) =>
|
460
|
-
createEventFilter: (args) =>
|
461
|
-
createPendingTransactionFilter: () =>
|
462
|
-
estimateContractGas: (args) =>
|
463
|
-
estimateGas: (args) =>
|
464
|
-
getBalance: (args) =>
|
465
|
-
getBlock: (args) =>
|
466
|
-
getBlockNumber: (args) =>
|
467
|
-
getBlockTransactionCount: (args) =>
|
468
|
-
getBytecode: (args) =>
|
469
|
-
getChainId: () =>
|
470
|
-
getEnsAddress: (args) =>
|
471
|
-
getEnsName: (args) =>
|
472
|
-
getFeeHistory: (args) =>
|
473
|
-
getFilterChanges: (args) =>
|
474
|
-
getFilterLogs: (args) =>
|
475
|
-
getGasPrice: () =>
|
476
|
-
getLogs: (args) =>
|
477
|
-
getStorageAt: (args) =>
|
478
|
-
getTransaction: (args) =>
|
479
|
-
getTransactionConfirmations: (args) =>
|
480
|
-
getTransactionReceipt: (args) =>
|
481
|
-
multicall: (args) =>
|
482
|
-
readContract: (args) =>
|
483
|
-
simulateContract: (args) =>
|
484
|
-
uninstallFilter: (args) =>
|
485
|
-
waitForTransactionReceipt: (args) =>
|
486
|
-
watchBlocks: (args) =>
|
487
|
-
watchBlockNumber: (args) =>
|
488
|
-
watchContractEvent: (args) =>
|
489
|
-
watchEvent: (args) =>
|
490
|
-
watchPendingTransactions: (args) =>
|
457
|
+
call: (args) => _chunkFRQ7AKUZjs.call.call(void 0, client, args),
|
458
|
+
createBlockFilter: () => _chunkFRQ7AKUZjs.createBlockFilter.call(void 0, client),
|
459
|
+
createContractEventFilter: (args) => _chunkFRQ7AKUZjs.createContractEventFilter.call(void 0, client, args),
|
460
|
+
createEventFilter: (args) => _chunkFRQ7AKUZjs.createEventFilter.call(void 0, client, args),
|
461
|
+
createPendingTransactionFilter: () => _chunkFRQ7AKUZjs.createPendingTransactionFilter.call(void 0, client),
|
462
|
+
estimateContractGas: (args) => _chunkFRQ7AKUZjs.estimateContractGas.call(void 0, client, args),
|
463
|
+
estimateGas: (args) => _chunkFRQ7AKUZjs.estimateGas.call(void 0, client, args),
|
464
|
+
getBalance: (args) => _chunkFRQ7AKUZjs.getBalance.call(void 0, client, args),
|
465
|
+
getBlock: (args) => _chunkFRQ7AKUZjs.getBlock.call(void 0, client, args),
|
466
|
+
getBlockNumber: (args) => _chunkFRQ7AKUZjs.getBlockNumber.call(void 0, client, args),
|
467
|
+
getBlockTransactionCount: (args) => _chunkFRQ7AKUZjs.getBlockTransactionCount.call(void 0, client, args),
|
468
|
+
getBytecode: (args) => _chunkFRQ7AKUZjs.getBytecode.call(void 0, client, args),
|
469
|
+
getChainId: () => _chunkFRQ7AKUZjs.getChainId.call(void 0, client),
|
470
|
+
getEnsAddress: (args) => _chunkOZ4DLQQMjs.getEnsAddress.call(void 0, client, args),
|
471
|
+
getEnsName: (args) => _chunkOZ4DLQQMjs.getEnsName.call(void 0, client, args),
|
472
|
+
getFeeHistory: (args) => _chunkFRQ7AKUZjs.getFeeHistory.call(void 0, client, args),
|
473
|
+
getFilterChanges: (args) => _chunkFRQ7AKUZjs.getFilterChanges.call(void 0, client, args),
|
474
|
+
getFilterLogs: (args) => _chunkFRQ7AKUZjs.getFilterLogs.call(void 0, client, args),
|
475
|
+
getGasPrice: () => _chunkFRQ7AKUZjs.getGasPrice.call(void 0, client),
|
476
|
+
getLogs: (args) => _chunkFRQ7AKUZjs.getLogs.call(void 0, client, args),
|
477
|
+
getStorageAt: (args) => _chunkFRQ7AKUZjs.getStorageAt.call(void 0, client, args),
|
478
|
+
getTransaction: (args) => _chunkFRQ7AKUZjs.getTransaction.call(void 0, client, args),
|
479
|
+
getTransactionConfirmations: (args) => _chunkFRQ7AKUZjs.getTransactionConfirmations.call(void 0, client, args),
|
480
|
+
getTransactionReceipt: (args) => _chunkFRQ7AKUZjs.getTransactionReceipt.call(void 0, client, args),
|
481
|
+
multicall: (args) => _chunkFRQ7AKUZjs.multicall.call(void 0, client, args),
|
482
|
+
readContract: (args) => _chunkFRQ7AKUZjs.readContract.call(void 0, client, args),
|
483
|
+
simulateContract: (args) => _chunkFRQ7AKUZjs.simulateContract.call(void 0, client, args),
|
484
|
+
uninstallFilter: (args) => _chunkFRQ7AKUZjs.uninstallFilter.call(void 0, client, args),
|
485
|
+
waitForTransactionReceipt: (args) => _chunkFRQ7AKUZjs.waitForTransactionReceipt.call(void 0, client, args),
|
486
|
+
watchBlocks: (args) => _chunkFRQ7AKUZjs.watchBlocks.call(void 0, client, args),
|
487
|
+
watchBlockNumber: (args) => _chunkFRQ7AKUZjs.watchBlockNumber.call(void 0, client, args),
|
488
|
+
watchContractEvent: (args) => _chunkFRQ7AKUZjs.watchContractEvent.call(void 0, client, args),
|
489
|
+
watchEvent: (args) => _chunkFRQ7AKUZjs.watchEvent.call(void 0, client, args),
|
490
|
+
watchPendingTransactions: (args) => _chunkFRQ7AKUZjs.watchPendingTransactions.call(void 0, client, args)
|
491
491
|
});
|
492
492
|
|
493
493
|
// src/clients/decorators/test.ts
|
494
494
|
var testActions = (client) => ({
|
495
|
-
dropTransaction: (args) =>
|
496
|
-
getAutomine: () =>
|
497
|
-
getTxpoolContent: () =>
|
498
|
-
getTxpoolStatus: () =>
|
499
|
-
impersonateAccount: (args) =>
|
500
|
-
increaseTime: (args) =>
|
501
|
-
inspectTxpool: () =>
|
502
|
-
mine: (args) =>
|
503
|
-
removeBlockTimestampInterval: () =>
|
504
|
-
reset: (args) =>
|
505
|
-
revert: (args) =>
|
506
|
-
sendUnsignedTransaction: (args) =>
|
507
|
-
setAutomine: (args) =>
|
508
|
-
setBalance: (args) =>
|
509
|
-
setBlockGasLimit: (args) =>
|
510
|
-
setBlockTimestampInterval: (args) =>
|
511
|
-
setCode: (args) =>
|
512
|
-
setCoinbase: (args) =>
|
513
|
-
setIntervalMining: (args) =>
|
514
|
-
setLoggingEnabled: (args) =>
|
515
|
-
setMinGasPrice: (args) =>
|
516
|
-
setNextBlockBaseFeePerGas: (args) =>
|
517
|
-
setNextBlockTimestamp: (args) =>
|
518
|
-
setNonce: (args) =>
|
519
|
-
setRpcUrl: (args) =>
|
520
|
-
setStorageAt: (args) =>
|
521
|
-
snapshot: () =>
|
522
|
-
stopImpersonatingAccount: (args) =>
|
495
|
+
dropTransaction: (args) => _chunkFRQ7AKUZjs.dropTransaction.call(void 0, client, args),
|
496
|
+
getAutomine: () => _chunkFRQ7AKUZjs.getAutomine.call(void 0, client),
|
497
|
+
getTxpoolContent: () => _chunkFRQ7AKUZjs.getTxpoolContent.call(void 0, client),
|
498
|
+
getTxpoolStatus: () => _chunkFRQ7AKUZjs.getTxpoolStatus.call(void 0, client),
|
499
|
+
impersonateAccount: (args) => _chunkFRQ7AKUZjs.impersonateAccount.call(void 0, client, args),
|
500
|
+
increaseTime: (args) => _chunkFRQ7AKUZjs.increaseTime.call(void 0, client, args),
|
501
|
+
inspectTxpool: () => _chunkFRQ7AKUZjs.inspectTxpool.call(void 0, client),
|
502
|
+
mine: (args) => _chunkFRQ7AKUZjs.mine.call(void 0, client, args),
|
503
|
+
removeBlockTimestampInterval: () => _chunkFRQ7AKUZjs.removeBlockTimestampInterval.call(void 0, client),
|
504
|
+
reset: (args) => _chunkFRQ7AKUZjs.reset.call(void 0, client, args),
|
505
|
+
revert: (args) => _chunkFRQ7AKUZjs.revert.call(void 0, client, args),
|
506
|
+
sendUnsignedTransaction: (args) => _chunkFRQ7AKUZjs.sendUnsignedTransaction.call(void 0, client, args),
|
507
|
+
setAutomine: (args) => _chunkFRQ7AKUZjs.setAutomine.call(void 0, client, args),
|
508
|
+
setBalance: (args) => _chunkFRQ7AKUZjs.setBalance.call(void 0, client, args),
|
509
|
+
setBlockGasLimit: (args) => _chunkFRQ7AKUZjs.setBlockGasLimit.call(void 0, client, args),
|
510
|
+
setBlockTimestampInterval: (args) => _chunkFRQ7AKUZjs.setBlockTimestampInterval.call(void 0, client, args),
|
511
|
+
setCode: (args) => _chunkFRQ7AKUZjs.setCode.call(void 0, client, args),
|
512
|
+
setCoinbase: (args) => _chunkFRQ7AKUZjs.setCoinbase.call(void 0, client, args),
|
513
|
+
setIntervalMining: (args) => _chunkFRQ7AKUZjs.setIntervalMining.call(void 0, client, args),
|
514
|
+
setLoggingEnabled: (args) => _chunkFRQ7AKUZjs.setLoggingEnabled.call(void 0, client, args),
|
515
|
+
setMinGasPrice: (args) => _chunkFRQ7AKUZjs.setMinGasPrice.call(void 0, client, args),
|
516
|
+
setNextBlockBaseFeePerGas: (args) => _chunkFRQ7AKUZjs.setNextBlockBaseFeePerGas.call(void 0, client, args),
|
517
|
+
setNextBlockTimestamp: (args) => _chunkFRQ7AKUZjs.setNextBlockTimestamp.call(void 0, client, args),
|
518
|
+
setNonce: (args) => _chunkFRQ7AKUZjs.setNonce.call(void 0, client, args),
|
519
|
+
setRpcUrl: (args) => _chunkFRQ7AKUZjs.setRpcUrl.call(void 0, client, args),
|
520
|
+
setStorageAt: (args) => _chunkFRQ7AKUZjs.setStorageAt.call(void 0, client, args),
|
521
|
+
snapshot: () => _chunkFRQ7AKUZjs.snapshot.call(void 0, client),
|
522
|
+
stopImpersonatingAccount: (args) => _chunkFRQ7AKUZjs.stopImpersonatingAccount.call(void 0, client, args)
|
523
523
|
});
|
524
524
|
|
525
525
|
// src/clients/decorators/wallet.ts
|
526
526
|
var walletActions = (client) => ({
|
527
|
-
addChain: (args) =>
|
528
|
-
deployContract: (args) =>
|
529
|
-
getAddresses: () =>
|
530
|
-
getChainId: () =>
|
531
|
-
getPermissions: () =>
|
532
|
-
requestAddresses: () =>
|
533
|
-
requestPermissions: (args) =>
|
534
|
-
sendTransaction: (args) =>
|
535
|
-
signMessage: (args) =>
|
536
|
-
switchChain: (args) =>
|
537
|
-
watchAsset: (args) =>
|
538
|
-
writeContract: (args) =>
|
527
|
+
addChain: (args) => _chunkFRQ7AKUZjs.addChain.call(void 0, client, args),
|
528
|
+
deployContract: (args) => _chunkFRQ7AKUZjs.deployContract.call(void 0, client, args),
|
529
|
+
getAddresses: () => _chunkFRQ7AKUZjs.getAddresses.call(void 0, client),
|
530
|
+
getChainId: () => _chunkFRQ7AKUZjs.getChainId.call(void 0, client),
|
531
|
+
getPermissions: () => _chunkFRQ7AKUZjs.getPermissions.call(void 0, client),
|
532
|
+
requestAddresses: () => _chunkFRQ7AKUZjs.requestAddresses.call(void 0, client),
|
533
|
+
requestPermissions: (args) => _chunkFRQ7AKUZjs.requestPermissions.call(void 0, client, args),
|
534
|
+
sendTransaction: (args) => _chunkFRQ7AKUZjs.sendTransaction.call(void 0, client, args),
|
535
|
+
signMessage: (args) => _chunkFRQ7AKUZjs.signMessage.call(void 0, client, args),
|
536
|
+
switchChain: (args) => _chunkFRQ7AKUZjs.switchChain.call(void 0, client, args),
|
537
|
+
watchAsset: (args) => _chunkFRQ7AKUZjs.watchAsset.call(void 0, client, args),
|
538
|
+
writeContract: (args) => _chunkFRQ7AKUZjs.writeContract.call(void 0, client, args)
|
539
539
|
});
|
540
540
|
|
541
541
|
// src/clients/createPublicClient.ts
|
@@ -766,5 +766,5 @@ function createWalletClient({
|
|
766
766
|
|
767
767
|
|
768
768
|
|
769
|
-
exports.AbiConstructorNotFoundError = _chunk534U2FZGjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunk534U2FZGjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunk534U2FZGjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunk534U2FZGjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunk534U2FZGjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunk534U2FZGjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunk534U2FZGjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunk534U2FZGjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunk534U2FZGjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunk534U2FZGjs.AbiEventNotFoundError; exports.AbiEventSignatureNotFoundError = _chunk534U2FZGjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunk534U2FZGjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunk534U2FZGjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunk534U2FZGjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunk534U2FZGjs.BaseError; exports.BlockNotFoundError = _chunk534U2FZGjs.BlockNotFoundError; exports.CallExecutionError = _chunk534U2FZGjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunk534U2FZGjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunk534U2FZGjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunk534U2FZGjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunk534U2FZGjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunk534U2FZGjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunk534U2FZGjs.DataLengthTooShortError; exports.EstimateGasExecutionError = _chunk534U2FZGjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunk534U2FZGjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunk534U2FZGjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunk534U2FZGjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunk534U2FZGjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunk534U2FZGjs.HttpRequestError; exports.InsufficientFundsError = _chunk534U2FZGjs.InsufficientFundsError; exports.InternalRpcError = _chunk534U2FZGjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunk534U2FZGjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunk534U2FZGjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunk534U2FZGjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunk534U2FZGjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunk534U2FZGjs.InvalidAddressError; exports.InvalidArrayError = _chunk534U2FZGjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunk534U2FZGjs.InvalidBytesBooleanError; exports.InvalidDefinitionTypeError = _chunk534U2FZGjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunk534U2FZGjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunk534U2FZGjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunk534U2FZGjs.InvalidInputRpcError; exports.InvalidParamsRpcError = _chunk534U2FZGjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunk534U2FZGjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunk534U2FZGjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunk534U2FZGjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunk534U2FZGjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunk534U2FZGjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunk534U2FZGjs.NonceMaxValueError; exports.NonceTooHighError = _chunk534U2FZGjs.NonceTooHighError; exports.NonceTooLowError = _chunk534U2FZGjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunk534U2FZGjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunk534U2FZGjs.ParseRpcError; exports.RawContractError = _chunk534U2FZGjs.RawContractError; exports.RequestError = _chunk534U2FZGjs.RequestError; exports.ResourceNotFoundRpcError = _chunk534U2FZGjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunk534U2FZGjs.ResourceUnavailableRpcError; exports.RpcError = _chunk534U2FZGjs.RpcError; exports.RpcRequestError = _chunk534U2FZGjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunk534U2FZGjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunk534U2FZGjs.SwitchChainError; exports.TimeoutError = _chunk534U2FZGjs.TimeoutError; exports.TipAboveFeeCapError = _chunk534U2FZGjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunk534U2FZGjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunk534U2FZGjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunk534U2FZGjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunk534U2FZGjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunk534U2FZGjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunk534U2FZGjs.UnknownNodeError; exports.UnknownRpcError = _chunk534U2FZGjs.UnknownRpcError; exports.UrlRequiredError = _chunk534U2FZGjs.UrlRequiredError; exports.UserRejectedRequestError = _chunk534U2FZGjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunk534U2FZGjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunk534U2FZGjs.WebSocketRequestError; exports.boolToBytes = _chunk534U2FZGjs.boolToBytes; exports.boolToHex = _chunk534U2FZGjs.boolToHex; exports.bytesToBigint = _chunk534U2FZGjs.bytesToBigint; exports.bytesToBool = _chunk534U2FZGjs.bytesToBool; exports.bytesToHex = _chunk534U2FZGjs.bytesToHex; exports.bytesToNumber = _chunk534U2FZGjs.bytesToNumber; exports.bytesToString = _chunk534U2FZGjs.bytesToString; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunk534U2FZGjs.decodeAbiParameters; exports.decodeErrorResult = _chunk534U2FZGjs.decodeErrorResult; exports.decodeEventLog = _chunk534U2FZGjs.decodeEventLog; exports.decodeFunctionData = _chunk534U2FZGjs.decodeFunctionData; exports.decodeFunctionResult = _chunk534U2FZGjs.decodeFunctionResult; exports.defineBlock = _chunk534U2FZGjs.defineBlock; exports.defineChain = _chunk534U2FZGjs.defineChain; exports.defineTransaction = _chunk534U2FZGjs.defineTransaction; exports.defineTransactionReceipt = _chunk534U2FZGjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunk534U2FZGjs.defineTransactionRequest; exports.encodeAbiParameters = _chunk534U2FZGjs.encodeAbiParameters; exports.encodeDeployData = _chunk534U2FZGjs.encodeDeployData; exports.encodeErrorResult = _chunk534U2FZGjs.encodeErrorResult; exports.encodeEventTopics = _chunk534U2FZGjs.encodeEventTopics; exports.encodeFunctionData = _chunk534U2FZGjs.encodeFunctionData; exports.encodeFunctionResult = _chunk534U2FZGjs.encodeFunctionResult; exports.etherUnits = _chunk534U2FZGjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunk534U2FZGjs.formatBlock; exports.formatEther = _chunk534U2FZGjs.formatEther; exports.formatGwei = _chunk534U2FZGjs.formatGwei; exports.formatTransaction = _chunk534U2FZGjs.formatTransaction; exports.formatTransactionRequest = _chunk534U2FZGjs.formatTransactionRequest; exports.formatUnits = _chunk534U2FZGjs.formatUnits; exports.fromBytes = _chunk534U2FZGjs.fromBytes; exports.fromHex = _chunk534U2FZGjs.fromHex; exports.fromRlp = _chunk534U2FZGjs.fromRlp; exports.getAbiItem = _chunk534U2FZGjs.getAbiItem; exports.getAccount = _chunk534U2FZGjs.getAccount; exports.getAddress = _chunk534U2FZGjs.getAddress; exports.getContractAddress = _chunk534U2FZGjs.getContractAddress; exports.getContractError = _chunk534U2FZGjs.getContractError; exports.getCreate2Address = _chunk534U2FZGjs.getCreate2Address; exports.getCreateAddress = _chunk534U2FZGjs.getCreateAddress; exports.getEventSelector = _chunk534U2FZGjs.getEventSelector; exports.getFunctionSelector = _chunk534U2FZGjs.getFunctionSelector; exports.gweiUnits = _chunk534U2FZGjs.gweiUnits; exports.hexToBigInt = _chunk534U2FZGjs.hexToBigInt; exports.hexToBool = _chunk534U2FZGjs.hexToBool; exports.hexToBytes = _chunk534U2FZGjs.hexToBytes; exports.hexToNumber = _chunk534U2FZGjs.hexToNumber; exports.hexToString = _chunk534U2FZGjs.hexToString; exports.http = http; exports.isAddress = _chunk534U2FZGjs.isAddress; exports.isAddressEqual = _chunk534U2FZGjs.isAddressEqual; exports.isBytes = _chunk534U2FZGjs.isBytes; exports.isHex = _chunk534U2FZGjs.isHex; exports.keccak256 = _chunk534U2FZGjs.keccak256; exports.labelhash = _chunkJXFHSHM6js.labelhash; exports.multicall3Abi = _chunk534U2FZGjs.multicall3Abi; exports.namehash = _chunkJXFHSHM6js.namehash; exports.numberToBytes = _chunk534U2FZGjs.numberToBytes; exports.numberToHex = _chunk534U2FZGjs.numberToHex; exports.pad = _chunk534U2FZGjs.pad; exports.padBytes = _chunk534U2FZGjs.padBytes; exports.padHex = _chunk534U2FZGjs.padHex; exports.parseEther = _chunk534U2FZGjs.parseEther; exports.parseGwei = _chunk534U2FZGjs.parseGwei; exports.parseUnits = _chunk534U2FZGjs.parseUnits; exports.size = _chunk534U2FZGjs.size; exports.slice = _chunk534U2FZGjs.slice; exports.sliceBytes = _chunk534U2FZGjs.sliceBytes; exports.sliceHex = _chunk534U2FZGjs.sliceHex; exports.stringToBytes = _chunk534U2FZGjs.stringToBytes; exports.stringToHex = _chunk534U2FZGjs.stringToHex; exports.stringify = _chunk534U2FZGjs.stringify; exports.toBytes = _chunk534U2FZGjs.toBytes; exports.toHex = _chunk534U2FZGjs.toHex; exports.toRlp = _chunk534U2FZGjs.toRlp; exports.transactionType = _chunk534U2FZGjs.transactionType; exports.trim = _chunk534U2FZGjs.trim; exports.webSocket = webSocket; exports.weiUnits = _chunk534U2FZGjs.weiUnits;
|
769
|
+
exports.AbiConstructorNotFoundError = _chunkFRQ7AKUZjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkFRQ7AKUZjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkFRQ7AKUZjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkFRQ7AKUZjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkFRQ7AKUZjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkFRQ7AKUZjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkFRQ7AKUZjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkFRQ7AKUZjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkFRQ7AKUZjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkFRQ7AKUZjs.AbiEventNotFoundError; exports.AbiEventSignatureNotFoundError = _chunkFRQ7AKUZjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkFRQ7AKUZjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkFRQ7AKUZjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkFRQ7AKUZjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkFRQ7AKUZjs.BaseError; exports.BlockNotFoundError = _chunkFRQ7AKUZjs.BlockNotFoundError; exports.CallExecutionError = _chunkFRQ7AKUZjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkFRQ7AKUZjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkFRQ7AKUZjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkFRQ7AKUZjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkFRQ7AKUZjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkFRQ7AKUZjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkFRQ7AKUZjs.DataLengthTooShortError; exports.EstimateGasExecutionError = _chunkFRQ7AKUZjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkFRQ7AKUZjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkFRQ7AKUZjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkFRQ7AKUZjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkFRQ7AKUZjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkFRQ7AKUZjs.HttpRequestError; exports.InsufficientFundsError = _chunkFRQ7AKUZjs.InsufficientFundsError; exports.InternalRpcError = _chunkFRQ7AKUZjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkFRQ7AKUZjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkFRQ7AKUZjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkFRQ7AKUZjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkFRQ7AKUZjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkFRQ7AKUZjs.InvalidAddressError; exports.InvalidArrayError = _chunkFRQ7AKUZjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkFRQ7AKUZjs.InvalidBytesBooleanError; exports.InvalidDefinitionTypeError = _chunkFRQ7AKUZjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkFRQ7AKUZjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkFRQ7AKUZjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkFRQ7AKUZjs.InvalidInputRpcError; exports.InvalidParamsRpcError = _chunkFRQ7AKUZjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkFRQ7AKUZjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkFRQ7AKUZjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkFRQ7AKUZjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkFRQ7AKUZjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkFRQ7AKUZjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkFRQ7AKUZjs.NonceMaxValueError; exports.NonceTooHighError = _chunkFRQ7AKUZjs.NonceTooHighError; exports.NonceTooLowError = _chunkFRQ7AKUZjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkFRQ7AKUZjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkFRQ7AKUZjs.ParseRpcError; exports.RawContractError = _chunkFRQ7AKUZjs.RawContractError; exports.RequestError = _chunkFRQ7AKUZjs.RequestError; exports.ResourceNotFoundRpcError = _chunkFRQ7AKUZjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkFRQ7AKUZjs.ResourceUnavailableRpcError; exports.RpcError = _chunkFRQ7AKUZjs.RpcError; exports.RpcRequestError = _chunkFRQ7AKUZjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkFRQ7AKUZjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkFRQ7AKUZjs.SwitchChainError; exports.TimeoutError = _chunkFRQ7AKUZjs.TimeoutError; exports.TipAboveFeeCapError = _chunkFRQ7AKUZjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkFRQ7AKUZjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkFRQ7AKUZjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkFRQ7AKUZjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkFRQ7AKUZjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkFRQ7AKUZjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkFRQ7AKUZjs.UnknownNodeError; exports.UnknownRpcError = _chunkFRQ7AKUZjs.UnknownRpcError; exports.UrlRequiredError = _chunkFRQ7AKUZjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkFRQ7AKUZjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkFRQ7AKUZjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkFRQ7AKUZjs.WebSocketRequestError; exports.boolToBytes = _chunkFRQ7AKUZjs.boolToBytes; exports.boolToHex = _chunkFRQ7AKUZjs.boolToHex; exports.bytesToBigint = _chunkFRQ7AKUZjs.bytesToBigint; exports.bytesToBool = _chunkFRQ7AKUZjs.bytesToBool; exports.bytesToHex = _chunkFRQ7AKUZjs.bytesToHex; exports.bytesToNumber = _chunkFRQ7AKUZjs.bytesToNumber; exports.bytesToString = _chunkFRQ7AKUZjs.bytesToString; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkFRQ7AKUZjs.decodeAbiParameters; exports.decodeErrorResult = _chunkFRQ7AKUZjs.decodeErrorResult; exports.decodeEventLog = _chunkFRQ7AKUZjs.decodeEventLog; exports.decodeFunctionData = _chunkFRQ7AKUZjs.decodeFunctionData; exports.decodeFunctionResult = _chunkFRQ7AKUZjs.decodeFunctionResult; exports.defineBlock = _chunkFRQ7AKUZjs.defineBlock; exports.defineChain = _chunkFRQ7AKUZjs.defineChain; exports.defineTransaction = _chunkFRQ7AKUZjs.defineTransaction; exports.defineTransactionReceipt = _chunkFRQ7AKUZjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkFRQ7AKUZjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkFRQ7AKUZjs.encodeAbiParameters; exports.encodeDeployData = _chunkFRQ7AKUZjs.encodeDeployData; exports.encodeErrorResult = _chunkFRQ7AKUZjs.encodeErrorResult; exports.encodeEventTopics = _chunkFRQ7AKUZjs.encodeEventTopics; exports.encodeFunctionData = _chunkFRQ7AKUZjs.encodeFunctionData; exports.encodeFunctionResult = _chunkFRQ7AKUZjs.encodeFunctionResult; exports.etherUnits = _chunkFRQ7AKUZjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkFRQ7AKUZjs.formatBlock; exports.formatEther = _chunkFRQ7AKUZjs.formatEther; exports.formatGwei = _chunkFRQ7AKUZjs.formatGwei; exports.formatTransaction = _chunkFRQ7AKUZjs.formatTransaction; exports.formatTransactionRequest = _chunkFRQ7AKUZjs.formatTransactionRequest; exports.formatUnits = _chunkFRQ7AKUZjs.formatUnits; exports.fromBytes = _chunkFRQ7AKUZjs.fromBytes; exports.fromHex = _chunkFRQ7AKUZjs.fromHex; exports.fromRlp = _chunkFRQ7AKUZjs.fromRlp; exports.getAbiItem = _chunkFRQ7AKUZjs.getAbiItem; exports.getAccount = _chunkFRQ7AKUZjs.getAccount; exports.getAddress = _chunkFRQ7AKUZjs.getAddress; exports.getContractAddress = _chunkFRQ7AKUZjs.getContractAddress; exports.getContractError = _chunkFRQ7AKUZjs.getContractError; exports.getCreate2Address = _chunkFRQ7AKUZjs.getCreate2Address; exports.getCreateAddress = _chunkFRQ7AKUZjs.getCreateAddress; exports.getEventSelector = _chunkFRQ7AKUZjs.getEventSelector; exports.getFunctionSelector = _chunkFRQ7AKUZjs.getFunctionSelector; exports.gweiUnits = _chunkFRQ7AKUZjs.gweiUnits; exports.hexToBigInt = _chunkFRQ7AKUZjs.hexToBigInt; exports.hexToBool = _chunkFRQ7AKUZjs.hexToBool; exports.hexToBytes = _chunkFRQ7AKUZjs.hexToBytes; exports.hexToNumber = _chunkFRQ7AKUZjs.hexToNumber; exports.hexToString = _chunkFRQ7AKUZjs.hexToString; exports.http = http; exports.isAddress = _chunkFRQ7AKUZjs.isAddress; exports.isAddressEqual = _chunkFRQ7AKUZjs.isAddressEqual; exports.isBytes = _chunkFRQ7AKUZjs.isBytes; exports.isHex = _chunkFRQ7AKUZjs.isHex; exports.keccak256 = _chunkFRQ7AKUZjs.keccak256; exports.labelhash = _chunkOZ4DLQQMjs.labelhash; exports.multicall3Abi = _chunkFRQ7AKUZjs.multicall3Abi; exports.namehash = _chunkOZ4DLQQMjs.namehash; exports.numberToBytes = _chunkFRQ7AKUZjs.numberToBytes; exports.numberToHex = _chunkFRQ7AKUZjs.numberToHex; exports.pad = _chunkFRQ7AKUZjs.pad; exports.padBytes = _chunkFRQ7AKUZjs.padBytes; exports.padHex = _chunkFRQ7AKUZjs.padHex; exports.parseEther = _chunkFRQ7AKUZjs.parseEther; exports.parseGwei = _chunkFRQ7AKUZjs.parseGwei; exports.parseUnits = _chunkFRQ7AKUZjs.parseUnits; exports.size = _chunkFRQ7AKUZjs.size; exports.slice = _chunkFRQ7AKUZjs.slice; exports.sliceBytes = _chunkFRQ7AKUZjs.sliceBytes; exports.sliceHex = _chunkFRQ7AKUZjs.sliceHex; exports.stringToBytes = _chunkFRQ7AKUZjs.stringToBytes; exports.stringToHex = _chunkFRQ7AKUZjs.stringToHex; exports.stringify = _chunkFRQ7AKUZjs.stringify; exports.toBytes = _chunkFRQ7AKUZjs.toBytes; exports.toHex = _chunkFRQ7AKUZjs.toHex; exports.toRlp = _chunkFRQ7AKUZjs.toRlp; exports.transactionType = _chunkFRQ7AKUZjs.transactionType; exports.trim = _chunkFRQ7AKUZjs.trim; exports.webSocket = webSocket; exports.weiUnits = _chunkFRQ7AKUZjs.weiUnits;
|
770
770
|
//# 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-VE26HLH7.mjs";
|
7
7
|
import {
|
8
8
|
AbiConstructorNotFoundError,
|
9
9
|
AbiConstructorParamsNotFoundError,
|
@@ -229,7 +229,7 @@ import {
|
|
229
229
|
watchPendingTransactions,
|
230
230
|
weiUnits,
|
231
231
|
writeContract
|
232
|
-
} from "./chunk-
|
232
|
+
} from "./chunk-6HE2CZVN.mjs";
|
233
233
|
|
234
234
|
// src/clients/transports/createTransport.ts
|
235
235
|
function createTransport({
|
package/dist/public.js
CHANGED
@@ -26,7 +26,7 @@
|
|
26
26
|
|
27
27
|
|
28
28
|
|
29
|
-
var
|
29
|
+
var _chunkFRQ7AKUZjs = require('./chunk-FRQ7AKUZ.js');
|
30
30
|
|
31
31
|
|
32
32
|
|
@@ -55,5 +55,5 @@ var _chunk534U2FZGjs = require('./chunk-534U2FZG.js');
|
|
55
55
|
|
56
56
|
|
57
57
|
|
58
|
-
exports.call =
|
58
|
+
exports.call = _chunkFRQ7AKUZjs.call; exports.createBlockFilter = _chunkFRQ7AKUZjs.createBlockFilter; exports.createEventFilter = _chunkFRQ7AKUZjs.createEventFilter; exports.createPendingTransactionFilter = _chunkFRQ7AKUZjs.createPendingTransactionFilter; exports.estimateGas = _chunkFRQ7AKUZjs.estimateGas; exports.getBalance = _chunkFRQ7AKUZjs.getBalance; exports.getBlock = _chunkFRQ7AKUZjs.getBlock; exports.getBlockNumber = _chunkFRQ7AKUZjs.getBlockNumber; exports.getBlockNumberCache = _chunkFRQ7AKUZjs.getBlockNumberCache; exports.getBlockTransactionCount = _chunkFRQ7AKUZjs.getBlockTransactionCount; exports.getBytecode = _chunkFRQ7AKUZjs.getBytecode; exports.getChainId = _chunkFRQ7AKUZjs.getChainId; exports.getFeeHistory = _chunkFRQ7AKUZjs.getFeeHistory; exports.getFilterChanges = _chunkFRQ7AKUZjs.getFilterChanges; exports.getFilterLogs = _chunkFRQ7AKUZjs.getFilterLogs; exports.getGasPrice = _chunkFRQ7AKUZjs.getGasPrice; exports.getLogs = _chunkFRQ7AKUZjs.getLogs; exports.getTransaction = _chunkFRQ7AKUZjs.getTransaction; exports.getTransactionConfirmations = _chunkFRQ7AKUZjs.getTransactionConfirmations; exports.getTransactionCount = _chunkFRQ7AKUZjs.getTransactionCount; exports.getTransactionReceipt = _chunkFRQ7AKUZjs.getTransactionReceipt; exports.uninstallFilter = _chunkFRQ7AKUZjs.uninstallFilter; exports.waitForTransactionReceipt = _chunkFRQ7AKUZjs.waitForTransactionReceipt; exports.watchBlockNumber = _chunkFRQ7AKUZjs.watchBlockNumber; exports.watchBlocks = _chunkFRQ7AKUZjs.watchBlocks; exports.watchEvent = _chunkFRQ7AKUZjs.watchEvent; exports.watchPendingTransactions = _chunkFRQ7AKUZjs.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 _chunkFRQ7AKUZjs = require('./chunk-FRQ7AKUZ.js');
|
31
31
|
|
32
32
|
|
33
33
|
|
@@ -57,5 +57,5 @@ var _chunk534U2FZGjs = require('./chunk-534U2FZG.js');
|
|
57
57
|
|
58
58
|
|
59
59
|
|
60
|
-
exports.dropTransaction =
|
60
|
+
exports.dropTransaction = _chunkFRQ7AKUZjs.dropTransaction; exports.getAutomine = _chunkFRQ7AKUZjs.getAutomine; exports.getTxpoolContent = _chunkFRQ7AKUZjs.getTxpoolContent; exports.getTxpoolStatus = _chunkFRQ7AKUZjs.getTxpoolStatus; exports.impersonateAccount = _chunkFRQ7AKUZjs.impersonateAccount; exports.increaseTime = _chunkFRQ7AKUZjs.increaseTime; exports.inspectTxpool = _chunkFRQ7AKUZjs.inspectTxpool; exports.mine = _chunkFRQ7AKUZjs.mine; exports.removeBlockTimestampInterval = _chunkFRQ7AKUZjs.removeBlockTimestampInterval; exports.reset = _chunkFRQ7AKUZjs.reset; exports.revert = _chunkFRQ7AKUZjs.revert; exports.sendUnsignedTransaction = _chunkFRQ7AKUZjs.sendUnsignedTransaction; exports.setAutomine = _chunkFRQ7AKUZjs.setAutomine; exports.setBalance = _chunkFRQ7AKUZjs.setBalance; exports.setBlockGasLimit = _chunkFRQ7AKUZjs.setBlockGasLimit; exports.setBlockTimestampInterval = _chunkFRQ7AKUZjs.setBlockTimestampInterval; exports.setCode = _chunkFRQ7AKUZjs.setCode; exports.setCoinbase = _chunkFRQ7AKUZjs.setCoinbase; exports.setIntervalMining = _chunkFRQ7AKUZjs.setIntervalMining; exports.setLoggingEnabled = _chunkFRQ7AKUZjs.setLoggingEnabled; exports.setMinGasPrice = _chunkFRQ7AKUZjs.setMinGasPrice; exports.setNextBlockBaseFeePerGas = _chunkFRQ7AKUZjs.setNextBlockBaseFeePerGas; exports.setNextBlockTimestamp = _chunkFRQ7AKUZjs.setNextBlockTimestamp; exports.setNonce = _chunkFRQ7AKUZjs.setNonce; exports.setRpcUrl = _chunkFRQ7AKUZjs.setRpcUrl; exports.setStorageAt = _chunkFRQ7AKUZjs.setStorageAt; exports.snapshot = _chunkFRQ7AKUZjs.snapshot; exports.stopImpersonatingAccount = _chunkFRQ7AKUZjs.stopImpersonatingAccount;
|
61
61
|
//# sourceMappingURL=test.js.map
|