@1delta/providers 0.0.44 → 0.0.45
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/{ccip-P6QKYDYG.mjs → ccip-CQYMVZLL.mjs} +1 -1
- package/dist/{chunk-GGVKF6RL.mjs → chunk-B7I6NQ46.mjs} +121 -88
- package/dist/index.d.mts +45 -0
- package/dist/index.d.ts +45 -0
- package/dist/index.js +576 -485
- package/dist/index.mjs +311 -255
- package/package.json +1 -1
- package/src/chains/chainMapping.ts +3 -0
- package/src/multicall/multicall.ts +11 -3
package/dist/index.mjs
CHANGED
|
@@ -64,6 +64,7 @@ import {
|
|
|
64
64
|
UnsupportedProviderMethodError,
|
|
65
65
|
UserRejectedRequestError,
|
|
66
66
|
WaitForTransactionReceiptTimeoutError,
|
|
67
|
+
WalletConnectSessionSettlementError,
|
|
67
68
|
WebSocketRequestError,
|
|
68
69
|
addressResolverAbi,
|
|
69
70
|
assertRequest,
|
|
@@ -159,13 +160,13 @@ import {
|
|
|
159
160
|
validate,
|
|
160
161
|
validate2,
|
|
161
162
|
withResolvers
|
|
162
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-B7I6NQ46.mjs";
|
|
163
164
|
import "./chunk-CALEUNGN.mjs";
|
|
164
165
|
import {
|
|
165
166
|
__export
|
|
166
167
|
} from "./chunk-XGB3TDIC.mjs";
|
|
167
168
|
|
|
168
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
169
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/getAction.js
|
|
169
170
|
function getAction(client, actionFn, name) {
|
|
170
171
|
const action_implicit = client[actionFn.name];
|
|
171
172
|
if (typeof action_implicit === "function")
|
|
@@ -176,7 +177,7 @@ function getAction(client, actionFn, name) {
|
|
|
176
177
|
return (params) => actionFn(client, params);
|
|
177
178
|
}
|
|
178
179
|
|
|
179
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
180
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/log.js
|
|
180
181
|
var FilterTypeNotSupportedError = class extends BaseError {
|
|
181
182
|
constructor(type) {
|
|
182
183
|
super(`Filter type "${type}" is not supported.`, {
|
|
@@ -185,7 +186,7 @@ var FilterTypeNotSupportedError = class extends BaseError {
|
|
|
185
186
|
}
|
|
186
187
|
};
|
|
187
188
|
|
|
188
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
189
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/encodeEventTopics.js
|
|
189
190
|
var docsPath = "/docs/contract/encodeEventTopics";
|
|
190
191
|
function encodeEventTopics(parameters) {
|
|
191
192
|
const { abi: abi2, eventName, args } = parameters;
|
|
@@ -222,7 +223,7 @@ function encodeArg({ param, value }) {
|
|
|
222
223
|
return encodeAbiParameters([param], [value]);
|
|
223
224
|
}
|
|
224
225
|
|
|
225
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
226
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/filters/createFilterRequestScope.js
|
|
226
227
|
function createFilterRequestScope(client, { method }) {
|
|
227
228
|
const requestMap = {};
|
|
228
229
|
if (client.transport.type === "fallback")
|
|
@@ -233,7 +234,7 @@ function createFilterRequestScope(client, { method }) {
|
|
|
233
234
|
return ((id) => requestMap[id] || client.request);
|
|
234
235
|
}
|
|
235
236
|
|
|
236
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
237
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/createContractEventFilter.js
|
|
237
238
|
async function createContractEventFilter(client, parameters) {
|
|
238
239
|
const { address, abi: abi2, args, eventName, fromBlock, strict, toBlock } = parameters;
|
|
239
240
|
const getRequest = createFilterRequestScope(client, {
|
|
@@ -266,7 +267,7 @@ async function createContractEventFilter(client, parameters) {
|
|
|
266
267
|
};
|
|
267
268
|
}
|
|
268
269
|
|
|
269
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
270
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/errors/getContractError.js
|
|
270
271
|
var EXECUTION_REVERTED_ERROR_CODE = 3;
|
|
271
272
|
function getContractError(err, { abi: abi2, address, args, docsPath: docsPath3, functionName, sender }) {
|
|
272
273
|
const error = err instanceof RawContractError ? err : err instanceof BaseError ? err.walk((err2) => "data" in err2) || err.walk() : {};
|
|
@@ -294,13 +295,13 @@ function getContractError(err, { abi: abi2, address, args, docsPath: docsPath3,
|
|
|
294
295
|
});
|
|
295
296
|
}
|
|
296
297
|
|
|
297
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
298
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/accounts/utils/publicKeyToAddress.js
|
|
298
299
|
function publicKeyToAddress(publicKey) {
|
|
299
300
|
const address = keccak256(`0x${publicKey.substring(4)}`).substring(26);
|
|
300
301
|
return checksumAddress(`0x${address}`);
|
|
301
302
|
}
|
|
302
303
|
|
|
303
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
304
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/signature/recoverPublicKey.js
|
|
304
305
|
async function recoverPublicKey({ hash: hash2, signature }) {
|
|
305
306
|
const hashHex = isHex(hash2) ? hash2 : toHex(hash2);
|
|
306
307
|
const { secp256k1: secp256k12 } = await import("./secp256k1-NX6XS3V3.mjs");
|
|
@@ -331,12 +332,12 @@ function toRecoveryBit(yParityOrV) {
|
|
|
331
332
|
throw new Error("Invalid yParityOrV value");
|
|
332
333
|
}
|
|
333
334
|
|
|
334
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
335
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/signature/recoverAddress.js
|
|
335
336
|
async function recoverAddress({ hash: hash2, signature }) {
|
|
336
337
|
return publicKeyToAddress(await recoverPublicKey({ hash: hash2, signature }));
|
|
337
338
|
}
|
|
338
339
|
|
|
339
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
340
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/encoding/toRlp.js
|
|
340
341
|
function toRlp(bytes, to = "hex") {
|
|
341
342
|
const encodable = getEncodable(bytes);
|
|
342
343
|
const cursor = createCursor(new Uint8Array(encodable.length));
|
|
@@ -425,7 +426,7 @@ function getSizeOfLength(length) {
|
|
|
425
426
|
throw new BaseError("Length is too large.");
|
|
426
427
|
}
|
|
427
428
|
|
|
428
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
429
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/authorization/hashAuthorization.js
|
|
429
430
|
function hashAuthorization(parameters) {
|
|
430
431
|
const { chainId, nonce, to } = parameters;
|
|
431
432
|
const address = parameters.contractAddress ?? parameters.address;
|
|
@@ -442,7 +443,7 @@ function hashAuthorization(parameters) {
|
|
|
442
443
|
return hash2;
|
|
443
444
|
}
|
|
444
445
|
|
|
445
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
446
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/authorization/recoverAuthorizationAddress.js
|
|
446
447
|
async function recoverAuthorizationAddress(parameters) {
|
|
447
448
|
const { authorization, signature } = parameters;
|
|
448
449
|
return recoverAddress({
|
|
@@ -451,7 +452,7 @@ async function recoverAuthorizationAddress(parameters) {
|
|
|
451
452
|
});
|
|
452
453
|
}
|
|
453
454
|
|
|
454
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
455
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/estimateGas.js
|
|
455
456
|
var EstimateGasExecutionError = class extends BaseError {
|
|
456
457
|
constructor(cause, { account, docsPath: docsPath3, chain, data, gas, gasPrice, maxFeePerGas, maxPriorityFeePerGas, nonce, to, value }) {
|
|
457
458
|
const prettyArgs = prettyPrint({
|
|
@@ -485,7 +486,7 @@ var EstimateGasExecutionError = class extends BaseError {
|
|
|
485
486
|
}
|
|
486
487
|
};
|
|
487
488
|
|
|
488
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
489
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/errors/getEstimateGasError.js
|
|
489
490
|
function getEstimateGasError(err, { docsPath: docsPath3, ...args }) {
|
|
490
491
|
const cause = (() => {
|
|
491
492
|
const cause2 = getNodeError(err, args);
|
|
@@ -499,7 +500,7 @@ function getEstimateGasError(err, { docsPath: docsPath3, ...args }) {
|
|
|
499
500
|
});
|
|
500
501
|
}
|
|
501
502
|
|
|
502
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
503
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/fee.js
|
|
503
504
|
var BaseFeeScalarError = class extends BaseError {
|
|
504
505
|
constructor() {
|
|
505
506
|
super("`baseFeeMultiplier` must be greater than 1.", {
|
|
@@ -520,7 +521,7 @@ var MaxFeePerGasTooLowError = class extends BaseError {
|
|
|
520
521
|
}
|
|
521
522
|
};
|
|
522
523
|
|
|
523
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
524
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/block.js
|
|
524
525
|
var BlockNotFoundError = class extends BaseError {
|
|
525
526
|
constructor({ blockHash, blockNumber }) {
|
|
526
527
|
let identifier = "Block";
|
|
@@ -532,7 +533,7 @@ var BlockNotFoundError = class extends BaseError {
|
|
|
532
533
|
}
|
|
533
534
|
};
|
|
534
535
|
|
|
535
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
536
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/formatters/transaction.js
|
|
536
537
|
var transactionType = {
|
|
537
538
|
"0x0": "legacy",
|
|
538
539
|
"0x1": "eip2930",
|
|
@@ -602,7 +603,7 @@ function formatAuthorizationList(authorizationList) {
|
|
|
602
603
|
}));
|
|
603
604
|
}
|
|
604
605
|
|
|
605
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
606
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/formatters/block.js
|
|
606
607
|
function formatBlock(block, _) {
|
|
607
608
|
const transactions = (block.transactions ?? []).map((transaction) => {
|
|
608
609
|
if (typeof transaction === "string")
|
|
@@ -629,7 +630,7 @@ function formatBlock(block, _) {
|
|
|
629
630
|
}
|
|
630
631
|
var defineBlock = /* @__PURE__ */ defineFormatter("block", formatBlock);
|
|
631
632
|
|
|
632
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
633
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getBlock.js
|
|
633
634
|
async function getBlock(client, { blockHash, blockNumber, blockTag = client.experimental_blockTag ?? "latest", includeTransactions: includeTransactions_ } = {}) {
|
|
634
635
|
const includeTransactions = includeTransactions_ ?? false;
|
|
635
636
|
const blockNumberHex = blockNumber !== void 0 ? numberToHex(blockNumber) : void 0;
|
|
@@ -651,7 +652,7 @@ async function getBlock(client, { blockHash, blockNumber, blockTag = client.expe
|
|
|
651
652
|
return format(block, "getBlock");
|
|
652
653
|
}
|
|
653
654
|
|
|
654
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
655
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getGasPrice.js
|
|
655
656
|
async function getGasPrice(client) {
|
|
656
657
|
const gasPrice = await client.request({
|
|
657
658
|
method: "eth_gasPrice"
|
|
@@ -659,7 +660,7 @@ async function getGasPrice(client) {
|
|
|
659
660
|
return BigInt(gasPrice);
|
|
660
661
|
}
|
|
661
662
|
|
|
662
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
663
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/estimateMaxPriorityFeePerGas.js
|
|
663
664
|
async function estimateMaxPriorityFeePerGas(client, args) {
|
|
664
665
|
return internal_estimateMaxPriorityFeePerGas(client, args);
|
|
665
666
|
}
|
|
@@ -698,7 +699,7 @@ async function internal_estimateMaxPriorityFeePerGas(client, args) {
|
|
|
698
699
|
}
|
|
699
700
|
}
|
|
700
701
|
|
|
701
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
702
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/estimateFeesPerGas.js
|
|
702
703
|
async function estimateFeesPerGas(client, args) {
|
|
703
704
|
return internal_estimateFeesPerGas(client, args);
|
|
704
705
|
}
|
|
@@ -751,7 +752,7 @@ async function internal_estimateFeesPerGas(client, args) {
|
|
|
751
752
|
};
|
|
752
753
|
}
|
|
753
754
|
|
|
754
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
755
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getTransactionCount.js
|
|
755
756
|
async function getTransactionCount(client, { address, blockTag = "latest", blockNumber }) {
|
|
756
757
|
const count = await client.request({
|
|
757
758
|
method: "eth_getTransactionCount",
|
|
@@ -765,7 +766,7 @@ async function getTransactionCount(client, { address, blockTag = "latest", block
|
|
|
765
766
|
return hexToNumber(count);
|
|
766
767
|
}
|
|
767
768
|
|
|
768
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
769
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/blob/blobsToCommitments.js
|
|
769
770
|
function blobsToCommitments(parameters) {
|
|
770
771
|
const { kzg } = parameters;
|
|
771
772
|
const to = parameters.to ?? (typeof parameters.blobs[0] === "string" ? "hex" : "bytes");
|
|
@@ -776,7 +777,7 @@ function blobsToCommitments(parameters) {
|
|
|
776
777
|
return to === "bytes" ? commitments : commitments.map((x) => bytesToHex(x));
|
|
777
778
|
}
|
|
778
779
|
|
|
779
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
780
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/blob/blobsToProofs.js
|
|
780
781
|
function blobsToProofs(parameters) {
|
|
781
782
|
const { kzg } = parameters;
|
|
782
783
|
const to = parameters.to ?? (typeof parameters.blobs[0] === "string" ? "hex" : "bytes");
|
|
@@ -794,7 +795,7 @@ function blobsToProofs(parameters) {
|
|
|
794
795
|
// ../../node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/sha256.js
|
|
795
796
|
var sha2562 = sha256;
|
|
796
797
|
|
|
797
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
798
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/hash/sha256.js
|
|
798
799
|
function sha2563(value, to_) {
|
|
799
800
|
const to = to_ || "hex";
|
|
800
801
|
const bytes = sha2562(isHex(value, { strict: false }) ? toBytes(value) : value);
|
|
@@ -803,7 +804,7 @@ function sha2563(value, to_) {
|
|
|
803
804
|
return toHex(bytes);
|
|
804
805
|
}
|
|
805
806
|
|
|
806
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
807
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/blob/commitmentToVersionedHash.js
|
|
807
808
|
function commitmentToVersionedHash(parameters) {
|
|
808
809
|
const { commitment, version = 1 } = parameters;
|
|
809
810
|
const to = parameters.to ?? (typeof commitment === "string" ? "hex" : "bytes");
|
|
@@ -812,7 +813,7 @@ function commitmentToVersionedHash(parameters) {
|
|
|
812
813
|
return to === "bytes" ? versionedHash : bytesToHex(versionedHash);
|
|
813
814
|
}
|
|
814
815
|
|
|
815
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
816
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/blob/commitmentsToVersionedHashes.js
|
|
816
817
|
function commitmentsToVersionedHashes(parameters) {
|
|
817
818
|
const { commitments, version } = parameters;
|
|
818
819
|
const to = parameters.to ?? (typeof commitments[0] === "string" ? "hex" : "bytes");
|
|
@@ -827,7 +828,7 @@ function commitmentsToVersionedHashes(parameters) {
|
|
|
827
828
|
return hashes;
|
|
828
829
|
}
|
|
829
830
|
|
|
830
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
831
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/constants/blob.js
|
|
831
832
|
var blobsPerTransaction = 6;
|
|
832
833
|
var bytesPerFieldElement = 32;
|
|
833
834
|
var fieldElementsPerBlob = 4096;
|
|
@@ -836,10 +837,10 @@ var maxBytesPerTransaction = bytesPerBlob * blobsPerTransaction - // terminator
|
|
|
836
837
|
1 - // zero byte (0x00) appended to each field element.
|
|
837
838
|
1 * fieldElementsPerBlob * blobsPerTransaction;
|
|
838
839
|
|
|
839
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
840
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/constants/kzg.js
|
|
840
841
|
var versionedHashVersionKzg = 1;
|
|
841
842
|
|
|
842
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
843
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/blob.js
|
|
843
844
|
var BlobSizeTooLargeError = class extends BaseError {
|
|
844
845
|
constructor({ maxSize, size: size5 }) {
|
|
845
846
|
super("Blob size is too large.", {
|
|
@@ -873,7 +874,7 @@ var InvalidVersionedHashVersionError = class extends BaseError {
|
|
|
873
874
|
}
|
|
874
875
|
};
|
|
875
876
|
|
|
876
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
877
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/blob/toBlobs.js
|
|
877
878
|
function toBlobs(parameters) {
|
|
878
879
|
const to = parameters.to ?? (typeof parameters.data === "string" ? "hex" : "bytes");
|
|
879
880
|
const data = typeof parameters.data === "string" ? hexToBytes(parameters.data) : parameters.data;
|
|
@@ -908,7 +909,7 @@ function toBlobs(parameters) {
|
|
|
908
909
|
return to === "bytes" ? blobs.map((x) => x.bytes) : blobs.map((x) => bytesToHex(x.bytes));
|
|
909
910
|
}
|
|
910
911
|
|
|
911
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
912
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/blob/toBlobSidecars.js
|
|
912
913
|
function toBlobSidecars(parameters) {
|
|
913
914
|
const { data, kzg, to } = parameters;
|
|
914
915
|
const blobs = parameters.blobs ?? toBlobs({ data, to });
|
|
@@ -924,7 +925,7 @@ function toBlobSidecars(parameters) {
|
|
|
924
925
|
return sidecars;
|
|
925
926
|
}
|
|
926
927
|
|
|
927
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
928
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/transaction/getTransactionType.js
|
|
928
929
|
function getTransactionType(transaction) {
|
|
929
930
|
if (transaction.type)
|
|
930
931
|
return transaction.type;
|
|
@@ -943,7 +944,7 @@ function getTransactionType(transaction) {
|
|
|
943
944
|
throw new InvalidSerializableTransactionError({ transaction });
|
|
944
945
|
}
|
|
945
946
|
|
|
946
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
947
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/errors/getTransactionError.js
|
|
947
948
|
function getTransactionError(err, { docsPath: docsPath3, ...args }) {
|
|
948
949
|
const cause = (() => {
|
|
949
950
|
const cause2 = getNodeError(err, args);
|
|
@@ -957,7 +958,7 @@ function getTransactionError(err, { docsPath: docsPath3, ...args }) {
|
|
|
957
958
|
});
|
|
958
959
|
}
|
|
959
960
|
|
|
960
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
961
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getChainId.js
|
|
961
962
|
async function getChainId(client) {
|
|
962
963
|
const chainIdHex = await client.request({
|
|
963
964
|
method: "eth_chainId"
|
|
@@ -965,7 +966,7 @@ async function getChainId(client) {
|
|
|
965
966
|
return hexToNumber(chainIdHex);
|
|
966
967
|
}
|
|
967
968
|
|
|
968
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
969
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/fillTransaction.js
|
|
969
970
|
async function fillTransaction(client, parameters) {
|
|
970
971
|
const { account = client.account, accessList, authorizationList, chain = client.chain, blobVersionedHashes, blobs, data, gas, gasPrice, maxFeePerBlobGas, maxFeePerGas, maxPriorityFeePerGas, nonce: nonce_, nonceManager, to, type, value, ...rest } = parameters;
|
|
971
972
|
const nonce = await (async () => {
|
|
@@ -1067,7 +1068,7 @@ async function fillTransaction(client, parameters) {
|
|
|
1067
1068
|
}
|
|
1068
1069
|
}
|
|
1069
1070
|
|
|
1070
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1071
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/wallet/prepareTransactionRequest.js
|
|
1071
1072
|
var defaultParameters = [
|
|
1072
1073
|
"blobVersionedHashes",
|
|
1073
1074
|
"chainId",
|
|
@@ -1275,7 +1276,7 @@ async function prepareTransactionRequest(client, args) {
|
|
|
1275
1276
|
return request;
|
|
1276
1277
|
}
|
|
1277
1278
|
|
|
1278
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1279
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/estimateGas.js
|
|
1279
1280
|
async function estimateGas(client, args) {
|
|
1280
1281
|
const { account: account_ = client.account, prepare = true } = args;
|
|
1281
1282
|
const account = account_ ? parseAccount(account_) : void 0;
|
|
@@ -1345,7 +1346,7 @@ async function estimateGas(client, args) {
|
|
|
1345
1346
|
}
|
|
1346
1347
|
}
|
|
1347
1348
|
|
|
1348
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1349
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/estimateContractGas.js
|
|
1349
1350
|
async function estimateContractGas(client, parameters) {
|
|
1350
1351
|
const { abi: abi2, address, args, functionName, dataSuffix = typeof client.dataSuffix === "string" ? client.dataSuffix : client.dataSuffix?.value, ...request } = parameters;
|
|
1351
1352
|
const data = encodeFunctionData({
|
|
@@ -1373,7 +1374,7 @@ async function estimateContractGas(client, parameters) {
|
|
|
1373
1374
|
}
|
|
1374
1375
|
}
|
|
1375
1376
|
|
|
1376
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1377
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/decodeEventLog.js
|
|
1377
1378
|
var docsPath2 = "/docs/contract/decodeEventLog";
|
|
1378
1379
|
function decodeEventLog(parameters) {
|
|
1379
1380
|
const { abi: abi2, data, strict: strict_, topics } = parameters;
|
|
@@ -1460,7 +1461,7 @@ function decodeTopic({ param, value }) {
|
|
|
1460
1461
|
return decodedArg[0];
|
|
1461
1462
|
}
|
|
1462
1463
|
|
|
1463
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1464
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/abi/parseEventLogs.js
|
|
1464
1465
|
function parseEventLogs(parameters) {
|
|
1465
1466
|
const { abi: abi2, args, logs, strict = true } = parameters;
|
|
1466
1467
|
const eventName = (() => {
|
|
@@ -1564,7 +1565,7 @@ function includesArgs(parameters) {
|
|
|
1564
1565
|
return false;
|
|
1565
1566
|
}
|
|
1566
1567
|
|
|
1567
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1568
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/formatters/log.js
|
|
1568
1569
|
function formatLog(log, { args, eventName } = {}) {
|
|
1569
1570
|
return {
|
|
1570
1571
|
...log,
|
|
@@ -1578,7 +1579,7 @@ function formatLog(log, { args, eventName } = {}) {
|
|
|
1578
1579
|
};
|
|
1579
1580
|
}
|
|
1580
1581
|
|
|
1581
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1582
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getLogs.js
|
|
1582
1583
|
async function getLogs(client, { address, blockHash, fromBlock, toBlock, event, events: events_, args, strict: strict_ } = {}) {
|
|
1583
1584
|
const strict = strict_ ?? false;
|
|
1584
1585
|
const events = events_ ?? (event ? [event] : void 0);
|
|
@@ -1623,7 +1624,7 @@ async function getLogs(client, { address, blockHash, fromBlock, toBlock, event,
|
|
|
1623
1624
|
});
|
|
1624
1625
|
}
|
|
1625
1626
|
|
|
1626
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1627
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getContractEvents.js
|
|
1627
1628
|
async function getContractEvents(client, parameters) {
|
|
1628
1629
|
const { abi: abi2, address, args, blockHash, eventName, fromBlock, toBlock, strict } = parameters;
|
|
1629
1630
|
const event = eventName ? getAbiItem({ abi: abi2, name: eventName }) : void 0;
|
|
@@ -1640,7 +1641,7 @@ async function getContractEvents(client, parameters) {
|
|
|
1640
1641
|
});
|
|
1641
1642
|
}
|
|
1642
1643
|
|
|
1643
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1644
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/readContract.js
|
|
1644
1645
|
async function readContract(client, parameters) {
|
|
1645
1646
|
const { abi: abi2, address, args, functionName, ...rest } = parameters;
|
|
1646
1647
|
const calldata = encodeFunctionData({
|
|
@@ -1671,7 +1672,7 @@ async function readContract(client, parameters) {
|
|
|
1671
1672
|
}
|
|
1672
1673
|
}
|
|
1673
1674
|
|
|
1674
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1675
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/simulateContract.js
|
|
1675
1676
|
async function simulateContract(client, parameters) {
|
|
1676
1677
|
const { abi: abi2, address, args, functionName, dataSuffix = typeof client.dataSuffix === "string" ? client.dataSuffix : client.dataSuffix?.value, ...callRequest } = parameters;
|
|
1677
1678
|
const account = callRequest.account ? parseAccount(callRequest.account) : client.account;
|
|
@@ -1715,7 +1716,7 @@ async function simulateContract(client, parameters) {
|
|
|
1715
1716
|
}
|
|
1716
1717
|
}
|
|
1717
1718
|
|
|
1718
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1719
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/observe.js
|
|
1719
1720
|
var listenersCache = /* @__PURE__ */ new Map();
|
|
1720
1721
|
var cleanupCache = /* @__PURE__ */ new Map();
|
|
1721
1722
|
var callbackCount = 0;
|
|
@@ -1762,12 +1763,12 @@ function observe(observerId, callbacks, fn) {
|
|
|
1762
1763
|
return unwatch;
|
|
1763
1764
|
}
|
|
1764
1765
|
|
|
1765
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1766
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/wait.js
|
|
1766
1767
|
async function wait(time) {
|
|
1767
1768
|
return new Promise((res) => setTimeout(res, time));
|
|
1768
1769
|
}
|
|
1769
1770
|
|
|
1770
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1771
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/poll.js
|
|
1771
1772
|
function poll(fn, { emitOnBegin, initialWaitTime, interval }) {
|
|
1772
1773
|
let active = true;
|
|
1773
1774
|
const unwatch = () => active = false;
|
|
@@ -1790,7 +1791,7 @@ function poll(fn, { emitOnBegin, initialWaitTime, interval }) {
|
|
|
1790
1791
|
return unwatch;
|
|
1791
1792
|
}
|
|
1792
1793
|
|
|
1793
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1794
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/promise/withCache.js
|
|
1794
1795
|
var promiseCache = /* @__PURE__ */ new Map();
|
|
1795
1796
|
var responseCache = /* @__PURE__ */ new Map();
|
|
1796
1797
|
function getCache(cacheKey2) {
|
|
@@ -1832,7 +1833,7 @@ async function withCache(fn, { cacheKey: cacheKey2, cacheTime = Number.POSITIVE_
|
|
|
1832
1833
|
}
|
|
1833
1834
|
}
|
|
1834
1835
|
|
|
1835
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1836
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getBlockNumber.js
|
|
1836
1837
|
var cacheKey = (id) => `blockNumber.${id}`;
|
|
1837
1838
|
async function getBlockNumber(client, { cacheTime = client.cacheTime } = {}) {
|
|
1838
1839
|
const blockNumberHex = await withCache(() => client.request({
|
|
@@ -1841,7 +1842,7 @@ async function getBlockNumber(client, { cacheTime = client.cacheTime } = {}) {
|
|
|
1841
1842
|
return BigInt(blockNumberHex);
|
|
1842
1843
|
}
|
|
1843
1844
|
|
|
1844
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1845
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getFilterChanges.js
|
|
1845
1846
|
async function getFilterChanges(_client, { filter }) {
|
|
1846
1847
|
const strict = "strict" in filter && filter.strict;
|
|
1847
1848
|
const logs = await filter.request({
|
|
@@ -1860,7 +1861,7 @@ async function getFilterChanges(_client, { filter }) {
|
|
|
1860
1861
|
});
|
|
1861
1862
|
}
|
|
1862
1863
|
|
|
1863
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1864
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/uninstallFilter.js
|
|
1864
1865
|
async function uninstallFilter(_client, { filter }) {
|
|
1865
1866
|
return filter.request({
|
|
1866
1867
|
method: "eth_uninstallFilter",
|
|
@@ -1868,7 +1869,7 @@ async function uninstallFilter(_client, { filter }) {
|
|
|
1868
1869
|
});
|
|
1869
1870
|
}
|
|
1870
1871
|
|
|
1871
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
1872
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/watchContractEvent.js
|
|
1872
1873
|
function watchContractEvent(client, parameters) {
|
|
1873
1874
|
const { abi: abi2, address, args, batch = true, eventName, fromBlock, onError, onLogs, poll: poll_, pollingInterval = client.pollingInterval, strict: strict_ } = parameters;
|
|
1874
1875
|
const enablePolling = (() => {
|
|
@@ -2044,7 +2045,7 @@ function watchContractEvent(client, parameters) {
|
|
|
2044
2045
|
return enablePolling ? pollContractEvent() : subscribeContractEvent();
|
|
2045
2046
|
}
|
|
2046
2047
|
|
|
2047
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2048
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/account.js
|
|
2048
2049
|
var AccountNotFoundError = class extends BaseError {
|
|
2049
2050
|
constructor({ docsPath: docsPath3 } = {}) {
|
|
2050
2051
|
super([
|
|
@@ -2058,7 +2059,7 @@ var AccountNotFoundError = class extends BaseError {
|
|
|
2058
2059
|
}
|
|
2059
2060
|
};
|
|
2060
2061
|
|
|
2061
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2062
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/wallet/sendRawTransaction.js
|
|
2062
2063
|
async function sendRawTransaction(client, { serializedTransaction }) {
|
|
2063
2064
|
return client.request({
|
|
2064
2065
|
method: "eth_sendRawTransaction",
|
|
@@ -2066,7 +2067,7 @@ async function sendRawTransaction(client, { serializedTransaction }) {
|
|
|
2066
2067
|
}, { retryCount: 0 });
|
|
2067
2068
|
}
|
|
2068
2069
|
|
|
2069
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2070
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/promise/withRetry.js
|
|
2070
2071
|
function withRetry(fn, { delay: delay_ = 100, retryCount = 2, shouldRetry: shouldRetry2 = () => true } = {}) {
|
|
2071
2072
|
return new Promise((resolve, reject) => {
|
|
2072
2073
|
const attemptRetry = async ({ count = 0 } = {}) => {
|
|
@@ -2089,7 +2090,7 @@ function withRetry(fn, { delay: delay_ = 100, retryCount = 2, shouldRetry: shoul
|
|
|
2089
2090
|
});
|
|
2090
2091
|
}
|
|
2091
2092
|
|
|
2092
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2093
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/formatters/transactionReceipt.js
|
|
2093
2094
|
var receiptStatuses = {
|
|
2094
2095
|
"0x0": "reverted",
|
|
2095
2096
|
"0x1": "success"
|
|
@@ -2116,7 +2117,7 @@ function formatTransactionReceipt(transactionReceipt, _) {
|
|
|
2116
2117
|
}
|
|
2117
2118
|
var defineTransactionReceipt = /* @__PURE__ */ defineFormatter("transactionReceipt", formatTransactionReceipt);
|
|
2118
2119
|
|
|
2119
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2120
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/uid.js
|
|
2120
2121
|
var size4 = 256;
|
|
2121
2122
|
var index = size4;
|
|
2122
2123
|
var buffer;
|
|
@@ -2131,7 +2132,7 @@ function uid(length = 11) {
|
|
|
2131
2132
|
return buffer.substring(index, index++ + length);
|
|
2132
2133
|
}
|
|
2133
2134
|
|
|
2134
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2135
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/clients/createClient.js
|
|
2135
2136
|
function createClient(parameters) {
|
|
2136
2137
|
const { batch, chain, ccipRead, dataSuffix, key = "base", name = "Base Client", type = "base" } = parameters;
|
|
2137
2138
|
const experimental_blockTag = parameters.experimental_blockTag ?? (typeof chain?.experimental_preconfirmationTime === "number" ? "pending" : void 0);
|
|
@@ -2174,7 +2175,7 @@ function createClient(parameters) {
|
|
|
2174
2175
|
return Object.assign(client, { extend: extend(client) });
|
|
2175
2176
|
}
|
|
2176
2177
|
|
|
2177
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2178
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/ens/errors.js
|
|
2178
2179
|
function isNullUniversalResolverError(err) {
|
|
2179
2180
|
if (!(err instanceof BaseError))
|
|
2180
2181
|
return false;
|
|
@@ -2196,7 +2197,7 @@ function isNullUniversalResolverError(err) {
|
|
|
2196
2197
|
return false;
|
|
2197
2198
|
}
|
|
2198
2199
|
|
|
2199
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2200
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/ens/encodedLabelToLabelhash.js
|
|
2200
2201
|
function encodedLabelToLabelhash(label) {
|
|
2201
2202
|
if (label.length !== 66)
|
|
2202
2203
|
return null;
|
|
@@ -2210,7 +2211,7 @@ function encodedLabelToLabelhash(label) {
|
|
|
2210
2211
|
return hash2;
|
|
2211
2212
|
}
|
|
2212
2213
|
|
|
2213
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2214
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/ens/namehash.js
|
|
2214
2215
|
function namehash(name) {
|
|
2215
2216
|
let result = new Uint8Array(32).fill(0);
|
|
2216
2217
|
if (!name)
|
|
@@ -2224,12 +2225,12 @@ function namehash(name) {
|
|
|
2224
2225
|
return bytesToHex(result);
|
|
2225
2226
|
}
|
|
2226
2227
|
|
|
2227
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2228
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/ens/encodeLabelhash.js
|
|
2228
2229
|
function encodeLabelhash(hash2) {
|
|
2229
2230
|
return `[${hash2.slice(2)}]`;
|
|
2230
2231
|
}
|
|
2231
2232
|
|
|
2232
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2233
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/ens/labelhash.js
|
|
2233
2234
|
function labelhash(label) {
|
|
2234
2235
|
const result = new Uint8Array(32).fill(0);
|
|
2235
2236
|
if (!label)
|
|
@@ -2237,7 +2238,7 @@ function labelhash(label) {
|
|
|
2237
2238
|
return encodedLabelToLabelhash(label) || keccak256(stringToBytes(label));
|
|
2238
2239
|
}
|
|
2239
2240
|
|
|
2240
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2241
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/ens/packetToBytes.js
|
|
2241
2242
|
function packetToBytes(packet) {
|
|
2242
2243
|
const value = packet.replace(/^\.|\.$/gm, "");
|
|
2243
2244
|
if (value.length === 0)
|
|
@@ -2258,7 +2259,7 @@ function packetToBytes(packet) {
|
|
|
2258
2259
|
return bytes;
|
|
2259
2260
|
}
|
|
2260
2261
|
|
|
2261
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2262
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/ens/getEnsAddress.js
|
|
2262
2263
|
async function getEnsAddress(client, parameters) {
|
|
2263
2264
|
const { blockNumber, blockTag, coinType, name, gatewayUrls, strict } = parameters;
|
|
2264
2265
|
const { chain } = client;
|
|
@@ -2323,7 +2324,7 @@ async function getEnsAddress(client, parameters) {
|
|
|
2323
2324
|
}
|
|
2324
2325
|
}
|
|
2325
2326
|
|
|
2326
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2327
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/ens.js
|
|
2327
2328
|
var EnsAvatarInvalidMetadataError = class extends BaseError {
|
|
2328
2329
|
constructor({ data }) {
|
|
2329
2330
|
super("Unable to extract image from metadata. The metadata may be malformed or invalid.", {
|
|
@@ -2354,7 +2355,7 @@ var EnsAvatarUnsupportedNamespaceError = class extends BaseError {
|
|
|
2354
2355
|
}
|
|
2355
2356
|
};
|
|
2356
2357
|
|
|
2357
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2358
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/ens/avatar/utils.js
|
|
2358
2359
|
var networkRegex = /(?<protocol>https?:\/\/[^/]*|ipfs:\/|ipns:\/|ar:\/)?(?<root>\/)?(?<subpath>ipfs\/|ipns\/)?(?<target>[\w\-.]+)(?<subtarget>\/.*)?/;
|
|
2359
2360
|
var ipfsHashRegex = /^(Qm[1-9A-HJ-NP-Za-km-z]{44,}|b[A-Za-z2-7]{58,}|B[A-Z2-7]{58,}|z[1-9A-HJ-NP-Za-km-z]{48,}|F[0-9A-F]{50,})(\/(?<target>[\w\-.]+))?(?<subtarget>\/.*)?$/;
|
|
2360
2361
|
var base64Regex = /^data:([a-zA-Z\-/+]*);base64,([^"].*)/;
|
|
@@ -2525,7 +2526,7 @@ async function getNftTokenUri(client, { nft }) {
|
|
|
2525
2526
|
throw new EnsAvatarUnsupportedNamespaceError({ namespace: nft.namespace });
|
|
2526
2527
|
}
|
|
2527
2528
|
|
|
2528
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2529
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/ens/avatar/parseAvatarRecord.js
|
|
2529
2530
|
async function parseAvatarRecord(client, { gatewayUrls, record }) {
|
|
2530
2531
|
if (/eip155:/i.test(record))
|
|
2531
2532
|
return parseNftAvatarUri(client, { gatewayUrls, record });
|
|
@@ -2555,7 +2556,7 @@ async function parseNftAvatarUri(client, { gatewayUrls, record }) {
|
|
|
2555
2556
|
});
|
|
2556
2557
|
}
|
|
2557
2558
|
|
|
2558
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2559
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/ens/getEnsText.js
|
|
2559
2560
|
async function getEnsText(client, parameters) {
|
|
2560
2561
|
const { blockNumber, blockTag, key, name, gatewayUrls, strict } = parameters;
|
|
2561
2562
|
const { chain } = client;
|
|
@@ -2609,7 +2610,7 @@ async function getEnsText(client, parameters) {
|
|
|
2609
2610
|
}
|
|
2610
2611
|
}
|
|
2611
2612
|
|
|
2612
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2613
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/ens/getEnsAvatar.js
|
|
2613
2614
|
async function getEnsAvatar(client, { blockNumber, blockTag, assetGatewayUrls, name, gatewayUrls, strict, universalResolverAddress }) {
|
|
2614
2615
|
const record = await getAction(client, getEnsText, "getEnsText")({
|
|
2615
2616
|
blockNumber,
|
|
@@ -2632,7 +2633,7 @@ async function getEnsAvatar(client, { blockNumber, blockTag, assetGatewayUrls, n
|
|
|
2632
2633
|
}
|
|
2633
2634
|
}
|
|
2634
2635
|
|
|
2635
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2636
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/ens/getEnsName.js
|
|
2636
2637
|
async function getEnsName(client, parameters) {
|
|
2637
2638
|
const { address, blockNumber, blockTag, coinType = 60n, gatewayUrls, strict } = parameters;
|
|
2638
2639
|
const { chain } = client;
|
|
@@ -2668,7 +2669,7 @@ async function getEnsName(client, parameters) {
|
|
|
2668
2669
|
}
|
|
2669
2670
|
}
|
|
2670
2671
|
|
|
2671
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2672
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/ens/getEnsResolver.js
|
|
2672
2673
|
async function getEnsResolver(client, parameters) {
|
|
2673
2674
|
const { blockNumber, blockTag, name } = parameters;
|
|
2674
2675
|
const { chain } = client;
|
|
@@ -2709,7 +2710,7 @@ async function getEnsResolver(client, parameters) {
|
|
|
2709
2710
|
return resolverAddress;
|
|
2710
2711
|
}
|
|
2711
2712
|
|
|
2712
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2713
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/createAccessList.js
|
|
2713
2714
|
async function createAccessList(client, args) {
|
|
2714
2715
|
const { account: account_ = client.account, blockNumber, blockTag = "latest", blobs, data, gas, gasPrice, maxFeePerBlobGas, maxFeePerGas, maxPriorityFeePerGas, to, value, ...rest } = args;
|
|
2715
2716
|
const account = account_ ? parseAccount(account_) : void 0;
|
|
@@ -2750,7 +2751,7 @@ async function createAccessList(client, args) {
|
|
|
2750
2751
|
}
|
|
2751
2752
|
}
|
|
2752
2753
|
|
|
2753
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2754
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/createBlockFilter.js
|
|
2754
2755
|
async function createBlockFilter(client) {
|
|
2755
2756
|
const getRequest = createFilterRequestScope(client, {
|
|
2756
2757
|
method: "eth_newBlockFilter"
|
|
@@ -2761,7 +2762,7 @@ async function createBlockFilter(client) {
|
|
|
2761
2762
|
return { id, request: getRequest(id), type: "block" };
|
|
2762
2763
|
}
|
|
2763
2764
|
|
|
2764
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2765
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/createEventFilter.js
|
|
2765
2766
|
async function createEventFilter(client, { address, args, event, events: events_, fromBlock, strict, toBlock } = {}) {
|
|
2766
2767
|
const events = events_ ?? (event ? [event] : void 0);
|
|
2767
2768
|
const getRequest = createFilterRequestScope(client, {
|
|
@@ -2802,7 +2803,7 @@ async function createEventFilter(client, { address, args, event, events: events_
|
|
|
2802
2803
|
};
|
|
2803
2804
|
}
|
|
2804
2805
|
|
|
2805
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2806
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/createPendingTransactionFilter.js
|
|
2806
2807
|
async function createPendingTransactionFilter(client) {
|
|
2807
2808
|
const getRequest = createFilterRequestScope(client, {
|
|
2808
2809
|
method: "eth_newPendingTransactionFilter"
|
|
@@ -2813,8 +2814,28 @@ async function createPendingTransactionFilter(client) {
|
|
|
2813
2814
|
return { id, request: getRequest(id), type: "transaction" };
|
|
2814
2815
|
}
|
|
2815
2816
|
|
|
2816
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2817
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getBalance.js
|
|
2817
2818
|
async function getBalance(client, { address, blockNumber, blockTag = client.experimental_blockTag ?? "latest" }) {
|
|
2819
|
+
if (client.batch?.multicall && client.chain?.contracts?.multicall3) {
|
|
2820
|
+
const multicall3Address = client.chain.contracts.multicall3.address;
|
|
2821
|
+
const calldata = encodeFunctionData({
|
|
2822
|
+
abi: multicall3Abi,
|
|
2823
|
+
functionName: "getEthBalance",
|
|
2824
|
+
args: [address]
|
|
2825
|
+
});
|
|
2826
|
+
const { data } = await getAction(client, call, "call")({
|
|
2827
|
+
to: multicall3Address,
|
|
2828
|
+
data: calldata,
|
|
2829
|
+
blockNumber,
|
|
2830
|
+
blockTag
|
|
2831
|
+
});
|
|
2832
|
+
return decodeFunctionResult({
|
|
2833
|
+
abi: multicall3Abi,
|
|
2834
|
+
functionName: "getEthBalance",
|
|
2835
|
+
args: [address],
|
|
2836
|
+
data: data || "0x"
|
|
2837
|
+
});
|
|
2838
|
+
}
|
|
2818
2839
|
const blockNumberHex = typeof blockNumber === "bigint" ? numberToHex(blockNumber) : void 0;
|
|
2819
2840
|
const balance = await client.request({
|
|
2820
2841
|
method: "eth_getBalance",
|
|
@@ -2823,7 +2844,7 @@ async function getBalance(client, { address, blockNumber, blockTag = client.expe
|
|
|
2823
2844
|
return BigInt(balance);
|
|
2824
2845
|
}
|
|
2825
2846
|
|
|
2826
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2847
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getBlobBaseFee.js
|
|
2827
2848
|
async function getBlobBaseFee(client) {
|
|
2828
2849
|
const baseFee = await client.request({
|
|
2829
2850
|
method: "eth_blobBaseFee"
|
|
@@ -2831,7 +2852,7 @@ async function getBlobBaseFee(client) {
|
|
|
2831
2852
|
return BigInt(baseFee);
|
|
2832
2853
|
}
|
|
2833
2854
|
|
|
2834
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2855
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getBlockTransactionCount.js
|
|
2835
2856
|
async function getBlockTransactionCount(client, { blockHash, blockNumber, blockTag = "latest" } = {}) {
|
|
2836
2857
|
const blockNumberHex = blockNumber !== void 0 ? numberToHex(blockNumber) : void 0;
|
|
2837
2858
|
let count;
|
|
@@ -2849,7 +2870,7 @@ async function getBlockTransactionCount(client, { blockHash, blockNumber, blockT
|
|
|
2849
2870
|
return hexToNumber(count);
|
|
2850
2871
|
}
|
|
2851
2872
|
|
|
2852
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2873
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getCode.js
|
|
2853
2874
|
async function getCode(client, { address, blockNumber, blockTag = "latest" }) {
|
|
2854
2875
|
const blockNumberHex = blockNumber !== void 0 ? numberToHex(blockNumber) : void 0;
|
|
2855
2876
|
const hex = await client.request({
|
|
@@ -2861,7 +2882,7 @@ async function getCode(client, { address, blockNumber, blockTag = "latest" }) {
|
|
|
2861
2882
|
return hex;
|
|
2862
2883
|
}
|
|
2863
2884
|
|
|
2864
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2885
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/eip712.js
|
|
2865
2886
|
var Eip712DomainNotFoundError = class extends BaseError {
|
|
2866
2887
|
constructor({ address }) {
|
|
2867
2888
|
super(`No EIP-712 domain found on contract "${address}".`, {
|
|
@@ -2876,7 +2897,7 @@ var Eip712DomainNotFoundError = class extends BaseError {
|
|
|
2876
2897
|
}
|
|
2877
2898
|
};
|
|
2878
2899
|
|
|
2879
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2900
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getEip712Domain.js
|
|
2880
2901
|
async function getEip712Domain(client, parameters) {
|
|
2881
2902
|
const { address, factory, factoryData } = parameters;
|
|
2882
2903
|
try {
|
|
@@ -2924,7 +2945,7 @@ var abi = [
|
|
|
2924
2945
|
}
|
|
2925
2946
|
];
|
|
2926
2947
|
|
|
2927
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2948
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/formatters/feeHistory.js
|
|
2928
2949
|
function formatFeeHistory(feeHistory) {
|
|
2929
2950
|
return {
|
|
2930
2951
|
baseFeePerGas: feeHistory.baseFeePerGas.map((value) => BigInt(value)),
|
|
@@ -2934,7 +2955,7 @@ function formatFeeHistory(feeHistory) {
|
|
|
2934
2955
|
};
|
|
2935
2956
|
}
|
|
2936
2957
|
|
|
2937
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2958
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getFeeHistory.js
|
|
2938
2959
|
async function getFeeHistory(client, { blockCount, blockNumber, blockTag = "latest", rewardPercentiles }) {
|
|
2939
2960
|
const blockNumberHex = typeof blockNumber === "bigint" ? numberToHex(blockNumber) : void 0;
|
|
2940
2961
|
const feeHistory = await client.request({
|
|
@@ -2948,7 +2969,7 @@ async function getFeeHistory(client, { blockCount, blockNumber, blockTag = "late
|
|
|
2948
2969
|
return formatFeeHistory(feeHistory);
|
|
2949
2970
|
}
|
|
2950
2971
|
|
|
2951
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2972
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getFilterLogs.js
|
|
2952
2973
|
async function getFilterLogs(_client, { filter }) {
|
|
2953
2974
|
const strict = filter.strict ?? false;
|
|
2954
2975
|
const logs = await filter.request({
|
|
@@ -2965,7 +2986,7 @@ async function getFilterLogs(_client, { filter }) {
|
|
|
2965
2986
|
});
|
|
2966
2987
|
}
|
|
2967
2988
|
|
|
2968
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
2989
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/transaction/assertTransaction.js
|
|
2969
2990
|
function assertTransactionEIP7702(transaction) {
|
|
2970
2991
|
const { authorizationList } = transaction;
|
|
2971
2992
|
if (authorizationList) {
|
|
@@ -3033,7 +3054,7 @@ function assertTransactionLegacy(transaction) {
|
|
|
3033
3054
|
throw new FeeCapTooHighError({ maxFeePerGas: gasPrice });
|
|
3034
3055
|
}
|
|
3035
3056
|
|
|
3036
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3057
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/transaction/serializeAccessList.js
|
|
3037
3058
|
function serializeAccessList(accessList) {
|
|
3038
3059
|
if (!accessList || accessList.length === 0)
|
|
3039
3060
|
return [];
|
|
@@ -3053,7 +3074,7 @@ function serializeAccessList(accessList) {
|
|
|
3053
3074
|
return serializedAccessList;
|
|
3054
3075
|
}
|
|
3055
3076
|
|
|
3056
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3077
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/transaction/serializeTransaction.js
|
|
3057
3078
|
function serializeTransaction(transaction, signature) {
|
|
3058
3079
|
const type = getTransactionType(transaction);
|
|
3059
3080
|
if (type === "eip1559")
|
|
@@ -3253,7 +3274,7 @@ function toYParitySignatureArray(transaction, signature_) {
|
|
|
3253
3274
|
return [yParity_, r === "0x00" ? "0x" : r, s === "0x00" ? "0x" : s];
|
|
3254
3275
|
}
|
|
3255
3276
|
|
|
3256
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3277
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/authorization/serializeAuthorizationList.js
|
|
3257
3278
|
function serializeAuthorizationList(authorizationList) {
|
|
3258
3279
|
if (!authorizationList || authorizationList.length === 0)
|
|
3259
3280
|
return [];
|
|
@@ -3271,7 +3292,7 @@ function serializeAuthorizationList(authorizationList) {
|
|
|
3271
3292
|
return serializedAuthorizationList;
|
|
3272
3293
|
}
|
|
3273
3294
|
|
|
3274
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3295
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/authorization/verifyAuthorization.js
|
|
3275
3296
|
async function verifyAuthorization({ address, authorization, signature }) {
|
|
3276
3297
|
return isAddressEqual(getAddress(address), await recoverAuthorizationAddress({
|
|
3277
3298
|
authorization,
|
|
@@ -3279,7 +3300,7 @@ async function verifyAuthorization({ address, authorization, signature }) {
|
|
|
3279
3300
|
}));
|
|
3280
3301
|
}
|
|
3281
3302
|
|
|
3282
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3303
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/promise/withDedupe.js
|
|
3283
3304
|
var promiseCache2 = /* @__PURE__ */ new LruMap(8192);
|
|
3284
3305
|
function withDedupe(fn, { enabled = true, id }) {
|
|
3285
3306
|
if (!enabled || !id)
|
|
@@ -3291,7 +3312,7 @@ function withDedupe(fn, { enabled = true, id }) {
|
|
|
3291
3312
|
return promise;
|
|
3292
3313
|
}
|
|
3293
3314
|
|
|
3294
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3315
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/buildRequest.js
|
|
3295
3316
|
function buildRequest(request, options = {}) {
|
|
3296
3317
|
return async (args, overrideOptions = {}) => {
|
|
3297
3318
|
const { dedupe = false, methods, retryDelay = 150, retryCount = 3, uid: uid2 } = {
|
|
@@ -3395,6 +3416,10 @@ function buildRequest(request, options = {}) {
|
|
|
3395
3416
|
// https://docs.walletconnect.com/2.0/specs/clients/sign/error-codes#rejected-caip-25
|
|
3396
3417
|
case 5e3:
|
|
3397
3418
|
throw new UserRejectedRequestError(err);
|
|
3419
|
+
// WalletConnect: Session Settlement Failed
|
|
3420
|
+
// https://docs.walletconnect.com/2.0/specs/clients/sign/error-codes
|
|
3421
|
+
case WalletConnectSessionSettlementError.code:
|
|
3422
|
+
throw new WalletConnectSessionSettlementError(err);
|
|
3398
3423
|
default:
|
|
3399
3424
|
if (err_ instanceof BaseError)
|
|
3400
3425
|
throw err_;
|
|
@@ -3447,7 +3472,7 @@ function shouldRetry(error) {
|
|
|
3447
3472
|
return true;
|
|
3448
3473
|
}
|
|
3449
3474
|
|
|
3450
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3475
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/chain/defineChain.js
|
|
3451
3476
|
function defineChain(chain) {
|
|
3452
3477
|
const chainInstance = {
|
|
3453
3478
|
formatters: void 0,
|
|
@@ -3467,7 +3492,7 @@ function defineChain(chain) {
|
|
|
3467
3492
|
});
|
|
3468
3493
|
}
|
|
3469
3494
|
|
|
3470
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3495
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/promise/withTimeout.js
|
|
3471
3496
|
function withTimeout(fn, { errorInstance = new Error("timed out"), timeout, signal }) {
|
|
3472
3497
|
return new Promise((resolve, reject) => {
|
|
3473
3498
|
;
|
|
@@ -3496,7 +3521,7 @@ function withTimeout(fn, { errorInstance = new Error("timed out"), timeout, sign
|
|
|
3496
3521
|
});
|
|
3497
3522
|
}
|
|
3498
3523
|
|
|
3499
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3524
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/rpc/id.js
|
|
3500
3525
|
function createIdStore() {
|
|
3501
3526
|
return {
|
|
3502
3527
|
current: 0,
|
|
@@ -3510,7 +3535,7 @@ function createIdStore() {
|
|
|
3510
3535
|
}
|
|
3511
3536
|
var idCache = /* @__PURE__ */ createIdStore();
|
|
3512
3537
|
|
|
3513
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3538
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/rpc/http.js
|
|
3514
3539
|
function getHttpRpcClient(url_, options = {}) {
|
|
3515
3540
|
const { url, headers: headers_url } = parseUrl(url_);
|
|
3516
3541
|
return {
|
|
@@ -3611,7 +3636,7 @@ function parseUrl(url_) {
|
|
|
3611
3636
|
}
|
|
3612
3637
|
}
|
|
3613
3638
|
|
|
3614
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3639
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/rpc/socket.js
|
|
3615
3640
|
var socketClientCache = /* @__PURE__ */ new Map();
|
|
3616
3641
|
async function getSocketRpcClient(parameters) {
|
|
3617
3642
|
const { getSocket: getSocket2, keepAlive = true, key = "socket", reconnect = true, url } = parameters;
|
|
@@ -3759,7 +3784,7 @@ async function getSocketRpcClient(parameters) {
|
|
|
3759
3784
|
return socketClient_;
|
|
3760
3785
|
}
|
|
3761
3786
|
|
|
3762
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3787
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/rpc/webSocket.js
|
|
3763
3788
|
async function getWebSocketRpcClient(url, options = {}) {
|
|
3764
3789
|
const { keepAlive, reconnect } = options;
|
|
3765
3790
|
return getSocketRpcClient({
|
|
@@ -3836,7 +3861,7 @@ async function getWebSocketRpcClient(url, options = {}) {
|
|
|
3836
3861
|
});
|
|
3837
3862
|
}
|
|
3838
3863
|
|
|
3839
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3864
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/rpc/compat.js
|
|
3840
3865
|
async function getSocket(url) {
|
|
3841
3866
|
const client = await getWebSocketRpcClient(url);
|
|
3842
3867
|
return Object.assign(client.socket, {
|
|
@@ -3845,10 +3870,10 @@ async function getSocket(url) {
|
|
|
3845
3870
|
});
|
|
3846
3871
|
}
|
|
3847
3872
|
|
|
3848
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3873
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/constants/strings.js
|
|
3849
3874
|
var presignMessagePrefix = "Ethereum Signed Message:\n";
|
|
3850
3875
|
|
|
3851
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3876
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/signature/toPrefixedMessage.js
|
|
3852
3877
|
function toPrefixedMessage(message_) {
|
|
3853
3878
|
const message = (() => {
|
|
3854
3879
|
if (typeof message_ === "string")
|
|
@@ -3861,12 +3886,12 @@ function toPrefixedMessage(message_) {
|
|
|
3861
3886
|
return concat([prefix, message]);
|
|
3862
3887
|
}
|
|
3863
3888
|
|
|
3864
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3889
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/signature/hashMessage.js
|
|
3865
3890
|
function hashMessage(message, to_) {
|
|
3866
3891
|
return keccak256(toPrefixedMessage(message), to_);
|
|
3867
3892
|
}
|
|
3868
3893
|
|
|
3869
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3894
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/typedData.js
|
|
3870
3895
|
var InvalidDomainError = class extends BaseError {
|
|
3871
3896
|
constructor({ domain }) {
|
|
3872
3897
|
super(`Invalid domain "${stringify(domain)}".`, {
|
|
@@ -3891,7 +3916,7 @@ var InvalidStructTypeError = class extends BaseError {
|
|
|
3891
3916
|
}
|
|
3892
3917
|
};
|
|
3893
3918
|
|
|
3894
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3919
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/typedData.js
|
|
3895
3920
|
function validateTypedData(parameters) {
|
|
3896
3921
|
const { domain, message, primaryType, types } = parameters;
|
|
3897
3922
|
const validateData = (struct, data) => {
|
|
@@ -3956,7 +3981,7 @@ function validateReference(type) {
|
|
|
3956
3981
|
throw new InvalidStructTypeError({ type });
|
|
3957
3982
|
}
|
|
3958
3983
|
|
|
3959
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
3984
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/signature/hashTypedData.js
|
|
3960
3985
|
function hashTypedData(parameters) {
|
|
3961
3986
|
const { domain = {}, message, primaryType } = parameters;
|
|
3962
3987
|
const types = {
|
|
@@ -4066,7 +4091,7 @@ function encodeField({ types, name, type, value }) {
|
|
|
4066
4091
|
return [{ type }, value];
|
|
4067
4092
|
}
|
|
4068
4093
|
|
|
4069
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
4094
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/erc8010/SignatureErc8010.js
|
|
4070
4095
|
var SignatureErc8010_exports = {};
|
|
4071
4096
|
__export(SignatureErc8010_exports, {
|
|
4072
4097
|
InvalidWrappedSignatureError: () => InvalidWrappedSignatureError,
|
|
@@ -4079,7 +4104,7 @@ __export(SignatureErc8010_exports, {
|
|
|
4079
4104
|
wrap: () => wrap
|
|
4080
4105
|
});
|
|
4081
4106
|
|
|
4082
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
4107
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/internal/lru.js
|
|
4083
4108
|
var LruMap2 = class extends Map {
|
|
4084
4109
|
constructor(size5) {
|
|
4085
4110
|
super();
|
|
@@ -4110,13 +4135,13 @@ var LruMap2 = class extends Map {
|
|
|
4110
4135
|
}
|
|
4111
4136
|
};
|
|
4112
4137
|
|
|
4113
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
4138
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/Caches.js
|
|
4114
4139
|
var caches = {
|
|
4115
4140
|
checksum: /* @__PURE__ */ new LruMap2(8192)
|
|
4116
4141
|
};
|
|
4117
4142
|
var checksum = caches.checksum;
|
|
4118
4143
|
|
|
4119
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
4144
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/Hash.js
|
|
4120
4145
|
function keccak2562(value, options = {}) {
|
|
4121
4146
|
const { as = typeof value === "string" ? "Hex" : "Bytes" } = options;
|
|
4122
4147
|
const bytes = keccak_256(from(value));
|
|
@@ -4125,7 +4150,7 @@ function keccak2562(value, options = {}) {
|
|
|
4125
4150
|
return fromBytes(bytes);
|
|
4126
4151
|
}
|
|
4127
4152
|
|
|
4128
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
4153
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/PublicKey.js
|
|
4129
4154
|
function assert(publicKey, options = {}) {
|
|
4130
4155
|
const { compressed } = options;
|
|
4131
4156
|
const { prefix, x, y } = publicKey;
|
|
@@ -4274,7 +4299,7 @@ var InvalidSerializedSizeError = class extends BaseError2 {
|
|
|
4274
4299
|
}
|
|
4275
4300
|
};
|
|
4276
4301
|
|
|
4277
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
4302
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/Address.js
|
|
4278
4303
|
var addressRegex = /^0x[a-fA-F0-9]{40}$/;
|
|
4279
4304
|
function assert2(value, options = {}) {
|
|
4280
4305
|
const { strict = true } = options;
|
|
@@ -4368,7 +4393,7 @@ var InvalidChecksumError = class extends BaseError2 {
|
|
|
4368
4393
|
}
|
|
4369
4394
|
};
|
|
4370
4395
|
|
|
4371
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
4396
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/Solidity.js
|
|
4372
4397
|
var arrayRegex = /^(.*)\[([0-9]*)\]$/;
|
|
4373
4398
|
var bytesRegex2 = /^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/;
|
|
4374
4399
|
var integerRegex2 = /^(u?int)(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/;
|
|
@@ -4469,7 +4494,7 @@ var maxUint240 = 2n ** 240n - 1n;
|
|
|
4469
4494
|
var maxUint248 = 2n ** 248n - 1n;
|
|
4470
4495
|
var maxUint2562 = 2n ** 256n - 1n;
|
|
4471
4496
|
|
|
4472
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
4497
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/internal/abiParameters.js
|
|
4473
4498
|
function decodeParameter(cursor, param, options) {
|
|
4474
4499
|
const { checksumAddress: checksumAddress2, staticPosition } = options;
|
|
4475
4500
|
const arrayComponents = getArrayComponents(param.type);
|
|
@@ -4858,7 +4883,7 @@ function hasDynamicChild(param) {
|
|
|
4858
4883
|
return false;
|
|
4859
4884
|
}
|
|
4860
4885
|
|
|
4861
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
4886
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/internal/cursor.js
|
|
4862
4887
|
var staticCursor = {
|
|
4863
4888
|
bytes: new Uint8Array(),
|
|
4864
4889
|
dataView: new DataView(new ArrayBuffer(0)),
|
|
@@ -5060,7 +5085,7 @@ var RecursiveReadLimitExceededError = class extends BaseError2 {
|
|
|
5060
5085
|
}
|
|
5061
5086
|
};
|
|
5062
5087
|
|
|
5063
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
5088
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/AbiParameters.js
|
|
5064
5089
|
function decode(parameters, data, options = {}) {
|
|
5065
5090
|
const { as = "Array", checksumAddress: checksumAddress2 = false } = options;
|
|
5066
5091
|
const bytes = typeof data === "string" ? fromHex(data) : data;
|
|
@@ -5262,7 +5287,7 @@ var InvalidTypeError = class extends BaseError2 {
|
|
|
5262
5287
|
}
|
|
5263
5288
|
};
|
|
5264
5289
|
|
|
5265
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
5290
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/Rlp.js
|
|
5266
5291
|
function from6(value, options) {
|
|
5267
5292
|
const { as } = options;
|
|
5268
5293
|
const encodable = getEncodable2(value);
|
|
@@ -5356,7 +5381,7 @@ function getSizeOfLength2(length) {
|
|
|
5356
5381
|
throw new BaseError2("Length is too large.");
|
|
5357
5382
|
}
|
|
5358
5383
|
|
|
5359
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
5384
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/Signature.js
|
|
5360
5385
|
function assert3(signature, options = {}) {
|
|
5361
5386
|
const { recovered } = options;
|
|
5362
5387
|
if (typeof signature.r === "undefined")
|
|
@@ -5539,7 +5564,7 @@ var InvalidVError = class extends BaseError2 {
|
|
|
5539
5564
|
}
|
|
5540
5565
|
};
|
|
5541
5566
|
|
|
5542
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
5567
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/Authorization.js
|
|
5543
5568
|
function from8(authorization, options = {}) {
|
|
5544
5569
|
if (typeof authorization.chainId === "string")
|
|
5545
5570
|
return fromRpc2(authorization);
|
|
@@ -5577,7 +5602,7 @@ function toTuple2(authorization) {
|
|
|
5577
5602
|
];
|
|
5578
5603
|
}
|
|
5579
5604
|
|
|
5580
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
5605
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/Secp256k1.js
|
|
5581
5606
|
function recoverAddress2(options) {
|
|
5582
5607
|
return fromPublicKey(recoverPublicKey2(options));
|
|
5583
5608
|
}
|
|
@@ -5589,7 +5614,7 @@ function recoverPublicKey2(options) {
|
|
|
5589
5614
|
return from3(point);
|
|
5590
5615
|
}
|
|
5591
5616
|
|
|
5592
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
5617
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/erc8010/SignatureErc8010.js
|
|
5593
5618
|
var magicBytes = "0x8010801080108010801080108010801080108010801080108010801080108010";
|
|
5594
5619
|
var suffixParameters = from5("(uint256 chainId, address delegation, uint256 nonce, uint8 yParity, uint256 r, uint256 s), address to, bytes data");
|
|
5595
5620
|
function assert4(value) {
|
|
@@ -5663,7 +5688,7 @@ var InvalidWrappedSignatureError = class extends BaseError2 {
|
|
|
5663
5688
|
}
|
|
5664
5689
|
};
|
|
5665
5690
|
|
|
5666
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
5691
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/formatters/proof.js
|
|
5667
5692
|
function formatStorageProof(storageProof) {
|
|
5668
5693
|
return storageProof.map((proof) => ({
|
|
5669
5694
|
...proof,
|
|
@@ -5679,7 +5704,7 @@ function formatProof(proof) {
|
|
|
5679
5704
|
};
|
|
5680
5705
|
}
|
|
5681
5706
|
|
|
5682
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
5707
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getProof.js
|
|
5683
5708
|
async function getProof(client, { address, blockNumber, blockTag: blockTag_, storageKeys }) {
|
|
5684
5709
|
const blockTag = blockTag_ ?? "latest";
|
|
5685
5710
|
const blockNumberHex = blockNumber !== void 0 ? numberToHex(blockNumber) : void 0;
|
|
@@ -5690,7 +5715,7 @@ async function getProof(client, { address, blockNumber, blockTag: blockTag_, sto
|
|
|
5690
5715
|
return formatProof(proof);
|
|
5691
5716
|
}
|
|
5692
5717
|
|
|
5693
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
5718
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getStorageAt.js
|
|
5694
5719
|
async function getStorageAt(client, { address, blockNumber, blockTag = "latest", slot }) {
|
|
5695
5720
|
const blockNumberHex = blockNumber !== void 0 ? numberToHex(blockNumber) : void 0;
|
|
5696
5721
|
const data = await client.request({
|
|
@@ -5700,7 +5725,7 @@ async function getStorageAt(client, { address, blockNumber, blockTag = "latest",
|
|
|
5700
5725
|
return data;
|
|
5701
5726
|
}
|
|
5702
5727
|
|
|
5703
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
5728
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getTransaction.js
|
|
5704
5729
|
async function getTransaction(client, { blockHash, blockNumber, blockTag: blockTag_, hash: hash2, index: index2, sender, nonce }) {
|
|
5705
5730
|
const blockTag = blockTag_ || "latest";
|
|
5706
5731
|
const blockNumberHex = blockNumber !== void 0 ? numberToHex(blockNumber) : void 0;
|
|
@@ -5738,7 +5763,7 @@ async function getTransaction(client, { blockHash, blockNumber, blockTag: blockT
|
|
|
5738
5763
|
return format(transaction, "getTransaction");
|
|
5739
5764
|
}
|
|
5740
5765
|
|
|
5741
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
5766
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getTransactionConfirmations.js
|
|
5742
5767
|
async function getTransactionConfirmations(client, { hash: hash2, transactionReceipt }) {
|
|
5743
5768
|
const [blockNumber, transaction] = await Promise.all([
|
|
5744
5769
|
getAction(client, getBlockNumber, "getBlockNumber")({}),
|
|
@@ -5750,7 +5775,7 @@ async function getTransactionConfirmations(client, { hash: hash2, transactionRec
|
|
|
5750
5775
|
return blockNumber - transactionBlockNumber + 1n;
|
|
5751
5776
|
}
|
|
5752
5777
|
|
|
5753
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
5778
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/getTransactionReceipt.js
|
|
5754
5779
|
async function getTransactionReceipt(client, { hash: hash2 }) {
|
|
5755
5780
|
const receipt = await client.request({
|
|
5756
5781
|
method: "eth_getTransactionReceipt",
|
|
@@ -5762,7 +5787,7 @@ async function getTransactionReceipt(client, { hash: hash2 }) {
|
|
|
5762
5787
|
return format(receipt, "getTransactionReceipt");
|
|
5763
5788
|
}
|
|
5764
5789
|
|
|
5765
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
5790
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/multicall.js
|
|
5766
5791
|
async function multicall(client, parameters) {
|
|
5767
5792
|
const { account, authorizationList, allowFailure = true, blockNumber, blockOverrides, blockTag, stateOverride } = parameters;
|
|
5768
5793
|
const contracts2 = parameters.contracts;
|
|
@@ -5891,7 +5916,7 @@ async function multicall(client, parameters) {
|
|
|
5891
5916
|
return results;
|
|
5892
5917
|
}
|
|
5893
5918
|
|
|
5894
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
5919
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/simulateBlocks.js
|
|
5895
5920
|
async function simulateBlocks(client, parameters) {
|
|
5896
5921
|
const { blockNumber, blockTag = client.experimental_blockTag ?? "latest", blocks, returnFullTransactions, traceTransfers, validation } = parameters;
|
|
5897
5922
|
try {
|
|
@@ -5979,7 +6004,7 @@ async function simulateBlocks(client, parameters) {
|
|
|
5979
6004
|
}
|
|
5980
6005
|
}
|
|
5981
6006
|
|
|
5982
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
6007
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/internal/abiItem.js
|
|
5983
6008
|
function normalizeSignature(signature) {
|
|
5984
6009
|
let active = true;
|
|
5985
6010
|
let current = "";
|
|
@@ -6080,7 +6105,7 @@ function getAmbiguousTypes(sourceParameters, targetParameters, args) {
|
|
|
6080
6105
|
return;
|
|
6081
6106
|
}
|
|
6082
6107
|
|
|
6083
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
6108
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/AbiItem.js
|
|
6084
6109
|
function from10(abiItem, options = {}) {
|
|
6085
6110
|
const { prepare = true } = options;
|
|
6086
6111
|
const item = (() => {
|
|
@@ -6243,7 +6268,7 @@ var NotFoundError = class extends BaseError2 {
|
|
|
6243
6268
|
}
|
|
6244
6269
|
};
|
|
6245
6270
|
|
|
6246
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
6271
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/AbiConstructor.js
|
|
6247
6272
|
function encode3(...parameters) {
|
|
6248
6273
|
const [abiConstructor, options] = (() => {
|
|
6249
6274
|
if (Array.isArray(parameters[0])) {
|
|
@@ -6265,7 +6290,7 @@ function fromAbi2(abi2) {
|
|
|
6265
6290
|
return item;
|
|
6266
6291
|
}
|
|
6267
6292
|
|
|
6268
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
6293
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/core/AbiFunction.js
|
|
6269
6294
|
function encodeData2(...parameters) {
|
|
6270
6295
|
const [abiFunction, args = []] = (() => {
|
|
6271
6296
|
if (Array.isArray(parameters[0])) {
|
|
@@ -6296,11 +6321,11 @@ function getSelector2(abiItem) {
|
|
|
6296
6321
|
return getSelector(abiItem);
|
|
6297
6322
|
}
|
|
6298
6323
|
|
|
6299
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
6324
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/constants/address.js
|
|
6300
6325
|
var ethAddress = "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee";
|
|
6301
6326
|
var zeroAddress = "0x0000000000000000000000000000000000000000";
|
|
6302
6327
|
|
|
6303
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
6328
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/simulateCalls.js
|
|
6304
6329
|
var getBalanceCode = "0x6080604052348015600e575f80fd5b5061016d8061001c5f395ff3fe608060405234801561000f575f80fd5b5060043610610029575f3560e01c8063f8b2cb4f1461002d575b5f80fd5b610047600480360381019061004291906100db565b61005d565b604051610054919061011e565b60405180910390f35b5f8173ffffffffffffffffffffffffffffffffffffffff16319050919050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6100aa82610081565b9050919050565b6100ba816100a0565b81146100c4575f80fd5b50565b5f813590506100d5816100b1565b92915050565b5f602082840312156100f0576100ef61007d565b5b5f6100fd848285016100c7565b91505092915050565b5f819050919050565b61011881610106565b82525050565b5f6020820190506101315f83018461010f565b9291505056fea26469706673582212203b9fe929fe995c7cf9887f0bdba8a36dd78e8b73f149b17d2d9ad7cd09d2dc6264736f6c634300081a0033";
|
|
6305
6330
|
async function simulateCalls(client, parameters) {
|
|
6306
6331
|
const { blockNumber, blockTag, calls, stateOverrides, traceAssetChanges, traceTransfers, validation } = parameters;
|
|
@@ -6497,7 +6522,7 @@ async function simulateCalls(client, parameters) {
|
|
|
6497
6522
|
};
|
|
6498
6523
|
}
|
|
6499
6524
|
|
|
6500
|
-
// ../../node_modules/.pnpm/ox@0.
|
|
6525
|
+
// ../../node_modules/.pnpm/ox@0.12.1_typescript@5.9.3_zod@4.3.6/node_modules/ox/_esm/erc6492/SignatureErc6492.js
|
|
6501
6526
|
var SignatureErc6492_exports = {};
|
|
6502
6527
|
__export(SignatureErc6492_exports, {
|
|
6503
6528
|
InvalidWrappedSignatureError: () => InvalidWrappedSignatureError2,
|
|
@@ -6598,7 +6623,7 @@ var InvalidWrappedSignatureError2 = class extends BaseError2 {
|
|
|
6598
6623
|
}
|
|
6599
6624
|
};
|
|
6600
6625
|
|
|
6601
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
6626
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/signature/serializeSignature.js
|
|
6602
6627
|
function serializeSignature({ r, s, to = "hex", v, yParity }) {
|
|
6603
6628
|
const yParity_ = (() => {
|
|
6604
6629
|
if (yParity === 0 || yParity === 1)
|
|
@@ -6613,7 +6638,7 @@ function serializeSignature({ r, s, to = "hex", v, yParity }) {
|
|
|
6613
6638
|
return hexToBytes(signature);
|
|
6614
6639
|
}
|
|
6615
6640
|
|
|
6616
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
6641
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/verifyHash.js
|
|
6617
6642
|
async function verifyHash(client, parameters) {
|
|
6618
6643
|
const { address, chain = client.chain, hash: hash2, erc6492VerifierAddress: verifierAddress = parameters.universalSignatureVerifierAddress ?? chain?.contracts?.erc6492Verifier?.address, multicallAddress = parameters.multicallAddress ?? chain?.contracts?.multicall3?.address } = parameters;
|
|
6619
6644
|
if (chain?.verifyHash)
|
|
@@ -6773,7 +6798,7 @@ async function verifyErc1271(client, parameters) {
|
|
|
6773
6798
|
var VerificationError = class extends Error {
|
|
6774
6799
|
};
|
|
6775
6800
|
|
|
6776
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
6801
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/verifyMessage.js
|
|
6777
6802
|
async function verifyMessage(client, { address, message, factory, factoryData, signature, ...callRequest }) {
|
|
6778
6803
|
const hash2 = hashMessage(message);
|
|
6779
6804
|
return getAction(client, verifyHash, "verifyHash")({
|
|
@@ -6786,7 +6811,7 @@ async function verifyMessage(client, { address, message, factory, factoryData, s
|
|
|
6786
6811
|
});
|
|
6787
6812
|
}
|
|
6788
6813
|
|
|
6789
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
6814
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/verifyTypedData.js
|
|
6790
6815
|
async function verifyTypedData(client, parameters) {
|
|
6791
6816
|
const { address, factory, factoryData, signature, message, primaryType, types, domain, ...callRequest } = parameters;
|
|
6792
6817
|
const hash2 = hashTypedData({ message, primaryType, types, domain });
|
|
@@ -6800,7 +6825,7 @@ async function verifyTypedData(client, parameters) {
|
|
|
6800
6825
|
});
|
|
6801
6826
|
}
|
|
6802
6827
|
|
|
6803
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
6828
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/watchBlockNumber.js
|
|
6804
6829
|
function watchBlockNumber(client, { emitOnBegin = false, emitMissed = false, onBlockNumber, onError, poll: poll_, pollingInterval = client.pollingInterval }) {
|
|
6805
6830
|
const enablePolling = (() => {
|
|
6806
6831
|
if (typeof poll_ !== "undefined")
|
|
@@ -6892,7 +6917,7 @@ function watchBlockNumber(client, { emitOnBegin = false, emitMissed = false, onB
|
|
|
6892
6917
|
return enablePolling ? pollBlockNumber() : subscribeBlockNumber();
|
|
6893
6918
|
}
|
|
6894
6919
|
|
|
6895
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
6920
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/waitForTransactionReceipt.js
|
|
6896
6921
|
async function waitForTransactionReceipt(client, parameters) {
|
|
6897
6922
|
const {
|
|
6898
6923
|
checkReplacement = true,
|
|
@@ -7024,7 +7049,7 @@ async function waitForTransactionReceipt(client, parameters) {
|
|
|
7024
7049
|
return promise;
|
|
7025
7050
|
}
|
|
7026
7051
|
|
|
7027
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
7052
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/watchBlocks.js
|
|
7028
7053
|
function watchBlocks(client, { blockTag = client.experimental_blockTag ?? "latest", emitMissed = false, emitOnBegin = false, onBlock, onError, includeTransactions: includeTransactions_, poll: poll_, pollingInterval = client.pollingInterval }) {
|
|
7029
7054
|
const enablePolling = (() => {
|
|
7030
7055
|
if (typeof poll_ !== "undefined")
|
|
@@ -7145,7 +7170,7 @@ function watchBlocks(client, { blockTag = client.experimental_blockTag ?? "lates
|
|
|
7145
7170
|
return enablePolling ? pollBlocks() : subscribeBlocks();
|
|
7146
7171
|
}
|
|
7147
7172
|
|
|
7148
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
7173
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/watchEvent.js
|
|
7149
7174
|
function watchEvent(client, { address, args, batch = true, event, events, fromBlock, onError, onLogs, poll: poll_, pollingInterval = client.pollingInterval, strict: strict_ }) {
|
|
7150
7175
|
const enablePolling = (() => {
|
|
7151
7176
|
if (typeof poll_ !== "undefined")
|
|
@@ -7308,7 +7333,7 @@ function watchEvent(client, { address, args, batch = true, event, events, fromBl
|
|
|
7308
7333
|
return enablePolling ? pollEvent() : subscribeEvent();
|
|
7309
7334
|
}
|
|
7310
7335
|
|
|
7311
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
7336
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/public/watchPendingTransactions.js
|
|
7312
7337
|
function watchPendingTransactions(client, { batch = true, onError, onTransactions, poll: poll_, pollingInterval = client.pollingInterval }) {
|
|
7313
7338
|
const enablePolling = typeof poll_ !== "undefined" ? poll_ : client.transport.type !== "webSocket" && client.transport.type !== "ipc";
|
|
7314
7339
|
const pollPendingTransactions = () => {
|
|
@@ -7382,7 +7407,7 @@ function watchPendingTransactions(client, { batch = true, onError, onTransaction
|
|
|
7382
7407
|
return enablePolling ? pollPendingTransactions() : subscribePendingTransactions();
|
|
7383
7408
|
}
|
|
7384
7409
|
|
|
7385
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
7410
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/siwe/parseSiweMessage.js
|
|
7386
7411
|
function parseSiweMessage(message) {
|
|
7387
7412
|
const { scheme, statement, ...prefix } = message.match(prefixRegex)?.groups ?? {};
|
|
7388
7413
|
const { chainId, expirationTime, issuedAt, notBefore, requestId, ...suffix } = message.match(suffixRegex)?.groups ?? {};
|
|
@@ -7403,7 +7428,7 @@ function parseSiweMessage(message) {
|
|
|
7403
7428
|
var prefixRegex = /^(?:(?<scheme>[a-zA-Z][a-zA-Z0-9+-.]*):\/\/)?(?<domain>[a-zA-Z0-9+-.]*(?::[0-9]{1,5})?) (?:wants you to sign in with your Ethereum account:\n)(?<address>0x[a-fA-F0-9]{40})\n\n(?:(?<statement>.*)\n\n)?/;
|
|
7404
7429
|
var suffixRegex = /(?:URI: (?<uri>.+))\n(?:Version: (?<version>.+))\n(?:Chain ID: (?<chainId>\d+))\n(?:Nonce: (?<nonce>[a-zA-Z0-9]+))\n(?:Issued At: (?<issuedAt>.+))(?:\nExpiration Time: (?<expirationTime>.+))?(?:\nNot Before: (?<notBefore>.+))?(?:\nRequest ID: (?<requestId>.+))?/;
|
|
7405
7430
|
|
|
7406
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
7431
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/utils/siwe/validateSiweMessage.js
|
|
7407
7432
|
function validateSiweMessage(parameters) {
|
|
7408
7433
|
const { address, domain, message, nonce, scheme, time = /* @__PURE__ */ new Date() } = parameters;
|
|
7409
7434
|
if (domain && message.domain !== domain)
|
|
@@ -7429,7 +7454,7 @@ function validateSiweMessage(parameters) {
|
|
|
7429
7454
|
return true;
|
|
7430
7455
|
}
|
|
7431
7456
|
|
|
7432
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
7457
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/siwe/verifySiweMessage.js
|
|
7433
7458
|
async function verifySiweMessage(client, parameters) {
|
|
7434
7459
|
const { address, domain, message, nonce, scheme, signature, time = /* @__PURE__ */ new Date(), ...callRequest } = parameters;
|
|
7435
7460
|
const parsed = parseSiweMessage(message);
|
|
@@ -7454,7 +7479,7 @@ async function verifySiweMessage(client, parameters) {
|
|
|
7454
7479
|
});
|
|
7455
7480
|
}
|
|
7456
7481
|
|
|
7457
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
7482
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/actions/wallet/sendRawTransactionSync.js
|
|
7458
7483
|
async function sendRawTransactionSync(client, { serializedTransaction, throwOnReceiptRevert, timeout }) {
|
|
7459
7484
|
const receipt = await client.request({
|
|
7460
7485
|
method: "eth_sendRawTransactionSync",
|
|
@@ -7467,7 +7492,7 @@ async function sendRawTransactionSync(client, { serializedTransaction, throwOnRe
|
|
|
7467
7492
|
return formatted;
|
|
7468
7493
|
}
|
|
7469
7494
|
|
|
7470
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
7495
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/clients/decorators/public.js
|
|
7471
7496
|
function publicActions(client) {
|
|
7472
7497
|
return {
|
|
7473
7498
|
call: (args) => call(client, args),
|
|
@@ -7530,7 +7555,7 @@ function publicActions(client) {
|
|
|
7530
7555
|
};
|
|
7531
7556
|
}
|
|
7532
7557
|
|
|
7533
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
7558
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/clients/createPublicClient.js
|
|
7534
7559
|
function createPublicClient(parameters) {
|
|
7535
7560
|
const { key = "public", name = "Public Client" } = parameters;
|
|
7536
7561
|
const client = createClient({
|
|
@@ -7542,7 +7567,7 @@ function createPublicClient(parameters) {
|
|
|
7542
7567
|
return client.extend(publicActions);
|
|
7543
7568
|
}
|
|
7544
7569
|
|
|
7545
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
7570
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/clients/transports/createTransport.js
|
|
7546
7571
|
function createTransport({ key, methods, name, request, retryCount = 3, retryDelay = 150, timeout, type }, value) {
|
|
7547
7572
|
const uid2 = uid();
|
|
7548
7573
|
return {
|
|
@@ -7561,7 +7586,7 @@ function createTransport({ key, methods, name, request, retryCount = 3, retryDel
|
|
|
7561
7586
|
};
|
|
7562
7587
|
}
|
|
7563
7588
|
|
|
7564
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
7589
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/errors/transport.js
|
|
7565
7590
|
var UrlRequiredError = class extends BaseError {
|
|
7566
7591
|
constructor() {
|
|
7567
7592
|
super("No URL was provided to the Transport. Please provide a valid RPC URL to the Transport.", {
|
|
@@ -7571,7 +7596,7 @@ var UrlRequiredError = class extends BaseError {
|
|
|
7571
7596
|
}
|
|
7572
7597
|
};
|
|
7573
7598
|
|
|
7574
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
7599
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/clients/transports/http.js
|
|
7575
7600
|
function http(url, config = {}) {
|
|
7576
7601
|
const { batch, fetchFn, fetchOptions, key = "http", methods, name = "HTTP JSON-RPC", onFetchRequest, onFetchResponse, retryDelay, raw } = config;
|
|
7577
7602
|
return ({ chain, retryCount: retryCount_, timeout: timeout_ }) => {
|
|
@@ -7632,7 +7657,7 @@ function http(url, config = {}) {
|
|
|
7632
7657
|
};
|
|
7633
7658
|
}
|
|
7634
7659
|
|
|
7635
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
7660
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/clients/transports/webSocket.js
|
|
7636
7661
|
function webSocket(url, config = {}) {
|
|
7637
7662
|
const { keepAlive, key = "webSocket", methods, name = "WebSocket JSON-RPC", reconnect, retryDelay } = config;
|
|
7638
7663
|
return ({ chain, retryCount: retryCount_, timeout: timeout_ }) => {
|
|
@@ -7913,11 +7938,11 @@ var customChains = {
|
|
|
7913
7938
|
// src/chains/chainMapping.ts
|
|
7914
7939
|
import { Chain } from "@1delta/chain-registry";
|
|
7915
7940
|
|
|
7916
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
7941
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/zksync/constants/number.js
|
|
7917
7942
|
var gasPerPubdataDefault = 50000n;
|
|
7918
7943
|
var maxBytecodeSize = maxUint16 * 32n;
|
|
7919
7944
|
|
|
7920
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
7945
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/zksync/formatters.js
|
|
7921
7946
|
var formatters = {
|
|
7922
7947
|
block: /* @__PURE__ */ defineBlock({
|
|
7923
7948
|
format(args) {
|
|
@@ -8016,7 +8041,7 @@ var formatters = {
|
|
|
8016
8041
|
})
|
|
8017
8042
|
};
|
|
8018
8043
|
|
|
8019
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
8044
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/zksync/errors/transaction.js
|
|
8020
8045
|
var InvalidEip712TransactionError = class extends BaseError {
|
|
8021
8046
|
constructor() {
|
|
8022
8047
|
super([
|
|
@@ -8029,7 +8054,7 @@ var InvalidEip712TransactionError = class extends BaseError {
|
|
|
8029
8054
|
}
|
|
8030
8055
|
};
|
|
8031
8056
|
|
|
8032
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
8057
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/zksync/utils/isEip712Transaction.js
|
|
8033
8058
|
function isEIP712Transaction(transaction) {
|
|
8034
8059
|
if (transaction.type === "eip712")
|
|
8035
8060
|
return true;
|
|
@@ -8038,7 +8063,7 @@ function isEIP712Transaction(transaction) {
|
|
|
8038
8063
|
return false;
|
|
8039
8064
|
}
|
|
8040
8065
|
|
|
8041
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
8066
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/zksync/utils/assertEip712Transaction.js
|
|
8042
8067
|
function assertEip712Transaction(transaction) {
|
|
8043
8068
|
const { chainId, to, from: from14, paymaster, paymasterInput } = transaction;
|
|
8044
8069
|
if (!isEIP712Transaction(transaction))
|
|
@@ -8059,7 +8084,7 @@ function assertEip712Transaction(transaction) {
|
|
|
8059
8084
|
}
|
|
8060
8085
|
}
|
|
8061
8086
|
|
|
8062
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
8087
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/zksync/serializers.js
|
|
8063
8088
|
function serializeTransaction2(transaction, signature) {
|
|
8064
8089
|
if (isEIP712Transaction(transaction))
|
|
8065
8090
|
return serializeTransactionEIP712(transaction);
|
|
@@ -8096,7 +8121,7 @@ function serializeTransactionEIP712(transaction) {
|
|
|
8096
8121
|
]);
|
|
8097
8122
|
}
|
|
8098
8123
|
|
|
8099
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
8124
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/zksync/errors/bytecode.js
|
|
8100
8125
|
var BytecodeLengthExceedsMaxSizeError = class extends BaseError {
|
|
8101
8126
|
constructor({ givenLength, maxBytecodeSize: maxBytecodeSize2 }) {
|
|
8102
8127
|
super(`Bytecode cannot be longer than ${maxBytecodeSize2} bytes. Given length: ${givenLength}`, { name: "BytecodeLengthExceedsMaxSizeError" });
|
|
@@ -8113,7 +8138,7 @@ var BytecodeLengthMustBeDivisibleBy32Error = class extends BaseError {
|
|
|
8113
8138
|
}
|
|
8114
8139
|
};
|
|
8115
8140
|
|
|
8116
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
8141
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/zksync/utils/hashBytecode.js
|
|
8117
8142
|
function hashBytecode(bytecode) {
|
|
8118
8143
|
const bytecodeBytes = toBytes(bytecode);
|
|
8119
8144
|
if (bytecodeBytes.length % 32 !== 0)
|
|
@@ -8141,7 +8166,7 @@ function hashBytecode(bytecode) {
|
|
|
8141
8166
|
return hash2;
|
|
8142
8167
|
}
|
|
8143
8168
|
|
|
8144
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
8169
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/zksync/utils/getEip712Domain.js
|
|
8145
8170
|
var getEip712Domain2 = (transaction) => {
|
|
8146
8171
|
assertEip712Transaction(transaction);
|
|
8147
8172
|
const message = transactionToMessage(transaction);
|
|
@@ -8191,7 +8216,7 @@ function transactionToMessage(transaction) {
|
|
|
8191
8216
|
};
|
|
8192
8217
|
}
|
|
8193
8218
|
|
|
8194
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
8219
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/zksync/chainConfig.js
|
|
8195
8220
|
var chainConfig = {
|
|
8196
8221
|
blockTime: 1e3,
|
|
8197
8222
|
formatters,
|
|
@@ -8201,7 +8226,7 @@ var chainConfig = {
|
|
|
8201
8226
|
}
|
|
8202
8227
|
};
|
|
8203
8228
|
|
|
8204
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
8229
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/abstract.js
|
|
8205
8230
|
var abstract = /* @__PURE__ */ defineChain({
|
|
8206
8231
|
...chainConfig,
|
|
8207
8232
|
blockTime: 200,
|
|
@@ -8240,7 +8265,7 @@ var abstract = /* @__PURE__ */ defineChain({
|
|
|
8240
8265
|
}
|
|
8241
8266
|
});
|
|
8242
8267
|
|
|
8243
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
8268
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/op-stack/contracts.js
|
|
8244
8269
|
var contracts = {
|
|
8245
8270
|
gasPriceOracle: { address: "0x420000000000000000000000000000000000000F" },
|
|
8246
8271
|
l1Block: { address: "0x4200000000000000000000000000000000000015" },
|
|
@@ -8254,7 +8279,7 @@ var contracts = {
|
|
|
8254
8279
|
}
|
|
8255
8280
|
};
|
|
8256
8281
|
|
|
8257
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
8282
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/op-stack/formatters.js
|
|
8258
8283
|
var formatters2 = {
|
|
8259
8284
|
block: /* @__PURE__ */ defineBlock({
|
|
8260
8285
|
format(args) {
|
|
@@ -8300,7 +8325,7 @@ var formatters2 = {
|
|
|
8300
8325
|
})
|
|
8301
8326
|
};
|
|
8302
8327
|
|
|
8303
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
8328
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/op-stack/serializers.js
|
|
8304
8329
|
function serializeTransaction3(transaction, signature) {
|
|
8305
8330
|
if (isDeposit(transaction))
|
|
8306
8331
|
return serializeTransactionDeposit(transaction);
|
|
@@ -8342,7 +8367,7 @@ function assertTransactionDeposit(transaction) {
|
|
|
8342
8367
|
throw new InvalidAddressError({ address: to });
|
|
8343
8368
|
}
|
|
8344
8369
|
|
|
8345
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
8370
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/op-stack/chainConfig.js
|
|
8346
8371
|
var chainConfig2 = {
|
|
8347
8372
|
blockTime: 2e3,
|
|
8348
8373
|
contracts,
|
|
@@ -8350,7 +8375,7 @@ var chainConfig2 = {
|
|
|
8350
8375
|
serializers: serializers2
|
|
8351
8376
|
};
|
|
8352
8377
|
|
|
8353
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
8378
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/apeChain.js
|
|
8354
8379
|
var sourceId = 42161;
|
|
8355
8380
|
var apeChain = /* @__PURE__ */ defineChain({
|
|
8356
8381
|
id: 33139,
|
|
@@ -8382,7 +8407,7 @@ var apeChain = /* @__PURE__ */ defineChain({
|
|
|
8382
8407
|
sourceId
|
|
8383
8408
|
});
|
|
8384
8409
|
|
|
8385
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
8410
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/arbitrum.js
|
|
8386
8411
|
var arbitrum = /* @__PURE__ */ defineChain({
|
|
8387
8412
|
id: 42161,
|
|
8388
8413
|
name: "Arbitrum One",
|
|
@@ -8408,7 +8433,7 @@ var arbitrum = /* @__PURE__ */ defineChain({
|
|
|
8408
8433
|
}
|
|
8409
8434
|
});
|
|
8410
8435
|
|
|
8411
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
8436
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/aurora.js
|
|
8412
8437
|
var aurora = /* @__PURE__ */ defineChain({
|
|
8413
8438
|
id: 1313161554,
|
|
8414
8439
|
name: "Aurora",
|
|
@@ -8435,7 +8460,7 @@ var aurora = /* @__PURE__ */ defineChain({
|
|
|
8435
8460
|
}
|
|
8436
8461
|
});
|
|
8437
8462
|
|
|
8438
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
8463
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/avalanche.js
|
|
8439
8464
|
var avalanche = /* @__PURE__ */ defineChain({
|
|
8440
8465
|
id: 43114,
|
|
8441
8466
|
name: "Avalanche",
|
|
@@ -8463,7 +8488,7 @@ var avalanche = /* @__PURE__ */ defineChain({
|
|
|
8463
8488
|
}
|
|
8464
8489
|
});
|
|
8465
8490
|
|
|
8466
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
8491
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/base.js
|
|
8467
8492
|
var sourceId2 = 1;
|
|
8468
8493
|
var base = /* @__PURE__ */ defineChain({
|
|
8469
8494
|
...chainConfig2,
|
|
@@ -8523,7 +8548,7 @@ var basePreconf = /* @__PURE__ */ defineChain({
|
|
|
8523
8548
|
}
|
|
8524
8549
|
});
|
|
8525
8550
|
|
|
8526
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
8551
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/berachain.js
|
|
8527
8552
|
var berachain = /* @__PURE__ */ defineChain({
|
|
8528
8553
|
id: 80094,
|
|
8529
8554
|
name: "Berachain",
|
|
@@ -8560,7 +8585,7 @@ var berachain = /* @__PURE__ */ defineChain({
|
|
|
8560
8585
|
testnet: false
|
|
8561
8586
|
});
|
|
8562
8587
|
|
|
8563
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
8588
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/bitlayer.js
|
|
8564
8589
|
var bitlayer = /* @__PURE__ */ defineChain({
|
|
8565
8590
|
id: 200901,
|
|
8566
8591
|
name: "Bitlayer Mainnet",
|
|
@@ -8589,7 +8614,7 @@ var bitlayer = /* @__PURE__ */ defineChain({
|
|
|
8589
8614
|
}
|
|
8590
8615
|
});
|
|
8591
8616
|
|
|
8592
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
8617
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/blast.js
|
|
8593
8618
|
var sourceId3 = 1;
|
|
8594
8619
|
var blast = /* @__PURE__ */ defineChain({
|
|
8595
8620
|
...chainConfig2,
|
|
@@ -8638,7 +8663,7 @@ var blast = /* @__PURE__ */ defineChain({
|
|
|
8638
8663
|
sourceId: sourceId3
|
|
8639
8664
|
});
|
|
8640
8665
|
|
|
8641
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
8666
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/bob.js
|
|
8642
8667
|
var sourceId4 = 1;
|
|
8643
8668
|
var bob = /* @__PURE__ */ defineChain({
|
|
8644
8669
|
...chainConfig2,
|
|
@@ -8683,7 +8708,7 @@ var bob = /* @__PURE__ */ defineChain({
|
|
|
8683
8708
|
sourceId: sourceId4
|
|
8684
8709
|
});
|
|
8685
8710
|
|
|
8686
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
8711
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/bsc.js
|
|
8687
8712
|
var bsc = /* @__PURE__ */ defineChain({
|
|
8688
8713
|
id: 56,
|
|
8689
8714
|
name: "BNB Smart Chain",
|
|
@@ -8711,7 +8736,7 @@ var bsc = /* @__PURE__ */ defineChain({
|
|
|
8711
8736
|
}
|
|
8712
8737
|
});
|
|
8713
8738
|
|
|
8714
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
8739
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/bsquared.js
|
|
8715
8740
|
var bsquared = /* @__PURE__ */ defineChain({
|
|
8716
8741
|
id: 223,
|
|
8717
8742
|
name: "B2",
|
|
@@ -8733,7 +8758,7 @@ var bsquared = /* @__PURE__ */ defineChain({
|
|
|
8733
8758
|
}
|
|
8734
8759
|
});
|
|
8735
8760
|
|
|
8736
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
8761
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/celo/fees.js
|
|
8737
8762
|
var fees = {
|
|
8738
8763
|
/*
|
|
8739
8764
|
* Estimates the fees per gas for a transaction.
|
|
@@ -8773,7 +8798,7 @@ async function estimateMaxPriorityFeePerGasInFeeCurrency(client, feeCurrency) {
|
|
|
8773
8798
|
return BigInt(feesPerGas);
|
|
8774
8799
|
}
|
|
8775
8800
|
|
|
8776
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
8801
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/celo/utils.js
|
|
8777
8802
|
function isEmpty(value) {
|
|
8778
8803
|
return value === 0 || value === 0n || value === void 0 || value === null || value === "0" || value === "" || typeof value === "string" && (trim(value).toLowerCase() === "0x" || trim(value).toLowerCase() === "0x00");
|
|
8779
8804
|
}
|
|
@@ -8790,7 +8815,7 @@ function isCIP64(transaction) {
|
|
|
8790
8815
|
return isEIP1559(transaction) && isPresent(transaction.feeCurrency);
|
|
8791
8816
|
}
|
|
8792
8817
|
|
|
8793
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
8818
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/celo/formatters.js
|
|
8794
8819
|
var formatters3 = {
|
|
8795
8820
|
block: /* @__PURE__ */ defineBlock({
|
|
8796
8821
|
format(args) {
|
|
@@ -8845,7 +8870,7 @@ var formatters3 = {
|
|
|
8845
8870
|
})
|
|
8846
8871
|
};
|
|
8847
8872
|
|
|
8848
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
8873
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/celo/serializers.js
|
|
8849
8874
|
function serializeTransaction4(transaction, signature) {
|
|
8850
8875
|
if (isCIP64(transaction))
|
|
8851
8876
|
return serializeTransactionCIP64(transaction, signature);
|
|
@@ -8896,7 +8921,7 @@ function assertTransactionCIP64(transaction) {
|
|
|
8896
8921
|
}
|
|
8897
8922
|
}
|
|
8898
8923
|
|
|
8899
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
8924
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/celo/chainConfig.js
|
|
8900
8925
|
var chainConfig3 = {
|
|
8901
8926
|
blockTime: 1e3,
|
|
8902
8927
|
contracts,
|
|
@@ -8905,7 +8930,7 @@ var chainConfig3 = {
|
|
|
8905
8930
|
fees
|
|
8906
8931
|
};
|
|
8907
8932
|
|
|
8908
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
8933
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/celo.js
|
|
8909
8934
|
var celo = /* @__PURE__ */ defineChain({
|
|
8910
8935
|
...chainConfig3,
|
|
8911
8936
|
id: 42220,
|
|
@@ -8934,7 +8959,32 @@ var celo = /* @__PURE__ */ defineChain({
|
|
|
8934
8959
|
testnet: false
|
|
8935
8960
|
});
|
|
8936
8961
|
|
|
8937
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
8962
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/confluxESpace.js
|
|
8963
|
+
var confluxESpace = /* @__PURE__ */ defineChain({
|
|
8964
|
+
id: 1030,
|
|
8965
|
+
name: "Conflux eSpace",
|
|
8966
|
+
nativeCurrency: { name: "Conflux", symbol: "CFX", decimals: 18 },
|
|
8967
|
+
rpcUrls: {
|
|
8968
|
+
default: {
|
|
8969
|
+
http: ["https://evm.confluxrpc.com"],
|
|
8970
|
+
webSocket: ["wss://evm.confluxrpc.com/ws"]
|
|
8971
|
+
}
|
|
8972
|
+
},
|
|
8973
|
+
blockExplorers: {
|
|
8974
|
+
default: {
|
|
8975
|
+
name: "ConfluxScan",
|
|
8976
|
+
url: "https://evm.confluxscan.org"
|
|
8977
|
+
}
|
|
8978
|
+
},
|
|
8979
|
+
contracts: {
|
|
8980
|
+
multicall3: {
|
|
8981
|
+
address: "0xEFf0078910f638cd81996cc117bccD3eDf2B072F",
|
|
8982
|
+
blockCreated: 68602935
|
|
8983
|
+
}
|
|
8984
|
+
}
|
|
8985
|
+
});
|
|
8986
|
+
|
|
8987
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/coreDao.js
|
|
8938
8988
|
var coreDao = /* @__PURE__ */ defineChain({
|
|
8939
8989
|
id: 1116,
|
|
8940
8990
|
name: "Core Dao",
|
|
@@ -8961,7 +9011,7 @@ var coreDao = /* @__PURE__ */ defineChain({
|
|
|
8961
9011
|
testnet: false
|
|
8962
9012
|
});
|
|
8963
9013
|
|
|
8964
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
9014
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/corn.js
|
|
8965
9015
|
var sourceId5 = 1;
|
|
8966
9016
|
var corn = /* @__PURE__ */ defineChain({
|
|
8967
9017
|
id: 21e6,
|
|
@@ -8990,7 +9040,7 @@ var corn = /* @__PURE__ */ defineChain({
|
|
|
8990
9040
|
sourceId: sourceId5
|
|
8991
9041
|
});
|
|
8992
9042
|
|
|
8993
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
9043
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/cronos.js
|
|
8994
9044
|
var cronos = /* @__PURE__ */ defineChain({
|
|
8995
9045
|
id: 25,
|
|
8996
9046
|
name: "Cronos Mainnet",
|
|
@@ -9017,7 +9067,7 @@ var cronos = /* @__PURE__ */ defineChain({
|
|
|
9017
9067
|
}
|
|
9018
9068
|
});
|
|
9019
9069
|
|
|
9020
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
9070
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/cronoszkEVM.js
|
|
9021
9071
|
var cronoszkEVM = /* @__PURE__ */ defineChain({
|
|
9022
9072
|
id: 388,
|
|
9023
9073
|
name: "Cronos zkEVM Mainnet",
|
|
@@ -9043,7 +9093,7 @@ var cronoszkEVM = /* @__PURE__ */ defineChain({
|
|
|
9043
9093
|
}
|
|
9044
9094
|
});
|
|
9045
9095
|
|
|
9046
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
9096
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/degen.js
|
|
9047
9097
|
var degen = /* @__PURE__ */ defineChain({
|
|
9048
9098
|
id: 666666666,
|
|
9049
9099
|
name: "Degen",
|
|
@@ -9067,7 +9117,7 @@ var degen = /* @__PURE__ */ defineChain({
|
|
|
9067
9117
|
}
|
|
9068
9118
|
});
|
|
9069
9119
|
|
|
9070
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
9120
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/fantom.js
|
|
9071
9121
|
var fantom = /* @__PURE__ */ defineChain({
|
|
9072
9122
|
id: 250,
|
|
9073
9123
|
name: "Fantom",
|
|
@@ -9094,7 +9144,7 @@ var fantom = /* @__PURE__ */ defineChain({
|
|
|
9094
9144
|
}
|
|
9095
9145
|
});
|
|
9096
9146
|
|
|
9097
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
9147
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/flare.js
|
|
9098
9148
|
var flare = /* @__PURE__ */ defineChain({
|
|
9099
9149
|
id: 14,
|
|
9100
9150
|
name: "Flare Mainnet",
|
|
@@ -9121,7 +9171,7 @@ var flare = /* @__PURE__ */ defineChain({
|
|
|
9121
9171
|
}
|
|
9122
9172
|
});
|
|
9123
9173
|
|
|
9124
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
9174
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/flowMainnet.js
|
|
9125
9175
|
var flowMainnet = /* @__PURE__ */ defineChain({
|
|
9126
9176
|
id: 747,
|
|
9127
9177
|
name: "Flow EVM Mainnet",
|
|
@@ -9150,7 +9200,7 @@ var flowMainnet = /* @__PURE__ */ defineChain({
|
|
|
9150
9200
|
blockTime: 800
|
|
9151
9201
|
});
|
|
9152
9202
|
|
|
9153
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
9203
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/fuse.js
|
|
9154
9204
|
var fuse = /* @__PURE__ */ defineChain({
|
|
9155
9205
|
id: 122,
|
|
9156
9206
|
name: "Fuse",
|
|
@@ -9173,7 +9223,7 @@ var fuse = /* @__PURE__ */ defineChain({
|
|
|
9173
9223
|
}
|
|
9174
9224
|
});
|
|
9175
9225
|
|
|
9176
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
9226
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/gnosis.js
|
|
9177
9227
|
var gnosis = /* @__PURE__ */ defineChain({
|
|
9178
9228
|
id: 100,
|
|
9179
9229
|
name: "Gnosis",
|
|
@@ -9204,7 +9254,7 @@ var gnosis = /* @__PURE__ */ defineChain({
|
|
|
9204
9254
|
}
|
|
9205
9255
|
});
|
|
9206
9256
|
|
|
9207
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
9257
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/goat.js
|
|
9208
9258
|
var goat = /* @__PURE__ */ defineChain({
|
|
9209
9259
|
id: 2345,
|
|
9210
9260
|
name: "GOAT",
|
|
@@ -9230,7 +9280,7 @@ var goat = /* @__PURE__ */ defineChain({
|
|
|
9230
9280
|
}
|
|
9231
9281
|
});
|
|
9232
9282
|
|
|
9233
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
9283
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/gravity.js
|
|
9234
9284
|
var gravity = /* @__PURE__ */ defineChain({
|
|
9235
9285
|
id: 1625,
|
|
9236
9286
|
name: "Gravity Alpha Mainnet",
|
|
@@ -9255,7 +9305,7 @@ var gravity = /* @__PURE__ */ defineChain({
|
|
|
9255
9305
|
}
|
|
9256
9306
|
});
|
|
9257
9307
|
|
|
9258
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
9308
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/harmonyOne.js
|
|
9259
9309
|
var harmonyOne = /* @__PURE__ */ defineChain({
|
|
9260
9310
|
id: 16666e5,
|
|
9261
9311
|
name: "Harmony One",
|
|
@@ -9281,7 +9331,7 @@ var harmonyOne = /* @__PURE__ */ defineChain({
|
|
|
9281
9331
|
}
|
|
9282
9332
|
});
|
|
9283
9333
|
|
|
9284
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
9334
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/hemi.js
|
|
9285
9335
|
var hemi = /* @__PURE__ */ defineChain({
|
|
9286
9336
|
id: 43111,
|
|
9287
9337
|
name: "Hemi",
|
|
@@ -9306,7 +9356,7 @@ var hemi = /* @__PURE__ */ defineChain({
|
|
|
9306
9356
|
testnet: false
|
|
9307
9357
|
});
|
|
9308
9358
|
|
|
9309
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
9359
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/inEVM.js
|
|
9310
9360
|
var inEVM = /* @__PURE__ */ defineChain({
|
|
9311
9361
|
id: 2525,
|
|
9312
9362
|
name: "inEVM Mainnet",
|
|
@@ -9333,7 +9383,7 @@ var inEVM = /* @__PURE__ */ defineChain({
|
|
|
9333
9383
|
}
|
|
9334
9384
|
});
|
|
9335
9385
|
|
|
9336
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
9386
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/ink.js
|
|
9337
9387
|
var sourceId6 = 1;
|
|
9338
9388
|
var ink = /* @__PURE__ */ defineChain({
|
|
9339
9389
|
...chainConfig2,
|
|
@@ -9385,7 +9435,7 @@ var ink = /* @__PURE__ */ defineChain({
|
|
|
9385
9435
|
sourceId: sourceId6
|
|
9386
9436
|
});
|
|
9387
9437
|
|
|
9388
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
9438
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/iota.js
|
|
9389
9439
|
var iota = /* @__PURE__ */ defineChain({
|
|
9390
9440
|
id: 8822,
|
|
9391
9441
|
name: "IOTA EVM",
|
|
@@ -9416,7 +9466,7 @@ var iota = /* @__PURE__ */ defineChain({
|
|
|
9416
9466
|
}
|
|
9417
9467
|
});
|
|
9418
9468
|
|
|
9419
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
9469
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/iotex.js
|
|
9420
9470
|
var iotex = /* @__PURE__ */ defineChain({
|
|
9421
9471
|
id: 4689,
|
|
9422
9472
|
name: "IoTeX",
|
|
@@ -9445,7 +9495,7 @@ var iotex = /* @__PURE__ */ defineChain({
|
|
|
9445
9495
|
}
|
|
9446
9496
|
});
|
|
9447
9497
|
|
|
9448
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
9498
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/kaia.js
|
|
9449
9499
|
var kaia = /* @__PURE__ */ defineChain({
|
|
9450
9500
|
id: 8217,
|
|
9451
9501
|
name: "Kaia",
|
|
@@ -9472,7 +9522,7 @@ var kaia = /* @__PURE__ */ defineChain({
|
|
|
9472
9522
|
}
|
|
9473
9523
|
});
|
|
9474
9524
|
|
|
9475
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
9525
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/kava.js
|
|
9476
9526
|
var kava = /* @__PURE__ */ defineChain({
|
|
9477
9527
|
id: 2222,
|
|
9478
9528
|
name: "Kava EVM",
|
|
@@ -9501,7 +9551,7 @@ var kava = /* @__PURE__ */ defineChain({
|
|
|
9501
9551
|
testnet: false
|
|
9502
9552
|
});
|
|
9503
9553
|
|
|
9504
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
9554
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/lightlinkPhoenix.js
|
|
9505
9555
|
var lightlinkPhoenix = /* @__PURE__ */ defineChain({
|
|
9506
9556
|
id: 1890,
|
|
9507
9557
|
name: "LightLink Phoenix Mainnet",
|
|
@@ -9531,7 +9581,7 @@ var lightlinkPhoenix = /* @__PURE__ */ defineChain({
|
|
|
9531
9581
|
testnet: false
|
|
9532
9582
|
});
|
|
9533
9583
|
|
|
9534
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
9584
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/linea/actions/estimateGas.js
|
|
9535
9585
|
async function estimateGas2(client, args) {
|
|
9536
9586
|
const { account: account_ = client.account } = args;
|
|
9537
9587
|
if (!account_)
|
|
@@ -9576,7 +9626,7 @@ async function estimateGas2(client, args) {
|
|
|
9576
9626
|
}
|
|
9577
9627
|
}
|
|
9578
9628
|
|
|
9579
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
9629
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/linea/chainConfig.js
|
|
9580
9630
|
var chainConfig4 = {
|
|
9581
9631
|
fees: {
|
|
9582
9632
|
estimateFeesPerGas: estimateFeesPerGas2,
|
|
@@ -9614,7 +9664,7 @@ async function estimateFeesPerGas2({ client, multiply, request, type }) {
|
|
|
9614
9664
|
}
|
|
9615
9665
|
}
|
|
9616
9666
|
|
|
9617
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
9667
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/linea.js
|
|
9618
9668
|
var linea = /* @__PURE__ */ defineChain({
|
|
9619
9669
|
...chainConfig4,
|
|
9620
9670
|
id: 59144,
|
|
@@ -9652,7 +9702,7 @@ var linea = /* @__PURE__ */ defineChain({
|
|
|
9652
9702
|
testnet: false
|
|
9653
9703
|
});
|
|
9654
9704
|
|
|
9655
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
9705
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/mainnet.js
|
|
9656
9706
|
var mainnet = /* @__PURE__ */ defineChain({
|
|
9657
9707
|
id: 1,
|
|
9658
9708
|
name: "Ethereum",
|
|
@@ -9682,7 +9732,7 @@ var mainnet = /* @__PURE__ */ defineChain({
|
|
|
9682
9732
|
}
|
|
9683
9733
|
});
|
|
9684
9734
|
|
|
9685
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
9735
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/manta.js
|
|
9686
9736
|
var manta = /* @__PURE__ */ defineChain({
|
|
9687
9737
|
id: 169,
|
|
9688
9738
|
name: "Manta Pacific Mainnet",
|
|
@@ -9710,7 +9760,7 @@ var manta = /* @__PURE__ */ defineChain({
|
|
|
9710
9760
|
}
|
|
9711
9761
|
});
|
|
9712
9762
|
|
|
9713
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
9763
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/mantle.js
|
|
9714
9764
|
var mantle = /* @__PURE__ */ defineChain({
|
|
9715
9765
|
id: 5e3,
|
|
9716
9766
|
name: "Mantle",
|
|
@@ -9737,7 +9787,7 @@ var mantle = /* @__PURE__ */ defineChain({
|
|
|
9737
9787
|
}
|
|
9738
9788
|
});
|
|
9739
9789
|
|
|
9740
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
9790
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/merlin.js
|
|
9741
9791
|
var merlin = /* @__PURE__ */ defineChain({
|
|
9742
9792
|
id: 4200,
|
|
9743
9793
|
name: "Merlin",
|
|
@@ -9758,7 +9808,7 @@ var merlin = /* @__PURE__ */ defineChain({
|
|
|
9758
9808
|
}
|
|
9759
9809
|
});
|
|
9760
9810
|
|
|
9761
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
9811
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/meter.js
|
|
9762
9812
|
var meter = /* @__PURE__ */ defineChain({
|
|
9763
9813
|
id: 82,
|
|
9764
9814
|
name: "Meter",
|
|
@@ -9778,7 +9828,7 @@ var meter = /* @__PURE__ */ defineChain({
|
|
|
9778
9828
|
}
|
|
9779
9829
|
});
|
|
9780
9830
|
|
|
9781
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
9831
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/metis.js
|
|
9782
9832
|
var metis = /* @__PURE__ */ defineChain({
|
|
9783
9833
|
id: 1088,
|
|
9784
9834
|
name: "Metis",
|
|
@@ -9817,7 +9867,7 @@ var metis = /* @__PURE__ */ defineChain({
|
|
|
9817
9867
|
}
|
|
9818
9868
|
});
|
|
9819
9869
|
|
|
9820
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
9870
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/mode.js
|
|
9821
9871
|
var sourceId7 = 1;
|
|
9822
9872
|
var mode = /* @__PURE__ */ defineChain({
|
|
9823
9873
|
...chainConfig2,
|
|
@@ -9860,7 +9910,7 @@ var mode = /* @__PURE__ */ defineChain({
|
|
|
9860
9910
|
sourceId: sourceId7
|
|
9861
9911
|
});
|
|
9862
9912
|
|
|
9863
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
9913
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/moonbeam.js
|
|
9864
9914
|
var moonbeam = /* @__PURE__ */ defineChain({
|
|
9865
9915
|
id: 1284,
|
|
9866
9916
|
name: "Moonbeam",
|
|
@@ -9891,7 +9941,7 @@ var moonbeam = /* @__PURE__ */ defineChain({
|
|
|
9891
9941
|
testnet: false
|
|
9892
9942
|
});
|
|
9893
9943
|
|
|
9894
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
9944
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/morph.js
|
|
9895
9945
|
var morph = /* @__PURE__ */ defineChain({
|
|
9896
9946
|
id: 2818,
|
|
9897
9947
|
name: "Morph",
|
|
@@ -9921,7 +9971,7 @@ var morph = /* @__PURE__ */ defineChain({
|
|
|
9921
9971
|
testnet: false
|
|
9922
9972
|
});
|
|
9923
9973
|
|
|
9924
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
9974
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/neonMainnet.js
|
|
9925
9975
|
var neonMainnet = /* @__PURE__ */ defineChain({
|
|
9926
9976
|
id: 245022934,
|
|
9927
9977
|
network: "neonMainnet",
|
|
@@ -9947,7 +9997,7 @@ var neonMainnet = /* @__PURE__ */ defineChain({
|
|
|
9947
9997
|
testnet: false
|
|
9948
9998
|
});
|
|
9949
9999
|
|
|
9950
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
10000
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/opBNB.js
|
|
9951
10001
|
var sourceId8 = 56;
|
|
9952
10002
|
var opBNB = /* @__PURE__ */ defineChain({
|
|
9953
10003
|
id: 204,
|
|
@@ -9992,7 +10042,7 @@ var opBNB = /* @__PURE__ */ defineChain({
|
|
|
9992
10042
|
sourceId: sourceId8
|
|
9993
10043
|
});
|
|
9994
10044
|
|
|
9995
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
10045
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/optimism.js
|
|
9996
10046
|
var sourceId9 = 1;
|
|
9997
10047
|
var optimism = /* @__PURE__ */ defineChain({
|
|
9998
10048
|
...chainConfig2,
|
|
@@ -10041,7 +10091,7 @@ var optimism = /* @__PURE__ */ defineChain({
|
|
|
10041
10091
|
sourceId: sourceId9
|
|
10042
10092
|
});
|
|
10043
10093
|
|
|
10044
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
10094
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/peaq.js
|
|
10045
10095
|
var peaq = /* @__PURE__ */ defineChain({
|
|
10046
10096
|
id: 3338,
|
|
10047
10097
|
name: "Peaq",
|
|
@@ -10078,7 +10128,7 @@ var peaq = /* @__PURE__ */ defineChain({
|
|
|
10078
10128
|
}
|
|
10079
10129
|
});
|
|
10080
10130
|
|
|
10081
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
10131
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/plume.js
|
|
10082
10132
|
var sourceId10 = 1;
|
|
10083
10133
|
var plume = /* @__PURE__ */ defineChain({
|
|
10084
10134
|
id: 98865,
|
|
@@ -10110,7 +10160,7 @@ var plume = /* @__PURE__ */ defineChain({
|
|
|
10110
10160
|
sourceId: sourceId10
|
|
10111
10161
|
});
|
|
10112
10162
|
|
|
10113
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
10163
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/polygon.js
|
|
10114
10164
|
var polygon = /* @__PURE__ */ defineChain({
|
|
10115
10165
|
id: 137,
|
|
10116
10166
|
name: "Polygon",
|
|
@@ -10136,7 +10186,7 @@ var polygon = /* @__PURE__ */ defineChain({
|
|
|
10136
10186
|
}
|
|
10137
10187
|
});
|
|
10138
10188
|
|
|
10139
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
10189
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/pulsechain.js
|
|
10140
10190
|
var pulsechain = /* @__PURE__ */ defineChain({
|
|
10141
10191
|
id: 369,
|
|
10142
10192
|
name: "PulseChain",
|
|
@@ -10167,7 +10217,7 @@ var pulsechain = /* @__PURE__ */ defineChain({
|
|
|
10167
10217
|
}
|
|
10168
10218
|
});
|
|
10169
10219
|
|
|
10170
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
10220
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/ronin.js
|
|
10171
10221
|
var ronin = /* @__PURE__ */ defineChain({
|
|
10172
10222
|
id: 2020,
|
|
10173
10223
|
name: "Ronin",
|
|
@@ -10191,7 +10241,7 @@ var ronin = /* @__PURE__ */ defineChain({
|
|
|
10191
10241
|
}
|
|
10192
10242
|
});
|
|
10193
10243
|
|
|
10194
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
10244
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/rootstock.js
|
|
10195
10245
|
var rootstock = /* @__PURE__ */ defineChain({
|
|
10196
10246
|
id: 30,
|
|
10197
10247
|
name: "Rootstock Mainnet",
|
|
@@ -10218,7 +10268,7 @@ var rootstock = /* @__PURE__ */ defineChain({
|
|
|
10218
10268
|
}
|
|
10219
10269
|
});
|
|
10220
10270
|
|
|
10221
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
10271
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/scroll.js
|
|
10222
10272
|
var scroll = /* @__PURE__ */ defineChain({
|
|
10223
10273
|
id: 534352,
|
|
10224
10274
|
name: "Scroll",
|
|
@@ -10246,7 +10296,7 @@ var scroll = /* @__PURE__ */ defineChain({
|
|
|
10246
10296
|
testnet: false
|
|
10247
10297
|
});
|
|
10248
10298
|
|
|
10249
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
10299
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/sei.js
|
|
10250
10300
|
var sei = /* @__PURE__ */ defineChain({
|
|
10251
10301
|
id: 1329,
|
|
10252
10302
|
name: "Sei Network",
|
|
@@ -10271,7 +10321,7 @@ var sei = /* @__PURE__ */ defineChain({
|
|
|
10271
10321
|
}
|
|
10272
10322
|
});
|
|
10273
10323
|
|
|
10274
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
10324
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/soneium.js
|
|
10275
10325
|
var sourceId11 = 1;
|
|
10276
10326
|
var soneium = /* @__PURE__ */ defineChain({
|
|
10277
10327
|
...chainConfig2,
|
|
@@ -10322,7 +10372,7 @@ var soneium = /* @__PURE__ */ defineChain({
|
|
|
10322
10372
|
sourceId: sourceId11
|
|
10323
10373
|
});
|
|
10324
10374
|
|
|
10325
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
10375
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/sonic.js
|
|
10326
10376
|
var sonic = /* @__PURE__ */ defineChain({
|
|
10327
10377
|
id: 146,
|
|
10328
10378
|
name: "Sonic",
|
|
@@ -10350,7 +10400,7 @@ var sonic = /* @__PURE__ */ defineChain({
|
|
|
10350
10400
|
testnet: false
|
|
10351
10401
|
});
|
|
10352
10402
|
|
|
10353
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
10403
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/story.js
|
|
10354
10404
|
var story = /* @__PURE__ */ defineChain({
|
|
10355
10405
|
id: 1514,
|
|
10356
10406
|
name: "Story",
|
|
@@ -10387,7 +10437,7 @@ var story = /* @__PURE__ */ defineChain({
|
|
|
10387
10437
|
testnet: false
|
|
10388
10438
|
});
|
|
10389
10439
|
|
|
10390
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
10440
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/superposition.js
|
|
10391
10441
|
var superposition = /* @__PURE__ */ defineChain({
|
|
10392
10442
|
id: 55244,
|
|
10393
10443
|
name: "Superposition",
|
|
@@ -10410,7 +10460,7 @@ var superposition = /* @__PURE__ */ defineChain({
|
|
|
10410
10460
|
testnet: false
|
|
10411
10461
|
});
|
|
10412
10462
|
|
|
10413
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
10463
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/taiko.js
|
|
10414
10464
|
var taiko = /* @__PURE__ */ defineChain({
|
|
10415
10465
|
id: 167e3,
|
|
10416
10466
|
name: "Taiko Mainnet",
|
|
@@ -10439,7 +10489,7 @@ var taiko = /* @__PURE__ */ defineChain({
|
|
|
10439
10489
|
}
|
|
10440
10490
|
});
|
|
10441
10491
|
|
|
10442
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
10492
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/taraxa.js
|
|
10443
10493
|
var taraxa = /* @__PURE__ */ defineChain({
|
|
10444
10494
|
id: 841,
|
|
10445
10495
|
name: "Taraxa Mainnet",
|
|
@@ -10457,7 +10507,7 @@ var taraxa = /* @__PURE__ */ defineChain({
|
|
|
10457
10507
|
}
|
|
10458
10508
|
});
|
|
10459
10509
|
|
|
10460
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
10510
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/telos.js
|
|
10461
10511
|
var telos = /* @__PURE__ */ defineChain({
|
|
10462
10512
|
id: 40,
|
|
10463
10513
|
name: "Telos",
|
|
@@ -10483,7 +10533,7 @@ var telos = /* @__PURE__ */ defineChain({
|
|
|
10483
10533
|
}
|
|
10484
10534
|
});
|
|
10485
10535
|
|
|
10486
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
10536
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/unichain.js
|
|
10487
10537
|
var sourceId12 = 1;
|
|
10488
10538
|
var unichain = /* @__PURE__ */ defineChain({
|
|
10489
10539
|
...chainConfig2,
|
|
@@ -10528,7 +10578,7 @@ var unichain = /* @__PURE__ */ defineChain({
|
|
|
10528
10578
|
sourceId: sourceId12
|
|
10529
10579
|
});
|
|
10530
10580
|
|
|
10531
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
10581
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/vana.js
|
|
10532
10582
|
var vana = /* @__PURE__ */ defineChain({
|
|
10533
10583
|
id: 1480,
|
|
10534
10584
|
name: "Vana",
|
|
@@ -10556,7 +10606,7 @@ var vana = /* @__PURE__ */ defineChain({
|
|
|
10556
10606
|
}
|
|
10557
10607
|
});
|
|
10558
10608
|
|
|
10559
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
10609
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/vanar.js
|
|
10560
10610
|
var vanar = /* @__PURE__ */ defineChain({
|
|
10561
10611
|
id: 2040,
|
|
10562
10612
|
name: "Vanar Mainnet",
|
|
@@ -10575,7 +10625,7 @@ var vanar = /* @__PURE__ */ defineChain({
|
|
|
10575
10625
|
testnet: false
|
|
10576
10626
|
});
|
|
10577
10627
|
|
|
10578
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
10628
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/worldchain.js
|
|
10579
10629
|
var sourceId13 = 1;
|
|
10580
10630
|
var worldchain = /* @__PURE__ */ defineChain({
|
|
10581
10631
|
...chainConfig2,
|
|
@@ -10629,7 +10679,7 @@ var worldchain = /* @__PURE__ */ defineChain({
|
|
|
10629
10679
|
sourceId: sourceId13
|
|
10630
10680
|
});
|
|
10631
10681
|
|
|
10632
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
10682
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/xdc.js
|
|
10633
10683
|
var xdc = /* @__PURE__ */ defineChain({
|
|
10634
10684
|
id: 50,
|
|
10635
10685
|
name: "XDC Network",
|
|
@@ -10655,7 +10705,7 @@ var xdc = /* @__PURE__ */ defineChain({
|
|
|
10655
10705
|
}
|
|
10656
10706
|
});
|
|
10657
10707
|
|
|
10658
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
10708
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/xLayer.js
|
|
10659
10709
|
var xLayer = /* @__PURE__ */ defineChain({
|
|
10660
10710
|
id: 196,
|
|
10661
10711
|
name: "X Layer Mainnet",
|
|
@@ -10682,7 +10732,7 @@ var xLayer = /* @__PURE__ */ defineChain({
|
|
|
10682
10732
|
}
|
|
10683
10733
|
});
|
|
10684
10734
|
|
|
10685
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
10735
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/zetachain.js
|
|
10686
10736
|
var zetachain = /* @__PURE__ */ defineChain({
|
|
10687
10737
|
id: 7e3,
|
|
10688
10738
|
name: "ZetaChain",
|
|
@@ -10711,7 +10761,7 @@ var zetachain = /* @__PURE__ */ defineChain({
|
|
|
10711
10761
|
testnet: false
|
|
10712
10762
|
});
|
|
10713
10763
|
|
|
10714
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
10764
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/zircuit.js
|
|
10715
10765
|
var sourceId14 = 1;
|
|
10716
10766
|
var zircuit = /* @__PURE__ */ defineChain({
|
|
10717
10767
|
...chainConfig2,
|
|
@@ -10761,7 +10811,7 @@ var zircuit = /* @__PURE__ */ defineChain({
|
|
|
10761
10811
|
testnet: false
|
|
10762
10812
|
});
|
|
10763
10813
|
|
|
10764
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
10814
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/zkLinkNova.js
|
|
10765
10815
|
var zkLinkNova = /* @__PURE__ */ defineChain({
|
|
10766
10816
|
id: 810180,
|
|
10767
10817
|
name: "zkLink Nova",
|
|
@@ -10781,7 +10831,7 @@ var zkLinkNova = /* @__PURE__ */ defineChain({
|
|
|
10781
10831
|
}
|
|
10782
10832
|
});
|
|
10783
10833
|
|
|
10784
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
10834
|
+
// ../../node_modules/.pnpm/viem@2.46.1_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_esm/chains/definitions/zksync.js
|
|
10785
10835
|
var zksync = /* @__PURE__ */ defineChain({
|
|
10786
10836
|
...chainConfig,
|
|
10787
10837
|
blockTime: 200,
|
|
@@ -10808,7 +10858,8 @@ var zksync = /* @__PURE__ */ defineChain({
|
|
|
10808
10858
|
},
|
|
10809
10859
|
contracts: {
|
|
10810
10860
|
multicall3: {
|
|
10811
|
-
address: "0xF9cda624FBC7e059355ce98a31693d299FACd963"
|
|
10861
|
+
address: "0xF9cda624FBC7e059355ce98a31693d299FACd963",
|
|
10862
|
+
blockCreated: 3908235
|
|
10812
10863
|
},
|
|
10813
10864
|
erc6492Verifier: {
|
|
10814
10865
|
address: "0xfB688330379976DA81eB64Fe4BF50d7401763B9C",
|
|
@@ -11008,6 +11059,8 @@ function getEvmChain(chain) {
|
|
|
11008
11059
|
return customChains.hyperEvm;
|
|
11009
11060
|
case Chain.KATANA:
|
|
11010
11061
|
return katana;
|
|
11062
|
+
case Chain.CONFLUX_ESPACE:
|
|
11063
|
+
return confluxESpace;
|
|
11011
11064
|
case Chain.TARAXA_MAINNET:
|
|
11012
11065
|
return {
|
|
11013
11066
|
...taraxa,
|
|
@@ -11480,8 +11533,11 @@ function createMulticallRetry(customRpcs = LIST_OVERRIDES) {
|
|
|
11480
11533
|
functionName: call2.name,
|
|
11481
11534
|
args: call2.args ?? call2.params ?? []
|
|
11482
11535
|
})),
|
|
11483
|
-
allowFailure
|
|
11536
|
+
allowFailure
|
|
11484
11537
|
});
|
|
11538
|
+
const resolvedData = allowFailure ? data.map(
|
|
11539
|
+
({ result, status }) => status !== "success" ? "0x" : result
|
|
11540
|
+
) : data;
|
|
11485
11541
|
if (revertedIndices.size > 0) {
|
|
11486
11542
|
const finalResults = [];
|
|
11487
11543
|
let filteredIndex = 0;
|
|
@@ -11489,12 +11545,12 @@ function createMulticallRetry(customRpcs = LIST_OVERRIDES) {
|
|
|
11489
11545
|
if (revertedIndices.has(i)) {
|
|
11490
11546
|
finalResults.push("0x");
|
|
11491
11547
|
} else {
|
|
11492
|
-
finalResults.push(
|
|
11548
|
+
finalResults.push(resolvedData[filteredIndex++]);
|
|
11493
11549
|
}
|
|
11494
11550
|
}
|
|
11495
11551
|
return finalResults;
|
|
11496
11552
|
}
|
|
11497
|
-
return
|
|
11553
|
+
return resolvedData;
|
|
11498
11554
|
} catch (e) {
|
|
11499
11555
|
if (isContractRevert(e)) {
|
|
11500
11556
|
const error = e;
|