viem 0.2.7 → 0.2.8
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/accounts/index.js +17 -17
- package/dist/accounts/index.mjs +2 -2
- package/dist/chains.js +89 -89
- package/dist/chains.mjs +1 -1
- package/dist/{chunk-FJBYL4CX.mjs → chunk-DXKVBX5S.mjs} +3 -4
- package/dist/chunk-DXKVBX5S.mjs.map +1 -0
- package/dist/{chunk-EXO7YYTV.mjs → chunk-KDUIUOGY.mjs} +2 -2
- package/dist/{chunk-ULUVNOX4.js → chunk-TFIHG36G.js} +3 -4
- package/dist/chunk-TFIHG36G.js.map +1 -0
- package/dist/{chunk-6MARLCNB.js → chunk-YQWSPTO6.js} +6 -6
- package/dist/contract.js +2 -2
- package/dist/contract.mjs +1 -1
- package/dist/ens.d.ts +2 -1
- package/dist/ens.js +5 -5
- package/dist/ens.js.map +1 -1
- package/dist/ens.mjs +3 -3
- package/dist/ens.mjs.map +1 -1
- package/dist/ethers.js +4 -4
- package/dist/ethers.mjs +2 -2
- package/dist/index.js +94 -94
- package/dist/index.mjs +1 -1
- 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 +2 -2
- package/dist/chunk-FJBYL4CX.mjs.map +0 -1
- package/dist/chunk-ULUVNOX4.js.map +0 -1
- /package/dist/{chunk-EXO7YYTV.mjs.map → chunk-KDUIUOGY.mjs.map} +0 -0
- /package/dist/{chunk-6MARLCNB.js.map → chunk-YQWSPTO6.js.map} +0 -0
@@ -1,20 +1,20 @@
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
2
2
|
|
3
3
|
|
4
|
-
var
|
4
|
+
var _chunkTFIHG36Gjs = require('./chunk-TFIHG36G.js');
|
5
5
|
|
6
6
|
// src/accounts/toAccount.ts
|
7
7
|
function toAccount(source) {
|
8
8
|
if (typeof source === "string") {
|
9
|
-
if (!
|
10
|
-
throw new (0,
|
9
|
+
if (!_chunkTFIHG36Gjs.isAddress.call(void 0, source))
|
10
|
+
throw new (0, _chunkTFIHG36Gjs.InvalidAddressError)({ address: source });
|
11
11
|
return {
|
12
12
|
address: source,
|
13
13
|
type: "json-rpc"
|
14
14
|
};
|
15
15
|
}
|
16
|
-
if (!
|
17
|
-
throw new (0,
|
16
|
+
if (!_chunkTFIHG36Gjs.isAddress.call(void 0, source.address))
|
17
|
+
throw new (0, _chunkTFIHG36Gjs.InvalidAddressError)({ address: source.address });
|
18
18
|
return {
|
19
19
|
address: source.address,
|
20
20
|
signMessage: source.signMessage,
|
@@ -28,4 +28,4 @@ function toAccount(source) {
|
|
28
28
|
|
29
29
|
|
30
30
|
exports.toAccount = toAccount;
|
31
|
-
//# sourceMappingURL=chunk-
|
31
|
+
//# sourceMappingURL=chunk-YQWSPTO6.js.map
|
package/dist/contract.js
CHANGED
@@ -23,7 +23,7 @@
|
|
23
23
|
|
24
24
|
|
25
25
|
|
26
|
-
var
|
26
|
+
var _chunkTFIHG36Gjs = require('./chunk-TFIHG36G.js');
|
27
27
|
|
28
28
|
|
29
29
|
|
@@ -49,5 +49,5 @@ var _chunkULUVNOX4js = require('./chunk-ULUVNOX4.js');
|
|
49
49
|
|
50
50
|
|
51
51
|
|
52
|
-
exports.createContractEventFilter =
|
52
|
+
exports.createContractEventFilter = _chunkTFIHG36Gjs.createContractEventFilter; exports.decodeAbiParameters = _chunkTFIHG36Gjs.decodeAbiParameters; exports.decodeErrorResult = _chunkTFIHG36Gjs.decodeErrorResult; exports.decodeEventLog = _chunkTFIHG36Gjs.decodeEventLog; exports.decodeFunctionData = _chunkTFIHG36Gjs.decodeFunctionData; exports.decodeFunctionResult = _chunkTFIHG36Gjs.decodeFunctionResult; exports.deployContract = _chunkTFIHG36Gjs.deployContract; exports.encodeAbiParameters = _chunkTFIHG36Gjs.encodeAbiParameters; exports.encodeDeployData = _chunkTFIHG36Gjs.encodeDeployData; exports.encodeErrorResult = _chunkTFIHG36Gjs.encodeErrorResult; exports.encodeEventTopics = _chunkTFIHG36Gjs.encodeEventTopics; exports.encodeFunctionData = _chunkTFIHG36Gjs.encodeFunctionData; exports.encodeFunctionResult = _chunkTFIHG36Gjs.encodeFunctionResult; exports.estimateContractGas = _chunkTFIHG36Gjs.estimateContractGas; exports.formatAbiItem = _chunkTFIHG36Gjs.formatAbiItem; exports.formatAbiItemWithArgs = _chunkTFIHG36Gjs.formatAbiItemWithArgs; exports.getAbiItem = _chunkTFIHG36Gjs.getAbiItem; exports.getBytecode = _chunkTFIHG36Gjs.getBytecode; exports.getStorageAt = _chunkTFIHG36Gjs.getStorageAt; exports.multicall = _chunkTFIHG36Gjs.multicall; exports.readContract = _chunkTFIHG36Gjs.readContract; exports.simulateContract = _chunkTFIHG36Gjs.simulateContract; exports.watchContractEvent = _chunkTFIHG36Gjs.watchContractEvent; exports.writeContract = _chunkTFIHG36Gjs.writeContract;
|
53
53
|
//# sourceMappingURL=contract.js.map
|
package/dist/contract.mjs
CHANGED
package/dist/ens.d.ts
CHANGED
@@ -9,13 +9,14 @@ import './typedData-337e8d8f.js';
|
|
9
9
|
import '@scure/bip32';
|
10
10
|
|
11
11
|
/**
|
12
|
-
* @description Normalizes ENS name
|
12
|
+
* @description Normalizes ENS name according to ENSIP-15.
|
13
13
|
*
|
14
14
|
* @example
|
15
15
|
* normalize('wagmi-dev.eth')
|
16
16
|
* 'wagmi-dev.eth'
|
17
17
|
*
|
18
18
|
* @see https://docs.ens.domains/contract-api-reference/name-processing#normalising-names
|
19
|
+
* @see https://github.com/ensdomains/docs/blob/9edf9443de4333a0ea7ec658a870672d5d180d53/ens-improvement-proposals/ensip-15-normalization-standard.md
|
19
20
|
*/
|
20
21
|
declare function normalize(name: string): string;
|
21
22
|
|
package/dist/ens.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
2
2
|
|
3
3
|
|
4
4
|
|
@@ -6,12 +6,12 @@
|
|
6
6
|
|
7
7
|
|
8
8
|
|
9
|
-
var
|
9
|
+
var _chunkTFIHG36Gjs = require('./chunk-TFIHG36G.js');
|
10
10
|
|
11
11
|
// src/utils/ens/normalize.ts
|
12
|
-
var
|
12
|
+
var _ensnormalize = require('@adraffy/ens-normalize');
|
13
13
|
function normalize(name) {
|
14
|
-
return
|
14
|
+
return _ensnormalize.ens_normalize.call(void 0, name);
|
15
15
|
}
|
16
16
|
|
17
17
|
|
@@ -22,5 +22,5 @@ function normalize(name) {
|
|
22
22
|
|
23
23
|
|
24
24
|
|
25
|
-
exports.getEnsAddress =
|
25
|
+
exports.getEnsAddress = _chunkTFIHG36Gjs.getEnsAddress; exports.getEnsAvatar = _chunkTFIHG36Gjs.getEnsAvatar; exports.getEnsName = _chunkTFIHG36Gjs.getEnsName; exports.getEnsResolver = _chunkTFIHG36Gjs.getEnsResolver; exports.getEnsText = _chunkTFIHG36Gjs.getEnsText; exports.labelhash = _chunkTFIHG36Gjs.labelhash; exports.namehash = _chunkTFIHG36Gjs.namehash; exports.normalize = normalize;
|
26
26
|
//# sourceMappingURL=ens.js.map
|
package/dist/ens.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../src/utils/ens/normalize.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"sources":["../src/utils/ens/normalize.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,SAAS,qBAAqB;AAYvB,SAAS,UAAU,MAAc;AACtC,SAAO,cAAc,IAAI;AAC3B","sourcesContent":["import { ens_normalize } from '@adraffy/ens-normalize'\n\n/**\n * @description Normalizes ENS name according to ENSIP-15.\n *\n * @example\n * normalize('wagmi-dev.eth')\n * 'wagmi-dev.eth'\n *\n * @see https://docs.ens.domains/contract-api-reference/name-processing#normalising-names\n * @see https://github.com/ensdomains/docs/blob/9edf9443de4333a0ea7ec658a870672d5d180d53/ens-improvement-proposals/ensip-15-normalization-standard.md\n */\nexport function normalize(name: string) {\n return ens_normalize(name)\n}\n"]}
|
package/dist/ens.mjs
CHANGED
@@ -6,12 +6,12 @@ import {
|
|
6
6
|
getEnsText,
|
7
7
|
labelhash,
|
8
8
|
namehash
|
9
|
-
} from "./chunk-
|
9
|
+
} from "./chunk-DXKVBX5S.mjs";
|
10
10
|
|
11
11
|
// src/utils/ens/normalize.ts
|
12
|
-
import
|
12
|
+
import { ens_normalize } from "@adraffy/ens-normalize";
|
13
13
|
function normalize(name) {
|
14
|
-
return
|
14
|
+
return ens_normalize(name);
|
15
15
|
}
|
16
16
|
export {
|
17
17
|
getEnsAddress,
|
package/dist/ens.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../src/utils/ens/normalize.ts"],"sourcesContent":["import
|
1
|
+
{"version":3,"sources":["../src/utils/ens/normalize.ts"],"sourcesContent":["import { ens_normalize } from '@adraffy/ens-normalize'\n\n/**\n * @description Normalizes ENS name according to ENSIP-15.\n *\n * @example\n * normalize('wagmi-dev.eth')\n * 'wagmi-dev.eth'\n *\n * @see https://docs.ens.domains/contract-api-reference/name-processing#normalising-names\n * @see https://github.com/ensdomains/docs/blob/9edf9443de4333a0ea7ec658a870672d5d180d53/ens-improvement-proposals/ensip-15-normalization-standard.md\n */\nexport function normalize(name: string) {\n return ens_normalize(name)\n}\n"],"mappings":";;;;;;;;;;;AAAA,SAAS,qBAAqB;AAYvB,SAAS,UAAU,MAAc;AACtC,SAAO,cAAc,IAAI;AAC3B;","names":[]}
|
package/dist/ethers.js
CHANGED
@@ -1,15 +1,15 @@
|
|
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
|
-
var
|
3
|
+
var _chunkYQWSPTO6js = require('./chunk-YQWSPTO6.js');
|
4
4
|
|
5
5
|
|
6
|
-
var
|
6
|
+
var _chunkTFIHG36Gjs = require('./chunk-TFIHG36G.js');
|
7
7
|
|
8
8
|
// src/adapters/ethers.ts
|
9
|
-
var ethersWalletToAccount = (wallet) =>
|
9
|
+
var ethersWalletToAccount = (wallet) => _chunkYQWSPTO6js.toAccount.call(void 0, {
|
10
10
|
address: wallet.address,
|
11
11
|
async signMessage({ message }) {
|
12
|
-
return await wallet.signMessage(
|
12
|
+
return await wallet.signMessage(_chunkTFIHG36Gjs.toBytes.call(void 0, message));
|
13
13
|
},
|
14
14
|
async signTransaction(txn) {
|
15
15
|
return await wallet.signTransaction({
|
package/dist/ethers.mjs
CHANGED
package/dist/index.js
CHANGED
@@ -265,7 +265,7 @@
|
|
265
265
|
|
266
266
|
|
267
267
|
|
268
|
-
var
|
268
|
+
var _chunkTFIHG36Gjs = require('./chunk-TFIHG36G.js');
|
269
269
|
|
270
270
|
// src/clients/transports/createTransport.ts
|
271
271
|
function createTransport({
|
@@ -279,7 +279,7 @@ function createTransport({
|
|
279
279
|
}, value) {
|
280
280
|
return {
|
281
281
|
config: { key, name, request, retryCount, retryDelay, timeout, type },
|
282
|
-
request:
|
282
|
+
request: _chunkTFIHG36Gjs.buildRequest.call(void 0, request, { retryCount, retryDelay }),
|
283
283
|
value
|
284
284
|
};
|
285
285
|
}
|
@@ -321,7 +321,7 @@ function fallback(transports_, config = {}) {
|
|
321
321
|
params
|
322
322
|
});
|
323
323
|
} catch (err) {
|
324
|
-
if (
|
324
|
+
if (_chunkTFIHG36Gjs.isDeterministicError.call(void 0, err))
|
325
325
|
throw err;
|
326
326
|
if (i === transports.length - 1)
|
327
327
|
throw err;
|
@@ -407,7 +407,7 @@ function rankTransports({
|
|
407
407
|
];
|
408
408
|
}).sort((a, b) => b[0] - a[0]);
|
409
409
|
onTransports(scores.map(([, i]) => transports[i]));
|
410
|
-
await
|
410
|
+
await _chunkTFIHG36Gjs.wait.call(void 0, interval);
|
411
411
|
rankTransports_();
|
412
412
|
};
|
413
413
|
rankTransports_();
|
@@ -426,13 +426,13 @@ function http(url, config = {}) {
|
|
426
426
|
const timeout = _nullishCoalesce(_nullishCoalesce(timeout_, () => ( config.timeout)), () => ( 1e4));
|
427
427
|
const url_ = url || _optionalChain([chain, 'optionalAccess', _2 => _2.rpcUrls, 'access', _3 => _3.default, 'access', _4 => _4.http, 'access', _5 => _5[0]]);
|
428
428
|
if (!url_)
|
429
|
-
throw new (0,
|
429
|
+
throw new (0, _chunkTFIHG36Gjs.UrlRequiredError)();
|
430
430
|
return createTransport(
|
431
431
|
{
|
432
432
|
key,
|
433
433
|
name,
|
434
434
|
async request({ method, params }) {
|
435
|
-
const { result } = await
|
435
|
+
const { result } = await _chunkTFIHG36Gjs.rpc.http(url_, {
|
436
436
|
body: {
|
437
437
|
method,
|
438
438
|
params
|
@@ -462,14 +462,14 @@ function webSocket(url, config = {}) {
|
|
462
462
|
const timeout = _nullishCoalesce(_nullishCoalesce(timeout_, () => ( config.timeout)), () => ( 1e4));
|
463
463
|
const url_ = url || _optionalChain([chain, 'optionalAccess', _6 => _6.rpcUrls, 'access', _7 => _7.default, 'access', _8 => _8.webSocket, 'optionalAccess', _9 => _9[0]]);
|
464
464
|
if (!url_)
|
465
|
-
throw new (0,
|
465
|
+
throw new (0, _chunkTFIHG36Gjs.UrlRequiredError)();
|
466
466
|
return createTransport(
|
467
467
|
{
|
468
468
|
key,
|
469
469
|
name,
|
470
470
|
async request({ method, params }) {
|
471
|
-
const socket = await
|
472
|
-
const { result } = await
|
471
|
+
const socket = await _chunkTFIHG36Gjs.getSocket.call(void 0, url_);
|
472
|
+
const { result } = await _chunkTFIHG36Gjs.rpc.webSocketAsync(socket, {
|
473
473
|
body: { method, params },
|
474
474
|
timeout
|
475
475
|
});
|
@@ -482,12 +482,12 @@ function webSocket(url, config = {}) {
|
|
482
482
|
},
|
483
483
|
{
|
484
484
|
getSocket() {
|
485
|
-
return
|
485
|
+
return _chunkTFIHG36Gjs.getSocket.call(void 0, url_);
|
486
486
|
},
|
487
487
|
async subscribe({ params, onData, onError }) {
|
488
|
-
const socket = await
|
488
|
+
const socket = await _chunkTFIHG36Gjs.getSocket.call(void 0, url_);
|
489
489
|
const { result: subscriptionId } = await new Promise(
|
490
|
-
(resolve, reject) =>
|
490
|
+
(resolve, reject) => _chunkTFIHG36Gjs.rpc.webSocket(socket, {
|
491
491
|
body: {
|
492
492
|
method: "eth_subscribe",
|
493
493
|
params
|
@@ -511,7 +511,7 @@ function webSocket(url, config = {}) {
|
|
511
511
|
subscriptionId,
|
512
512
|
async unsubscribe() {
|
513
513
|
return new Promise(
|
514
|
-
(resolve, reject) =>
|
514
|
+
(resolve, reject) => _chunkTFIHG36Gjs.rpc.webSocket(socket, {
|
515
515
|
body: {
|
516
516
|
method: "eth_unsubscribe",
|
517
517
|
params: [subscriptionId]
|
@@ -567,95 +567,95 @@ function createClient({
|
|
567
567
|
|
568
568
|
// src/clients/decorators/public.ts
|
569
569
|
var publicActions = (client) => ({
|
570
|
-
call: (args) =>
|
571
|
-
createBlockFilter: () =>
|
572
|
-
createContractEventFilter: (args) =>
|
573
|
-
createEventFilter: (args) =>
|
574
|
-
createPendingTransactionFilter: () =>
|
575
|
-
estimateContractGas: (args) =>
|
576
|
-
estimateGas: (args) =>
|
577
|
-
getBalance: (args) =>
|
578
|
-
getBlock: (args) =>
|
579
|
-
getBlockNumber: (args) =>
|
580
|
-
getBlockTransactionCount: (args) =>
|
581
|
-
getBytecode: (args) =>
|
582
|
-
getChainId: () =>
|
583
|
-
getEnsAddress: (args) =>
|
584
|
-
getEnsAvatar: (args) =>
|
585
|
-
getEnsName: (args) =>
|
586
|
-
getEnsResolver: (args) =>
|
587
|
-
getEnsText: (args) =>
|
588
|
-
getFeeHistory: (args) =>
|
589
|
-
getFilterChanges: (args) =>
|
590
|
-
getFilterLogs: (args) =>
|
591
|
-
getGasPrice: () =>
|
592
|
-
getLogs: (args) =>
|
593
|
-
getStorageAt: (args) =>
|
594
|
-
getTransaction: (args) =>
|
595
|
-
getTransactionConfirmations: (args) =>
|
596
|
-
getTransactionCount: (args) =>
|
597
|
-
getTransactionReceipt: (args) =>
|
598
|
-
multicall: (args) =>
|
599
|
-
readContract: (args) =>
|
600
|
-
simulateContract: (args) =>
|
601
|
-
uninstallFilter: (args) =>
|
602
|
-
waitForTransactionReceipt: (args) =>
|
603
|
-
watchBlocks: (args) =>
|
604
|
-
watchBlockNumber: (args) =>
|
605
|
-
watchContractEvent: (args) =>
|
606
|
-
watchEvent: (args) =>
|
607
|
-
watchPendingTransactions: (args) =>
|
570
|
+
call: (args) => _chunkTFIHG36Gjs.call.call(void 0, client, args),
|
571
|
+
createBlockFilter: () => _chunkTFIHG36Gjs.createBlockFilter.call(void 0, client),
|
572
|
+
createContractEventFilter: (args) => _chunkTFIHG36Gjs.createContractEventFilter.call(void 0, client, args),
|
573
|
+
createEventFilter: (args) => _chunkTFIHG36Gjs.createEventFilter.call(void 0, client, args),
|
574
|
+
createPendingTransactionFilter: () => _chunkTFIHG36Gjs.createPendingTransactionFilter.call(void 0, client),
|
575
|
+
estimateContractGas: (args) => _chunkTFIHG36Gjs.estimateContractGas.call(void 0, client, args),
|
576
|
+
estimateGas: (args) => _chunkTFIHG36Gjs.estimateGas.call(void 0, client, args),
|
577
|
+
getBalance: (args) => _chunkTFIHG36Gjs.getBalance.call(void 0, client, args),
|
578
|
+
getBlock: (args) => _chunkTFIHG36Gjs.getBlock.call(void 0, client, args),
|
579
|
+
getBlockNumber: (args) => _chunkTFIHG36Gjs.getBlockNumber.call(void 0, client, args),
|
580
|
+
getBlockTransactionCount: (args) => _chunkTFIHG36Gjs.getBlockTransactionCount.call(void 0, client, args),
|
581
|
+
getBytecode: (args) => _chunkTFIHG36Gjs.getBytecode.call(void 0, client, args),
|
582
|
+
getChainId: () => _chunkTFIHG36Gjs.getChainId.call(void 0, client),
|
583
|
+
getEnsAddress: (args) => _chunkTFIHG36Gjs.getEnsAddress.call(void 0, client, args),
|
584
|
+
getEnsAvatar: (args) => _chunkTFIHG36Gjs.getEnsAvatar.call(void 0, client, args),
|
585
|
+
getEnsName: (args) => _chunkTFIHG36Gjs.getEnsName.call(void 0, client, args),
|
586
|
+
getEnsResolver: (args) => _chunkTFIHG36Gjs.getEnsResolver.call(void 0, client, args),
|
587
|
+
getEnsText: (args) => _chunkTFIHG36Gjs.getEnsText.call(void 0, client, args),
|
588
|
+
getFeeHistory: (args) => _chunkTFIHG36Gjs.getFeeHistory.call(void 0, client, args),
|
589
|
+
getFilterChanges: (args) => _chunkTFIHG36Gjs.getFilterChanges.call(void 0, client, args),
|
590
|
+
getFilterLogs: (args) => _chunkTFIHG36Gjs.getFilterLogs.call(void 0, client, args),
|
591
|
+
getGasPrice: () => _chunkTFIHG36Gjs.getGasPrice.call(void 0, client),
|
592
|
+
getLogs: (args) => _chunkTFIHG36Gjs.getLogs.call(void 0, client, args),
|
593
|
+
getStorageAt: (args) => _chunkTFIHG36Gjs.getStorageAt.call(void 0, client, args),
|
594
|
+
getTransaction: (args) => _chunkTFIHG36Gjs.getTransaction.call(void 0, client, args),
|
595
|
+
getTransactionConfirmations: (args) => _chunkTFIHG36Gjs.getTransactionConfirmations.call(void 0, client, args),
|
596
|
+
getTransactionCount: (args) => _chunkTFIHG36Gjs.getTransactionCount.call(void 0, client, args),
|
597
|
+
getTransactionReceipt: (args) => _chunkTFIHG36Gjs.getTransactionReceipt.call(void 0, client, args),
|
598
|
+
multicall: (args) => _chunkTFIHG36Gjs.multicall.call(void 0, client, args),
|
599
|
+
readContract: (args) => _chunkTFIHG36Gjs.readContract.call(void 0, client, args),
|
600
|
+
simulateContract: (args) => _chunkTFIHG36Gjs.simulateContract.call(void 0, client, args),
|
601
|
+
uninstallFilter: (args) => _chunkTFIHG36Gjs.uninstallFilter.call(void 0, client, args),
|
602
|
+
waitForTransactionReceipt: (args) => _chunkTFIHG36Gjs.waitForTransactionReceipt.call(void 0, client, args),
|
603
|
+
watchBlocks: (args) => _chunkTFIHG36Gjs.watchBlocks.call(void 0, client, args),
|
604
|
+
watchBlockNumber: (args) => _chunkTFIHG36Gjs.watchBlockNumber.call(void 0, client, args),
|
605
|
+
watchContractEvent: (args) => _chunkTFIHG36Gjs.watchContractEvent.call(void 0, client, args),
|
606
|
+
watchEvent: (args) => _chunkTFIHG36Gjs.watchEvent.call(void 0, client, args),
|
607
|
+
watchPendingTransactions: (args) => _chunkTFIHG36Gjs.watchPendingTransactions.call(void 0, client, args)
|
608
608
|
});
|
609
609
|
|
610
610
|
// src/clients/decorators/test.ts
|
611
611
|
function testActions(client) {
|
612
612
|
return {
|
613
|
-
dropTransaction: (args) =>
|
614
|
-
getAutomine: () =>
|
615
|
-
getTxpoolContent: () =>
|
616
|
-
getTxpoolStatus: () =>
|
617
|
-
impersonateAccount: (args) =>
|
618
|
-
increaseTime: (args) =>
|
619
|
-
inspectTxpool: () =>
|
620
|
-
mine: (args) =>
|
621
|
-
removeBlockTimestampInterval: () =>
|
622
|
-
reset: (args) =>
|
623
|
-
revert: (args) =>
|
624
|
-
sendUnsignedTransaction: (args) =>
|
625
|
-
setAutomine: (args) =>
|
626
|
-
setBalance: (args) =>
|
627
|
-
setBlockGasLimit: (args) =>
|
628
|
-
setBlockTimestampInterval: (args) =>
|
629
|
-
setCode: (args) =>
|
630
|
-
setCoinbase: (args) =>
|
631
|
-
setIntervalMining: (args) =>
|
632
|
-
setLoggingEnabled: (args) =>
|
633
|
-
setMinGasPrice: (args) =>
|
634
|
-
setNextBlockBaseFeePerGas: (args) =>
|
635
|
-
setNextBlockTimestamp: (args) =>
|
636
|
-
setNonce: (args) =>
|
637
|
-
setRpcUrl: (args) =>
|
638
|
-
setStorageAt: (args) =>
|
639
|
-
snapshot: () =>
|
640
|
-
stopImpersonatingAccount: (args) =>
|
613
|
+
dropTransaction: (args) => _chunkTFIHG36Gjs.dropTransaction.call(void 0, client, args),
|
614
|
+
getAutomine: () => _chunkTFIHG36Gjs.getAutomine.call(void 0, client),
|
615
|
+
getTxpoolContent: () => _chunkTFIHG36Gjs.getTxpoolContent.call(void 0, client),
|
616
|
+
getTxpoolStatus: () => _chunkTFIHG36Gjs.getTxpoolStatus.call(void 0, client),
|
617
|
+
impersonateAccount: (args) => _chunkTFIHG36Gjs.impersonateAccount.call(void 0, client, args),
|
618
|
+
increaseTime: (args) => _chunkTFIHG36Gjs.increaseTime.call(void 0, client, args),
|
619
|
+
inspectTxpool: () => _chunkTFIHG36Gjs.inspectTxpool.call(void 0, client),
|
620
|
+
mine: (args) => _chunkTFIHG36Gjs.mine.call(void 0, client, args),
|
621
|
+
removeBlockTimestampInterval: () => _chunkTFIHG36Gjs.removeBlockTimestampInterval.call(void 0, client),
|
622
|
+
reset: (args) => _chunkTFIHG36Gjs.reset.call(void 0, client, args),
|
623
|
+
revert: (args) => _chunkTFIHG36Gjs.revert.call(void 0, client, args),
|
624
|
+
sendUnsignedTransaction: (args) => _chunkTFIHG36Gjs.sendUnsignedTransaction.call(void 0, client, args),
|
625
|
+
setAutomine: (args) => _chunkTFIHG36Gjs.setAutomine.call(void 0, client, args),
|
626
|
+
setBalance: (args) => _chunkTFIHG36Gjs.setBalance.call(void 0, client, args),
|
627
|
+
setBlockGasLimit: (args) => _chunkTFIHG36Gjs.setBlockGasLimit.call(void 0, client, args),
|
628
|
+
setBlockTimestampInterval: (args) => _chunkTFIHG36Gjs.setBlockTimestampInterval.call(void 0, client, args),
|
629
|
+
setCode: (args) => _chunkTFIHG36Gjs.setCode.call(void 0, client, args),
|
630
|
+
setCoinbase: (args) => _chunkTFIHG36Gjs.setCoinbase.call(void 0, client, args),
|
631
|
+
setIntervalMining: (args) => _chunkTFIHG36Gjs.setIntervalMining.call(void 0, client, args),
|
632
|
+
setLoggingEnabled: (args) => _chunkTFIHG36Gjs.setLoggingEnabled.call(void 0, client, args),
|
633
|
+
setMinGasPrice: (args) => _chunkTFIHG36Gjs.setMinGasPrice.call(void 0, client, args),
|
634
|
+
setNextBlockBaseFeePerGas: (args) => _chunkTFIHG36Gjs.setNextBlockBaseFeePerGas.call(void 0, client, args),
|
635
|
+
setNextBlockTimestamp: (args) => _chunkTFIHG36Gjs.setNextBlockTimestamp.call(void 0, client, args),
|
636
|
+
setNonce: (args) => _chunkTFIHG36Gjs.setNonce.call(void 0, client, args),
|
637
|
+
setRpcUrl: (args) => _chunkTFIHG36Gjs.setRpcUrl.call(void 0, client, args),
|
638
|
+
setStorageAt: (args) => _chunkTFIHG36Gjs.setStorageAt.call(void 0, client, args),
|
639
|
+
snapshot: () => _chunkTFIHG36Gjs.snapshot.call(void 0, client),
|
640
|
+
stopImpersonatingAccount: (args) => _chunkTFIHG36Gjs.stopImpersonatingAccount.call(void 0, client, args)
|
641
641
|
};
|
642
642
|
}
|
643
643
|
|
644
644
|
// src/clients/decorators/wallet.ts
|
645
645
|
var walletActions = (client) => ({
|
646
|
-
addChain: (args) =>
|
647
|
-
deployContract: (args) =>
|
648
|
-
getAddresses: () =>
|
649
|
-
getChainId: () =>
|
650
|
-
getPermissions: () =>
|
651
|
-
requestAddresses: () =>
|
652
|
-
requestPermissions: (args) =>
|
653
|
-
sendTransaction: (args) =>
|
654
|
-
signMessage: (args) =>
|
655
|
-
signTypedData: (args) =>
|
656
|
-
switchChain: (args) =>
|
657
|
-
watchAsset: (args) =>
|
658
|
-
writeContract: (args) =>
|
646
|
+
addChain: (args) => _chunkTFIHG36Gjs.addChain.call(void 0, client, args),
|
647
|
+
deployContract: (args) => _chunkTFIHG36Gjs.deployContract.call(void 0, client, args),
|
648
|
+
getAddresses: () => _chunkTFIHG36Gjs.getAddresses.call(void 0, client),
|
649
|
+
getChainId: () => _chunkTFIHG36Gjs.getChainId.call(void 0, client),
|
650
|
+
getPermissions: () => _chunkTFIHG36Gjs.getPermissions.call(void 0, client),
|
651
|
+
requestAddresses: () => _chunkTFIHG36Gjs.requestAddresses.call(void 0, client),
|
652
|
+
requestPermissions: (args) => _chunkTFIHG36Gjs.requestPermissions.call(void 0, client, args),
|
653
|
+
sendTransaction: (args) => _chunkTFIHG36Gjs.sendTransaction.call(void 0, client, args),
|
654
|
+
signMessage: (args) => _chunkTFIHG36Gjs.signMessage.call(void 0, client, args),
|
655
|
+
signTypedData: (args) => _chunkTFIHG36Gjs.signTypedData.call(void 0, client, args),
|
656
|
+
switchChain: (args) => _chunkTFIHG36Gjs.switchChain.call(void 0, client, args),
|
657
|
+
watchAsset: (args) => _chunkTFIHG36Gjs.watchAsset.call(void 0, client, args),
|
658
|
+
writeContract: (args) => _chunkTFIHG36Gjs.writeContract.call(void 0, client, args)
|
659
659
|
});
|
660
660
|
|
661
661
|
// src/clients/createPublicClient.ts
|
@@ -724,7 +724,7 @@ function createWalletClient({
|
|
724
724
|
transport: (opts) => transport({ ...opts, retryCount: 0 }),
|
725
725
|
type: "walletClient"
|
726
726
|
}),
|
727
|
-
account: account ?
|
727
|
+
account: account ? _chunkTFIHG36Gjs.parseAccount.call(void 0, account) : void 0
|
728
728
|
};
|
729
729
|
return {
|
730
730
|
...client,
|
@@ -923,5 +923,5 @@ function createWalletClient({
|
|
923
923
|
|
924
924
|
|
925
925
|
|
926
|
-
exports.AbiConstructorNotFoundError = _chunkULUVNOX4js.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkULUVNOX4js.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkULUVNOX4js.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkULUVNOX4js.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkULUVNOX4js.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkULUVNOX4js.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkULUVNOX4js.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkULUVNOX4js.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkULUVNOX4js.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkULUVNOX4js.AbiEventNotFoundError; exports.AbiEventSignatureEmptyTopicsError = _chunkULUVNOX4js.AbiEventSignatureEmptyTopicsError; exports.AbiEventSignatureNotFoundError = _chunkULUVNOX4js.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkULUVNOX4js.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkULUVNOX4js.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkULUVNOX4js.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkULUVNOX4js.BaseError; exports.BlockNotFoundError = _chunkULUVNOX4js.BlockNotFoundError; exports.CallExecutionError = _chunkULUVNOX4js.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkULUVNOX4js.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkULUVNOX4js.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkULUVNOX4js.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkULUVNOX4js.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkULUVNOX4js.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkULUVNOX4js.DataLengthTooShortError; exports.DecodeLogTopicsMismatch = _chunkULUVNOX4js.DecodeLogTopicsMismatch; exports.EnsAvatarUriResolutionError = _chunkULUVNOX4js.EnsAvatarUriResolutionError; exports.EstimateGasExecutionError = _chunkULUVNOX4js.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkULUVNOX4js.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkULUVNOX4js.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkULUVNOX4js.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkULUVNOX4js.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkULUVNOX4js.HttpRequestError; exports.InsufficientFundsError = _chunkULUVNOX4js.InsufficientFundsError; exports.InternalRpcError = _chunkULUVNOX4js.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkULUVNOX4js.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkULUVNOX4js.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkULUVNOX4js.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkULUVNOX4js.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkULUVNOX4js.InvalidAddressError; exports.InvalidArrayError = _chunkULUVNOX4js.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkULUVNOX4js.InvalidBytesBooleanError; exports.InvalidChainIdError = _chunkULUVNOX4js.InvalidChainIdError; exports.InvalidDefinitionTypeError = _chunkULUVNOX4js.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkULUVNOX4js.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkULUVNOX4js.InvalidHexValueError; exports.InvalidInputRpcError = _chunkULUVNOX4js.InvalidInputRpcError; exports.InvalidLegacyVError = _chunkULUVNOX4js.InvalidLegacyVError; exports.InvalidParamsRpcError = _chunkULUVNOX4js.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkULUVNOX4js.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkULUVNOX4js.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkULUVNOX4js.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkULUVNOX4js.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkULUVNOX4js.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkULUVNOX4js.NonceMaxValueError; exports.NonceTooHighError = _chunkULUVNOX4js.NonceTooHighError; exports.NonceTooLowError = _chunkULUVNOX4js.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkULUVNOX4js.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkULUVNOX4js.ParseRpcError; exports.RawContractError = _chunkULUVNOX4js.RawContractError; exports.RequestError = _chunkULUVNOX4js.RequestError; exports.ResourceNotFoundRpcError = _chunkULUVNOX4js.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkULUVNOX4js.ResourceUnavailableRpcError; exports.RpcError = _chunkULUVNOX4js.RpcError; exports.RpcRequestError = _chunkULUVNOX4js.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkULUVNOX4js.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkULUVNOX4js.SwitchChainError; exports.TimeoutError = _chunkULUVNOX4js.TimeoutError; exports.TipAboveFeeCapError = _chunkULUVNOX4js.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkULUVNOX4js.TransactionExecutionError; exports.TransactionNotFoundError = _chunkULUVNOX4js.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkULUVNOX4js.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkULUVNOX4js.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkULUVNOX4js.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkULUVNOX4js.UnknownNodeError; exports.UnknownRpcError = _chunkULUVNOX4js.UnknownRpcError; exports.UrlRequiredError = _chunkULUVNOX4js.UrlRequiredError; exports.UserRejectedRequestError = _chunkULUVNOX4js.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkULUVNOX4js.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkULUVNOX4js.WebSocketRequestError; exports.assertRequest = _chunkULUVNOX4js.assertRequest; exports.assertTransactionEIP1559 = _chunkULUVNOX4js.assertTransactionEIP1559; exports.assertTransactionEIP2930 = _chunkULUVNOX4js.assertTransactionEIP2930; exports.assertTransactionLegacy = _chunkULUVNOX4js.assertTransactionLegacy; exports.boolToBytes = _chunkULUVNOX4js.boolToBytes; exports.boolToHex = _chunkULUVNOX4js.boolToHex; exports.bytesToBigint = _chunkULUVNOX4js.bytesToBigint; exports.bytesToBool = _chunkULUVNOX4js.bytesToBool; exports.bytesToHex = _chunkULUVNOX4js.bytesToHex; exports.bytesToNumber = _chunkULUVNOX4js.bytesToNumber; exports.bytesToString = _chunkULUVNOX4js.bytesToString; exports.concat = _chunkULUVNOX4js.concat; exports.concatBytes = _chunkULUVNOX4js.concatBytes; exports.concatHex = _chunkULUVNOX4js.concatHex; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkULUVNOX4js.decodeAbiParameters; exports.decodeErrorResult = _chunkULUVNOX4js.decodeErrorResult; exports.decodeEventLog = _chunkULUVNOX4js.decodeEventLog; exports.decodeFunctionData = _chunkULUVNOX4js.decodeFunctionData; exports.decodeFunctionResult = _chunkULUVNOX4js.decodeFunctionResult; exports.defineBlock = _chunkULUVNOX4js.defineBlock; exports.defineChain = _chunkULUVNOX4js.defineChain; exports.defineTransaction = _chunkULUVNOX4js.defineTransaction; exports.defineTransactionReceipt = _chunkULUVNOX4js.defineTransactionReceipt; exports.defineTransactionRequest = _chunkULUVNOX4js.defineTransactionRequest; exports.encodeAbiParameters = _chunkULUVNOX4js.encodeAbiParameters; exports.encodeDeployData = _chunkULUVNOX4js.encodeDeployData; exports.encodeErrorResult = _chunkULUVNOX4js.encodeErrorResult; exports.encodeEventTopics = _chunkULUVNOX4js.encodeEventTopics; exports.encodeFunctionData = _chunkULUVNOX4js.encodeFunctionData; exports.encodeFunctionResult = _chunkULUVNOX4js.encodeFunctionResult; exports.encodePacked = _chunkULUVNOX4js.encodePacked; exports.etherUnits = _chunkULUVNOX4js.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkULUVNOX4js.formatBlock; exports.formatEther = _chunkULUVNOX4js.formatEther; exports.formatGwei = _chunkULUVNOX4js.formatGwei; exports.formatTransaction = _chunkULUVNOX4js.formatTransaction; exports.formatTransactionRequest = _chunkULUVNOX4js.formatTransactionRequest; exports.formatUnits = _chunkULUVNOX4js.formatUnits; exports.fromBytes = _chunkULUVNOX4js.fromBytes; exports.fromHex = _chunkULUVNOX4js.fromHex; exports.fromRlp = _chunkULUVNOX4js.fromRlp; exports.getAbiItem = _chunkULUVNOX4js.getAbiItem; exports.getAddress = _chunkULUVNOX4js.getAddress; exports.getContract = _chunkULUVNOX4js.getContract; exports.getContractAddress = _chunkULUVNOX4js.getContractAddress; exports.getContractError = _chunkULUVNOX4js.getContractError; exports.getCreate2Address = _chunkULUVNOX4js.getCreate2Address; exports.getCreateAddress = _chunkULUVNOX4js.getCreateAddress; exports.getEventSelector = _chunkULUVNOX4js.getEventSelector; exports.getFunctionSelector = _chunkULUVNOX4js.getFunctionSelector; exports.getSerializedTransactionType = _chunkULUVNOX4js.getSerializedTransactionType; exports.getTransactionType = _chunkULUVNOX4js.getTransactionType; exports.gweiUnits = _chunkULUVNOX4js.gweiUnits; exports.hashMessage = _chunkULUVNOX4js.hashMessage; exports.hashTypedData = _chunkULUVNOX4js.hashTypedData; exports.hexToBigInt = _chunkULUVNOX4js.hexToBigInt; exports.hexToBool = _chunkULUVNOX4js.hexToBool; exports.hexToBytes = _chunkULUVNOX4js.hexToBytes; exports.hexToNumber = _chunkULUVNOX4js.hexToNumber; exports.hexToString = _chunkULUVNOX4js.hexToString; exports.http = http; exports.isAddress = _chunkULUVNOX4js.isAddress; exports.isAddressEqual = _chunkULUVNOX4js.isAddressEqual; exports.isBytes = _chunkULUVNOX4js.isBytes; exports.isHash = _chunkULUVNOX4js.isHash; exports.isHex = _chunkULUVNOX4js.isHex; exports.keccak256 = _chunkULUVNOX4js.keccak256; exports.labelhash = _chunkULUVNOX4js.labelhash; exports.multicall3Abi = _chunkULUVNOX4js.multicall3Abi; exports.namehash = _chunkULUVNOX4js.namehash; exports.numberToBytes = _chunkULUVNOX4js.numberToBytes; exports.numberToHex = _chunkULUVNOX4js.numberToHex; exports.pad = _chunkULUVNOX4js.pad; exports.padBytes = _chunkULUVNOX4js.padBytes; exports.padHex = _chunkULUVNOX4js.padHex; exports.parseAbi = _chunkULUVNOX4js.parseAbi; exports.parseAbiItem = _chunkULUVNOX4js.parseAbiItem; exports.parseAbiParameter = _chunkULUVNOX4js.parseAbiParameter; exports.parseAbiParameters = _chunkULUVNOX4js.parseAbiParameters; exports.parseEther = _chunkULUVNOX4js.parseEther; exports.parseGwei = _chunkULUVNOX4js.parseGwei; exports.parseTransaction = _chunkULUVNOX4js.parseTransaction; exports.parseUnits = _chunkULUVNOX4js.parseUnits; exports.prepareRequest = _chunkULUVNOX4js.prepareRequest; exports.recoverAddress = _chunkULUVNOX4js.recoverAddress; exports.recoverMessageAddress = _chunkULUVNOX4js.recoverMessageAddress; exports.recoverTypedDataAddress = _chunkULUVNOX4js.recoverTypedDataAddress; exports.serializeTransaction = _chunkULUVNOX4js.serializeTransaction; exports.size = _chunkULUVNOX4js.size; exports.slice = _chunkULUVNOX4js.slice; exports.sliceBytes = _chunkULUVNOX4js.sliceBytes; exports.sliceHex = _chunkULUVNOX4js.sliceHex; exports.stringToBytes = _chunkULUVNOX4js.stringToBytes; exports.stringToHex = _chunkULUVNOX4js.stringToHex; exports.stringify = _chunkULUVNOX4js.stringify; exports.toBytes = _chunkULUVNOX4js.toBytes; exports.toHex = _chunkULUVNOX4js.toHex; exports.toRlp = _chunkULUVNOX4js.toRlp; exports.transactionType = _chunkULUVNOX4js.transactionType; exports.trim = _chunkULUVNOX4js.trim; exports.validateTypedData = _chunkULUVNOX4js.validateTypedData; exports.verifyMessage = _chunkULUVNOX4js.verifyMessage; exports.verifyTypedData = _chunkULUVNOX4js.verifyTypedData; exports.webSocket = webSocket; exports.weiUnits = _chunkULUVNOX4js.weiUnits;
|
926
|
+
exports.AbiConstructorNotFoundError = _chunkTFIHG36Gjs.AbiConstructorNotFoundError; exports.AbiConstructorParamsNotFoundError = _chunkTFIHG36Gjs.AbiConstructorParamsNotFoundError; exports.AbiDecodingDataSizeInvalidError = _chunkTFIHG36Gjs.AbiDecodingDataSizeInvalidError; exports.AbiDecodingZeroDataError = _chunkTFIHG36Gjs.AbiDecodingZeroDataError; exports.AbiEncodingArrayLengthMismatchError = _chunkTFIHG36Gjs.AbiEncodingArrayLengthMismatchError; exports.AbiEncodingLengthMismatchError = _chunkTFIHG36Gjs.AbiEncodingLengthMismatchError; exports.AbiErrorInputsNotFoundError = _chunkTFIHG36Gjs.AbiErrorInputsNotFoundError; exports.AbiErrorNotFoundError = _chunkTFIHG36Gjs.AbiErrorNotFoundError; exports.AbiErrorSignatureNotFoundError = _chunkTFIHG36Gjs.AbiErrorSignatureNotFoundError; exports.AbiEventNotFoundError = _chunkTFIHG36Gjs.AbiEventNotFoundError; exports.AbiEventSignatureEmptyTopicsError = _chunkTFIHG36Gjs.AbiEventSignatureEmptyTopicsError; exports.AbiEventSignatureNotFoundError = _chunkTFIHG36Gjs.AbiEventSignatureNotFoundError; exports.AbiFunctionNotFoundError = _chunkTFIHG36Gjs.AbiFunctionNotFoundError; exports.AbiFunctionOutputsNotFoundError = _chunkTFIHG36Gjs.AbiFunctionOutputsNotFoundError; exports.AbiFunctionSignatureNotFoundError = _chunkTFIHG36Gjs.AbiFunctionSignatureNotFoundError; exports.BaseError = _chunkTFIHG36Gjs.BaseError; exports.BlockNotFoundError = _chunkTFIHG36Gjs.BlockNotFoundError; exports.CallExecutionError = _chunkTFIHG36Gjs.CallExecutionError; exports.ChainDoesNotSupportContract = _chunkTFIHG36Gjs.ChainDoesNotSupportContract; exports.ContractFunctionExecutionError = _chunkTFIHG36Gjs.ContractFunctionExecutionError; exports.ContractFunctionRevertedError = _chunkTFIHG36Gjs.ContractFunctionRevertedError; exports.ContractFunctionZeroDataError = _chunkTFIHG36Gjs.ContractFunctionZeroDataError; exports.DataLengthTooLongError = _chunkTFIHG36Gjs.DataLengthTooLongError; exports.DataLengthTooShortError = _chunkTFIHG36Gjs.DataLengthTooShortError; exports.DecodeLogTopicsMismatch = _chunkTFIHG36Gjs.DecodeLogTopicsMismatch; exports.EnsAvatarUriResolutionError = _chunkTFIHG36Gjs.EnsAvatarUriResolutionError; exports.EstimateGasExecutionError = _chunkTFIHG36Gjs.EstimateGasExecutionError; exports.ExecutionRevertedError = _chunkTFIHG36Gjs.ExecutionRevertedError; exports.FeeCapTooHighError = _chunkTFIHG36Gjs.FeeCapTooHighError; exports.FeeCapTooLowError = _chunkTFIHG36Gjs.FeeCapTooLowError; exports.FilterTypeNotSupportedError = _chunkTFIHG36Gjs.FilterTypeNotSupportedError; exports.HttpRequestError = _chunkTFIHG36Gjs.HttpRequestError; exports.InsufficientFundsError = _chunkTFIHG36Gjs.InsufficientFundsError; exports.InternalRpcError = _chunkTFIHG36Gjs.InternalRpcError; exports.IntrinsicGasTooHighError = _chunkTFIHG36Gjs.IntrinsicGasTooHighError; exports.IntrinsicGasTooLowError = _chunkTFIHG36Gjs.IntrinsicGasTooLowError; exports.InvalidAbiDecodingTypeError = _chunkTFIHG36Gjs.InvalidAbiDecodingTypeError; exports.InvalidAbiEncodingTypeError = _chunkTFIHG36Gjs.InvalidAbiEncodingTypeError; exports.InvalidAddressError = _chunkTFIHG36Gjs.InvalidAddressError; exports.InvalidArrayError = _chunkTFIHG36Gjs.InvalidArrayError; exports.InvalidBytesBooleanError = _chunkTFIHG36Gjs.InvalidBytesBooleanError; exports.InvalidChainIdError = _chunkTFIHG36Gjs.InvalidChainIdError; exports.InvalidDefinitionTypeError = _chunkTFIHG36Gjs.InvalidDefinitionTypeError; exports.InvalidHexBooleanError = _chunkTFIHG36Gjs.InvalidHexBooleanError; exports.InvalidHexValueError = _chunkTFIHG36Gjs.InvalidHexValueError; exports.InvalidInputRpcError = _chunkTFIHG36Gjs.InvalidInputRpcError; exports.InvalidLegacyVError = _chunkTFIHG36Gjs.InvalidLegacyVError; exports.InvalidParamsRpcError = _chunkTFIHG36Gjs.InvalidParamsRpcError; exports.InvalidRequestRpcError = _chunkTFIHG36Gjs.InvalidRequestRpcError; exports.JsonRpcVersionUnsupportedError = _chunkTFIHG36Gjs.JsonRpcVersionUnsupportedError; exports.LimitExceededRpcError = _chunkTFIHG36Gjs.LimitExceededRpcError; exports.MethodNotFoundRpcError = _chunkTFIHG36Gjs.MethodNotFoundRpcError; exports.MethodNotSupportedRpcError = _chunkTFIHG36Gjs.MethodNotSupportedRpcError; exports.NonceMaxValueError = _chunkTFIHG36Gjs.NonceMaxValueError; exports.NonceTooHighError = _chunkTFIHG36Gjs.NonceTooHighError; exports.NonceTooLowError = _chunkTFIHG36Gjs.NonceTooLowError; exports.OffsetOutOfBoundsError = _chunkTFIHG36Gjs.OffsetOutOfBoundsError; exports.ParseRpcError = _chunkTFIHG36Gjs.ParseRpcError; exports.RawContractError = _chunkTFIHG36Gjs.RawContractError; exports.RequestError = _chunkTFIHG36Gjs.RequestError; exports.ResourceNotFoundRpcError = _chunkTFIHG36Gjs.ResourceNotFoundRpcError; exports.ResourceUnavailableRpcError = _chunkTFIHG36Gjs.ResourceUnavailableRpcError; exports.RpcError = _chunkTFIHG36Gjs.RpcError; exports.RpcRequestError = _chunkTFIHG36Gjs.RpcRequestError; exports.SizeExceedsPaddingSizeError = _chunkTFIHG36Gjs.SizeExceedsPaddingSizeError; exports.SwitchChainError = _chunkTFIHG36Gjs.SwitchChainError; exports.TimeoutError = _chunkTFIHG36Gjs.TimeoutError; exports.TipAboveFeeCapError = _chunkTFIHG36Gjs.TipAboveFeeCapError; exports.TransactionExecutionError = _chunkTFIHG36Gjs.TransactionExecutionError; exports.TransactionNotFoundError = _chunkTFIHG36Gjs.TransactionNotFoundError; exports.TransactionReceiptNotFoundError = _chunkTFIHG36Gjs.TransactionReceiptNotFoundError; exports.TransactionRejectedRpcError = _chunkTFIHG36Gjs.TransactionRejectedRpcError; exports.TransactionTypeNotSupportedError = _chunkTFIHG36Gjs.TransactionTypeNotSupportedError; exports.UnknownNodeError = _chunkTFIHG36Gjs.UnknownNodeError; exports.UnknownRpcError = _chunkTFIHG36Gjs.UnknownRpcError; exports.UrlRequiredError = _chunkTFIHG36Gjs.UrlRequiredError; exports.UserRejectedRequestError = _chunkTFIHG36Gjs.UserRejectedRequestError; exports.WaitForTransactionReceiptTimeoutError = _chunkTFIHG36Gjs.WaitForTransactionReceiptTimeoutError; exports.WebSocketRequestError = _chunkTFIHG36Gjs.WebSocketRequestError; exports.assertRequest = _chunkTFIHG36Gjs.assertRequest; exports.assertTransactionEIP1559 = _chunkTFIHG36Gjs.assertTransactionEIP1559; exports.assertTransactionEIP2930 = _chunkTFIHG36Gjs.assertTransactionEIP2930; exports.assertTransactionLegacy = _chunkTFIHG36Gjs.assertTransactionLegacy; exports.boolToBytes = _chunkTFIHG36Gjs.boolToBytes; exports.boolToHex = _chunkTFIHG36Gjs.boolToHex; exports.bytesToBigint = _chunkTFIHG36Gjs.bytesToBigint; exports.bytesToBool = _chunkTFIHG36Gjs.bytesToBool; exports.bytesToHex = _chunkTFIHG36Gjs.bytesToHex; exports.bytesToNumber = _chunkTFIHG36Gjs.bytesToNumber; exports.bytesToString = _chunkTFIHG36Gjs.bytesToString; exports.concat = _chunkTFIHG36Gjs.concat; exports.concatBytes = _chunkTFIHG36Gjs.concatBytes; exports.concatHex = _chunkTFIHG36Gjs.concatHex; exports.createClient = createClient; exports.createPublicClient = createPublicClient; exports.createTestClient = createTestClient; exports.createTransport = createTransport; exports.createWalletClient = createWalletClient; exports.custom = custom; exports.decodeAbiParameters = _chunkTFIHG36Gjs.decodeAbiParameters; exports.decodeErrorResult = _chunkTFIHG36Gjs.decodeErrorResult; exports.decodeEventLog = _chunkTFIHG36Gjs.decodeEventLog; exports.decodeFunctionData = _chunkTFIHG36Gjs.decodeFunctionData; exports.decodeFunctionResult = _chunkTFIHG36Gjs.decodeFunctionResult; exports.defineBlock = _chunkTFIHG36Gjs.defineBlock; exports.defineChain = _chunkTFIHG36Gjs.defineChain; exports.defineTransaction = _chunkTFIHG36Gjs.defineTransaction; exports.defineTransactionReceipt = _chunkTFIHG36Gjs.defineTransactionReceipt; exports.defineTransactionRequest = _chunkTFIHG36Gjs.defineTransactionRequest; exports.encodeAbiParameters = _chunkTFIHG36Gjs.encodeAbiParameters; exports.encodeDeployData = _chunkTFIHG36Gjs.encodeDeployData; exports.encodeErrorResult = _chunkTFIHG36Gjs.encodeErrorResult; exports.encodeEventTopics = _chunkTFIHG36Gjs.encodeEventTopics; exports.encodeFunctionData = _chunkTFIHG36Gjs.encodeFunctionData; exports.encodeFunctionResult = _chunkTFIHG36Gjs.encodeFunctionResult; exports.encodePacked = _chunkTFIHG36Gjs.encodePacked; exports.etherUnits = _chunkTFIHG36Gjs.etherUnits; exports.fallback = fallback; exports.formatBlock = _chunkTFIHG36Gjs.formatBlock; exports.formatEther = _chunkTFIHG36Gjs.formatEther; exports.formatGwei = _chunkTFIHG36Gjs.formatGwei; exports.formatTransaction = _chunkTFIHG36Gjs.formatTransaction; exports.formatTransactionRequest = _chunkTFIHG36Gjs.formatTransactionRequest; exports.formatUnits = _chunkTFIHG36Gjs.formatUnits; exports.fromBytes = _chunkTFIHG36Gjs.fromBytes; exports.fromHex = _chunkTFIHG36Gjs.fromHex; exports.fromRlp = _chunkTFIHG36Gjs.fromRlp; exports.getAbiItem = _chunkTFIHG36Gjs.getAbiItem; exports.getAddress = _chunkTFIHG36Gjs.getAddress; exports.getContract = _chunkTFIHG36Gjs.getContract; exports.getContractAddress = _chunkTFIHG36Gjs.getContractAddress; exports.getContractError = _chunkTFIHG36Gjs.getContractError; exports.getCreate2Address = _chunkTFIHG36Gjs.getCreate2Address; exports.getCreateAddress = _chunkTFIHG36Gjs.getCreateAddress; exports.getEventSelector = _chunkTFIHG36Gjs.getEventSelector; exports.getFunctionSelector = _chunkTFIHG36Gjs.getFunctionSelector; exports.getSerializedTransactionType = _chunkTFIHG36Gjs.getSerializedTransactionType; exports.getTransactionType = _chunkTFIHG36Gjs.getTransactionType; exports.gweiUnits = _chunkTFIHG36Gjs.gweiUnits; exports.hashMessage = _chunkTFIHG36Gjs.hashMessage; exports.hashTypedData = _chunkTFIHG36Gjs.hashTypedData; exports.hexToBigInt = _chunkTFIHG36Gjs.hexToBigInt; exports.hexToBool = _chunkTFIHG36Gjs.hexToBool; exports.hexToBytes = _chunkTFIHG36Gjs.hexToBytes; exports.hexToNumber = _chunkTFIHG36Gjs.hexToNumber; exports.hexToString = _chunkTFIHG36Gjs.hexToString; exports.http = http; exports.isAddress = _chunkTFIHG36Gjs.isAddress; exports.isAddressEqual = _chunkTFIHG36Gjs.isAddressEqual; exports.isBytes = _chunkTFIHG36Gjs.isBytes; exports.isHash = _chunkTFIHG36Gjs.isHash; exports.isHex = _chunkTFIHG36Gjs.isHex; exports.keccak256 = _chunkTFIHG36Gjs.keccak256; exports.labelhash = _chunkTFIHG36Gjs.labelhash; exports.multicall3Abi = _chunkTFIHG36Gjs.multicall3Abi; exports.namehash = _chunkTFIHG36Gjs.namehash; exports.numberToBytes = _chunkTFIHG36Gjs.numberToBytes; exports.numberToHex = _chunkTFIHG36Gjs.numberToHex; exports.pad = _chunkTFIHG36Gjs.pad; exports.padBytes = _chunkTFIHG36Gjs.padBytes; exports.padHex = _chunkTFIHG36Gjs.padHex; exports.parseAbi = _chunkTFIHG36Gjs.parseAbi; exports.parseAbiItem = _chunkTFIHG36Gjs.parseAbiItem; exports.parseAbiParameter = _chunkTFIHG36Gjs.parseAbiParameter; exports.parseAbiParameters = _chunkTFIHG36Gjs.parseAbiParameters; exports.parseEther = _chunkTFIHG36Gjs.parseEther; exports.parseGwei = _chunkTFIHG36Gjs.parseGwei; exports.parseTransaction = _chunkTFIHG36Gjs.parseTransaction; exports.parseUnits = _chunkTFIHG36Gjs.parseUnits; exports.prepareRequest = _chunkTFIHG36Gjs.prepareRequest; exports.recoverAddress = _chunkTFIHG36Gjs.recoverAddress; exports.recoverMessageAddress = _chunkTFIHG36Gjs.recoverMessageAddress; exports.recoverTypedDataAddress = _chunkTFIHG36Gjs.recoverTypedDataAddress; exports.serializeTransaction = _chunkTFIHG36Gjs.serializeTransaction; exports.size = _chunkTFIHG36Gjs.size; exports.slice = _chunkTFIHG36Gjs.slice; exports.sliceBytes = _chunkTFIHG36Gjs.sliceBytes; exports.sliceHex = _chunkTFIHG36Gjs.sliceHex; exports.stringToBytes = _chunkTFIHG36Gjs.stringToBytes; exports.stringToHex = _chunkTFIHG36Gjs.stringToHex; exports.stringify = _chunkTFIHG36Gjs.stringify; exports.toBytes = _chunkTFIHG36Gjs.toBytes; exports.toHex = _chunkTFIHG36Gjs.toHex; exports.toRlp = _chunkTFIHG36Gjs.toRlp; exports.transactionType = _chunkTFIHG36Gjs.transactionType; exports.trim = _chunkTFIHG36Gjs.trim; exports.validateTypedData = _chunkTFIHG36Gjs.validateTypedData; exports.verifyMessage = _chunkTFIHG36Gjs.verifyMessage; exports.verifyTypedData = _chunkTFIHG36Gjs.verifyTypedData; exports.webSocket = webSocket; exports.weiUnits = _chunkTFIHG36Gjs.weiUnits;
|
927
927
|
//# sourceMappingURL=index.js.map
|
package/dist/index.mjs
CHANGED
package/dist/public.js
CHANGED
@@ -26,7 +26,7 @@
|
|
26
26
|
|
27
27
|
|
28
28
|
|
29
|
-
var
|
29
|
+
var _chunkTFIHG36Gjs = require('./chunk-TFIHG36G.js');
|
30
30
|
|
31
31
|
|
32
32
|
|
@@ -55,5 +55,5 @@ var _chunkULUVNOX4js = require('./chunk-ULUVNOX4.js');
|
|
55
55
|
|
56
56
|
|
57
57
|
|
58
|
-
exports.call =
|
58
|
+
exports.call = _chunkTFIHG36Gjs.call; exports.createBlockFilter = _chunkTFIHG36Gjs.createBlockFilter; exports.createEventFilter = _chunkTFIHG36Gjs.createEventFilter; exports.createPendingTransactionFilter = _chunkTFIHG36Gjs.createPendingTransactionFilter; exports.estimateGas = _chunkTFIHG36Gjs.estimateGas; exports.getBalance = _chunkTFIHG36Gjs.getBalance; exports.getBlock = _chunkTFIHG36Gjs.getBlock; exports.getBlockNumber = _chunkTFIHG36Gjs.getBlockNumber; exports.getBlockNumberCache = _chunkTFIHG36Gjs.getBlockNumberCache; exports.getBlockTransactionCount = _chunkTFIHG36Gjs.getBlockTransactionCount; exports.getBytecode = _chunkTFIHG36Gjs.getBytecode; exports.getChainId = _chunkTFIHG36Gjs.getChainId; exports.getFeeHistory = _chunkTFIHG36Gjs.getFeeHistory; exports.getFilterChanges = _chunkTFIHG36Gjs.getFilterChanges; exports.getFilterLogs = _chunkTFIHG36Gjs.getFilterLogs; exports.getGasPrice = _chunkTFIHG36Gjs.getGasPrice; exports.getLogs = _chunkTFIHG36Gjs.getLogs; exports.getTransaction = _chunkTFIHG36Gjs.getTransaction; exports.getTransactionConfirmations = _chunkTFIHG36Gjs.getTransactionConfirmations; exports.getTransactionCount = _chunkTFIHG36Gjs.getTransactionCount; exports.getTransactionReceipt = _chunkTFIHG36Gjs.getTransactionReceipt; exports.uninstallFilter = _chunkTFIHG36Gjs.uninstallFilter; exports.waitForTransactionReceipt = _chunkTFIHG36Gjs.waitForTransactionReceipt; exports.watchBlockNumber = _chunkTFIHG36Gjs.watchBlockNumber; exports.watchBlocks = _chunkTFIHG36Gjs.watchBlocks; exports.watchEvent = _chunkTFIHG36Gjs.watchEvent; exports.watchPendingTransactions = _chunkTFIHG36Gjs.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 _chunkTFIHG36Gjs = require('./chunk-TFIHG36G.js');
|
31
31
|
|
32
32
|
|
33
33
|
|
@@ -57,5 +57,5 @@ var _chunkULUVNOX4js = require('./chunk-ULUVNOX4.js');
|
|
57
57
|
|
58
58
|
|
59
59
|
|
60
|
-
exports.dropTransaction =
|
60
|
+
exports.dropTransaction = _chunkTFIHG36Gjs.dropTransaction; exports.getAutomine = _chunkTFIHG36Gjs.getAutomine; exports.getTxpoolContent = _chunkTFIHG36Gjs.getTxpoolContent; exports.getTxpoolStatus = _chunkTFIHG36Gjs.getTxpoolStatus; exports.impersonateAccount = _chunkTFIHG36Gjs.impersonateAccount; exports.increaseTime = _chunkTFIHG36Gjs.increaseTime; exports.inspectTxpool = _chunkTFIHG36Gjs.inspectTxpool; exports.mine = _chunkTFIHG36Gjs.mine; exports.removeBlockTimestampInterval = _chunkTFIHG36Gjs.removeBlockTimestampInterval; exports.reset = _chunkTFIHG36Gjs.reset; exports.revert = _chunkTFIHG36Gjs.revert; exports.sendUnsignedTransaction = _chunkTFIHG36Gjs.sendUnsignedTransaction; exports.setAutomine = _chunkTFIHG36Gjs.setAutomine; exports.setBalance = _chunkTFIHG36Gjs.setBalance; exports.setBlockGasLimit = _chunkTFIHG36Gjs.setBlockGasLimit; exports.setBlockTimestampInterval = _chunkTFIHG36Gjs.setBlockTimestampInterval; exports.setCode = _chunkTFIHG36Gjs.setCode; exports.setCoinbase = _chunkTFIHG36Gjs.setCoinbase; exports.setIntervalMining = _chunkTFIHG36Gjs.setIntervalMining; exports.setLoggingEnabled = _chunkTFIHG36Gjs.setLoggingEnabled; exports.setMinGasPrice = _chunkTFIHG36Gjs.setMinGasPrice; exports.setNextBlockBaseFeePerGas = _chunkTFIHG36Gjs.setNextBlockBaseFeePerGas; exports.setNextBlockTimestamp = _chunkTFIHG36Gjs.setNextBlockTimestamp; exports.setNonce = _chunkTFIHG36Gjs.setNonce; exports.setRpcUrl = _chunkTFIHG36Gjs.setRpcUrl; exports.setStorageAt = _chunkTFIHG36Gjs.setStorageAt; exports.snapshot = _chunkTFIHG36Gjs.snapshot; exports.stopImpersonatingAccount = _chunkTFIHG36Gjs.stopImpersonatingAccount;
|
61
61
|
//# sourceMappingURL=test.js.map
|