@1delta/providers 0.0.55 → 0.0.58
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/{_esm-BLSSJTMS.mjs → _esm-UCTA3UBG.mjs} +33 -33
- package/dist/{ccip-RFS3A6PR.mjs → ccip-76VOVUYT.mjs} +1 -1
- package/dist/{chunk-RSHAYT5V.mjs → chunk-MN2NNAEA.mjs} +77 -77
- package/dist/index.d.mts +579 -0
- package/dist/index.d.ts +579 -0
- package/dist/index.js +769 -513
- package/dist/index.mjs +534 -278
- package/package.json +3 -3
- package/src/chains/chainMapping.ts +17 -0
- package/src/chains/customChains.ts +24 -0
- package/src/multicall/multicall.ts +9 -4
- package/src/rpc/rpcOverrides.ts +41 -1
package/dist/index.mjs
CHANGED
|
@@ -160,13 +160,13 @@ import {
|
|
|
160
160
|
validate,
|
|
161
161
|
validate2,
|
|
162
162
|
withResolvers
|
|
163
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-MN2NNAEA.mjs";
|
|
164
164
|
import "./chunk-CALEUNGN.mjs";
|
|
165
165
|
import {
|
|
166
166
|
__export
|
|
167
167
|
} from "./chunk-XGB3TDIC.mjs";
|
|
168
168
|
|
|
169
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
169
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/getAction.js
|
|
170
170
|
function getAction(client, actionFn, name) {
|
|
171
171
|
const action_implicit = client[actionFn.name];
|
|
172
172
|
if (typeof action_implicit === "function")
|
|
@@ -177,7 +177,7 @@ function getAction(client, actionFn, name) {
|
|
|
177
177
|
return (params) => actionFn(client, params);
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
180
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/errors/log.js
|
|
181
181
|
var FilterTypeNotSupportedError = class extends BaseError {
|
|
182
182
|
constructor(type) {
|
|
183
183
|
super(`Filter type "${type}" is not supported.`, {
|
|
@@ -186,7 +186,7 @@ var FilterTypeNotSupportedError = class extends BaseError {
|
|
|
186
186
|
}
|
|
187
187
|
};
|
|
188
188
|
|
|
189
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
189
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/abi/encodeEventTopics.js
|
|
190
190
|
var docsPath = "/docs/contract/encodeEventTopics";
|
|
191
191
|
function encodeEventTopics(parameters) {
|
|
192
192
|
const { abi: abi2, eventName, args } = parameters;
|
|
@@ -223,7 +223,7 @@ function encodeArg({ param, value }) {
|
|
|
223
223
|
return encodeAbiParameters([param], [value]);
|
|
224
224
|
}
|
|
225
225
|
|
|
226
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
226
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/filters/createFilterRequestScope.js
|
|
227
227
|
function createFilterRequestScope(client, { method }) {
|
|
228
228
|
const requestMap = {};
|
|
229
229
|
if (client.transport.type === "fallback")
|
|
@@ -234,7 +234,7 @@ function createFilterRequestScope(client, { method }) {
|
|
|
234
234
|
return ((id) => requestMap[id] || client.request);
|
|
235
235
|
}
|
|
236
236
|
|
|
237
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
237
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/createContractEventFilter.js
|
|
238
238
|
async function createContractEventFilter(client, parameters) {
|
|
239
239
|
const { address, abi: abi2, args, eventName, fromBlock, strict, toBlock } = parameters;
|
|
240
240
|
const getRequest = createFilterRequestScope(client, {
|
|
@@ -267,7 +267,7 @@ async function createContractEventFilter(client, parameters) {
|
|
|
267
267
|
};
|
|
268
268
|
}
|
|
269
269
|
|
|
270
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
270
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/errors/getContractError.js
|
|
271
271
|
var EXECUTION_REVERTED_ERROR_CODE = 3;
|
|
272
272
|
function getContractError(err, { abi: abi2, address, args, docsPath: docsPath3, functionName, sender }) {
|
|
273
273
|
const error = err instanceof RawContractError ? err : err instanceof BaseError ? err.walk((err2) => "data" in err2) || err.walk() : {};
|
|
@@ -295,13 +295,13 @@ function getContractError(err, { abi: abi2, address, args, docsPath: docsPath3,
|
|
|
295
295
|
});
|
|
296
296
|
}
|
|
297
297
|
|
|
298
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
298
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/accounts/utils/publicKeyToAddress.js
|
|
299
299
|
function publicKeyToAddress(publicKey) {
|
|
300
300
|
const address = keccak256(`0x${publicKey.substring(4)}`).substring(26);
|
|
301
301
|
return checksumAddress(`0x${address}`);
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
304
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/signature/recoverPublicKey.js
|
|
305
305
|
async function recoverPublicKey({ hash: hash2, signature }) {
|
|
306
306
|
const hashHex = isHex(hash2) ? hash2 : toHex(hash2);
|
|
307
307
|
const { secp256k1: secp256k12 } = await import("./secp256k1-NX6XS3V3.mjs");
|
|
@@ -332,12 +332,12 @@ function toRecoveryBit(yParityOrV) {
|
|
|
332
332
|
throw new Error("Invalid yParityOrV value");
|
|
333
333
|
}
|
|
334
334
|
|
|
335
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
335
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/signature/recoverAddress.js
|
|
336
336
|
async function recoverAddress({ hash: hash2, signature }) {
|
|
337
337
|
return publicKeyToAddress(await recoverPublicKey({ hash: hash2, signature }));
|
|
338
338
|
}
|
|
339
339
|
|
|
340
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
340
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/encoding/toRlp.js
|
|
341
341
|
function toRlp(bytes, to = "hex") {
|
|
342
342
|
const encodable = getEncodable(bytes);
|
|
343
343
|
const cursor = createCursor(new Uint8Array(encodable.length));
|
|
@@ -426,7 +426,7 @@ function getSizeOfLength(length) {
|
|
|
426
426
|
throw new BaseError("Length is too large.");
|
|
427
427
|
}
|
|
428
428
|
|
|
429
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
429
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/authorization/hashAuthorization.js
|
|
430
430
|
function hashAuthorization(parameters) {
|
|
431
431
|
const { chainId, nonce, to } = parameters;
|
|
432
432
|
const address = parameters.contractAddress ?? parameters.address;
|
|
@@ -443,7 +443,7 @@ function hashAuthorization(parameters) {
|
|
|
443
443
|
return hash2;
|
|
444
444
|
}
|
|
445
445
|
|
|
446
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
446
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/authorization/recoverAuthorizationAddress.js
|
|
447
447
|
async function recoverAuthorizationAddress(parameters) {
|
|
448
448
|
const { authorization, signature } = parameters;
|
|
449
449
|
return recoverAddress({
|
|
@@ -452,7 +452,7 @@ async function recoverAuthorizationAddress(parameters) {
|
|
|
452
452
|
});
|
|
453
453
|
}
|
|
454
454
|
|
|
455
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
455
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/errors/estimateGas.js
|
|
456
456
|
var EstimateGasExecutionError = class extends BaseError {
|
|
457
457
|
constructor(cause, { account, docsPath: docsPath3, chain, data, gas, gasPrice, maxFeePerGas, maxPriorityFeePerGas, nonce, to, value }) {
|
|
458
458
|
const prettyArgs = prettyPrint({
|
|
@@ -486,7 +486,7 @@ var EstimateGasExecutionError = class extends BaseError {
|
|
|
486
486
|
}
|
|
487
487
|
};
|
|
488
488
|
|
|
489
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
489
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/errors/getEstimateGasError.js
|
|
490
490
|
function getEstimateGasError(err, { docsPath: docsPath3, ...args }) {
|
|
491
491
|
const cause = (() => {
|
|
492
492
|
const cause2 = getNodeError(err, args);
|
|
@@ -500,7 +500,7 @@ function getEstimateGasError(err, { docsPath: docsPath3, ...args }) {
|
|
|
500
500
|
});
|
|
501
501
|
}
|
|
502
502
|
|
|
503
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
503
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/errors/fee.js
|
|
504
504
|
var BaseFeeScalarError = class extends BaseError {
|
|
505
505
|
constructor() {
|
|
506
506
|
super("`baseFeeMultiplier` must be greater than 1.", {
|
|
@@ -521,7 +521,7 @@ var MaxFeePerGasTooLowError = class extends BaseError {
|
|
|
521
521
|
}
|
|
522
522
|
};
|
|
523
523
|
|
|
524
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
524
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/errors/block.js
|
|
525
525
|
var BlockNotFoundError = class extends BaseError {
|
|
526
526
|
constructor({ blockHash, blockNumber }) {
|
|
527
527
|
let identifier = "Block";
|
|
@@ -533,7 +533,7 @@ var BlockNotFoundError = class extends BaseError {
|
|
|
533
533
|
}
|
|
534
534
|
};
|
|
535
535
|
|
|
536
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
536
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/formatters/transaction.js
|
|
537
537
|
var transactionType = {
|
|
538
538
|
"0x0": "legacy",
|
|
539
539
|
"0x1": "eip2930",
|
|
@@ -603,7 +603,7 @@ function formatAuthorizationList(authorizationList) {
|
|
|
603
603
|
}));
|
|
604
604
|
}
|
|
605
605
|
|
|
606
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
606
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/formatters/block.js
|
|
607
607
|
function formatBlock(block, _) {
|
|
608
608
|
const transactions = (block.transactions ?? []).map((transaction) => {
|
|
609
609
|
if (typeof transaction === "string")
|
|
@@ -630,7 +630,7 @@ function formatBlock(block, _) {
|
|
|
630
630
|
}
|
|
631
631
|
var defineBlock = /* @__PURE__ */ defineFormatter("block", formatBlock);
|
|
632
632
|
|
|
633
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
633
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/getBlock.js
|
|
634
634
|
async function getBlock(client, { blockHash, blockNumber, blockTag = client.experimental_blockTag ?? "latest", includeTransactions: includeTransactions_ } = {}) {
|
|
635
635
|
const includeTransactions = includeTransactions_ ?? false;
|
|
636
636
|
const blockNumberHex = blockNumber !== void 0 ? numberToHex(blockNumber) : void 0;
|
|
@@ -652,7 +652,7 @@ async function getBlock(client, { blockHash, blockNumber, blockTag = client.expe
|
|
|
652
652
|
return format(block, "getBlock");
|
|
653
653
|
}
|
|
654
654
|
|
|
655
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
655
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/getGasPrice.js
|
|
656
656
|
async function getGasPrice(client) {
|
|
657
657
|
const gasPrice = await client.request({
|
|
658
658
|
method: "eth_gasPrice"
|
|
@@ -660,7 +660,7 @@ async function getGasPrice(client) {
|
|
|
660
660
|
return BigInt(gasPrice);
|
|
661
661
|
}
|
|
662
662
|
|
|
663
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
663
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/estimateMaxPriorityFeePerGas.js
|
|
664
664
|
async function estimateMaxPriorityFeePerGas(client, args) {
|
|
665
665
|
return internal_estimateMaxPriorityFeePerGas(client, args);
|
|
666
666
|
}
|
|
@@ -699,7 +699,7 @@ async function internal_estimateMaxPriorityFeePerGas(client, args) {
|
|
|
699
699
|
}
|
|
700
700
|
}
|
|
701
701
|
|
|
702
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
702
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/estimateFeesPerGas.js
|
|
703
703
|
async function estimateFeesPerGas(client, args) {
|
|
704
704
|
return internal_estimateFeesPerGas(client, args);
|
|
705
705
|
}
|
|
@@ -752,7 +752,7 @@ async function internal_estimateFeesPerGas(client, args) {
|
|
|
752
752
|
};
|
|
753
753
|
}
|
|
754
754
|
|
|
755
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
755
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/getTransactionCount.js
|
|
756
756
|
async function getTransactionCount(client, { address, blockTag = "latest", blockNumber }) {
|
|
757
757
|
const count = await client.request({
|
|
758
758
|
method: "eth_getTransactionCount",
|
|
@@ -766,7 +766,7 @@ async function getTransactionCount(client, { address, blockTag = "latest", block
|
|
|
766
766
|
return hexToNumber(count);
|
|
767
767
|
}
|
|
768
768
|
|
|
769
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
769
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/blob/blobsToCommitments.js
|
|
770
770
|
function blobsToCommitments(parameters) {
|
|
771
771
|
const { kzg } = parameters;
|
|
772
772
|
const to = parameters.to ?? (typeof parameters.blobs[0] === "string" ? "hex" : "bytes");
|
|
@@ -777,7 +777,7 @@ function blobsToCommitments(parameters) {
|
|
|
777
777
|
return to === "bytes" ? commitments : commitments.map((x) => bytesToHex(x));
|
|
778
778
|
}
|
|
779
779
|
|
|
780
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
780
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/blob/blobsToProofs.js
|
|
781
781
|
function blobsToProofs(parameters) {
|
|
782
782
|
const { kzg } = parameters;
|
|
783
783
|
const to = parameters.to ?? (typeof parameters.blobs[0] === "string" ? "hex" : "bytes");
|
|
@@ -795,7 +795,7 @@ function blobsToProofs(parameters) {
|
|
|
795
795
|
// ../../node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/sha256.js
|
|
796
796
|
var sha2562 = sha256;
|
|
797
797
|
|
|
798
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
798
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/hash/sha256.js
|
|
799
799
|
function sha2563(value, to_) {
|
|
800
800
|
const to = to_ || "hex";
|
|
801
801
|
const bytes = sha2562(isHex(value, { strict: false }) ? toBytes(value) : value);
|
|
@@ -804,7 +804,7 @@ function sha2563(value, to_) {
|
|
|
804
804
|
return toHex(bytes);
|
|
805
805
|
}
|
|
806
806
|
|
|
807
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
807
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/blob/commitmentToVersionedHash.js
|
|
808
808
|
function commitmentToVersionedHash(parameters) {
|
|
809
809
|
const { commitment, version = 1 } = parameters;
|
|
810
810
|
const to = parameters.to ?? (typeof commitment === "string" ? "hex" : "bytes");
|
|
@@ -813,7 +813,7 @@ function commitmentToVersionedHash(parameters) {
|
|
|
813
813
|
return to === "bytes" ? versionedHash : bytesToHex(versionedHash);
|
|
814
814
|
}
|
|
815
815
|
|
|
816
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
816
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/blob/commitmentsToVersionedHashes.js
|
|
817
817
|
function commitmentsToVersionedHashes(parameters) {
|
|
818
818
|
const { commitments, version } = parameters;
|
|
819
819
|
const to = parameters.to ?? (typeof commitments[0] === "string" ? "hex" : "bytes");
|
|
@@ -828,7 +828,7 @@ function commitmentsToVersionedHashes(parameters) {
|
|
|
828
828
|
return hashes;
|
|
829
829
|
}
|
|
830
830
|
|
|
831
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
831
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/constants/blob.js
|
|
832
832
|
var blobsPerTransaction = 6;
|
|
833
833
|
var bytesPerFieldElement = 32;
|
|
834
834
|
var fieldElementsPerBlob = 4096;
|
|
@@ -837,10 +837,10 @@ var maxBytesPerTransaction = bytesPerBlob * blobsPerTransaction - // terminator
|
|
|
837
837
|
1 - // zero byte (0x00) appended to each field element.
|
|
838
838
|
1 * fieldElementsPerBlob * blobsPerTransaction;
|
|
839
839
|
|
|
840
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
840
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/constants/kzg.js
|
|
841
841
|
var versionedHashVersionKzg = 1;
|
|
842
842
|
|
|
843
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
843
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/errors/blob.js
|
|
844
844
|
var BlobSizeTooLargeError = class extends BaseError {
|
|
845
845
|
constructor({ maxSize, size: size5 }) {
|
|
846
846
|
super("Blob size is too large.", {
|
|
@@ -874,7 +874,7 @@ var InvalidVersionedHashVersionError = class extends BaseError {
|
|
|
874
874
|
}
|
|
875
875
|
};
|
|
876
876
|
|
|
877
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
877
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/blob/toBlobs.js
|
|
878
878
|
function toBlobs(parameters) {
|
|
879
879
|
const to = parameters.to ?? (typeof parameters.data === "string" ? "hex" : "bytes");
|
|
880
880
|
const data = typeof parameters.data === "string" ? hexToBytes(parameters.data) : parameters.data;
|
|
@@ -909,7 +909,7 @@ function toBlobs(parameters) {
|
|
|
909
909
|
return to === "bytes" ? blobs.map((x) => x.bytes) : blobs.map((x) => bytesToHex(x.bytes));
|
|
910
910
|
}
|
|
911
911
|
|
|
912
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
912
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/blob/toBlobSidecars.js
|
|
913
913
|
function toBlobSidecars(parameters) {
|
|
914
914
|
const { data, kzg, to } = parameters;
|
|
915
915
|
const blobs = parameters.blobs ?? toBlobs({ data, to });
|
|
@@ -925,7 +925,7 @@ function toBlobSidecars(parameters) {
|
|
|
925
925
|
return sidecars;
|
|
926
926
|
}
|
|
927
927
|
|
|
928
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
928
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/transaction/getTransactionType.js
|
|
929
929
|
function getTransactionType(transaction) {
|
|
930
930
|
if (transaction.type)
|
|
931
931
|
return transaction.type;
|
|
@@ -944,7 +944,7 @@ function getTransactionType(transaction) {
|
|
|
944
944
|
throw new InvalidSerializableTransactionError({ transaction });
|
|
945
945
|
}
|
|
946
946
|
|
|
947
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
947
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/errors/getTransactionError.js
|
|
948
948
|
function getTransactionError(err, { docsPath: docsPath3, ...args }) {
|
|
949
949
|
const cause = (() => {
|
|
950
950
|
const cause2 = getNodeError(err, args);
|
|
@@ -958,7 +958,7 @@ function getTransactionError(err, { docsPath: docsPath3, ...args }) {
|
|
|
958
958
|
});
|
|
959
959
|
}
|
|
960
960
|
|
|
961
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
961
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/getChainId.js
|
|
962
962
|
async function getChainId(client) {
|
|
963
963
|
const chainIdHex = await client.request({
|
|
964
964
|
method: "eth_chainId"
|
|
@@ -966,7 +966,7 @@ async function getChainId(client) {
|
|
|
966
966
|
return hexToNumber(chainIdHex);
|
|
967
967
|
}
|
|
968
968
|
|
|
969
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
969
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/fillTransaction.js
|
|
970
970
|
async function fillTransaction(client, parameters) {
|
|
971
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;
|
|
972
972
|
const nonce = await (async () => {
|
|
@@ -1068,7 +1068,7 @@ async function fillTransaction(client, parameters) {
|
|
|
1068
1068
|
}
|
|
1069
1069
|
}
|
|
1070
1070
|
|
|
1071
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
1071
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/wallet/prepareTransactionRequest.js
|
|
1072
1072
|
var defaultParameters = [
|
|
1073
1073
|
"blobVersionedHashes",
|
|
1074
1074
|
"chainId",
|
|
@@ -1276,7 +1276,7 @@ async function prepareTransactionRequest(client, args) {
|
|
|
1276
1276
|
return request;
|
|
1277
1277
|
}
|
|
1278
1278
|
|
|
1279
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
1279
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/estimateGas.js
|
|
1280
1280
|
async function estimateGas(client, args) {
|
|
1281
1281
|
const { account: account_ = client.account, prepare = true } = args;
|
|
1282
1282
|
const account = account_ ? parseAccount(account_) : void 0;
|
|
@@ -1346,7 +1346,7 @@ async function estimateGas(client, args) {
|
|
|
1346
1346
|
}
|
|
1347
1347
|
}
|
|
1348
1348
|
|
|
1349
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
1349
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/estimateContractGas.js
|
|
1350
1350
|
async function estimateContractGas(client, parameters) {
|
|
1351
1351
|
const { abi: abi2, address, args, functionName, dataSuffix = typeof client.dataSuffix === "string" ? client.dataSuffix : client.dataSuffix?.value, ...request } = parameters;
|
|
1352
1352
|
const data = encodeFunctionData({
|
|
@@ -1374,7 +1374,7 @@ async function estimateContractGas(client, parameters) {
|
|
|
1374
1374
|
}
|
|
1375
1375
|
}
|
|
1376
1376
|
|
|
1377
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
1377
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/abi/decodeEventLog.js
|
|
1378
1378
|
var docsPath2 = "/docs/contract/decodeEventLog";
|
|
1379
1379
|
function decodeEventLog(parameters) {
|
|
1380
1380
|
const { abi: abi2, data, strict: strict_, topics } = parameters;
|
|
@@ -1461,7 +1461,7 @@ function decodeTopic({ param, value }) {
|
|
|
1461
1461
|
return decodedArg[0];
|
|
1462
1462
|
}
|
|
1463
1463
|
|
|
1464
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
1464
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/abi/parseEventLogs.js
|
|
1465
1465
|
function parseEventLogs(parameters) {
|
|
1466
1466
|
const { abi: abi2, args, logs, strict = true } = parameters;
|
|
1467
1467
|
const eventName = (() => {
|
|
@@ -1565,7 +1565,7 @@ function includesArgs(parameters) {
|
|
|
1565
1565
|
return false;
|
|
1566
1566
|
}
|
|
1567
1567
|
|
|
1568
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
1568
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/formatters/log.js
|
|
1569
1569
|
function formatLog(log, { args, eventName } = {}) {
|
|
1570
1570
|
return {
|
|
1571
1571
|
...log,
|
|
@@ -1579,7 +1579,7 @@ function formatLog(log, { args, eventName } = {}) {
|
|
|
1579
1579
|
};
|
|
1580
1580
|
}
|
|
1581
1581
|
|
|
1582
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
1582
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/getLogs.js
|
|
1583
1583
|
async function getLogs(client, { address, blockHash, fromBlock, toBlock, event, events: events_, args, strict: strict_ } = {}) {
|
|
1584
1584
|
const strict = strict_ ?? false;
|
|
1585
1585
|
const events = events_ ?? (event ? [event] : void 0);
|
|
@@ -1624,7 +1624,7 @@ async function getLogs(client, { address, blockHash, fromBlock, toBlock, event,
|
|
|
1624
1624
|
});
|
|
1625
1625
|
}
|
|
1626
1626
|
|
|
1627
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
1627
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/getContractEvents.js
|
|
1628
1628
|
async function getContractEvents(client, parameters) {
|
|
1629
1629
|
const { abi: abi2, address, args, blockHash, eventName, fromBlock, toBlock, strict } = parameters;
|
|
1630
1630
|
const event = eventName ? getAbiItem({ abi: abi2, name: eventName }) : void 0;
|
|
@@ -1641,7 +1641,7 @@ async function getContractEvents(client, parameters) {
|
|
|
1641
1641
|
});
|
|
1642
1642
|
}
|
|
1643
1643
|
|
|
1644
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
1644
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/readContract.js
|
|
1645
1645
|
async function readContract(client, parameters) {
|
|
1646
1646
|
const { abi: abi2, address, args, functionName, ...rest } = parameters;
|
|
1647
1647
|
const calldata = encodeFunctionData({
|
|
@@ -1672,7 +1672,7 @@ async function readContract(client, parameters) {
|
|
|
1672
1672
|
}
|
|
1673
1673
|
}
|
|
1674
1674
|
|
|
1675
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
1675
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/simulateContract.js
|
|
1676
1676
|
async function simulateContract(client, parameters) {
|
|
1677
1677
|
const { abi: abi2, address, args, functionName, dataSuffix = typeof client.dataSuffix === "string" ? client.dataSuffix : client.dataSuffix?.value, ...callRequest } = parameters;
|
|
1678
1678
|
const account = callRequest.account ? parseAccount(callRequest.account) : client.account;
|
|
@@ -1716,7 +1716,7 @@ async function simulateContract(client, parameters) {
|
|
|
1716
1716
|
}
|
|
1717
1717
|
}
|
|
1718
1718
|
|
|
1719
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
1719
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/observe.js
|
|
1720
1720
|
var listenersCache = /* @__PURE__ */ new Map();
|
|
1721
1721
|
var cleanupCache = /* @__PURE__ */ new Map();
|
|
1722
1722
|
var callbackCount = 0;
|
|
@@ -1763,12 +1763,12 @@ function observe(observerId, callbacks, fn) {
|
|
|
1763
1763
|
return unwatch;
|
|
1764
1764
|
}
|
|
1765
1765
|
|
|
1766
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
1766
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/wait.js
|
|
1767
1767
|
async function wait(time) {
|
|
1768
1768
|
return new Promise((res) => setTimeout(res, time));
|
|
1769
1769
|
}
|
|
1770
1770
|
|
|
1771
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
1771
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/poll.js
|
|
1772
1772
|
function poll(fn, { emitOnBegin, initialWaitTime, interval }) {
|
|
1773
1773
|
let active = true;
|
|
1774
1774
|
const unwatch = () => active = false;
|
|
@@ -1791,7 +1791,7 @@ function poll(fn, { emitOnBegin, initialWaitTime, interval }) {
|
|
|
1791
1791
|
return unwatch;
|
|
1792
1792
|
}
|
|
1793
1793
|
|
|
1794
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
1794
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/promise/withCache.js
|
|
1795
1795
|
var promiseCache = /* @__PURE__ */ new Map();
|
|
1796
1796
|
var responseCache = /* @__PURE__ */ new Map();
|
|
1797
1797
|
function getCache(cacheKey2) {
|
|
@@ -1833,7 +1833,7 @@ async function withCache(fn, { cacheKey: cacheKey2, cacheTime = Number.POSITIVE_
|
|
|
1833
1833
|
}
|
|
1834
1834
|
}
|
|
1835
1835
|
|
|
1836
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
1836
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/getBlockNumber.js
|
|
1837
1837
|
var cacheKey = (id) => `blockNumber.${id}`;
|
|
1838
1838
|
async function getBlockNumber(client, { cacheTime = client.cacheTime } = {}) {
|
|
1839
1839
|
const blockNumberHex = await withCache(() => client.request({
|
|
@@ -1842,7 +1842,7 @@ async function getBlockNumber(client, { cacheTime = client.cacheTime } = {}) {
|
|
|
1842
1842
|
return BigInt(blockNumberHex);
|
|
1843
1843
|
}
|
|
1844
1844
|
|
|
1845
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
1845
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/getFilterChanges.js
|
|
1846
1846
|
async function getFilterChanges(_client, { filter }) {
|
|
1847
1847
|
const strict = "strict" in filter && filter.strict;
|
|
1848
1848
|
const logs = await filter.request({
|
|
@@ -1861,7 +1861,7 @@ async function getFilterChanges(_client, { filter }) {
|
|
|
1861
1861
|
});
|
|
1862
1862
|
}
|
|
1863
1863
|
|
|
1864
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
1864
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/uninstallFilter.js
|
|
1865
1865
|
async function uninstallFilter(_client, { filter }) {
|
|
1866
1866
|
return filter.request({
|
|
1867
1867
|
method: "eth_uninstallFilter",
|
|
@@ -1869,7 +1869,7 @@ async function uninstallFilter(_client, { filter }) {
|
|
|
1869
1869
|
});
|
|
1870
1870
|
}
|
|
1871
1871
|
|
|
1872
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
1872
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/watchContractEvent.js
|
|
1873
1873
|
function watchContractEvent(client, parameters) {
|
|
1874
1874
|
const { abi: abi2, address, args, batch = true, eventName, fromBlock, onError, onLogs, poll: poll_, pollingInterval = client.pollingInterval, strict: strict_ } = parameters;
|
|
1875
1875
|
const enablePolling = (() => {
|
|
@@ -2045,7 +2045,7 @@ function watchContractEvent(client, parameters) {
|
|
|
2045
2045
|
return enablePolling ? pollContractEvent() : subscribeContractEvent();
|
|
2046
2046
|
}
|
|
2047
2047
|
|
|
2048
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
2048
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/errors/account.js
|
|
2049
2049
|
var AccountNotFoundError = class extends BaseError {
|
|
2050
2050
|
constructor({ docsPath: docsPath3 } = {}) {
|
|
2051
2051
|
super([
|
|
@@ -2059,7 +2059,7 @@ var AccountNotFoundError = class extends BaseError {
|
|
|
2059
2059
|
}
|
|
2060
2060
|
};
|
|
2061
2061
|
|
|
2062
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
2062
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/wallet/sendRawTransaction.js
|
|
2063
2063
|
async function sendRawTransaction(client, { serializedTransaction }) {
|
|
2064
2064
|
return client.request({
|
|
2065
2065
|
method: "eth_sendRawTransaction",
|
|
@@ -2067,7 +2067,7 @@ async function sendRawTransaction(client, { serializedTransaction }) {
|
|
|
2067
2067
|
}, { retryCount: 0 });
|
|
2068
2068
|
}
|
|
2069
2069
|
|
|
2070
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
2070
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/promise/withRetry.js
|
|
2071
2071
|
function withRetry(fn, { delay: delay_ = 100, retryCount = 2, shouldRetry: shouldRetry2 = () => true } = {}) {
|
|
2072
2072
|
return new Promise((resolve, reject) => {
|
|
2073
2073
|
const attemptRetry = async ({ count = 0 } = {}) => {
|
|
@@ -2090,7 +2090,7 @@ function withRetry(fn, { delay: delay_ = 100, retryCount = 2, shouldRetry: shoul
|
|
|
2090
2090
|
});
|
|
2091
2091
|
}
|
|
2092
2092
|
|
|
2093
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
2093
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/formatters/transactionReceipt.js
|
|
2094
2094
|
var receiptStatuses = {
|
|
2095
2095
|
"0x0": "reverted",
|
|
2096
2096
|
"0x1": "success"
|
|
@@ -2117,7 +2117,7 @@ function formatTransactionReceipt(transactionReceipt, _) {
|
|
|
2117
2117
|
}
|
|
2118
2118
|
var defineTransactionReceipt = /* @__PURE__ */ defineFormatter("transactionReceipt", formatTransactionReceipt);
|
|
2119
2119
|
|
|
2120
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
2120
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/uid.js
|
|
2121
2121
|
var size4 = 256;
|
|
2122
2122
|
var index = size4;
|
|
2123
2123
|
var buffer;
|
|
@@ -2132,7 +2132,7 @@ function uid(length = 11) {
|
|
|
2132
2132
|
return buffer.substring(index, index++ + length);
|
|
2133
2133
|
}
|
|
2134
2134
|
|
|
2135
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
2135
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/clients/createClient.js
|
|
2136
2136
|
function createClient(parameters) {
|
|
2137
2137
|
const { batch, chain, ccipRead, dataSuffix, key = "base", name = "Base Client", type = "base" } = parameters;
|
|
2138
2138
|
const experimental_blockTag = parameters.experimental_blockTag ?? (typeof chain?.experimental_preconfirmationTime === "number" ? "pending" : void 0);
|
|
@@ -2175,7 +2175,7 @@ function createClient(parameters) {
|
|
|
2175
2175
|
return Object.assign(client, { extend: extend(client) });
|
|
2176
2176
|
}
|
|
2177
2177
|
|
|
2178
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
2178
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/ens/errors.js
|
|
2179
2179
|
function isNullUniversalResolverError(err) {
|
|
2180
2180
|
if (!(err instanceof BaseError))
|
|
2181
2181
|
return false;
|
|
@@ -2197,7 +2197,7 @@ function isNullUniversalResolverError(err) {
|
|
|
2197
2197
|
return false;
|
|
2198
2198
|
}
|
|
2199
2199
|
|
|
2200
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
2200
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/ens/encodedLabelToLabelhash.js
|
|
2201
2201
|
function encodedLabelToLabelhash(label) {
|
|
2202
2202
|
if (label.length !== 66)
|
|
2203
2203
|
return null;
|
|
@@ -2211,7 +2211,7 @@ function encodedLabelToLabelhash(label) {
|
|
|
2211
2211
|
return hash2;
|
|
2212
2212
|
}
|
|
2213
2213
|
|
|
2214
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
2214
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/ens/namehash.js
|
|
2215
2215
|
function namehash(name) {
|
|
2216
2216
|
let result = new Uint8Array(32).fill(0);
|
|
2217
2217
|
if (!name)
|
|
@@ -2225,12 +2225,12 @@ function namehash(name) {
|
|
|
2225
2225
|
return bytesToHex(result);
|
|
2226
2226
|
}
|
|
2227
2227
|
|
|
2228
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
2228
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/ens/encodeLabelhash.js
|
|
2229
2229
|
function encodeLabelhash(hash2) {
|
|
2230
2230
|
return `[${hash2.slice(2)}]`;
|
|
2231
2231
|
}
|
|
2232
2232
|
|
|
2233
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
2233
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/ens/labelhash.js
|
|
2234
2234
|
function labelhash(label) {
|
|
2235
2235
|
const result = new Uint8Array(32).fill(0);
|
|
2236
2236
|
if (!label)
|
|
@@ -2238,7 +2238,7 @@ function labelhash(label) {
|
|
|
2238
2238
|
return encodedLabelToLabelhash(label) || keccak256(stringToBytes(label));
|
|
2239
2239
|
}
|
|
2240
2240
|
|
|
2241
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
2241
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/ens/packetToBytes.js
|
|
2242
2242
|
function packetToBytes(packet) {
|
|
2243
2243
|
const value = packet.replace(/^\.|\.$/gm, "");
|
|
2244
2244
|
if (value.length === 0)
|
|
@@ -2259,7 +2259,7 @@ function packetToBytes(packet) {
|
|
|
2259
2259
|
return bytes;
|
|
2260
2260
|
}
|
|
2261
2261
|
|
|
2262
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
2262
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/ens/getEnsAddress.js
|
|
2263
2263
|
async function getEnsAddress(client, parameters) {
|
|
2264
2264
|
const { blockNumber, blockTag, coinType, name, gatewayUrls, strict } = parameters;
|
|
2265
2265
|
const { chain } = client;
|
|
@@ -2324,7 +2324,7 @@ async function getEnsAddress(client, parameters) {
|
|
|
2324
2324
|
}
|
|
2325
2325
|
}
|
|
2326
2326
|
|
|
2327
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
2327
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/errors/ens.js
|
|
2328
2328
|
var EnsAvatarInvalidMetadataError = class extends BaseError {
|
|
2329
2329
|
constructor({ data }) {
|
|
2330
2330
|
super("Unable to extract image from metadata. The metadata may be malformed or invalid.", {
|
|
@@ -2355,7 +2355,7 @@ var EnsAvatarUnsupportedNamespaceError = class extends BaseError {
|
|
|
2355
2355
|
}
|
|
2356
2356
|
};
|
|
2357
2357
|
|
|
2358
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
2358
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/ens/avatar/utils.js
|
|
2359
2359
|
var networkRegex = /(?<protocol>https?:\/\/[^/]*|ipfs:\/|ipns:\/|ar:\/)?(?<root>\/)?(?<subpath>ipfs\/|ipns\/)?(?<target>[\w\-.]+)(?<subtarget>\/.*)?/;
|
|
2360
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>\/.*)?$/;
|
|
2361
2361
|
var base64Regex = /^data:([a-zA-Z\-/+]*);base64,([^"].*)/;
|
|
@@ -2526,7 +2526,7 @@ async function getNftTokenUri(client, { nft }) {
|
|
|
2526
2526
|
throw new EnsAvatarUnsupportedNamespaceError({ namespace: nft.namespace });
|
|
2527
2527
|
}
|
|
2528
2528
|
|
|
2529
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
2529
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/ens/avatar/parseAvatarRecord.js
|
|
2530
2530
|
async function parseAvatarRecord(client, { gatewayUrls, record }) {
|
|
2531
2531
|
if (/eip155:/i.test(record))
|
|
2532
2532
|
return parseNftAvatarUri(client, { gatewayUrls, record });
|
|
@@ -2556,7 +2556,7 @@ async function parseNftAvatarUri(client, { gatewayUrls, record }) {
|
|
|
2556
2556
|
});
|
|
2557
2557
|
}
|
|
2558
2558
|
|
|
2559
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
2559
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/ens/getEnsText.js
|
|
2560
2560
|
async function getEnsText(client, parameters) {
|
|
2561
2561
|
const { blockNumber, blockTag, key, name, gatewayUrls, strict } = parameters;
|
|
2562
2562
|
const { chain } = client;
|
|
@@ -2610,7 +2610,7 @@ async function getEnsText(client, parameters) {
|
|
|
2610
2610
|
}
|
|
2611
2611
|
}
|
|
2612
2612
|
|
|
2613
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
2613
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/ens/getEnsAvatar.js
|
|
2614
2614
|
async function getEnsAvatar(client, { blockNumber, blockTag, assetGatewayUrls, name, gatewayUrls, strict, universalResolverAddress }) {
|
|
2615
2615
|
const record = await getAction(client, getEnsText, "getEnsText")({
|
|
2616
2616
|
blockNumber,
|
|
@@ -2633,7 +2633,7 @@ async function getEnsAvatar(client, { blockNumber, blockTag, assetGatewayUrls, n
|
|
|
2633
2633
|
}
|
|
2634
2634
|
}
|
|
2635
2635
|
|
|
2636
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
2636
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/ens/getEnsName.js
|
|
2637
2637
|
async function getEnsName(client, parameters) {
|
|
2638
2638
|
const { address, blockNumber, blockTag, coinType = 60n, gatewayUrls, strict } = parameters;
|
|
2639
2639
|
const { chain } = client;
|
|
@@ -2669,7 +2669,7 @@ async function getEnsName(client, parameters) {
|
|
|
2669
2669
|
}
|
|
2670
2670
|
}
|
|
2671
2671
|
|
|
2672
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
2672
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/ens/getEnsResolver.js
|
|
2673
2673
|
async function getEnsResolver(client, parameters) {
|
|
2674
2674
|
const { blockNumber, blockTag, name } = parameters;
|
|
2675
2675
|
const { chain } = client;
|
|
@@ -2710,7 +2710,7 @@ async function getEnsResolver(client, parameters) {
|
|
|
2710
2710
|
return resolverAddress;
|
|
2711
2711
|
}
|
|
2712
2712
|
|
|
2713
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
2713
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/createAccessList.js
|
|
2714
2714
|
async function createAccessList(client, args) {
|
|
2715
2715
|
const { account: account_ = client.account, blockNumber, blockTag = "latest", blobs, data, gas, gasPrice, maxFeePerBlobGas, maxFeePerGas, maxPriorityFeePerGas, to, value, ...rest } = args;
|
|
2716
2716
|
const account = account_ ? parseAccount(account_) : void 0;
|
|
@@ -2751,7 +2751,7 @@ async function createAccessList(client, args) {
|
|
|
2751
2751
|
}
|
|
2752
2752
|
}
|
|
2753
2753
|
|
|
2754
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
2754
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/createBlockFilter.js
|
|
2755
2755
|
async function createBlockFilter(client) {
|
|
2756
2756
|
const getRequest = createFilterRequestScope(client, {
|
|
2757
2757
|
method: "eth_newBlockFilter"
|
|
@@ -2762,7 +2762,7 @@ async function createBlockFilter(client) {
|
|
|
2762
2762
|
return { id, request: getRequest(id), type: "block" };
|
|
2763
2763
|
}
|
|
2764
2764
|
|
|
2765
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
2765
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/createEventFilter.js
|
|
2766
2766
|
async function createEventFilter(client, { address, args, event, events: events_, fromBlock, strict, toBlock } = {}) {
|
|
2767
2767
|
const events = events_ ?? (event ? [event] : void 0);
|
|
2768
2768
|
const getRequest = createFilterRequestScope(client, {
|
|
@@ -2803,7 +2803,7 @@ async function createEventFilter(client, { address, args, event, events: events_
|
|
|
2803
2803
|
};
|
|
2804
2804
|
}
|
|
2805
2805
|
|
|
2806
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
2806
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/createPendingTransactionFilter.js
|
|
2807
2807
|
async function createPendingTransactionFilter(client) {
|
|
2808
2808
|
const getRequest = createFilterRequestScope(client, {
|
|
2809
2809
|
method: "eth_newPendingTransactionFilter"
|
|
@@ -2814,7 +2814,7 @@ async function createPendingTransactionFilter(client) {
|
|
|
2814
2814
|
return { id, request: getRequest(id), type: "transaction" };
|
|
2815
2815
|
}
|
|
2816
2816
|
|
|
2817
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
2817
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/getBalance.js
|
|
2818
2818
|
async function getBalance(client, { address, blockNumber, blockTag = client.experimental_blockTag ?? "latest" }) {
|
|
2819
2819
|
if (client.batch?.multicall && client.chain?.contracts?.multicall3) {
|
|
2820
2820
|
const multicall3Address = client.chain.contracts.multicall3.address;
|
|
@@ -2844,7 +2844,7 @@ async function getBalance(client, { address, blockNumber, blockTag = client.expe
|
|
|
2844
2844
|
return BigInt(balance);
|
|
2845
2845
|
}
|
|
2846
2846
|
|
|
2847
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
2847
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/getBlobBaseFee.js
|
|
2848
2848
|
async function getBlobBaseFee(client) {
|
|
2849
2849
|
const baseFee = await client.request({
|
|
2850
2850
|
method: "eth_blobBaseFee"
|
|
@@ -2852,7 +2852,7 @@ async function getBlobBaseFee(client) {
|
|
|
2852
2852
|
return BigInt(baseFee);
|
|
2853
2853
|
}
|
|
2854
2854
|
|
|
2855
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
2855
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/getBlockTransactionCount.js
|
|
2856
2856
|
async function getBlockTransactionCount(client, { blockHash, blockNumber, blockTag = "latest" } = {}) {
|
|
2857
2857
|
const blockNumberHex = blockNumber !== void 0 ? numberToHex(blockNumber) : void 0;
|
|
2858
2858
|
let count;
|
|
@@ -2870,7 +2870,7 @@ async function getBlockTransactionCount(client, { blockHash, blockNumber, blockT
|
|
|
2870
2870
|
return hexToNumber(count);
|
|
2871
2871
|
}
|
|
2872
2872
|
|
|
2873
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
2873
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/getCode.js
|
|
2874
2874
|
async function getCode(client, { address, blockNumber, blockTag = "latest" }) {
|
|
2875
2875
|
const blockNumberHex = blockNumber !== void 0 ? numberToHex(blockNumber) : void 0;
|
|
2876
2876
|
const hex = await client.request({
|
|
@@ -2882,7 +2882,7 @@ async function getCode(client, { address, blockNumber, blockTag = "latest" }) {
|
|
|
2882
2882
|
return hex;
|
|
2883
2883
|
}
|
|
2884
2884
|
|
|
2885
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
2885
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/errors/eip712.js
|
|
2886
2886
|
var Eip712DomainNotFoundError = class extends BaseError {
|
|
2887
2887
|
constructor({ address }) {
|
|
2888
2888
|
super(`No EIP-712 domain found on contract "${address}".`, {
|
|
@@ -2897,7 +2897,7 @@ var Eip712DomainNotFoundError = class extends BaseError {
|
|
|
2897
2897
|
}
|
|
2898
2898
|
};
|
|
2899
2899
|
|
|
2900
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
2900
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/getEip712Domain.js
|
|
2901
2901
|
async function getEip712Domain(client, parameters) {
|
|
2902
2902
|
const { address, factory, factoryData } = parameters;
|
|
2903
2903
|
try {
|
|
@@ -2945,7 +2945,7 @@ var abi = [
|
|
|
2945
2945
|
}
|
|
2946
2946
|
];
|
|
2947
2947
|
|
|
2948
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
2948
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/formatters/feeHistory.js
|
|
2949
2949
|
function formatFeeHistory(feeHistory) {
|
|
2950
2950
|
return {
|
|
2951
2951
|
baseFeePerGas: feeHistory.baseFeePerGas.map((value) => BigInt(value)),
|
|
@@ -2955,7 +2955,7 @@ function formatFeeHistory(feeHistory) {
|
|
|
2955
2955
|
};
|
|
2956
2956
|
}
|
|
2957
2957
|
|
|
2958
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
2958
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/getFeeHistory.js
|
|
2959
2959
|
async function getFeeHistory(client, { blockCount, blockNumber, blockTag = "latest", rewardPercentiles }) {
|
|
2960
2960
|
const blockNumberHex = typeof blockNumber === "bigint" ? numberToHex(blockNumber) : void 0;
|
|
2961
2961
|
const feeHistory = await client.request({
|
|
@@ -2969,7 +2969,7 @@ async function getFeeHistory(client, { blockCount, blockNumber, blockTag = "late
|
|
|
2969
2969
|
return formatFeeHistory(feeHistory);
|
|
2970
2970
|
}
|
|
2971
2971
|
|
|
2972
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
2972
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/getFilterLogs.js
|
|
2973
2973
|
async function getFilterLogs(_client, { filter }) {
|
|
2974
2974
|
const strict = filter.strict ?? false;
|
|
2975
2975
|
const logs = await filter.request({
|
|
@@ -2986,7 +2986,7 @@ async function getFilterLogs(_client, { filter }) {
|
|
|
2986
2986
|
});
|
|
2987
2987
|
}
|
|
2988
2988
|
|
|
2989
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
2989
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/transaction/assertTransaction.js
|
|
2990
2990
|
function assertTransactionEIP7702(transaction) {
|
|
2991
2991
|
const { authorizationList } = transaction;
|
|
2992
2992
|
if (authorizationList) {
|
|
@@ -3054,7 +3054,7 @@ function assertTransactionLegacy(transaction) {
|
|
|
3054
3054
|
throw new FeeCapTooHighError({ maxFeePerGas: gasPrice });
|
|
3055
3055
|
}
|
|
3056
3056
|
|
|
3057
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
3057
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/transaction/serializeAccessList.js
|
|
3058
3058
|
function serializeAccessList(accessList) {
|
|
3059
3059
|
if (!accessList || accessList.length === 0)
|
|
3060
3060
|
return [];
|
|
@@ -3074,7 +3074,7 @@ function serializeAccessList(accessList) {
|
|
|
3074
3074
|
return serializedAccessList;
|
|
3075
3075
|
}
|
|
3076
3076
|
|
|
3077
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
3077
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/transaction/serializeTransaction.js
|
|
3078
3078
|
function serializeTransaction(transaction, signature) {
|
|
3079
3079
|
const type = getTransactionType(transaction);
|
|
3080
3080
|
if (type === "eip1559")
|
|
@@ -3274,7 +3274,7 @@ function toYParitySignatureArray(transaction, signature_) {
|
|
|
3274
3274
|
return [yParity_, r === "0x00" ? "0x" : r, s === "0x00" ? "0x" : s];
|
|
3275
3275
|
}
|
|
3276
3276
|
|
|
3277
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
3277
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/authorization/serializeAuthorizationList.js
|
|
3278
3278
|
function serializeAuthorizationList(authorizationList) {
|
|
3279
3279
|
if (!authorizationList || authorizationList.length === 0)
|
|
3280
3280
|
return [];
|
|
@@ -3292,7 +3292,7 @@ function serializeAuthorizationList(authorizationList) {
|
|
|
3292
3292
|
return serializedAuthorizationList;
|
|
3293
3293
|
}
|
|
3294
3294
|
|
|
3295
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
3295
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/authorization/verifyAuthorization.js
|
|
3296
3296
|
async function verifyAuthorization({ address, authorization, signature }) {
|
|
3297
3297
|
return isAddressEqual(getAddress(address), await recoverAuthorizationAddress({
|
|
3298
3298
|
authorization,
|
|
@@ -3300,7 +3300,7 @@ async function verifyAuthorization({ address, authorization, signature }) {
|
|
|
3300
3300
|
}));
|
|
3301
3301
|
}
|
|
3302
3302
|
|
|
3303
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
3303
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/promise/withDedupe.js
|
|
3304
3304
|
var promiseCache2 = /* @__PURE__ */ new LruMap(8192);
|
|
3305
3305
|
function withDedupe(fn, { enabled = true, id }) {
|
|
3306
3306
|
if (!enabled || !id)
|
|
@@ -3312,7 +3312,7 @@ function withDedupe(fn, { enabled = true, id }) {
|
|
|
3312
3312
|
return promise;
|
|
3313
3313
|
}
|
|
3314
3314
|
|
|
3315
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
3315
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/buildRequest.js
|
|
3316
3316
|
function buildRequest(request, options = {}) {
|
|
3317
3317
|
return async (args, overrideOptions = {}) => {
|
|
3318
3318
|
const { dedupe = false, methods, retryDelay = 150, retryCount = 3, uid: uid2 } = {
|
|
@@ -3472,7 +3472,7 @@ function shouldRetry(error) {
|
|
|
3472
3472
|
return true;
|
|
3473
3473
|
}
|
|
3474
3474
|
|
|
3475
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
3475
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/chain/defineChain.js
|
|
3476
3476
|
function defineChain(chain) {
|
|
3477
3477
|
const chainInstance = {
|
|
3478
3478
|
formatters: void 0,
|
|
@@ -3492,7 +3492,7 @@ function defineChain(chain) {
|
|
|
3492
3492
|
});
|
|
3493
3493
|
}
|
|
3494
3494
|
|
|
3495
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
3495
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/promise/withTimeout.js
|
|
3496
3496
|
function withTimeout(fn, { errorInstance = new Error("timed out"), timeout, signal }) {
|
|
3497
3497
|
return new Promise((resolve, reject) => {
|
|
3498
3498
|
;
|
|
@@ -3521,7 +3521,7 @@ function withTimeout(fn, { errorInstance = new Error("timed out"), timeout, sign
|
|
|
3521
3521
|
});
|
|
3522
3522
|
}
|
|
3523
3523
|
|
|
3524
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
3524
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/rpc/id.js
|
|
3525
3525
|
function createIdStore() {
|
|
3526
3526
|
return {
|
|
3527
3527
|
current: 0,
|
|
@@ -3535,7 +3535,7 @@ function createIdStore() {
|
|
|
3535
3535
|
}
|
|
3536
3536
|
var idCache = /* @__PURE__ */ createIdStore();
|
|
3537
3537
|
|
|
3538
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
3538
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/rpc/http.js
|
|
3539
3539
|
function getHttpRpcClient(url_, options = {}) {
|
|
3540
3540
|
const { url, headers: headers_url } = parseUrl(url_);
|
|
3541
3541
|
return {
|
|
@@ -3636,7 +3636,7 @@ function parseUrl(url_) {
|
|
|
3636
3636
|
}
|
|
3637
3637
|
}
|
|
3638
3638
|
|
|
3639
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
3639
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/rpc/socket.js
|
|
3640
3640
|
var socketClientCache = /* @__PURE__ */ new Map();
|
|
3641
3641
|
async function getSocketRpcClient(parameters) {
|
|
3642
3642
|
const { getSocket: getSocket2, keepAlive = true, key = "socket", reconnect = true, url } = parameters;
|
|
@@ -3784,12 +3784,12 @@ async function getSocketRpcClient(parameters) {
|
|
|
3784
3784
|
return socketClient_;
|
|
3785
3785
|
}
|
|
3786
3786
|
|
|
3787
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
3787
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/rpc/webSocket.js
|
|
3788
3788
|
async function getWebSocketRpcClient(url, options = {}) {
|
|
3789
3789
|
const { keepAlive, reconnect } = options;
|
|
3790
3790
|
return getSocketRpcClient({
|
|
3791
3791
|
async getSocket({ onClose, onError, onOpen, onResponse }) {
|
|
3792
|
-
const WebSocket = await import("./_esm-
|
|
3792
|
+
const WebSocket = await import("./_esm-UCTA3UBG.mjs").then((module) => module.WebSocket);
|
|
3793
3793
|
const socket = new WebSocket(url);
|
|
3794
3794
|
function onClose_() {
|
|
3795
3795
|
socket.removeEventListener("close", onClose_);
|
|
@@ -3861,7 +3861,7 @@ async function getWebSocketRpcClient(url, options = {}) {
|
|
|
3861
3861
|
});
|
|
3862
3862
|
}
|
|
3863
3863
|
|
|
3864
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
3864
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/rpc/compat.js
|
|
3865
3865
|
async function getSocket(url) {
|
|
3866
3866
|
const client = await getWebSocketRpcClient(url);
|
|
3867
3867
|
return Object.assign(client.socket, {
|
|
@@ -3870,10 +3870,10 @@ async function getSocket(url) {
|
|
|
3870
3870
|
});
|
|
3871
3871
|
}
|
|
3872
3872
|
|
|
3873
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
3873
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/constants/strings.js
|
|
3874
3874
|
var presignMessagePrefix = "Ethereum Signed Message:\n";
|
|
3875
3875
|
|
|
3876
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
3876
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/signature/toPrefixedMessage.js
|
|
3877
3877
|
function toPrefixedMessage(message_) {
|
|
3878
3878
|
const message = (() => {
|
|
3879
3879
|
if (typeof message_ === "string")
|
|
@@ -3886,12 +3886,12 @@ function toPrefixedMessage(message_) {
|
|
|
3886
3886
|
return concat([prefix, message]);
|
|
3887
3887
|
}
|
|
3888
3888
|
|
|
3889
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
3889
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/signature/hashMessage.js
|
|
3890
3890
|
function hashMessage(message, to_) {
|
|
3891
3891
|
return keccak256(toPrefixedMessage(message), to_);
|
|
3892
3892
|
}
|
|
3893
3893
|
|
|
3894
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
3894
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/errors/typedData.js
|
|
3895
3895
|
var InvalidDomainError = class extends BaseError {
|
|
3896
3896
|
constructor({ domain }) {
|
|
3897
3897
|
super(`Invalid domain "${stringify(domain)}".`, {
|
|
@@ -3916,7 +3916,7 @@ var InvalidStructTypeError = class extends BaseError {
|
|
|
3916
3916
|
}
|
|
3917
3917
|
};
|
|
3918
3918
|
|
|
3919
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
3919
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/typedData.js
|
|
3920
3920
|
function validateTypedData(parameters) {
|
|
3921
3921
|
const { domain, message, primaryType, types } = parameters;
|
|
3922
3922
|
const validateData = (struct, data) => {
|
|
@@ -3981,7 +3981,7 @@ function validateReference(type) {
|
|
|
3981
3981
|
throw new InvalidStructTypeError({ type });
|
|
3982
3982
|
}
|
|
3983
3983
|
|
|
3984
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
3984
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/signature/hashTypedData.js
|
|
3985
3985
|
function hashTypedData(parameters) {
|
|
3986
3986
|
const { domain = {}, message, primaryType } = parameters;
|
|
3987
3987
|
const types = {
|
|
@@ -5688,7 +5688,7 @@ var InvalidWrappedSignatureError = class extends BaseError2 {
|
|
|
5688
5688
|
}
|
|
5689
5689
|
};
|
|
5690
5690
|
|
|
5691
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
5691
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/formatters/proof.js
|
|
5692
5692
|
function formatStorageProof(storageProof) {
|
|
5693
5693
|
return storageProof.map((proof) => ({
|
|
5694
5694
|
...proof,
|
|
@@ -5704,7 +5704,7 @@ function formatProof(proof) {
|
|
|
5704
5704
|
};
|
|
5705
5705
|
}
|
|
5706
5706
|
|
|
5707
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
5707
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/getProof.js
|
|
5708
5708
|
async function getProof(client, { address, blockNumber, blockTag: blockTag_, storageKeys }) {
|
|
5709
5709
|
const blockTag = blockTag_ ?? "latest";
|
|
5710
5710
|
const blockNumberHex = blockNumber !== void 0 ? numberToHex(blockNumber) : void 0;
|
|
@@ -5715,7 +5715,7 @@ async function getProof(client, { address, blockNumber, blockTag: blockTag_, sto
|
|
|
5715
5715
|
return formatProof(proof);
|
|
5716
5716
|
}
|
|
5717
5717
|
|
|
5718
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
5718
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/getStorageAt.js
|
|
5719
5719
|
async function getStorageAt(client, { address, blockNumber, blockTag = "latest", slot }) {
|
|
5720
5720
|
const blockNumberHex = blockNumber !== void 0 ? numberToHex(blockNumber) : void 0;
|
|
5721
5721
|
const data = await client.request({
|
|
@@ -5725,7 +5725,7 @@ async function getStorageAt(client, { address, blockNumber, blockTag = "latest",
|
|
|
5725
5725
|
return data;
|
|
5726
5726
|
}
|
|
5727
5727
|
|
|
5728
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
5728
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/getTransaction.js
|
|
5729
5729
|
async function getTransaction(client, { blockHash, blockNumber, blockTag: blockTag_, hash: hash2, index: index2, sender, nonce }) {
|
|
5730
5730
|
const blockTag = blockTag_ || "latest";
|
|
5731
5731
|
const blockNumberHex = blockNumber !== void 0 ? numberToHex(blockNumber) : void 0;
|
|
@@ -5763,7 +5763,7 @@ async function getTransaction(client, { blockHash, blockNumber, blockTag: blockT
|
|
|
5763
5763
|
return format(transaction, "getTransaction");
|
|
5764
5764
|
}
|
|
5765
5765
|
|
|
5766
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
5766
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/getTransactionConfirmations.js
|
|
5767
5767
|
async function getTransactionConfirmations(client, { hash: hash2, transactionReceipt }) {
|
|
5768
5768
|
const [blockNumber, transaction] = await Promise.all([
|
|
5769
5769
|
getAction(client, getBlockNumber, "getBlockNumber")({}),
|
|
@@ -5775,7 +5775,7 @@ async function getTransactionConfirmations(client, { hash: hash2, transactionRec
|
|
|
5775
5775
|
return blockNumber - transactionBlockNumber + 1n;
|
|
5776
5776
|
}
|
|
5777
5777
|
|
|
5778
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
5778
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/getTransactionReceipt.js
|
|
5779
5779
|
async function getTransactionReceipt(client, { hash: hash2 }) {
|
|
5780
5780
|
const receipt = await client.request({
|
|
5781
5781
|
method: "eth_getTransactionReceipt",
|
|
@@ -5787,7 +5787,7 @@ async function getTransactionReceipt(client, { hash: hash2 }) {
|
|
|
5787
5787
|
return format(receipt, "getTransactionReceipt");
|
|
5788
5788
|
}
|
|
5789
5789
|
|
|
5790
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
5790
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/multicall.js
|
|
5791
5791
|
async function multicall(client, parameters) {
|
|
5792
5792
|
const { account, authorizationList, allowFailure = true, blockNumber, blockOverrides, blockTag, stateOverride } = parameters;
|
|
5793
5793
|
const contracts2 = parameters.contracts;
|
|
@@ -5916,7 +5916,7 @@ async function multicall(client, parameters) {
|
|
|
5916
5916
|
return results;
|
|
5917
5917
|
}
|
|
5918
5918
|
|
|
5919
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
5919
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/simulateBlocks.js
|
|
5920
5920
|
async function simulateBlocks(client, parameters) {
|
|
5921
5921
|
const { blockNumber, blockTag = client.experimental_blockTag ?? "latest", blocks, returnFullTransactions, traceTransfers, validation } = parameters;
|
|
5922
5922
|
try {
|
|
@@ -6321,11 +6321,11 @@ function getSelector2(abiItem) {
|
|
|
6321
6321
|
return getSelector(abiItem);
|
|
6322
6322
|
}
|
|
6323
6323
|
|
|
6324
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
6324
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/constants/address.js
|
|
6325
6325
|
var ethAddress = "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee";
|
|
6326
6326
|
var zeroAddress = "0x0000000000000000000000000000000000000000";
|
|
6327
6327
|
|
|
6328
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
6328
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/simulateCalls.js
|
|
6329
6329
|
var getBalanceCode = "0x6080604052348015600e575f80fd5b5061016d8061001c5f395ff3fe608060405234801561000f575f80fd5b5060043610610029575f3560e01c8063f8b2cb4f1461002d575b5f80fd5b610047600480360381019061004291906100db565b61005d565b604051610054919061011e565b60405180910390f35b5f8173ffffffffffffffffffffffffffffffffffffffff16319050919050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6100aa82610081565b9050919050565b6100ba816100a0565b81146100c4575f80fd5b50565b5f813590506100d5816100b1565b92915050565b5f602082840312156100f0576100ef61007d565b5b5f6100fd848285016100c7565b91505092915050565b5f819050919050565b61011881610106565b82525050565b5f6020820190506101315f83018461010f565b9291505056fea26469706673582212203b9fe929fe995c7cf9887f0bdba8a36dd78e8b73f149b17d2d9ad7cd09d2dc6264736f6c634300081a0033";
|
|
6330
6330
|
async function simulateCalls(client, parameters) {
|
|
6331
6331
|
const { blockNumber, blockTag, calls, stateOverrides, traceAssetChanges, traceTransfers, validation } = parameters;
|
|
@@ -6623,7 +6623,7 @@ var InvalidWrappedSignatureError2 = class extends BaseError2 {
|
|
|
6623
6623
|
}
|
|
6624
6624
|
};
|
|
6625
6625
|
|
|
6626
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
6626
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/signature/serializeSignature.js
|
|
6627
6627
|
function serializeSignature({ r, s, to = "hex", v, yParity }) {
|
|
6628
6628
|
const yParity_ = (() => {
|
|
6629
6629
|
if (yParity === 0 || yParity === 1)
|
|
@@ -6638,7 +6638,7 @@ function serializeSignature({ r, s, to = "hex", v, yParity }) {
|
|
|
6638
6638
|
return hexToBytes(signature);
|
|
6639
6639
|
}
|
|
6640
6640
|
|
|
6641
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
6641
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/verifyHash.js
|
|
6642
6642
|
async function verifyHash(client, parameters) {
|
|
6643
6643
|
const { address, chain = client.chain, hash: hash2, erc6492VerifierAddress: verifierAddress = parameters.universalSignatureVerifierAddress ?? chain?.contracts?.erc6492Verifier?.address, multicallAddress = parameters.multicallAddress ?? chain?.contracts?.multicall3?.address } = parameters;
|
|
6644
6644
|
if (chain?.verifyHash)
|
|
@@ -6798,7 +6798,7 @@ async function verifyErc1271(client, parameters) {
|
|
|
6798
6798
|
var VerificationError = class extends Error {
|
|
6799
6799
|
};
|
|
6800
6800
|
|
|
6801
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
6801
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/verifyMessage.js
|
|
6802
6802
|
async function verifyMessage(client, { address, message, factory, factoryData, signature, ...callRequest }) {
|
|
6803
6803
|
const hash2 = hashMessage(message);
|
|
6804
6804
|
return getAction(client, verifyHash, "verifyHash")({
|
|
@@ -6811,7 +6811,7 @@ async function verifyMessage(client, { address, message, factory, factoryData, s
|
|
|
6811
6811
|
});
|
|
6812
6812
|
}
|
|
6813
6813
|
|
|
6814
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
6814
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/verifyTypedData.js
|
|
6815
6815
|
async function verifyTypedData(client, parameters) {
|
|
6816
6816
|
const { address, factory, factoryData, signature, message, primaryType, types, domain, ...callRequest } = parameters;
|
|
6817
6817
|
const hash2 = hashTypedData({ message, primaryType, types, domain });
|
|
@@ -6825,7 +6825,7 @@ async function verifyTypedData(client, parameters) {
|
|
|
6825
6825
|
});
|
|
6826
6826
|
}
|
|
6827
6827
|
|
|
6828
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
6828
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/watchBlockNumber.js
|
|
6829
6829
|
function watchBlockNumber(client, { emitOnBegin = false, emitMissed = false, onBlockNumber, onError, poll: poll_, pollingInterval = client.pollingInterval }) {
|
|
6830
6830
|
const enablePolling = (() => {
|
|
6831
6831
|
if (typeof poll_ !== "undefined")
|
|
@@ -6917,7 +6917,7 @@ function watchBlockNumber(client, { emitOnBegin = false, emitMissed = false, onB
|
|
|
6917
6917
|
return enablePolling ? pollBlockNumber() : subscribeBlockNumber();
|
|
6918
6918
|
}
|
|
6919
6919
|
|
|
6920
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
6920
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/waitForTransactionReceipt.js
|
|
6921
6921
|
async function waitForTransactionReceipt(client, parameters) {
|
|
6922
6922
|
const {
|
|
6923
6923
|
checkReplacement = true,
|
|
@@ -7049,7 +7049,7 @@ async function waitForTransactionReceipt(client, parameters) {
|
|
|
7049
7049
|
return promise;
|
|
7050
7050
|
}
|
|
7051
7051
|
|
|
7052
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
7052
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/watchBlocks.js
|
|
7053
7053
|
function watchBlocks(client, { blockTag = client.experimental_blockTag ?? "latest", emitMissed = false, emitOnBegin = false, onBlock, onError, includeTransactions: includeTransactions_, poll: poll_, pollingInterval = client.pollingInterval }) {
|
|
7054
7054
|
const enablePolling = (() => {
|
|
7055
7055
|
if (typeof poll_ !== "undefined")
|
|
@@ -7170,7 +7170,7 @@ function watchBlocks(client, { blockTag = client.experimental_blockTag ?? "lates
|
|
|
7170
7170
|
return enablePolling ? pollBlocks() : subscribeBlocks();
|
|
7171
7171
|
}
|
|
7172
7172
|
|
|
7173
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
7173
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/watchEvent.js
|
|
7174
7174
|
function watchEvent(client, { address, args, batch = true, event, events, fromBlock, onError, onLogs, poll: poll_, pollingInterval = client.pollingInterval, strict: strict_ }) {
|
|
7175
7175
|
const enablePolling = (() => {
|
|
7176
7176
|
if (typeof poll_ !== "undefined")
|
|
@@ -7333,7 +7333,7 @@ function watchEvent(client, { address, args, batch = true, event, events, fromBl
|
|
|
7333
7333
|
return enablePolling ? pollEvent() : subscribeEvent();
|
|
7334
7334
|
}
|
|
7335
7335
|
|
|
7336
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
7336
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/public/watchPendingTransactions.js
|
|
7337
7337
|
function watchPendingTransactions(client, { batch = true, onError, onTransactions, poll: poll_, pollingInterval = client.pollingInterval }) {
|
|
7338
7338
|
const enablePolling = typeof poll_ !== "undefined" ? poll_ : client.transport.type !== "webSocket" && client.transport.type !== "ipc";
|
|
7339
7339
|
const pollPendingTransactions = () => {
|
|
@@ -7407,7 +7407,7 @@ function watchPendingTransactions(client, { batch = true, onError, onTransaction
|
|
|
7407
7407
|
return enablePolling ? pollPendingTransactions() : subscribePendingTransactions();
|
|
7408
7408
|
}
|
|
7409
7409
|
|
|
7410
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
7410
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/siwe/parseSiweMessage.js
|
|
7411
7411
|
function parseSiweMessage(message) {
|
|
7412
7412
|
const { scheme, statement, ...prefix } = message.match(prefixRegex)?.groups ?? {};
|
|
7413
7413
|
const { chainId, expirationTime, issuedAt, notBefore, requestId, ...suffix } = message.match(suffixRegex)?.groups ?? {};
|
|
@@ -7428,7 +7428,7 @@ function parseSiweMessage(message) {
|
|
|
7428
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)?/;
|
|
7429
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>.+))?/;
|
|
7430
7430
|
|
|
7431
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
7431
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/utils/siwe/validateSiweMessage.js
|
|
7432
7432
|
function validateSiweMessage(parameters) {
|
|
7433
7433
|
const { address, domain, message, nonce, scheme, time = /* @__PURE__ */ new Date() } = parameters;
|
|
7434
7434
|
if (domain && message.domain !== domain)
|
|
@@ -7454,7 +7454,7 @@ function validateSiweMessage(parameters) {
|
|
|
7454
7454
|
return true;
|
|
7455
7455
|
}
|
|
7456
7456
|
|
|
7457
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
7457
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/siwe/verifySiweMessage.js
|
|
7458
7458
|
async function verifySiweMessage(client, parameters) {
|
|
7459
7459
|
const { address, domain, message, nonce, scheme, signature, time = /* @__PURE__ */ new Date(), ...callRequest } = parameters;
|
|
7460
7460
|
const parsed = parseSiweMessage(message);
|
|
@@ -7479,7 +7479,7 @@ async function verifySiweMessage(client, parameters) {
|
|
|
7479
7479
|
});
|
|
7480
7480
|
}
|
|
7481
7481
|
|
|
7482
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
7482
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/actions/wallet/sendRawTransactionSync.js
|
|
7483
7483
|
async function sendRawTransactionSync(client, { serializedTransaction, throwOnReceiptRevert, timeout }) {
|
|
7484
7484
|
const receipt = await client.request({
|
|
7485
7485
|
method: "eth_sendRawTransactionSync",
|
|
@@ -7492,7 +7492,7 @@ async function sendRawTransactionSync(client, { serializedTransaction, throwOnRe
|
|
|
7492
7492
|
return formatted;
|
|
7493
7493
|
}
|
|
7494
7494
|
|
|
7495
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
7495
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/clients/decorators/public.js
|
|
7496
7496
|
function publicActions(client) {
|
|
7497
7497
|
return {
|
|
7498
7498
|
call: (args) => call(client, args),
|
|
@@ -7555,7 +7555,7 @@ function publicActions(client) {
|
|
|
7555
7555
|
};
|
|
7556
7556
|
}
|
|
7557
7557
|
|
|
7558
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
7558
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/clients/createPublicClient.js
|
|
7559
7559
|
function createPublicClient(parameters) {
|
|
7560
7560
|
const { key = "public", name = "Public Client" } = parameters;
|
|
7561
7561
|
const client = createClient({
|
|
@@ -7567,7 +7567,7 @@ function createPublicClient(parameters) {
|
|
|
7567
7567
|
return client.extend(publicActions);
|
|
7568
7568
|
}
|
|
7569
7569
|
|
|
7570
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
7570
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/clients/transports/createTransport.js
|
|
7571
7571
|
function createTransport({ key, methods, name, request, retryCount = 3, retryDelay = 150, timeout, type }, value) {
|
|
7572
7572
|
const uid2 = uid();
|
|
7573
7573
|
return {
|
|
@@ -7586,7 +7586,7 @@ function createTransport({ key, methods, name, request, retryCount = 3, retryDel
|
|
|
7586
7586
|
};
|
|
7587
7587
|
}
|
|
7588
7588
|
|
|
7589
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
7589
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/errors/transport.js
|
|
7590
7590
|
var UrlRequiredError = class extends BaseError {
|
|
7591
7591
|
constructor() {
|
|
7592
7592
|
super("No URL was provided to the Transport. Please provide a valid RPC URL to the Transport.", {
|
|
@@ -7596,7 +7596,7 @@ var UrlRequiredError = class extends BaseError {
|
|
|
7596
7596
|
}
|
|
7597
7597
|
};
|
|
7598
7598
|
|
|
7599
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
7599
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/clients/transports/http.js
|
|
7600
7600
|
function http(url, config = {}) {
|
|
7601
7601
|
const { batch, fetchFn, fetchOptions, key = "http", methods, name = "HTTP JSON-RPC", onFetchRequest, onFetchResponse, retryDelay, raw } = config;
|
|
7602
7602
|
return ({ chain, retryCount: retryCount_, timeout: timeout_ }) => {
|
|
@@ -7657,7 +7657,7 @@ function http(url, config = {}) {
|
|
|
7657
7657
|
};
|
|
7658
7658
|
}
|
|
7659
7659
|
|
|
7660
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
7660
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/clients/transports/webSocket.js
|
|
7661
7661
|
function webSocket(url, config = {}) {
|
|
7662
7662
|
const { keepAlive, key = "webSocket", methods, name = "WebSocket JSON-RPC", reconnect, retryDelay } = config;
|
|
7663
7663
|
return ({ chain, retryCount: retryCount_, timeout: timeout_ }) => {
|
|
@@ -7972,6 +7972,29 @@ var tacMainnet = defineChain({
|
|
|
7972
7972
|
}
|
|
7973
7973
|
}
|
|
7974
7974
|
});
|
|
7975
|
+
var pharosMainnet = defineChain({
|
|
7976
|
+
id: 1672,
|
|
7977
|
+
name: "Pharos Mainnet",
|
|
7978
|
+
nativeCurrency: {
|
|
7979
|
+
decimals: 18,
|
|
7980
|
+
name: "Pharos",
|
|
7981
|
+
symbol: "PROS"
|
|
7982
|
+
},
|
|
7983
|
+
rpcUrls: {
|
|
7984
|
+
default: { http: ["https://rpc.pharos.xyz"] }
|
|
7985
|
+
// Public RPC
|
|
7986
|
+
},
|
|
7987
|
+
blockExplorers: {
|
|
7988
|
+
default: { name: "Pharos Explorer", url: "https://explorer.pharos.xyz" }
|
|
7989
|
+
},
|
|
7990
|
+
// Multicall3 contract address for Pharos, if available
|
|
7991
|
+
contracts: {
|
|
7992
|
+
multicall3: {
|
|
7993
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
7994
|
+
blockCreated: 1
|
|
7995
|
+
}
|
|
7996
|
+
}
|
|
7997
|
+
});
|
|
7975
7998
|
var customChains = {
|
|
7976
7999
|
artela,
|
|
7977
8000
|
botanix,
|
|
@@ -7980,17 +8003,18 @@ var customChains = {
|
|
|
7980
8003
|
hyperEvm,
|
|
7981
8004
|
monadMainnet,
|
|
7982
8005
|
swellchain,
|
|
7983
|
-
tacMainnet
|
|
8006
|
+
tacMainnet,
|
|
8007
|
+
pharosMainnet
|
|
7984
8008
|
};
|
|
7985
8009
|
|
|
7986
8010
|
// src/chains/chainMapping.ts
|
|
7987
8011
|
import { Chain } from "@1delta/chain-registry";
|
|
7988
8012
|
|
|
7989
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
8013
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/zksync/constants/number.js
|
|
7990
8014
|
var gasPerPubdataDefault = 50000n;
|
|
7991
8015
|
var maxBytecodeSize = maxUint16 * 32n;
|
|
7992
8016
|
|
|
7993
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
8017
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/zksync/formatters.js
|
|
7994
8018
|
var formatters = {
|
|
7995
8019
|
block: /* @__PURE__ */ defineBlock({
|
|
7996
8020
|
format(args) {
|
|
@@ -8089,7 +8113,7 @@ var formatters = {
|
|
|
8089
8113
|
})
|
|
8090
8114
|
};
|
|
8091
8115
|
|
|
8092
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
8116
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/zksync/errors/transaction.js
|
|
8093
8117
|
var InvalidEip712TransactionError = class extends BaseError {
|
|
8094
8118
|
constructor() {
|
|
8095
8119
|
super([
|
|
@@ -8102,7 +8126,7 @@ var InvalidEip712TransactionError = class extends BaseError {
|
|
|
8102
8126
|
}
|
|
8103
8127
|
};
|
|
8104
8128
|
|
|
8105
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
8129
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/zksync/utils/isEip712Transaction.js
|
|
8106
8130
|
function isEIP712Transaction(transaction) {
|
|
8107
8131
|
if (transaction.type === "eip712")
|
|
8108
8132
|
return true;
|
|
@@ -8111,7 +8135,7 @@ function isEIP712Transaction(transaction) {
|
|
|
8111
8135
|
return false;
|
|
8112
8136
|
}
|
|
8113
8137
|
|
|
8114
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
8138
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/zksync/utils/assertEip712Transaction.js
|
|
8115
8139
|
function assertEip712Transaction(transaction) {
|
|
8116
8140
|
const { chainId, to, from: from14, paymaster, paymasterInput } = transaction;
|
|
8117
8141
|
if (!isEIP712Transaction(transaction))
|
|
@@ -8132,7 +8156,7 @@ function assertEip712Transaction(transaction) {
|
|
|
8132
8156
|
}
|
|
8133
8157
|
}
|
|
8134
8158
|
|
|
8135
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
8159
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/zksync/serializers.js
|
|
8136
8160
|
function serializeTransaction2(transaction, signature) {
|
|
8137
8161
|
if (isEIP712Transaction(transaction))
|
|
8138
8162
|
return serializeTransactionEIP712(transaction);
|
|
@@ -8169,7 +8193,7 @@ function serializeTransactionEIP712(transaction) {
|
|
|
8169
8193
|
]);
|
|
8170
8194
|
}
|
|
8171
8195
|
|
|
8172
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
8196
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/zksync/errors/bytecode.js
|
|
8173
8197
|
var BytecodeLengthExceedsMaxSizeError = class extends BaseError {
|
|
8174
8198
|
constructor({ givenLength, maxBytecodeSize: maxBytecodeSize2 }) {
|
|
8175
8199
|
super(`Bytecode cannot be longer than ${maxBytecodeSize2} bytes. Given length: ${givenLength}`, { name: "BytecodeLengthExceedsMaxSizeError" });
|
|
@@ -8186,7 +8210,7 @@ var BytecodeLengthMustBeDivisibleBy32Error = class extends BaseError {
|
|
|
8186
8210
|
}
|
|
8187
8211
|
};
|
|
8188
8212
|
|
|
8189
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
8213
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/zksync/utils/hashBytecode.js
|
|
8190
8214
|
function hashBytecode(bytecode) {
|
|
8191
8215
|
const bytecodeBytes = toBytes(bytecode);
|
|
8192
8216
|
if (bytecodeBytes.length % 32 !== 0)
|
|
@@ -8214,7 +8238,7 @@ function hashBytecode(bytecode) {
|
|
|
8214
8238
|
return hash2;
|
|
8215
8239
|
}
|
|
8216
8240
|
|
|
8217
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
8241
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/zksync/utils/getEip712Domain.js
|
|
8218
8242
|
var getEip712Domain2 = (transaction) => {
|
|
8219
8243
|
assertEip712Transaction(transaction);
|
|
8220
8244
|
const message = transactionToMessage(transaction);
|
|
@@ -8264,7 +8288,7 @@ function transactionToMessage(transaction) {
|
|
|
8264
8288
|
};
|
|
8265
8289
|
}
|
|
8266
8290
|
|
|
8267
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
8291
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/zksync/chainConfig.js
|
|
8268
8292
|
var chainConfig = {
|
|
8269
8293
|
blockTime: 1e3,
|
|
8270
8294
|
formatters,
|
|
@@ -8274,7 +8298,7 @@ var chainConfig = {
|
|
|
8274
8298
|
}
|
|
8275
8299
|
};
|
|
8276
8300
|
|
|
8277
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
8301
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/abstract.js
|
|
8278
8302
|
var abstract = /* @__PURE__ */ defineChain({
|
|
8279
8303
|
...chainConfig,
|
|
8280
8304
|
blockTime: 200,
|
|
@@ -8313,7 +8337,7 @@ var abstract = /* @__PURE__ */ defineChain({
|
|
|
8313
8337
|
}
|
|
8314
8338
|
});
|
|
8315
8339
|
|
|
8316
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
8340
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/op-stack/contracts.js
|
|
8317
8341
|
var contracts = {
|
|
8318
8342
|
gasPriceOracle: { address: "0x420000000000000000000000000000000000000F" },
|
|
8319
8343
|
l1Block: { address: "0x4200000000000000000000000000000000000015" },
|
|
@@ -8327,7 +8351,7 @@ var contracts = {
|
|
|
8327
8351
|
}
|
|
8328
8352
|
};
|
|
8329
8353
|
|
|
8330
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
8354
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/op-stack/formatters.js
|
|
8331
8355
|
var formatters2 = {
|
|
8332
8356
|
block: /* @__PURE__ */ defineBlock({
|
|
8333
8357
|
format(args) {
|
|
@@ -8373,7 +8397,7 @@ var formatters2 = {
|
|
|
8373
8397
|
})
|
|
8374
8398
|
};
|
|
8375
8399
|
|
|
8376
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
8400
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/op-stack/serializers.js
|
|
8377
8401
|
function serializeTransaction3(transaction, signature) {
|
|
8378
8402
|
if (isDeposit(transaction))
|
|
8379
8403
|
return serializeTransactionDeposit(transaction);
|
|
@@ -8415,7 +8439,7 @@ function assertTransactionDeposit(transaction) {
|
|
|
8415
8439
|
throw new InvalidAddressError({ address: to });
|
|
8416
8440
|
}
|
|
8417
8441
|
|
|
8418
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
8442
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/op-stack/chainConfig.js
|
|
8419
8443
|
var chainConfig2 = {
|
|
8420
8444
|
blockTime: 2e3,
|
|
8421
8445
|
contracts,
|
|
@@ -8423,7 +8447,7 @@ var chainConfig2 = {
|
|
|
8423
8447
|
serializers: serializers2
|
|
8424
8448
|
};
|
|
8425
8449
|
|
|
8426
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
8450
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/apeChain.js
|
|
8427
8451
|
var sourceId = 42161;
|
|
8428
8452
|
var apeChain = /* @__PURE__ */ defineChain({
|
|
8429
8453
|
id: 33139,
|
|
@@ -8455,7 +8479,7 @@ var apeChain = /* @__PURE__ */ defineChain({
|
|
|
8455
8479
|
sourceId
|
|
8456
8480
|
});
|
|
8457
8481
|
|
|
8458
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
8482
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/arbitrum.js
|
|
8459
8483
|
var arbitrum = /* @__PURE__ */ defineChain({
|
|
8460
8484
|
id: 42161,
|
|
8461
8485
|
name: "Arbitrum One",
|
|
@@ -8481,7 +8505,7 @@ var arbitrum = /* @__PURE__ */ defineChain({
|
|
|
8481
8505
|
}
|
|
8482
8506
|
});
|
|
8483
8507
|
|
|
8484
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
8508
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/aurora.js
|
|
8485
8509
|
var aurora = /* @__PURE__ */ defineChain({
|
|
8486
8510
|
id: 1313161554,
|
|
8487
8511
|
name: "Aurora",
|
|
@@ -8508,7 +8532,7 @@ var aurora = /* @__PURE__ */ defineChain({
|
|
|
8508
8532
|
}
|
|
8509
8533
|
});
|
|
8510
8534
|
|
|
8511
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
8535
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/avalanche.js
|
|
8512
8536
|
var avalanche = /* @__PURE__ */ defineChain({
|
|
8513
8537
|
id: 43114,
|
|
8514
8538
|
name: "Avalanche",
|
|
@@ -8536,7 +8560,7 @@ var avalanche = /* @__PURE__ */ defineChain({
|
|
|
8536
8560
|
}
|
|
8537
8561
|
});
|
|
8538
8562
|
|
|
8539
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
8563
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/base.js
|
|
8540
8564
|
var sourceId2 = 1;
|
|
8541
8565
|
var base = /* @__PURE__ */ defineChain({
|
|
8542
8566
|
...chainConfig2,
|
|
@@ -8596,7 +8620,7 @@ var basePreconf = /* @__PURE__ */ defineChain({
|
|
|
8596
8620
|
}
|
|
8597
8621
|
});
|
|
8598
8622
|
|
|
8599
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
8623
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/berachain.js
|
|
8600
8624
|
var berachain = /* @__PURE__ */ defineChain({
|
|
8601
8625
|
id: 80094,
|
|
8602
8626
|
name: "Berachain",
|
|
@@ -8633,7 +8657,7 @@ var berachain = /* @__PURE__ */ defineChain({
|
|
|
8633
8657
|
testnet: false
|
|
8634
8658
|
});
|
|
8635
8659
|
|
|
8636
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
8660
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/bitlayer.js
|
|
8637
8661
|
var bitlayer = /* @__PURE__ */ defineChain({
|
|
8638
8662
|
id: 200901,
|
|
8639
8663
|
name: "Bitlayer Mainnet",
|
|
@@ -8662,7 +8686,7 @@ var bitlayer = /* @__PURE__ */ defineChain({
|
|
|
8662
8686
|
}
|
|
8663
8687
|
});
|
|
8664
8688
|
|
|
8665
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
8689
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/blast.js
|
|
8666
8690
|
var sourceId3 = 1;
|
|
8667
8691
|
var blast = /* @__PURE__ */ defineChain({
|
|
8668
8692
|
...chainConfig2,
|
|
@@ -8711,7 +8735,7 @@ var blast = /* @__PURE__ */ defineChain({
|
|
|
8711
8735
|
sourceId: sourceId3
|
|
8712
8736
|
});
|
|
8713
8737
|
|
|
8714
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
8738
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/bob.js
|
|
8715
8739
|
var sourceId4 = 1;
|
|
8716
8740
|
var bob = /* @__PURE__ */ defineChain({
|
|
8717
8741
|
...chainConfig2,
|
|
@@ -8756,7 +8780,7 @@ var bob = /* @__PURE__ */ defineChain({
|
|
|
8756
8780
|
sourceId: sourceId4
|
|
8757
8781
|
});
|
|
8758
8782
|
|
|
8759
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
8783
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/bsc.js
|
|
8760
8784
|
var bsc = /* @__PURE__ */ defineChain({
|
|
8761
8785
|
id: 56,
|
|
8762
8786
|
name: "BNB Smart Chain",
|
|
@@ -8784,7 +8808,7 @@ var bsc = /* @__PURE__ */ defineChain({
|
|
|
8784
8808
|
}
|
|
8785
8809
|
});
|
|
8786
8810
|
|
|
8787
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
8811
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/bsquared.js
|
|
8788
8812
|
var bsquared = /* @__PURE__ */ defineChain({
|
|
8789
8813
|
id: 223,
|
|
8790
8814
|
name: "B2",
|
|
@@ -8806,7 +8830,7 @@ var bsquared = /* @__PURE__ */ defineChain({
|
|
|
8806
8830
|
}
|
|
8807
8831
|
});
|
|
8808
8832
|
|
|
8809
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
8833
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/celo/fees.js
|
|
8810
8834
|
var fees = {
|
|
8811
8835
|
/*
|
|
8812
8836
|
* Estimates the fees per gas for a transaction.
|
|
@@ -8846,7 +8870,7 @@ async function estimateMaxPriorityFeePerGasInFeeCurrency(client, feeCurrency) {
|
|
|
8846
8870
|
return BigInt(feesPerGas);
|
|
8847
8871
|
}
|
|
8848
8872
|
|
|
8849
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
8873
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/celo/utils.js
|
|
8850
8874
|
function isEmpty(value) {
|
|
8851
8875
|
return value === 0 || value === 0n || value === void 0 || value === null || value === "0" || value === "" || typeof value === "string" && (trim(value).toLowerCase() === "0x" || trim(value).toLowerCase() === "0x00");
|
|
8852
8876
|
}
|
|
@@ -8863,7 +8887,7 @@ function isCIP64(transaction) {
|
|
|
8863
8887
|
return isEIP1559(transaction) && isPresent(transaction.feeCurrency);
|
|
8864
8888
|
}
|
|
8865
8889
|
|
|
8866
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
8890
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/celo/formatters.js
|
|
8867
8891
|
var formatters3 = {
|
|
8868
8892
|
block: /* @__PURE__ */ defineBlock({
|
|
8869
8893
|
format(args) {
|
|
@@ -8918,7 +8942,7 @@ var formatters3 = {
|
|
|
8918
8942
|
})
|
|
8919
8943
|
};
|
|
8920
8944
|
|
|
8921
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
8945
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/celo/serializers.js
|
|
8922
8946
|
function serializeTransaction4(transaction, signature) {
|
|
8923
8947
|
if (isCIP64(transaction))
|
|
8924
8948
|
return serializeTransactionCIP64(transaction, signature);
|
|
@@ -8969,7 +8993,7 @@ function assertTransactionCIP64(transaction) {
|
|
|
8969
8993
|
}
|
|
8970
8994
|
}
|
|
8971
8995
|
|
|
8972
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
8996
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/celo/chainConfig.js
|
|
8973
8997
|
var chainConfig3 = {
|
|
8974
8998
|
blockTime: 1e3,
|
|
8975
8999
|
contracts,
|
|
@@ -8978,7 +9002,7 @@ var chainConfig3 = {
|
|
|
8978
9002
|
fees
|
|
8979
9003
|
};
|
|
8980
9004
|
|
|
8981
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
9005
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/celo.js
|
|
8982
9006
|
var celo = /* @__PURE__ */ defineChain({
|
|
8983
9007
|
...chainConfig3,
|
|
8984
9008
|
id: 42220,
|
|
@@ -9007,7 +9031,7 @@ var celo = /* @__PURE__ */ defineChain({
|
|
|
9007
9031
|
testnet: false
|
|
9008
9032
|
});
|
|
9009
9033
|
|
|
9010
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
9034
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/confluxESpace.js
|
|
9011
9035
|
var confluxESpace = /* @__PURE__ */ defineChain({
|
|
9012
9036
|
id: 1030,
|
|
9013
9037
|
name: "Conflux eSpace",
|
|
@@ -9032,7 +9056,7 @@ var confluxESpace = /* @__PURE__ */ defineChain({
|
|
|
9032
9056
|
}
|
|
9033
9057
|
});
|
|
9034
9058
|
|
|
9035
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
9059
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/coreDao.js
|
|
9036
9060
|
var coreDao = /* @__PURE__ */ defineChain({
|
|
9037
9061
|
id: 1116,
|
|
9038
9062
|
name: "Core Dao",
|
|
@@ -9059,7 +9083,7 @@ var coreDao = /* @__PURE__ */ defineChain({
|
|
|
9059
9083
|
testnet: false
|
|
9060
9084
|
});
|
|
9061
9085
|
|
|
9062
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
9086
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/corn.js
|
|
9063
9087
|
var sourceId5 = 1;
|
|
9064
9088
|
var corn = /* @__PURE__ */ defineChain({
|
|
9065
9089
|
id: 21e6,
|
|
@@ -9088,7 +9112,7 @@ var corn = /* @__PURE__ */ defineChain({
|
|
|
9088
9112
|
sourceId: sourceId5
|
|
9089
9113
|
});
|
|
9090
9114
|
|
|
9091
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
9115
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/cronos.js
|
|
9092
9116
|
var cronos = /* @__PURE__ */ defineChain({
|
|
9093
9117
|
id: 25,
|
|
9094
9118
|
name: "Cronos Mainnet",
|
|
@@ -9115,7 +9139,7 @@ var cronos = /* @__PURE__ */ defineChain({
|
|
|
9115
9139
|
}
|
|
9116
9140
|
});
|
|
9117
9141
|
|
|
9118
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
9142
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/cronoszkEVM.js
|
|
9119
9143
|
var cronoszkEVM = /* @__PURE__ */ defineChain({
|
|
9120
9144
|
id: 388,
|
|
9121
9145
|
name: "Cronos zkEVM Mainnet",
|
|
@@ -9141,7 +9165,7 @@ var cronoszkEVM = /* @__PURE__ */ defineChain({
|
|
|
9141
9165
|
}
|
|
9142
9166
|
});
|
|
9143
9167
|
|
|
9144
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
9168
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/degen.js
|
|
9145
9169
|
var degen = /* @__PURE__ */ defineChain({
|
|
9146
9170
|
id: 666666666,
|
|
9147
9171
|
name: "Degen",
|
|
@@ -9165,7 +9189,34 @@ var degen = /* @__PURE__ */ defineChain({
|
|
|
9165
9189
|
}
|
|
9166
9190
|
});
|
|
9167
9191
|
|
|
9168
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
9192
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/etherlink.js
|
|
9193
|
+
var etherlink = /* @__PURE__ */ defineChain({
|
|
9194
|
+
id: 42793,
|
|
9195
|
+
name: "Etherlink",
|
|
9196
|
+
blockTime: 4830,
|
|
9197
|
+
nativeCurrency: {
|
|
9198
|
+
decimals: 18,
|
|
9199
|
+
name: "Tez",
|
|
9200
|
+
symbol: "XTZ"
|
|
9201
|
+
},
|
|
9202
|
+
rpcUrls: {
|
|
9203
|
+
default: { http: ["https://node.mainnet.etherlink.com"] }
|
|
9204
|
+
},
|
|
9205
|
+
blockExplorers: {
|
|
9206
|
+
default: {
|
|
9207
|
+
name: "Etherlink",
|
|
9208
|
+
url: "https://explorer.etherlink.com"
|
|
9209
|
+
}
|
|
9210
|
+
},
|
|
9211
|
+
contracts: {
|
|
9212
|
+
multicall3: {
|
|
9213
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
9214
|
+
blockCreated: 33899
|
|
9215
|
+
}
|
|
9216
|
+
}
|
|
9217
|
+
});
|
|
9218
|
+
|
|
9219
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/fantom.js
|
|
9169
9220
|
var fantom = /* @__PURE__ */ defineChain({
|
|
9170
9221
|
id: 250,
|
|
9171
9222
|
name: "Fantom",
|
|
@@ -9192,7 +9243,7 @@ var fantom = /* @__PURE__ */ defineChain({
|
|
|
9192
9243
|
}
|
|
9193
9244
|
});
|
|
9194
9245
|
|
|
9195
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
9246
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/flare.js
|
|
9196
9247
|
var flare = /* @__PURE__ */ defineChain({
|
|
9197
9248
|
id: 14,
|
|
9198
9249
|
name: "Flare Mainnet",
|
|
@@ -9219,7 +9270,7 @@ var flare = /* @__PURE__ */ defineChain({
|
|
|
9219
9270
|
}
|
|
9220
9271
|
});
|
|
9221
9272
|
|
|
9222
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
9273
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/flowMainnet.js
|
|
9223
9274
|
var flowMainnet = /* @__PURE__ */ defineChain({
|
|
9224
9275
|
id: 747,
|
|
9225
9276
|
name: "Flow EVM Mainnet",
|
|
@@ -9248,7 +9299,7 @@ var flowMainnet = /* @__PURE__ */ defineChain({
|
|
|
9248
9299
|
blockTime: 800
|
|
9249
9300
|
});
|
|
9250
9301
|
|
|
9251
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
9302
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/fuse.js
|
|
9252
9303
|
var fuse = /* @__PURE__ */ defineChain({
|
|
9253
9304
|
id: 122,
|
|
9254
9305
|
name: "Fuse",
|
|
@@ -9271,7 +9322,7 @@ var fuse = /* @__PURE__ */ defineChain({
|
|
|
9271
9322
|
}
|
|
9272
9323
|
});
|
|
9273
9324
|
|
|
9274
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
9325
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/gnosis.js
|
|
9275
9326
|
var gnosis = /* @__PURE__ */ defineChain({
|
|
9276
9327
|
id: 100,
|
|
9277
9328
|
name: "Gnosis",
|
|
@@ -9302,7 +9353,7 @@ var gnosis = /* @__PURE__ */ defineChain({
|
|
|
9302
9353
|
}
|
|
9303
9354
|
});
|
|
9304
9355
|
|
|
9305
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
9356
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/goat.js
|
|
9306
9357
|
var goat = /* @__PURE__ */ defineChain({
|
|
9307
9358
|
id: 2345,
|
|
9308
9359
|
name: "GOAT",
|
|
@@ -9328,7 +9379,7 @@ var goat = /* @__PURE__ */ defineChain({
|
|
|
9328
9379
|
}
|
|
9329
9380
|
});
|
|
9330
9381
|
|
|
9331
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
9382
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/gravity.js
|
|
9332
9383
|
var gravity = /* @__PURE__ */ defineChain({
|
|
9333
9384
|
id: 1625,
|
|
9334
9385
|
name: "Gravity Alpha Mainnet",
|
|
@@ -9353,7 +9404,7 @@ var gravity = /* @__PURE__ */ defineChain({
|
|
|
9353
9404
|
}
|
|
9354
9405
|
});
|
|
9355
9406
|
|
|
9356
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
9407
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/harmonyOne.js
|
|
9357
9408
|
var harmonyOne = /* @__PURE__ */ defineChain({
|
|
9358
9409
|
id: 16666e5,
|
|
9359
9410
|
name: "Harmony One",
|
|
@@ -9379,7 +9430,7 @@ var harmonyOne = /* @__PURE__ */ defineChain({
|
|
|
9379
9430
|
}
|
|
9380
9431
|
});
|
|
9381
9432
|
|
|
9382
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
9433
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/hemi.js
|
|
9383
9434
|
var hemi = /* @__PURE__ */ defineChain({
|
|
9384
9435
|
id: 43111,
|
|
9385
9436
|
name: "Hemi",
|
|
@@ -9404,7 +9455,7 @@ var hemi = /* @__PURE__ */ defineChain({
|
|
|
9404
9455
|
testnet: false
|
|
9405
9456
|
});
|
|
9406
9457
|
|
|
9407
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
9458
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/inEVM.js
|
|
9408
9459
|
var inEVM = /* @__PURE__ */ defineChain({
|
|
9409
9460
|
id: 2525,
|
|
9410
9461
|
name: "inEVM Mainnet",
|
|
@@ -9431,7 +9482,7 @@ var inEVM = /* @__PURE__ */ defineChain({
|
|
|
9431
9482
|
}
|
|
9432
9483
|
});
|
|
9433
9484
|
|
|
9434
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
9485
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/ink.js
|
|
9435
9486
|
var sourceId6 = 1;
|
|
9436
9487
|
var ink = /* @__PURE__ */ defineChain({
|
|
9437
9488
|
...chainConfig2,
|
|
@@ -9483,7 +9534,7 @@ var ink = /* @__PURE__ */ defineChain({
|
|
|
9483
9534
|
sourceId: sourceId6
|
|
9484
9535
|
});
|
|
9485
9536
|
|
|
9486
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
9537
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/iota.js
|
|
9487
9538
|
var iota = /* @__PURE__ */ defineChain({
|
|
9488
9539
|
id: 8822,
|
|
9489
9540
|
name: "IOTA EVM",
|
|
@@ -9514,7 +9565,7 @@ var iota = /* @__PURE__ */ defineChain({
|
|
|
9514
9565
|
}
|
|
9515
9566
|
});
|
|
9516
9567
|
|
|
9517
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
9568
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/iotex.js
|
|
9518
9569
|
var iotex = /* @__PURE__ */ defineChain({
|
|
9519
9570
|
id: 4689,
|
|
9520
9571
|
name: "IoTeX",
|
|
@@ -9543,7 +9594,7 @@ var iotex = /* @__PURE__ */ defineChain({
|
|
|
9543
9594
|
}
|
|
9544
9595
|
});
|
|
9545
9596
|
|
|
9546
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
9597
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/kaia.js
|
|
9547
9598
|
var kaia = /* @__PURE__ */ defineChain({
|
|
9548
9599
|
id: 8217,
|
|
9549
9600
|
name: "Kaia",
|
|
@@ -9570,7 +9621,7 @@ var kaia = /* @__PURE__ */ defineChain({
|
|
|
9570
9621
|
}
|
|
9571
9622
|
});
|
|
9572
9623
|
|
|
9573
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
9624
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/kava.js
|
|
9574
9625
|
var kava = /* @__PURE__ */ defineChain({
|
|
9575
9626
|
id: 2222,
|
|
9576
9627
|
name: "Kava EVM",
|
|
@@ -9599,7 +9650,7 @@ var kava = /* @__PURE__ */ defineChain({
|
|
|
9599
9650
|
testnet: false
|
|
9600
9651
|
});
|
|
9601
9652
|
|
|
9602
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
9653
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/lightlinkPhoenix.js
|
|
9603
9654
|
var lightlinkPhoenix = /* @__PURE__ */ defineChain({
|
|
9604
9655
|
id: 1890,
|
|
9605
9656
|
name: "LightLink Phoenix Mainnet",
|
|
@@ -9629,7 +9680,7 @@ var lightlinkPhoenix = /* @__PURE__ */ defineChain({
|
|
|
9629
9680
|
testnet: false
|
|
9630
9681
|
});
|
|
9631
9682
|
|
|
9632
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
9683
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/linea/actions/estimateGas.js
|
|
9633
9684
|
async function estimateGas2(client, args) {
|
|
9634
9685
|
const { account: account_ = client.account } = args;
|
|
9635
9686
|
if (!account_)
|
|
@@ -9674,7 +9725,7 @@ async function estimateGas2(client, args) {
|
|
|
9674
9725
|
}
|
|
9675
9726
|
}
|
|
9676
9727
|
|
|
9677
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
9728
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/linea/chainConfig.js
|
|
9678
9729
|
var chainConfig4 = {
|
|
9679
9730
|
fees: {
|
|
9680
9731
|
estimateFeesPerGas: estimateFeesPerGas2,
|
|
@@ -9712,7 +9763,7 @@ async function estimateFeesPerGas2({ client, multiply, request, type }) {
|
|
|
9712
9763
|
}
|
|
9713
9764
|
}
|
|
9714
9765
|
|
|
9715
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
9766
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/linea.js
|
|
9716
9767
|
var linea = /* @__PURE__ */ defineChain({
|
|
9717
9768
|
...chainConfig4,
|
|
9718
9769
|
id: 59144,
|
|
@@ -9750,7 +9801,55 @@ var linea = /* @__PURE__ */ defineChain({
|
|
|
9750
9801
|
testnet: false
|
|
9751
9802
|
});
|
|
9752
9803
|
|
|
9753
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
9804
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/lisk.js
|
|
9805
|
+
var sourceId7 = 1;
|
|
9806
|
+
var lisk = /* @__PURE__ */ defineChain({
|
|
9807
|
+
...chainConfig2,
|
|
9808
|
+
id: 1135,
|
|
9809
|
+
name: "Lisk",
|
|
9810
|
+
network: "lisk",
|
|
9811
|
+
nativeCurrency: {
|
|
9812
|
+
decimals: 18,
|
|
9813
|
+
name: "Ether",
|
|
9814
|
+
symbol: "ETH"
|
|
9815
|
+
},
|
|
9816
|
+
rpcUrls: {
|
|
9817
|
+
default: {
|
|
9818
|
+
http: ["https://rpc.api.lisk.com"]
|
|
9819
|
+
}
|
|
9820
|
+
},
|
|
9821
|
+
blockExplorers: {
|
|
9822
|
+
default: {
|
|
9823
|
+
name: "Blockscout",
|
|
9824
|
+
url: "https://blockscout.lisk.com",
|
|
9825
|
+
apiUrl: "https://blockscout.lisk.com/api"
|
|
9826
|
+
}
|
|
9827
|
+
},
|
|
9828
|
+
contracts: {
|
|
9829
|
+
...chainConfig2.contracts,
|
|
9830
|
+
multicall3: {
|
|
9831
|
+
address: "0xA9d71E1dd7ca26F26e656E66d6AA81ed7f745bf0"
|
|
9832
|
+
},
|
|
9833
|
+
l2OutputOracle: {
|
|
9834
|
+
[sourceId7]: {
|
|
9835
|
+
address: "0x113cB99283AF242Da0A0C54347667edF531Aa7d6"
|
|
9836
|
+
}
|
|
9837
|
+
},
|
|
9838
|
+
portal: {
|
|
9839
|
+
[sourceId7]: {
|
|
9840
|
+
address: "0x26dB93F8b8b4f7016240af62F7730979d353f9A7"
|
|
9841
|
+
}
|
|
9842
|
+
},
|
|
9843
|
+
l1StandardBridge: {
|
|
9844
|
+
[sourceId7]: {
|
|
9845
|
+
address: "0x2658723Bf70c7667De6B25F99fcce13A16D25d08"
|
|
9846
|
+
}
|
|
9847
|
+
}
|
|
9848
|
+
},
|
|
9849
|
+
sourceId: sourceId7
|
|
9850
|
+
});
|
|
9851
|
+
|
|
9852
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/mainnet.js
|
|
9754
9853
|
var mainnet = /* @__PURE__ */ defineChain({
|
|
9755
9854
|
id: 1,
|
|
9756
9855
|
name: "Ethereum",
|
|
@@ -9780,7 +9879,7 @@ var mainnet = /* @__PURE__ */ defineChain({
|
|
|
9780
9879
|
}
|
|
9781
9880
|
});
|
|
9782
9881
|
|
|
9783
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
9882
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/manta.js
|
|
9784
9883
|
var manta = /* @__PURE__ */ defineChain({
|
|
9785
9884
|
id: 169,
|
|
9786
9885
|
name: "Manta Pacific Mainnet",
|
|
@@ -9808,7 +9907,7 @@ var manta = /* @__PURE__ */ defineChain({
|
|
|
9808
9907
|
}
|
|
9809
9908
|
});
|
|
9810
9909
|
|
|
9811
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
9910
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/mantle.js
|
|
9812
9911
|
var mantle = /* @__PURE__ */ defineChain({
|
|
9813
9912
|
id: 5e3,
|
|
9814
9913
|
name: "Mantle",
|
|
@@ -9835,7 +9934,43 @@ var mantle = /* @__PURE__ */ defineChain({
|
|
|
9835
9934
|
}
|
|
9836
9935
|
});
|
|
9837
9936
|
|
|
9838
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
9937
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/megaeth.js
|
|
9938
|
+
var megaeth = /* @__PURE__ */ defineChain({
|
|
9939
|
+
id: 4326,
|
|
9940
|
+
blockTime: 1e3,
|
|
9941
|
+
name: "MegaETH",
|
|
9942
|
+
nativeCurrency: {
|
|
9943
|
+
name: "Ether",
|
|
9944
|
+
symbol: "ETH",
|
|
9945
|
+
decimals: 18
|
|
9946
|
+
},
|
|
9947
|
+
rpcUrls: {
|
|
9948
|
+
default: {
|
|
9949
|
+
http: ["https://mainnet.megaeth.com/rpc"],
|
|
9950
|
+
webSocket: ["wss://mainnet.megaeth.com/ws"]
|
|
9951
|
+
}
|
|
9952
|
+
},
|
|
9953
|
+
blockExplorers: {
|
|
9954
|
+
default: {
|
|
9955
|
+
name: "Etherscan",
|
|
9956
|
+
url: "https://mega.etherscan.io",
|
|
9957
|
+
apiUrl: "https://api.etherscan.io/v2/api"
|
|
9958
|
+
},
|
|
9959
|
+
blockscout: {
|
|
9960
|
+
name: "Etherscan",
|
|
9961
|
+
url: "https://mega.etherscan.io",
|
|
9962
|
+
apiUrl: "https://api.etherscan.io/v2/api"
|
|
9963
|
+
}
|
|
9964
|
+
},
|
|
9965
|
+
contracts: {
|
|
9966
|
+
multicall3: {
|
|
9967
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
9968
|
+
blockCreated: 0
|
|
9969
|
+
}
|
|
9970
|
+
}
|
|
9971
|
+
});
|
|
9972
|
+
|
|
9973
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/merlin.js
|
|
9839
9974
|
var merlin = /* @__PURE__ */ defineChain({
|
|
9840
9975
|
id: 4200,
|
|
9841
9976
|
name: "Merlin",
|
|
@@ -9856,7 +9991,7 @@ var merlin = /* @__PURE__ */ defineChain({
|
|
|
9856
9991
|
}
|
|
9857
9992
|
});
|
|
9858
9993
|
|
|
9859
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
9994
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/meter.js
|
|
9860
9995
|
var meter = /* @__PURE__ */ defineChain({
|
|
9861
9996
|
id: 82,
|
|
9862
9997
|
name: "Meter",
|
|
@@ -9876,7 +10011,7 @@ var meter = /* @__PURE__ */ defineChain({
|
|
|
9876
10011
|
}
|
|
9877
10012
|
});
|
|
9878
10013
|
|
|
9879
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
10014
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/metis.js
|
|
9880
10015
|
var metis = /* @__PURE__ */ defineChain({
|
|
9881
10016
|
id: 1088,
|
|
9882
10017
|
name: "Metis",
|
|
@@ -9915,8 +10050,8 @@ var metis = /* @__PURE__ */ defineChain({
|
|
|
9915
10050
|
}
|
|
9916
10051
|
});
|
|
9917
10052
|
|
|
9918
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
9919
|
-
var
|
|
10053
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/mode.js
|
|
10054
|
+
var sourceId8 = 1;
|
|
9920
10055
|
var mode = /* @__PURE__ */ defineChain({
|
|
9921
10056
|
...chainConfig2,
|
|
9922
10057
|
id: 34443,
|
|
@@ -9940,25 +10075,25 @@ var mode = /* @__PURE__ */ defineChain({
|
|
|
9940
10075
|
blockCreated: 2465882
|
|
9941
10076
|
},
|
|
9942
10077
|
l2OutputOracle: {
|
|
9943
|
-
[
|
|
10078
|
+
[sourceId8]: {
|
|
9944
10079
|
address: "0x4317ba146D4933D889518a3e5E11Fe7a53199b04"
|
|
9945
10080
|
}
|
|
9946
10081
|
},
|
|
9947
10082
|
portal: {
|
|
9948
|
-
[
|
|
10083
|
+
[sourceId8]: {
|
|
9949
10084
|
address: "0x8B34b14c7c7123459Cf3076b8Cb929BE097d0C07"
|
|
9950
10085
|
}
|
|
9951
10086
|
},
|
|
9952
10087
|
l1StandardBridge: {
|
|
9953
|
-
[
|
|
10088
|
+
[sourceId8]: {
|
|
9954
10089
|
address: "0x735aDBbE72226BD52e818E7181953f42E3b0FF21"
|
|
9955
10090
|
}
|
|
9956
10091
|
}
|
|
9957
10092
|
},
|
|
9958
|
-
sourceId:
|
|
10093
|
+
sourceId: sourceId8
|
|
9959
10094
|
});
|
|
9960
10095
|
|
|
9961
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
10096
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/moonbeam.js
|
|
9962
10097
|
var moonbeam = /* @__PURE__ */ defineChain({
|
|
9963
10098
|
id: 1284,
|
|
9964
10099
|
name: "Moonbeam",
|
|
@@ -9989,7 +10124,7 @@ var moonbeam = /* @__PURE__ */ defineChain({
|
|
|
9989
10124
|
testnet: false
|
|
9990
10125
|
});
|
|
9991
10126
|
|
|
9992
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
10127
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/morph.js
|
|
9993
10128
|
var morph = /* @__PURE__ */ defineChain({
|
|
9994
10129
|
id: 2818,
|
|
9995
10130
|
name: "Morph",
|
|
@@ -10019,7 +10154,7 @@ var morph = /* @__PURE__ */ defineChain({
|
|
|
10019
10154
|
testnet: false
|
|
10020
10155
|
});
|
|
10021
10156
|
|
|
10022
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
10157
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/neonMainnet.js
|
|
10023
10158
|
var neonMainnet = /* @__PURE__ */ defineChain({
|
|
10024
10159
|
id: 245022934,
|
|
10025
10160
|
network: "neonMainnet",
|
|
@@ -10045,8 +10180,8 @@ var neonMainnet = /* @__PURE__ */ defineChain({
|
|
|
10045
10180
|
testnet: false
|
|
10046
10181
|
});
|
|
10047
10182
|
|
|
10048
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
10049
|
-
var
|
|
10183
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/opBNB.js
|
|
10184
|
+
var sourceId9 = 56;
|
|
10050
10185
|
var opBNB = /* @__PURE__ */ defineChain({
|
|
10051
10186
|
id: 204,
|
|
10052
10187
|
name: "opBNB",
|
|
@@ -10072,26 +10207,26 @@ var opBNB = /* @__PURE__ */ defineChain({
|
|
|
10072
10207
|
blockCreated: 512881
|
|
10073
10208
|
},
|
|
10074
10209
|
l2OutputOracle: {
|
|
10075
|
-
[
|
|
10210
|
+
[sourceId9]: {
|
|
10076
10211
|
address: "0x153CAB79f4767E2ff862C94aa49573294B13D169"
|
|
10077
10212
|
}
|
|
10078
10213
|
},
|
|
10079
10214
|
portal: {
|
|
10080
|
-
[
|
|
10215
|
+
[sourceId9]: {
|
|
10081
10216
|
address: "0x1876EA7702C0ad0C6A2ae6036DE7733edfBca519"
|
|
10082
10217
|
}
|
|
10083
10218
|
},
|
|
10084
10219
|
l1StandardBridge: {
|
|
10085
|
-
[
|
|
10220
|
+
[sourceId9]: {
|
|
10086
10221
|
address: "0xF05F0e4362859c3331Cb9395CBC201E3Fa6757Ea"
|
|
10087
10222
|
}
|
|
10088
10223
|
}
|
|
10089
10224
|
},
|
|
10090
|
-
sourceId:
|
|
10225
|
+
sourceId: sourceId9
|
|
10091
10226
|
});
|
|
10092
10227
|
|
|
10093
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
10094
|
-
var
|
|
10228
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/optimism.js
|
|
10229
|
+
var sourceId10 = 1;
|
|
10095
10230
|
var optimism = /* @__PURE__ */ defineChain({
|
|
10096
10231
|
...chainConfig2,
|
|
10097
10232
|
id: 10,
|
|
@@ -10112,12 +10247,12 @@ var optimism = /* @__PURE__ */ defineChain({
|
|
|
10112
10247
|
contracts: {
|
|
10113
10248
|
...chainConfig2.contracts,
|
|
10114
10249
|
disputeGameFactory: {
|
|
10115
|
-
[
|
|
10250
|
+
[sourceId10]: {
|
|
10116
10251
|
address: "0xe5965Ab5962eDc7477C8520243A95517CD252fA9"
|
|
10117
10252
|
}
|
|
10118
10253
|
},
|
|
10119
10254
|
l2OutputOracle: {
|
|
10120
|
-
[
|
|
10255
|
+
[sourceId10]: {
|
|
10121
10256
|
address: "0xdfe97868233d1aa22e815a266982f2cf17685a27"
|
|
10122
10257
|
}
|
|
10123
10258
|
},
|
|
@@ -10126,20 +10261,20 @@ var optimism = /* @__PURE__ */ defineChain({
|
|
|
10126
10261
|
blockCreated: 4286263
|
|
10127
10262
|
},
|
|
10128
10263
|
portal: {
|
|
10129
|
-
[
|
|
10264
|
+
[sourceId10]: {
|
|
10130
10265
|
address: "0xbEb5Fc579115071764c7423A4f12eDde41f106Ed"
|
|
10131
10266
|
}
|
|
10132
10267
|
},
|
|
10133
10268
|
l1StandardBridge: {
|
|
10134
|
-
[
|
|
10269
|
+
[sourceId10]: {
|
|
10135
10270
|
address: "0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1"
|
|
10136
10271
|
}
|
|
10137
10272
|
}
|
|
10138
10273
|
},
|
|
10139
|
-
sourceId:
|
|
10274
|
+
sourceId: sourceId10
|
|
10140
10275
|
});
|
|
10141
10276
|
|
|
10142
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
10277
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/peaq.js
|
|
10143
10278
|
var peaq = /* @__PURE__ */ defineChain({
|
|
10144
10279
|
id: 3338,
|
|
10145
10280
|
name: "Peaq",
|
|
@@ -10176,8 +10311,8 @@ var peaq = /* @__PURE__ */ defineChain({
|
|
|
10176
10311
|
}
|
|
10177
10312
|
});
|
|
10178
10313
|
|
|
10179
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
10180
|
-
var
|
|
10314
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/plume.js
|
|
10315
|
+
var sourceId11 = 1;
|
|
10181
10316
|
var plume = /* @__PURE__ */ defineChain({
|
|
10182
10317
|
id: 98865,
|
|
10183
10318
|
name: "Plume (Legacy)",
|
|
@@ -10205,10 +10340,42 @@ var plume = /* @__PURE__ */ defineChain({
|
|
|
10205
10340
|
blockCreated: 48577
|
|
10206
10341
|
}
|
|
10207
10342
|
},
|
|
10208
|
-
sourceId:
|
|
10343
|
+
sourceId: sourceId11
|
|
10344
|
+
});
|
|
10345
|
+
|
|
10346
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/plumeMainnet.js
|
|
10347
|
+
var sourceId12 = 1;
|
|
10348
|
+
var plumeMainnet = /* @__PURE__ */ defineChain({
|
|
10349
|
+
id: 98866,
|
|
10350
|
+
name: "Plume",
|
|
10351
|
+
nativeCurrency: {
|
|
10352
|
+
name: "Plume",
|
|
10353
|
+
symbol: "PLUME",
|
|
10354
|
+
decimals: 18
|
|
10355
|
+
},
|
|
10356
|
+
rpcUrls: {
|
|
10357
|
+
default: {
|
|
10358
|
+
http: ["https://rpc.plume.org"],
|
|
10359
|
+
webSocket: ["wss://rpc.plume.org"]
|
|
10360
|
+
}
|
|
10361
|
+
},
|
|
10362
|
+
blockExplorers: {
|
|
10363
|
+
default: {
|
|
10364
|
+
name: "Blockscout",
|
|
10365
|
+
url: "https://explorer.plume.org",
|
|
10366
|
+
apiUrl: "https://explorer.plume.org/api"
|
|
10367
|
+
}
|
|
10368
|
+
},
|
|
10369
|
+
contracts: {
|
|
10370
|
+
multicall3: {
|
|
10371
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
10372
|
+
blockCreated: 39679
|
|
10373
|
+
}
|
|
10374
|
+
},
|
|
10375
|
+
sourceId: sourceId12
|
|
10209
10376
|
});
|
|
10210
10377
|
|
|
10211
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
10378
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/polygon.js
|
|
10212
10379
|
var polygon = /* @__PURE__ */ defineChain({
|
|
10213
10380
|
id: 137,
|
|
10214
10381
|
name: "Polygon",
|
|
@@ -10234,7 +10401,7 @@ var polygon = /* @__PURE__ */ defineChain({
|
|
|
10234
10401
|
}
|
|
10235
10402
|
});
|
|
10236
10403
|
|
|
10237
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
10404
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/pulsechain.js
|
|
10238
10405
|
var pulsechain = /* @__PURE__ */ defineChain({
|
|
10239
10406
|
id: 369,
|
|
10240
10407
|
name: "PulseChain",
|
|
@@ -10265,7 +10432,7 @@ var pulsechain = /* @__PURE__ */ defineChain({
|
|
|
10265
10432
|
}
|
|
10266
10433
|
});
|
|
10267
10434
|
|
|
10268
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
10435
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/ronin.js
|
|
10269
10436
|
var ronin = /* @__PURE__ */ defineChain({
|
|
10270
10437
|
id: 2020,
|
|
10271
10438
|
name: "Ronin",
|
|
@@ -10289,7 +10456,7 @@ var ronin = /* @__PURE__ */ defineChain({
|
|
|
10289
10456
|
}
|
|
10290
10457
|
});
|
|
10291
10458
|
|
|
10292
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
10459
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/rootstock.js
|
|
10293
10460
|
var rootstock = /* @__PURE__ */ defineChain({
|
|
10294
10461
|
id: 30,
|
|
10295
10462
|
name: "Rootstock Mainnet",
|
|
@@ -10316,7 +10483,7 @@ var rootstock = /* @__PURE__ */ defineChain({
|
|
|
10316
10483
|
}
|
|
10317
10484
|
});
|
|
10318
10485
|
|
|
10319
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
10486
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/scroll.js
|
|
10320
10487
|
var scroll = /* @__PURE__ */ defineChain({
|
|
10321
10488
|
id: 534352,
|
|
10322
10489
|
name: "Scroll",
|
|
@@ -10344,7 +10511,7 @@ var scroll = /* @__PURE__ */ defineChain({
|
|
|
10344
10511
|
testnet: false
|
|
10345
10512
|
});
|
|
10346
10513
|
|
|
10347
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
10514
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/sei.js
|
|
10348
10515
|
var sei = /* @__PURE__ */ defineChain({
|
|
10349
10516
|
id: 1329,
|
|
10350
10517
|
name: "Sei Network",
|
|
@@ -10369,8 +10536,8 @@ var sei = /* @__PURE__ */ defineChain({
|
|
|
10369
10536
|
}
|
|
10370
10537
|
});
|
|
10371
10538
|
|
|
10372
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
10373
|
-
var
|
|
10539
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/soneium.js
|
|
10540
|
+
var sourceId13 = 1;
|
|
10374
10541
|
var soneium = /* @__PURE__ */ defineChain({
|
|
10375
10542
|
...chainConfig2,
|
|
10376
10543
|
id: 1868,
|
|
@@ -10391,23 +10558,23 @@ var soneium = /* @__PURE__ */ defineChain({
|
|
|
10391
10558
|
contracts: {
|
|
10392
10559
|
...chainConfig2.contracts,
|
|
10393
10560
|
disputeGameFactory: {
|
|
10394
|
-
[
|
|
10561
|
+
[sourceId13]: {
|
|
10395
10562
|
address: "0x512a3d2c7a43bd9261d2b8e8c9c70d4bd4d503c0"
|
|
10396
10563
|
}
|
|
10397
10564
|
},
|
|
10398
10565
|
l2OutputOracle: {
|
|
10399
|
-
[
|
|
10566
|
+
[sourceId13]: {
|
|
10400
10567
|
address: "0x0000000000000000000000000000000000000000"
|
|
10401
10568
|
}
|
|
10402
10569
|
},
|
|
10403
10570
|
portal: {
|
|
10404
|
-
[
|
|
10571
|
+
[sourceId13]: {
|
|
10405
10572
|
address: "0x88e529a6ccd302c948689cd5156c83d4614fae92",
|
|
10406
10573
|
blockCreated: 7061266
|
|
10407
10574
|
}
|
|
10408
10575
|
},
|
|
10409
10576
|
l1StandardBridge: {
|
|
10410
|
-
[
|
|
10577
|
+
[sourceId13]: {
|
|
10411
10578
|
address: "0xeb9bf100225c214efc3e7c651ebbadcf85177607",
|
|
10412
10579
|
blockCreated: 7061266
|
|
10413
10580
|
}
|
|
@@ -10417,10 +10584,10 @@ var soneium = /* @__PURE__ */ defineChain({
|
|
|
10417
10584
|
blockCreated: 1
|
|
10418
10585
|
}
|
|
10419
10586
|
},
|
|
10420
|
-
sourceId:
|
|
10587
|
+
sourceId: sourceId13
|
|
10421
10588
|
});
|
|
10422
10589
|
|
|
10423
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
10590
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/sonic.js
|
|
10424
10591
|
var sonic = /* @__PURE__ */ defineChain({
|
|
10425
10592
|
id: 146,
|
|
10426
10593
|
name: "Sonic",
|
|
@@ -10448,7 +10615,39 @@ var sonic = /* @__PURE__ */ defineChain({
|
|
|
10448
10615
|
testnet: false
|
|
10449
10616
|
});
|
|
10450
10617
|
|
|
10451
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
10618
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/stable.js
|
|
10619
|
+
var stable = /* @__PURE__ */ defineChain({
|
|
10620
|
+
id: 988,
|
|
10621
|
+
name: "Stable Mainnet",
|
|
10622
|
+
blockTime: 700,
|
|
10623
|
+
nativeCurrency: {
|
|
10624
|
+
name: "USDT0",
|
|
10625
|
+
symbol: "USDT0",
|
|
10626
|
+
decimals: 18
|
|
10627
|
+
},
|
|
10628
|
+
rpcUrls: {
|
|
10629
|
+
default: {
|
|
10630
|
+
http: ["https://rpc.stable.xyz"],
|
|
10631
|
+
webSocket: ["wss://rpc.stable.xyz"]
|
|
10632
|
+
}
|
|
10633
|
+
},
|
|
10634
|
+
blockExplorers: {
|
|
10635
|
+
default: {
|
|
10636
|
+
name: "Stablescan",
|
|
10637
|
+
url: "https://stablescan.xyz",
|
|
10638
|
+
apiUrl: "https://api.etherscan.io/v2/api?chainid=988"
|
|
10639
|
+
}
|
|
10640
|
+
},
|
|
10641
|
+
contracts: {
|
|
10642
|
+
multicall3: {
|
|
10643
|
+
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
10644
|
+
blockCreated: 2423647
|
|
10645
|
+
}
|
|
10646
|
+
},
|
|
10647
|
+
testnet: false
|
|
10648
|
+
});
|
|
10649
|
+
|
|
10650
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/story.js
|
|
10452
10651
|
var story = /* @__PURE__ */ defineChain({
|
|
10453
10652
|
id: 1514,
|
|
10454
10653
|
name: "Story",
|
|
@@ -10485,7 +10684,7 @@ var story = /* @__PURE__ */ defineChain({
|
|
|
10485
10684
|
testnet: false
|
|
10486
10685
|
});
|
|
10487
10686
|
|
|
10488
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
10687
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/superposition.js
|
|
10489
10688
|
var superposition = /* @__PURE__ */ defineChain({
|
|
10490
10689
|
id: 55244,
|
|
10491
10690
|
name: "Superposition",
|
|
@@ -10508,7 +10707,7 @@ var superposition = /* @__PURE__ */ defineChain({
|
|
|
10508
10707
|
testnet: false
|
|
10509
10708
|
});
|
|
10510
10709
|
|
|
10511
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
10710
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/taiko.js
|
|
10512
10711
|
var taiko = /* @__PURE__ */ defineChain({
|
|
10513
10712
|
id: 167e3,
|
|
10514
10713
|
name: "Taiko Mainnet",
|
|
@@ -10537,7 +10736,7 @@ var taiko = /* @__PURE__ */ defineChain({
|
|
|
10537
10736
|
}
|
|
10538
10737
|
});
|
|
10539
10738
|
|
|
10540
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
10739
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/taraxa.js
|
|
10541
10740
|
var taraxa = /* @__PURE__ */ defineChain({
|
|
10542
10741
|
id: 841,
|
|
10543
10742
|
name: "Taraxa Mainnet",
|
|
@@ -10555,7 +10754,7 @@ var taraxa = /* @__PURE__ */ defineChain({
|
|
|
10555
10754
|
}
|
|
10556
10755
|
});
|
|
10557
10756
|
|
|
10558
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
10757
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/telos.js
|
|
10559
10758
|
var telos = /* @__PURE__ */ defineChain({
|
|
10560
10759
|
id: 40,
|
|
10561
10760
|
name: "Telos",
|
|
@@ -10581,8 +10780,8 @@ var telos = /* @__PURE__ */ defineChain({
|
|
|
10581
10780
|
}
|
|
10582
10781
|
});
|
|
10583
10782
|
|
|
10584
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
10585
|
-
var
|
|
10783
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/unichain.js
|
|
10784
|
+
var sourceId14 = 1;
|
|
10586
10785
|
var unichain = /* @__PURE__ */ defineChain({
|
|
10587
10786
|
...chainConfig2,
|
|
10588
10787
|
id: 130,
|
|
@@ -10608,25 +10807,25 @@ var unichain = /* @__PURE__ */ defineChain({
|
|
|
10608
10807
|
blockCreated: 0
|
|
10609
10808
|
},
|
|
10610
10809
|
disputeGameFactory: {
|
|
10611
|
-
[
|
|
10810
|
+
[sourceId14]: {
|
|
10612
10811
|
address: "0x2F12d621a16e2d3285929C9996f478508951dFe4"
|
|
10613
10812
|
}
|
|
10614
10813
|
},
|
|
10615
10814
|
portal: {
|
|
10616
|
-
[
|
|
10815
|
+
[sourceId14]: {
|
|
10617
10816
|
address: "0x0bd48f6B86a26D3a217d0Fa6FfE2B491B956A7a2"
|
|
10618
10817
|
}
|
|
10619
10818
|
},
|
|
10620
10819
|
l1StandardBridge: {
|
|
10621
|
-
[
|
|
10820
|
+
[sourceId14]: {
|
|
10622
10821
|
address: "0x81014F44b0a345033bB2b3B21C7a1A308B35fEeA"
|
|
10623
10822
|
}
|
|
10624
10823
|
}
|
|
10625
10824
|
},
|
|
10626
|
-
sourceId:
|
|
10825
|
+
sourceId: sourceId14
|
|
10627
10826
|
});
|
|
10628
10827
|
|
|
10629
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
10828
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/vana.js
|
|
10630
10829
|
var vana = /* @__PURE__ */ defineChain({
|
|
10631
10830
|
id: 1480,
|
|
10632
10831
|
name: "Vana",
|
|
@@ -10654,7 +10853,7 @@ var vana = /* @__PURE__ */ defineChain({
|
|
|
10654
10853
|
}
|
|
10655
10854
|
});
|
|
10656
10855
|
|
|
10657
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
10856
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/vanar.js
|
|
10658
10857
|
var vanar = /* @__PURE__ */ defineChain({
|
|
10659
10858
|
id: 2040,
|
|
10660
10859
|
name: "Vanar Mainnet",
|
|
@@ -10673,8 +10872,8 @@ var vanar = /* @__PURE__ */ defineChain({
|
|
|
10673
10872
|
testnet: false
|
|
10674
10873
|
});
|
|
10675
10874
|
|
|
10676
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
10677
|
-
var
|
|
10875
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/worldchain.js
|
|
10876
|
+
var sourceId15 = 1;
|
|
10678
10877
|
var worldchain = /* @__PURE__ */ defineChain({
|
|
10679
10878
|
...chainConfig2,
|
|
10680
10879
|
id: 480,
|
|
@@ -10703,31 +10902,31 @@ var worldchain = /* @__PURE__ */ defineChain({
|
|
|
10703
10902
|
blockCreated: 0
|
|
10704
10903
|
},
|
|
10705
10904
|
disputeGameFactory: {
|
|
10706
|
-
[
|
|
10905
|
+
[sourceId15]: {
|
|
10707
10906
|
address: "0x069c4c579671f8c120b1327a73217D01Ea2EC5ea"
|
|
10708
10907
|
}
|
|
10709
10908
|
},
|
|
10710
10909
|
l2OutputOracle: {
|
|
10711
|
-
[
|
|
10910
|
+
[sourceId15]: {
|
|
10712
10911
|
address: "0x19A6d1E9034596196295CF148509796978343c5D"
|
|
10713
10912
|
}
|
|
10714
10913
|
},
|
|
10715
10914
|
portal: {
|
|
10716
|
-
[
|
|
10915
|
+
[sourceId15]: {
|
|
10717
10916
|
address: "0xd5ec14a83B7d95BE1E2Ac12523e2dEE12Cbeea6C"
|
|
10718
10917
|
}
|
|
10719
10918
|
},
|
|
10720
10919
|
l1StandardBridge: {
|
|
10721
|
-
[
|
|
10920
|
+
[sourceId15]: {
|
|
10722
10921
|
address: "0x470458C91978D2d929704489Ad730DC3E3001113"
|
|
10723
10922
|
}
|
|
10724
10923
|
}
|
|
10725
10924
|
},
|
|
10726
10925
|
testnet: false,
|
|
10727
|
-
sourceId:
|
|
10926
|
+
sourceId: sourceId15
|
|
10728
10927
|
});
|
|
10729
10928
|
|
|
10730
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
10929
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/xdc.js
|
|
10731
10930
|
var xdc = /* @__PURE__ */ defineChain({
|
|
10732
10931
|
id: 50,
|
|
10733
10932
|
name: "XDC Network",
|
|
@@ -10753,7 +10952,7 @@ var xdc = /* @__PURE__ */ defineChain({
|
|
|
10753
10952
|
}
|
|
10754
10953
|
});
|
|
10755
10954
|
|
|
10756
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
10955
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/xLayer.js
|
|
10757
10956
|
var xLayer = /* @__PURE__ */ defineChain({
|
|
10758
10957
|
id: 196,
|
|
10759
10958
|
name: "X Layer Mainnet",
|
|
@@ -10780,7 +10979,7 @@ var xLayer = /* @__PURE__ */ defineChain({
|
|
|
10780
10979
|
}
|
|
10781
10980
|
});
|
|
10782
10981
|
|
|
10783
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
10982
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/zetachain.js
|
|
10784
10983
|
var zetachain = /* @__PURE__ */ defineChain({
|
|
10785
10984
|
id: 7e3,
|
|
10786
10985
|
name: "ZetaChain",
|
|
@@ -10809,8 +11008,8 @@ var zetachain = /* @__PURE__ */ defineChain({
|
|
|
10809
11008
|
testnet: false
|
|
10810
11009
|
});
|
|
10811
11010
|
|
|
10812
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
10813
|
-
var
|
|
11011
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/zircuit.js
|
|
11012
|
+
var sourceId16 = 1;
|
|
10814
11013
|
var zircuit = /* @__PURE__ */ defineChain({
|
|
10815
11014
|
...chainConfig2,
|
|
10816
11015
|
id: 48900,
|
|
@@ -10841,17 +11040,17 @@ var zircuit = /* @__PURE__ */ defineChain({
|
|
|
10841
11040
|
address: "0xcA11bde05977b3631167028862bE2a173976CA11"
|
|
10842
11041
|
},
|
|
10843
11042
|
l2OutputOracle: {
|
|
10844
|
-
[
|
|
11043
|
+
[sourceId16]: {
|
|
10845
11044
|
address: "0x92Ef6Af472b39F1b363da45E35530c24619245A4"
|
|
10846
11045
|
}
|
|
10847
11046
|
},
|
|
10848
11047
|
portal: {
|
|
10849
|
-
[
|
|
11048
|
+
[sourceId16]: {
|
|
10850
11049
|
address: "0x17bfAfA932d2e23Bd9B909Fd5B4D2e2a27043fb1"
|
|
10851
11050
|
}
|
|
10852
11051
|
},
|
|
10853
11052
|
l1StandardBridge: {
|
|
10854
|
-
[
|
|
11053
|
+
[sourceId16]: {
|
|
10855
11054
|
address: "0x386B76D9cA5F5Fb150B6BFB35CF5379B22B26dd8"
|
|
10856
11055
|
}
|
|
10857
11056
|
}
|
|
@@ -10859,7 +11058,7 @@ var zircuit = /* @__PURE__ */ defineChain({
|
|
|
10859
11058
|
testnet: false
|
|
10860
11059
|
});
|
|
10861
11060
|
|
|
10862
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
11061
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/zkLinkNova.js
|
|
10863
11062
|
var zkLinkNova = /* @__PURE__ */ defineChain({
|
|
10864
11063
|
id: 810180,
|
|
10865
11064
|
name: "zkLink Nova",
|
|
@@ -10879,7 +11078,7 @@ var zkLinkNova = /* @__PURE__ */ defineChain({
|
|
|
10879
11078
|
}
|
|
10880
11079
|
});
|
|
10881
11080
|
|
|
10882
|
-
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@
|
|
11081
|
+
// ../../node_modules/.pnpm/viem@2.45.3_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@6.0.6_zod@4.3.6/node_modules/viem/_esm/chains/definitions/zksync.js
|
|
10883
11082
|
var zksync = /* @__PURE__ */ defineChain({
|
|
10884
11083
|
...chainConfig,
|
|
10885
11084
|
blockTime: 200,
|
|
@@ -11149,6 +11348,18 @@ function getEvmChain(chain) {
|
|
|
11149
11348
|
return customChains.swellchain;
|
|
11150
11349
|
case Chain.TAC_MAINNET:
|
|
11151
11350
|
return customChains.tacMainnet;
|
|
11351
|
+
case Chain.LISK:
|
|
11352
|
+
return lisk;
|
|
11353
|
+
case Chain.MEGAETH_MAINNET:
|
|
11354
|
+
return megaeth;
|
|
11355
|
+
case Chain.STABLE_MAINNET:
|
|
11356
|
+
return stable;
|
|
11357
|
+
case Chain.PLUME_MAINNET:
|
|
11358
|
+
return plumeMainnet;
|
|
11359
|
+
case Chain.ETHERLINK_MAINNET:
|
|
11360
|
+
return etherlink;
|
|
11361
|
+
case Chain.PHAROS_MAINNET:
|
|
11362
|
+
return customChains.pharosMainnet;
|
|
11152
11363
|
case Chain.ZKLINK_NOVA_MAINNET:
|
|
11153
11364
|
return {
|
|
11154
11365
|
...zkLinkNova,
|
|
@@ -11391,7 +11602,6 @@ var LIST_OVERRIDES = {
|
|
|
11391
11602
|
"https://opbnb-mainnet.nodereal.io/v1/64a9df0874fb4a93b9d0a3849de012d3",
|
|
11392
11603
|
"wss://opbnb-mainnet.nodereal.io/ws/v1/64a9df0874fb4a93b9d0a3849de012d3"
|
|
11393
11604
|
],
|
|
11394
|
-
[Chain2.X_LAYER_MAINNET]: ["https://xlayerrpc.okx.com"],
|
|
11395
11605
|
[Chain2.MANTA_PACIFIC_MAINNET]: [
|
|
11396
11606
|
"https://manta.nirvanalabs.xyz/mantapublic",
|
|
11397
11607
|
"https://manta-pacific-gascap.calderachain.xyz/http",
|
|
@@ -11452,6 +11662,47 @@ var LIST_OVERRIDES = {
|
|
|
11452
11662
|
"https://unichain.drpc.org",
|
|
11453
11663
|
"https://unichain.api.onfinality.io/public",
|
|
11454
11664
|
"https://rpc.poolz.finance/unichain"
|
|
11665
|
+
],
|
|
11666
|
+
[Chain2.X_LAYER_MAINNET]: [
|
|
11667
|
+
"https://rpc.xlayer.tech",
|
|
11668
|
+
"https://xlayer.rpc.blxrbdn.com",
|
|
11669
|
+
"https://okx-xlayer.rpc.blxrbdn.com",
|
|
11670
|
+
"https://flap-xlayer.rpc.blxrbdn.com",
|
|
11671
|
+
"https://xlayer.drpc.org",
|
|
11672
|
+
"https://rpc.sentio.xyz/xlayer-mainnet"
|
|
11673
|
+
],
|
|
11674
|
+
[Chain2.LISK]: [
|
|
11675
|
+
"https://lisk.gateway.tenderly.co",
|
|
11676
|
+
"https://lisk.drpc.org",
|
|
11677
|
+
"https://rpc.api.lisk.com"
|
|
11678
|
+
],
|
|
11679
|
+
[Chain2.MEGAETH_MAINNET]: [
|
|
11680
|
+
"https://rpc-megaeth-mainnet.globalstake.io",
|
|
11681
|
+
"https://mainnet.megaeth.com/rpc",
|
|
11682
|
+
"https://megaeth.drpc.org"
|
|
11683
|
+
],
|
|
11684
|
+
[Chain2.PLUME_MAINNET]: [
|
|
11685
|
+
"https://rpc.plume.org",
|
|
11686
|
+
"https://plume.drpc.org",
|
|
11687
|
+
"https://plume-mainnet.gateway.tatum.io"
|
|
11688
|
+
],
|
|
11689
|
+
[Chain2.PHAROS_MAINNET]: [
|
|
11690
|
+
"https://rpc.pharos.xyz",
|
|
11691
|
+
"https://infra.originstake.com/pharos/evm"
|
|
11692
|
+
],
|
|
11693
|
+
[Chain2.BOB]: [
|
|
11694
|
+
"https://rpc.gobob.xyz",
|
|
11695
|
+
"https://bob.drpc.org",
|
|
11696
|
+
"https://bob.gateway.tenderly.co",
|
|
11697
|
+
"https://rpc.sentio.xyz/bob"
|
|
11698
|
+
],
|
|
11699
|
+
[Chain2.ROOTSTOCK_MAINNET]: [
|
|
11700
|
+
"https://mycrypto.rsk.co",
|
|
11701
|
+
"https://public-node.rsk.co"
|
|
11702
|
+
],
|
|
11703
|
+
[Chain2.ETHERLINK_MAINNET]: [
|
|
11704
|
+
"https://node.mainnet.etherlink.com",
|
|
11705
|
+
"https://rpc.ankr.com/etherlink_mainnet"
|
|
11455
11706
|
]
|
|
11456
11707
|
};
|
|
11457
11708
|
|
|
@@ -11771,7 +12022,11 @@ function createMulticallRetry(customRpcs = LIST_OVERRIDES) {
|
|
|
11771
12022
|
}
|
|
11772
12023
|
}
|
|
11773
12024
|
if (isOutOfGasError(e) && batchSize > 1) {
|
|
11774
|
-
if (logErrors)
|
|
12025
|
+
if (logErrors)
|
|
12026
|
+
console.debug(
|
|
12027
|
+
`[multicall] OOG chain=${chain}`,
|
|
12028
|
+
formatViemError(e)
|
|
12029
|
+
);
|
|
11775
12030
|
return await multicallRetry2(
|
|
11776
12031
|
chain,
|
|
11777
12032
|
calls,
|
|
@@ -11789,7 +12044,7 @@ function createMulticallRetry(customRpcs = LIST_OVERRIDES) {
|
|
|
11789
12044
|
if (logErrors) {
|
|
11790
12045
|
const tag = isHttpError(e) ? "HTTP" : "unknown-transient";
|
|
11791
12046
|
console.debug(
|
|
11792
|
-
`[multicall] ${tag} error on provider ${providerId}, skipping:`,
|
|
12047
|
+
`[multicall] ${tag} error on chain=${chain} provider ${providerId}, skipping:`,
|
|
11793
12048
|
formatViemError(e)
|
|
11794
12049
|
);
|
|
11795
12050
|
}
|
|
@@ -11808,12 +12063,13 @@ function createMulticallRetry(customRpcs = LIST_OVERRIDES) {
|
|
|
11808
12063
|
}
|
|
11809
12064
|
if (maxRetries === 0) {
|
|
11810
12065
|
if (!allowFailure) throw e;
|
|
11811
|
-
if (logErrors)
|
|
12066
|
+
if (logErrors)
|
|
12067
|
+
console.debug(`[multicall] chain=${chain}`, formatViemError(e));
|
|
11812
12068
|
return Array(calls.length).fill("0x");
|
|
11813
12069
|
}
|
|
11814
12070
|
if (logErrors)
|
|
11815
12071
|
console.debug(
|
|
11816
|
-
`[multicall] retrying on provider ${providerId + 1}:`,
|
|
12072
|
+
`[multicall] retrying on chain=${chain} provider ${providerId + 1}:`,
|
|
11817
12073
|
formatViemError(e)
|
|
11818
12074
|
);
|
|
11819
12075
|
return await multicallRetry2(
|