@powerhousedao/connect 1.0.0-dev.247 → 1.0.0-dev.248

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.
Files changed (26) hide show
  1. package/LICENSE +661 -0
  2. package/dist/assets/{app-Bjaniq_f.js → app-BgY4XbK3.js} +1483 -1001
  3. package/dist/assets/{app-D9QJBr8i.css → app-CYjeY4R-.css} +113 -50
  4. package/dist/assets/{app-loader-CnDRDKWw.js → app-loader-Be1urgPw.js} +4 -4
  5. package/dist/assets/{app-loader-Bnp0H-wa.css → app-loader-DC8DXqh9.css} +129 -18
  6. package/dist/assets/{ccip-BIN6bp0k.js → ccip-KX_YlO62.js} +3 -3
  7. package/dist/assets/{content-CT8IEBqv.js → content-CrBPsYmC.js} +36 -6
  8. package/dist/assets/{index-CWxXMTAJ.js → index-Ca8tBMzh.js} +3 -3
  9. package/dist/assets/{index-BeBd0Q5I.js → index-CrpTq7W6.js} +670 -519
  10. package/dist/assets/{index-BaBnabbX.js → index-DG5cID7M.js} +4 -4
  11. package/dist/assets/{main.DonDJ7tf.js → main.BvYgkrO6.js} +1 -1
  12. package/dist/assets/{style-D4JhTt_m.css → style-D7CwmVZf.css} +52 -36
  13. package/dist/index.html +1 -1
  14. package/dist/modules/@powerhousedao/reactor-browser/{chunk-G6LMXRY5.js → chunk-2ONJ2PX4.js} +1 -1
  15. package/dist/modules/@powerhousedao/reactor-browser/{chunk-FW7N6EJH.js → chunk-C7QRY43M.js} +3 -3
  16. package/dist/modules/@powerhousedao/reactor-browser/{chunk-45DCPCA7.js → chunk-CO2RVWYY.js} +1 -1
  17. package/dist/modules/@powerhousedao/reactor-browser/{chunk-F3RCGUF6.js → chunk-NHD6VUCD.js} +2 -2
  18. package/dist/modules/@powerhousedao/reactor-browser/{chunk-M2UUQ5LH.js → chunk-U34SEKEB.js} +2 -2
  19. package/dist/modules/@powerhousedao/reactor-browser/hooks/index.js +5 -5
  20. package/dist/modules/@powerhousedao/reactor-browser/hooks/useAddDebouncedOperations.js +3 -3
  21. package/dist/modules/@powerhousedao/reactor-browser/hooks/useConnectCrypto.js +2 -2
  22. package/dist/modules/@powerhousedao/reactor-browser/hooks/useDocumentDrives.js +2 -2
  23. package/dist/modules/@powerhousedao/reactor-browser/hooks/useDocumentEditor.js +5 -5
  24. package/dist/modules/@powerhousedao/reactor-browser/index.js +5 -5
  25. package/dist/vite-envs.sh +1 -1
  26. package/package.json +9 -9
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ccip-BIN6bp0k.js","assets/main.DonDJ7tf.js","assets/app-loader-CnDRDKWw.js","assets/app-loader-Bnp0H-wa.css","assets/index-BeBd0Q5I.js","assets/style-D4JhTt_m.css","assets/index-BaBnabbX.js","assets/content-CT8IEBqv.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ccip-KX_YlO62.js","assets/main.BvYgkrO6.js","assets/app-loader-Be1urgPw.js","assets/app-loader-DC8DXqh9.css","assets/index-CrpTq7W6.js","assets/style-D7CwmVZf.css","assets/index-DG5cID7M.js","assets/content-CrBPsYmC.js"])))=>i.map(i=>d[i]);
2
2
  var __defProp = Object.defineProperty;
3
3
  var __typeError = (msg) => {
4
4
  throw TypeError(msg);
@@ -19,9 +19,9 @@ var __privateWrapper = (obj, member, setter, getter) => ({
19
19
  }
20
20
  });
21
21
  var _focused, _cleanup, _setup, _a, _online, _cleanup2, _setup2, _b, _gcTimeout, _c, _initialState, _revertState, _cache, _client, _retryer, _defaultOptions, _abortSignalConsumed, _Query_instances, dispatch_fn, _d, _queries, _e2, _observers, _mutationCache, _retryer2, _Mutation_instances, dispatch_fn2, _f, _mutations, _scopes, _mutationId, _g, _queryCache, _mutationCache2, _defaultOptions2, _queryDefaults, _mutationDefaults, _mountCount, _unsubscribeFocus, _unsubscribeOnline, _h, _client2, _currentQuery, _currentQueryInitialState, _currentResult, _currentResultState, _currentResultOptions, _currentThenable, _selectError, _selectFn, _selectResult, _lastQueryWithDefinedData, _staleTimeoutId, _refetchIntervalId, _currentRefetchInterval, _trackedProps, _QueryObserver_instances, executeFetch_fn, updateStaleTimeout_fn, computeRefetchInterval_fn, updateRefetchInterval_fn, updateTimers_fn, clearStaleTimeout_fn, clearRefetchInterval_fn, updateQuery_fn, notify_fn, _i;
22
- import { _ as __vitePreload } from "./main.DonDJ7tf.js";
22
+ import { _ as __vitePreload } from "./main.BvYgkrO6.js";
23
23
  import { jsx as jsx$1, Fragment, jsxs } from "react/jsx-runtime";
24
- import { c as createAction, a as createReducer, i as isDocumentAction, R as ReorderStateExamplesInputSchema, D as DeleteStateExampleInputSchema, U as UpdateStateExampleInputSchema, A as AddStateExampleInputSchema, S as SetInitialStateInputSchema, b as SetStateSchemaInputSchema, d as ReorderModuleOperationsInputSchema, e as DeleteOperationInputSchema, M as MoveOperationInputSchema, f as SetOperationReducerInputSchema, g as SetOperationTemplateInputSchema, h as SetOperationDescriptionInputSchema, j as SetOperationSchemaInputSchema, k as SetOperationScopeInputSchema, l as SetOperationNameInputSchema, m as AddOperationInputSchema, n as ReorderOperationExamplesInputSchema, o as DeleteOperationExampleInputSchema, p as UpdateOperationExampleInputSchema, q as AddOperationExampleInputSchema, r as ReorderOperationErrorsInputSchema, s as DeleteOperationErrorInputSchema, t as SetOperationErrorTemplateInputSchema, u as SetOperationErrorDescriptionInputSchema, v as SetOperationErrorNameInputSchema, w as SetOperationErrorCodeInputSchema, x as AddOperationErrorInputSchema, y as ReorderModulesInputSchema, z as DeleteModuleInputSchema, B as SetModuleDescriptionInputSchema, C as SetModuleNameInputSchema, E as AddModuleInputSchema, F as ReorderChangeLogItemsInputSchema, G as DeleteChangeLogItemInputSchema, H as UpdateChangeLogItemInputSchema, I as AddChangeLogItemInputSchema, J as SetAuthorWebsiteInputSchema, K as SetAuthorNameInputSchema, L as SetModelDescriptionInputSchema, N as SetModelExtensionInputSchema, O as SetModelIdInputSchema, P as SetModelNameInputSchema, Q as baseCreateExtendedState, T as baseCreateDocument, V as baseSaveToFile, W as baseSaveToFileHandle, X as baseLoadFromFile, Y as baseLoadFromInput, Z as pascalCase, _ as Icon, $ as getDefaultExportFromCjs, a0 as LOCAL, a1 as commonjsGlobal, a2 as PUBLIC, a3 as SWITCHBOARD, a4 as locationInfoByLocation, a5 as sharingTypeOptions, a6 as objectType, a7 as recordType, a8 as stringType, a9 as capitalCase, aa as CLOUD, ab as createZip, ac as logger$1, ad as LZString, ae as buildSignedOperation, af as getI18n, ag as getDefaults, ah as connectConfig, ai as hashDocumentStateForScope, aj as setErrorHandler, ak as driveDocumentModelModule, al as createBrowserDocumentDriveServer, am as hashKey$1, an as childLogger, ao as reducer$8, ap as isDocumentDrive, aq as generateAddNodeAction, ar as isFileNode, as as uploadDocumentOperations, at as updateFile, au as addFolder, av as isFolderNode, aw as deleteNode, ax as updateNode, ay as FILE, az as moveNode, aA as generateNodesCopy, aB as copyNode, aC as createState$1, aD as setDriveName, aE as setAvailableOffline, aF as setSharingType, aG as SynchronizationUnitNotFoundError, aH as removeTrigger, aI as generateUUID, aJ as PullResponderTransmitter, aK as addTrigger, aL as ReadDriveNotFoundError, aM as openUrl, aN as getNodeOptions, aO as DRIVE, aP as FOLDER, aQ as requestPublicDrive, aR as serviceWorkerManager, aS as packageJson, aT as t$1, aU as gql, aV as request } from "./app-loader-CnDRDKWw.js";
24
+ import { c as createAction, a as createReducer, i as isDocumentAction, R as ReorderStateExamplesInputSchema, D as DeleteStateExampleInputSchema, U as UpdateStateExampleInputSchema, A as AddStateExampleInputSchema, S as SetInitialStateInputSchema, b as SetStateSchemaInputSchema, d as ReorderModuleOperationsInputSchema, e as DeleteOperationInputSchema, M as MoveOperationInputSchema, f as SetOperationReducerInputSchema, g as SetOperationTemplateInputSchema, h as SetOperationDescriptionInputSchema, j as SetOperationSchemaInputSchema, k as SetOperationScopeInputSchema, l as SetOperationNameInputSchema, m as AddOperationInputSchema, n as ReorderOperationExamplesInputSchema, o as DeleteOperationExampleInputSchema, p as UpdateOperationExampleInputSchema, q as AddOperationExampleInputSchema, r as ReorderOperationErrorsInputSchema, s as DeleteOperationErrorInputSchema, t as SetOperationErrorTemplateInputSchema, u as SetOperationErrorDescriptionInputSchema, v as SetOperationErrorNameInputSchema, w as SetOperationErrorCodeInputSchema, x as AddOperationErrorInputSchema, y as ReorderModulesInputSchema, z as DeleteModuleInputSchema, B as SetModuleDescriptionInputSchema, C as SetModuleNameInputSchema, E as AddModuleInputSchema, F as ReorderChangeLogItemsInputSchema, G as DeleteChangeLogItemInputSchema, H as UpdateChangeLogItemInputSchema, I as AddChangeLogItemInputSchema, J as SetAuthorWebsiteInputSchema, K as SetAuthorNameInputSchema, L as SetModelDescriptionInputSchema, N as SetModelExtensionInputSchema, O as SetModelIdInputSchema, P as SetModelNameInputSchema, Q as baseCreateExtendedState, T as baseCreateDocument, V as baseSaveToFile, W as baseSaveToFileHandle, X as baseLoadFromFile, Y as baseLoadFromInput, Z as pascalCase, _ as Icon, $ as getDefaultExportFromCjs, a0 as LOCAL, a1 as commonjsGlobal, a2 as PUBLIC, a3 as SWITCHBOARD, a4 as locationInfoByLocation, a5 as sharingTypeOptions, a6 as objectType, a7 as recordType, a8 as stringType, a9 as capitalCase, aa as CLOUD, ab as createZip, ac as logger$1, ad as LZString, ae as buildSignedOperation, af as getI18n, ag as getDefaults, ah as connectConfig, ai as hashDocumentStateForScope, aj as setErrorHandler, ak as driveDocumentModelModule, al as createBrowserDocumentDriveServer, am as hashKey$1, an as childLogger, ao as reducer$8, ap as isDocumentDrive, aq as generateAddNodeAction, ar as isFileNode, as as uploadDocumentOperations, at as updateFile, au as addFolder, av as isFolderNode, aw as deleteNode, ax as updateNode, ay as FILE, az as moveNode, aA as generateNodesCopy, aB as copyNode, aC as createState$1, aD as setDriveName, aE as setAvailableOffline, aF as setSharingType, aG as SynchronizationUnitNotFoundError, aH as removeTrigger, aI as generateUUID, aJ as PullResponderTransmitter, aK as addTrigger, aL as ReadDriveNotFoundError, aM as openUrl, aN as getNodeOptions, aO as DRIVE, aP as FOLDER, aQ as requestPublicDrive, aR as serviceWorkerManager, aS as packageJson, aT as t$1, aU as gql, aV as request } from "./app-loader-Be1urgPw.js";
25
25
  import * as React from "react";
26
26
  import React__default, { useLayoutEffect, useEffect, useState, forwardRef, useRef, useCallback, useContext, useMemo, createContext, Component, Fragment as Fragment$1, createElement, useSyncExternalStore, useId as useId$1, isValidElement, cloneElement, Children, useReducer, useDebugValue, Suspense } from "react";
27
27
  import "@powerhousedao/reactor-browser";
@@ -15083,7 +15083,7 @@ function ConnectDropdownMenu(props) {
15083
15083
  return jsxs(DropdownMenu, { onOpenChange, open, children: [jsx$1(DropdownMenuTrigger, { asChild: true, className: "outline-none", children }), jsx$1(DropdownMenuContent, { className: "modal-shadow cursor-pointer rounded-2xl bg-white text-sm font-medium text-slate-200", children: items.map(({ id, label, icon, className }) => jsxs(DropdownMenuItem, { className: twMerge("flex items-center px-5 py-2 outline-none first-of-type:rounded-t-2xl first-of-type:pt-3 last-of-type:rounded-b-2xl last-of-type:pb-3 hover:bg-slate-50", className), onClick: (e2) => e2.stopPropagation(), onSelect: () => onItemClick(id), children: [icon ? jsx$1("span", { className: "mr-2 inline-block", children: icon }) : null, label] }, id)) })] });
15084
15084
  }
15085
15085
  const ImgPowerhouse = "/assets/powerhouse-rounded-CeKGGUG4.png";
15086
- const version$4 = "2.23.12";
15086
+ const version$4 = "2.24.1";
15087
15087
  let errorConfig = {
15088
15088
  getDocsUrl: ({ docsBaseUrl, docsPath: docsPath2 = "", docsSlug }) => docsPath2 ? `${docsBaseUrl ?? "https://viem.sh"}${docsPath2}${docsSlug ? `#${docsSlug}` : ""}` : void 0,
15089
15089
  version: `viem@${version$4}`
@@ -16716,12 +16716,13 @@ function getSizeOfLength(length2) {
16716
16716
  throw new BaseError$4("Length is too large.");
16717
16717
  }
16718
16718
  function hashAuthorization(parameters) {
16719
- const { chainId, contractAddress, nonce, to } = parameters;
16719
+ const { chainId, nonce, to } = parameters;
16720
+ const address = parameters.contractAddress ?? parameters.address;
16720
16721
  const hash2 = keccak256$1(concatHex([
16721
16722
  "0x05",
16722
16723
  toRlp([
16723
16724
  chainId ? numberToHex(chainId) : "0x",
16724
- contractAddress,
16725
+ address,
16725
16726
  nonce ? numberToHex(nonce) : "0x"
16726
16727
  ])
16727
16728
  ]));
@@ -17580,7 +17581,7 @@ function formatTransactionRequest(request2) {
17580
17581
  const defineTransactionRequest = /* @__PURE__ */ defineFormatter("transactionRequest", formatTransactionRequest);
17581
17582
  function formatAuthorizationList$1(authorizationList) {
17582
17583
  return authorizationList.map((authorization) => ({
17583
- address: authorization.contractAddress,
17584
+ address: authorization.address,
17584
17585
  r: authorization.r ? numberToHex(BigInt(authorization.r)) : authorization.r,
17585
17586
  s: authorization.s ? numberToHex(BigInt(authorization.s)) : authorization.s,
17586
17587
  chainId: numberToHex(authorization.chainId),
@@ -17710,7 +17711,7 @@ function formatTransaction(transaction) {
17710
17711
  const defineTransaction = /* @__PURE__ */ defineFormatter("transaction", formatTransaction);
17711
17712
  function formatAuthorizationList(authorizationList) {
17712
17713
  return authorizationList.map((authorization) => ({
17713
- contractAddress: authorization.address,
17714
+ address: authorization.address,
17714
17715
  chainId: Number(authorization.chainId),
17715
17716
  nonce: Number(authorization.nonce),
17716
17717
  r: authorization.r,
@@ -18069,14 +18070,14 @@ async function estimateGas$1(client2, args) {
18069
18070
  if (authorizationList) {
18070
18071
  const value2 = await getBalance(client2, { address: request2.from });
18071
18072
  const estimates = await Promise.all(authorizationList.map(async (authorization) => {
18072
- const { contractAddress } = authorization;
18073
+ const { address } = authorization;
18073
18074
  const estimate2 = await estimateGas_rpc({
18074
18075
  block,
18075
18076
  request: {
18076
18077
  authorizationList: void 0,
18077
18078
  data,
18078
18079
  from: account == null ? void 0 : account.address,
18079
- to: contractAddress,
18080
+ to: address,
18080
18081
  value: numberToHex(value2)
18081
18082
  },
18082
18083
  rpcStateOverride
@@ -20571,7 +20572,7 @@ async function call(client2, args) {
20571
20572
  } catch (err) {
20572
20573
  const data2 = getRevertErrorData(err);
20573
20574
  const { offchainLookup, offchainLookupSignature } = await __vitePreload(async () => {
20574
- const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-BIN6bp0k.js");
20575
+ const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-KX_YlO62.js");
20575
20576
  return { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 };
20576
20577
  }, true ? __vite__mapDeps([0,1,2,3]) : void 0);
20577
20578
  if (client2.ccipRead !== false && (data2 == null ? void 0 : data2.slice(0, 10)) === offchainLookupSignature && to)
@@ -23997,6 +23998,304 @@ function validateReference(type) {
23997
23998
  if (type === "address" || type === "bool" || type === "string" || type.startsWith("bytes") || type.startsWith("uint") || type.startsWith("int"))
23998
23999
  throw new InvalidStructTypeError({ type });
23999
24000
  }
24001
+ function assertTransactionEIP7702(transaction) {
24002
+ const { authorizationList } = transaction;
24003
+ if (authorizationList) {
24004
+ for (const authorization of authorizationList) {
24005
+ const { chainId } = authorization;
24006
+ const address = authorization.address;
24007
+ if (!isAddress(address))
24008
+ throw new InvalidAddressError$1({ address });
24009
+ if (chainId < 0)
24010
+ throw new InvalidChainIdError({ chainId });
24011
+ }
24012
+ }
24013
+ assertTransactionEIP1559(transaction);
24014
+ }
24015
+ function assertTransactionEIP4844(transaction) {
24016
+ const { blobVersionedHashes } = transaction;
24017
+ if (blobVersionedHashes) {
24018
+ if (blobVersionedHashes.length === 0)
24019
+ throw new EmptyBlobError();
24020
+ for (const hash2 of blobVersionedHashes) {
24021
+ const size_ = size$4(hash2);
24022
+ const version2 = hexToNumber$1(slice$1(hash2, 0, 1));
24023
+ if (size_ !== 32)
24024
+ throw new InvalidVersionedHashSizeError({ hash: hash2, size: size_ });
24025
+ if (version2 !== versionedHashVersionKzg)
24026
+ throw new InvalidVersionedHashVersionError({
24027
+ hash: hash2,
24028
+ version: version2
24029
+ });
24030
+ }
24031
+ }
24032
+ assertTransactionEIP1559(transaction);
24033
+ }
24034
+ function assertTransactionEIP1559(transaction) {
24035
+ const { chainId, maxPriorityFeePerGas, maxFeePerGas, to } = transaction;
24036
+ if (chainId <= 0)
24037
+ throw new InvalidChainIdError({ chainId });
24038
+ if (to && !isAddress(to))
24039
+ throw new InvalidAddressError$1({ address: to });
24040
+ if (maxFeePerGas && maxFeePerGas > maxUint256)
24041
+ throw new FeeCapTooHighError({ maxFeePerGas });
24042
+ if (maxPriorityFeePerGas && maxFeePerGas && maxPriorityFeePerGas > maxFeePerGas)
24043
+ throw new TipAboveFeeCapError({ maxFeePerGas, maxPriorityFeePerGas });
24044
+ }
24045
+ function assertTransactionEIP2930(transaction) {
24046
+ const { chainId, maxPriorityFeePerGas, gasPrice, maxFeePerGas, to } = transaction;
24047
+ if (chainId <= 0)
24048
+ throw new InvalidChainIdError({ chainId });
24049
+ if (to && !isAddress(to))
24050
+ throw new InvalidAddressError$1({ address: to });
24051
+ if (maxPriorityFeePerGas || maxFeePerGas)
24052
+ throw new BaseError$4("`maxFeePerGas`/`maxPriorityFeePerGas` is not a valid EIP-2930 Transaction attribute.");
24053
+ if (gasPrice && gasPrice > maxUint256)
24054
+ throw new FeeCapTooHighError({ maxFeePerGas: gasPrice });
24055
+ }
24056
+ function assertTransactionLegacy(transaction) {
24057
+ const { chainId, maxPriorityFeePerGas, gasPrice, maxFeePerGas, to } = transaction;
24058
+ if (to && !isAddress(to))
24059
+ throw new InvalidAddressError$1({ address: to });
24060
+ if (typeof chainId !== "undefined" && chainId <= 0)
24061
+ throw new InvalidChainIdError({ chainId });
24062
+ if (maxPriorityFeePerGas || maxFeePerGas)
24063
+ throw new BaseError$4("`maxFeePerGas`/`maxPriorityFeePerGas` is not a valid Legacy Transaction attribute.");
24064
+ if (gasPrice && gasPrice > maxUint256)
24065
+ throw new FeeCapTooHighError({ maxFeePerGas: gasPrice });
24066
+ }
24067
+ function serializeAccessList(accessList) {
24068
+ if (!accessList || accessList.length === 0)
24069
+ return [];
24070
+ const serializedAccessList = [];
24071
+ for (let i2 = 0; i2 < accessList.length; i2++) {
24072
+ const { address, storageKeys } = accessList[i2];
24073
+ for (let j = 0; j < storageKeys.length; j++) {
24074
+ if (storageKeys[j].length - 2 !== 64) {
24075
+ throw new InvalidStorageKeySizeError({ storageKey: storageKeys[j] });
24076
+ }
24077
+ }
24078
+ if (!isAddress(address, { strict: false })) {
24079
+ throw new InvalidAddressError$1({ address });
24080
+ }
24081
+ serializedAccessList.push([address, storageKeys]);
24082
+ }
24083
+ return serializedAccessList;
24084
+ }
24085
+ function serializeTransaction$3(transaction, signature) {
24086
+ const type = getTransactionType(transaction);
24087
+ if (type === "eip1559")
24088
+ return serializeTransactionEIP1559(transaction, signature);
24089
+ if (type === "eip2930")
24090
+ return serializeTransactionEIP2930(transaction, signature);
24091
+ if (type === "eip4844")
24092
+ return serializeTransactionEIP4844(transaction, signature);
24093
+ if (type === "eip7702")
24094
+ return serializeTransactionEIP7702(transaction, signature);
24095
+ return serializeTransactionLegacy(transaction, signature);
24096
+ }
24097
+ function serializeTransactionEIP7702(transaction, signature) {
24098
+ const { authorizationList, chainId, gas, nonce, to, value, maxFeePerGas, maxPriorityFeePerGas, accessList, data } = transaction;
24099
+ assertTransactionEIP7702(transaction);
24100
+ const serializedAccessList = serializeAccessList(accessList);
24101
+ const serializedAuthorizationList = serializeAuthorizationList(authorizationList);
24102
+ return concatHex([
24103
+ "0x04",
24104
+ toRlp([
24105
+ toHex(chainId),
24106
+ nonce ? toHex(nonce) : "0x",
24107
+ maxPriorityFeePerGas ? toHex(maxPriorityFeePerGas) : "0x",
24108
+ maxFeePerGas ? toHex(maxFeePerGas) : "0x",
24109
+ gas ? toHex(gas) : "0x",
24110
+ to ?? "0x",
24111
+ value ? toHex(value) : "0x",
24112
+ data ?? "0x",
24113
+ serializedAccessList,
24114
+ serializedAuthorizationList,
24115
+ ...toYParitySignatureArray(transaction, signature)
24116
+ ])
24117
+ ]);
24118
+ }
24119
+ function serializeTransactionEIP4844(transaction, signature) {
24120
+ const { chainId, gas, nonce, to, value, maxFeePerBlobGas, maxFeePerGas, maxPriorityFeePerGas, accessList, data } = transaction;
24121
+ assertTransactionEIP4844(transaction);
24122
+ let blobVersionedHashes = transaction.blobVersionedHashes;
24123
+ let sidecars = transaction.sidecars;
24124
+ if (transaction.blobs && (typeof blobVersionedHashes === "undefined" || typeof sidecars === "undefined")) {
24125
+ const blobs2 = typeof transaction.blobs[0] === "string" ? transaction.blobs : transaction.blobs.map((x2) => bytesToHex$1(x2));
24126
+ const kzg = transaction.kzg;
24127
+ const commitments2 = blobsToCommitments({
24128
+ blobs: blobs2,
24129
+ kzg
24130
+ });
24131
+ if (typeof blobVersionedHashes === "undefined")
24132
+ blobVersionedHashes = commitmentsToVersionedHashes({
24133
+ commitments: commitments2
24134
+ });
24135
+ if (typeof sidecars === "undefined") {
24136
+ const proofs2 = blobsToProofs({ blobs: blobs2, commitments: commitments2, kzg });
24137
+ sidecars = toBlobSidecars({ blobs: blobs2, commitments: commitments2, proofs: proofs2 });
24138
+ }
24139
+ }
24140
+ const serializedAccessList = serializeAccessList(accessList);
24141
+ const serializedTransaction = [
24142
+ toHex(chainId),
24143
+ nonce ? toHex(nonce) : "0x",
24144
+ maxPriorityFeePerGas ? toHex(maxPriorityFeePerGas) : "0x",
24145
+ maxFeePerGas ? toHex(maxFeePerGas) : "0x",
24146
+ gas ? toHex(gas) : "0x",
24147
+ to ?? "0x",
24148
+ value ? toHex(value) : "0x",
24149
+ data ?? "0x",
24150
+ serializedAccessList,
24151
+ maxFeePerBlobGas ? toHex(maxFeePerBlobGas) : "0x",
24152
+ blobVersionedHashes ?? [],
24153
+ ...toYParitySignatureArray(transaction, signature)
24154
+ ];
24155
+ const blobs = [];
24156
+ const commitments = [];
24157
+ const proofs = [];
24158
+ if (sidecars)
24159
+ for (let i2 = 0; i2 < sidecars.length; i2++) {
24160
+ const { blob, commitment, proof } = sidecars[i2];
24161
+ blobs.push(blob);
24162
+ commitments.push(commitment);
24163
+ proofs.push(proof);
24164
+ }
24165
+ return concatHex([
24166
+ "0x03",
24167
+ sidecars ? (
24168
+ // If sidecars are enabled, envelope turns into a "wrapper":
24169
+ toRlp([serializedTransaction, blobs, commitments, proofs])
24170
+ ) : (
24171
+ // If sidecars are disabled, standard envelope is used:
24172
+ toRlp(serializedTransaction)
24173
+ )
24174
+ ]);
24175
+ }
24176
+ function serializeTransactionEIP1559(transaction, signature) {
24177
+ const { chainId, gas, nonce, to, value, maxFeePerGas, maxPriorityFeePerGas, accessList, data } = transaction;
24178
+ assertTransactionEIP1559(transaction);
24179
+ const serializedAccessList = serializeAccessList(accessList);
24180
+ const serializedTransaction = [
24181
+ toHex(chainId),
24182
+ nonce ? toHex(nonce) : "0x",
24183
+ maxPriorityFeePerGas ? toHex(maxPriorityFeePerGas) : "0x",
24184
+ maxFeePerGas ? toHex(maxFeePerGas) : "0x",
24185
+ gas ? toHex(gas) : "0x",
24186
+ to ?? "0x",
24187
+ value ? toHex(value) : "0x",
24188
+ data ?? "0x",
24189
+ serializedAccessList,
24190
+ ...toYParitySignatureArray(transaction, signature)
24191
+ ];
24192
+ return concatHex([
24193
+ "0x02",
24194
+ toRlp(serializedTransaction)
24195
+ ]);
24196
+ }
24197
+ function serializeTransactionEIP2930(transaction, signature) {
24198
+ const { chainId, gas, data, nonce, to, value, accessList, gasPrice } = transaction;
24199
+ assertTransactionEIP2930(transaction);
24200
+ const serializedAccessList = serializeAccessList(accessList);
24201
+ const serializedTransaction = [
24202
+ toHex(chainId),
24203
+ nonce ? toHex(nonce) : "0x",
24204
+ gasPrice ? toHex(gasPrice) : "0x",
24205
+ gas ? toHex(gas) : "0x",
24206
+ to ?? "0x",
24207
+ value ? toHex(value) : "0x",
24208
+ data ?? "0x",
24209
+ serializedAccessList,
24210
+ ...toYParitySignatureArray(transaction, signature)
24211
+ ];
24212
+ return concatHex([
24213
+ "0x01",
24214
+ toRlp(serializedTransaction)
24215
+ ]);
24216
+ }
24217
+ function serializeTransactionLegacy(transaction, signature) {
24218
+ const { chainId = 0, gas, data, nonce, to, value, gasPrice } = transaction;
24219
+ assertTransactionLegacy(transaction);
24220
+ let serializedTransaction = [
24221
+ nonce ? toHex(nonce) : "0x",
24222
+ gasPrice ? toHex(gasPrice) : "0x",
24223
+ gas ? toHex(gas) : "0x",
24224
+ to ?? "0x",
24225
+ value ? toHex(value) : "0x",
24226
+ data ?? "0x"
24227
+ ];
24228
+ if (signature) {
24229
+ const v2 = (() => {
24230
+ if (signature.v >= 35n) {
24231
+ const inferredChainId = (signature.v - 35n) / 2n;
24232
+ if (inferredChainId > 0)
24233
+ return signature.v;
24234
+ return 27n + (signature.v === 35n ? 0n : 1n);
24235
+ }
24236
+ if (chainId > 0)
24237
+ return BigInt(chainId * 2) + BigInt(35n + signature.v - 27n);
24238
+ const v3 = 27n + (signature.v === 27n ? 0n : 1n);
24239
+ if (signature.v !== v3)
24240
+ throw new InvalidLegacyVError({ v: signature.v });
24241
+ return v3;
24242
+ })();
24243
+ const r2 = trim(signature.r);
24244
+ const s2 = trim(signature.s);
24245
+ serializedTransaction = [
24246
+ ...serializedTransaction,
24247
+ toHex(v2),
24248
+ r2 === "0x00" ? "0x" : r2,
24249
+ s2 === "0x00" ? "0x" : s2
24250
+ ];
24251
+ } else if (chainId > 0) {
24252
+ serializedTransaction = [
24253
+ ...serializedTransaction,
24254
+ toHex(chainId),
24255
+ "0x",
24256
+ "0x"
24257
+ ];
24258
+ }
24259
+ return toRlp(serializedTransaction);
24260
+ }
24261
+ function toYParitySignatureArray(transaction, signature_) {
24262
+ const signature = signature_ ?? transaction;
24263
+ const { v: v2, yParity } = signature;
24264
+ if (typeof signature.r === "undefined")
24265
+ return [];
24266
+ if (typeof signature.s === "undefined")
24267
+ return [];
24268
+ if (typeof v2 === "undefined" && typeof yParity === "undefined")
24269
+ return [];
24270
+ const r2 = trim(signature.r);
24271
+ const s2 = trim(signature.s);
24272
+ const yParity_ = (() => {
24273
+ if (typeof yParity === "number")
24274
+ return yParity ? toHex(1) : "0x";
24275
+ if (v2 === 0n)
24276
+ return "0x";
24277
+ if (v2 === 1n)
24278
+ return toHex(1);
24279
+ return v2 === 27n ? "0x" : toHex(1);
24280
+ })();
24281
+ return [yParity_, r2 === "0x00" ? "0x" : r2, s2 === "0x00" ? "0x" : s2];
24282
+ }
24283
+ function serializeAuthorizationList(authorizationList) {
24284
+ if (!authorizationList || authorizationList.length === 0)
24285
+ return [];
24286
+ const serializedAuthorizationList = [];
24287
+ for (const authorization of authorizationList) {
24288
+ const { chainId, nonce, ...signature } = authorization;
24289
+ const contractAddress = authorization.address;
24290
+ serializedAuthorizationList.push([
24291
+ chainId ? toHex(chainId) : "0x",
24292
+ contractAddress,
24293
+ nonce ? toHex(nonce) : "0x",
24294
+ ...toYParitySignatureArray({}, signature)
24295
+ ]);
24296
+ }
24297
+ return serializedAuthorizationList;
24298
+ }
24000
24299
  const presignMessagePrefix = "Ethereum Signed Message:\n";
24001
24300
  function toPrefixedMessage(message_) {
24002
24301
  const message = (() => {
@@ -24026,302 +24325,6 @@ function serializeErc6492Signature(parameters) {
24026
24325
  return signature_;
24027
24326
  return hexToBytes$1(signature_);
24028
24327
  }
24029
- function assertTransactionEIP7702(transaction) {
24030
- const { authorizationList } = transaction;
24031
- if (authorizationList) {
24032
- for (const authorization of authorizationList) {
24033
- const { contractAddress, chainId } = authorization;
24034
- if (!isAddress(contractAddress))
24035
- throw new InvalidAddressError$1({ address: contractAddress });
24036
- if (chainId < 0)
24037
- throw new InvalidChainIdError({ chainId });
24038
- }
24039
- }
24040
- assertTransactionEIP1559(transaction);
24041
- }
24042
- function assertTransactionEIP4844(transaction) {
24043
- const { blobVersionedHashes } = transaction;
24044
- if (blobVersionedHashes) {
24045
- if (blobVersionedHashes.length === 0)
24046
- throw new EmptyBlobError();
24047
- for (const hash2 of blobVersionedHashes) {
24048
- const size_ = size$4(hash2);
24049
- const version2 = hexToNumber$1(slice$1(hash2, 0, 1));
24050
- if (size_ !== 32)
24051
- throw new InvalidVersionedHashSizeError({ hash: hash2, size: size_ });
24052
- if (version2 !== versionedHashVersionKzg)
24053
- throw new InvalidVersionedHashVersionError({
24054
- hash: hash2,
24055
- version: version2
24056
- });
24057
- }
24058
- }
24059
- assertTransactionEIP1559(transaction);
24060
- }
24061
- function assertTransactionEIP1559(transaction) {
24062
- const { chainId, maxPriorityFeePerGas, maxFeePerGas, to } = transaction;
24063
- if (chainId <= 0)
24064
- throw new InvalidChainIdError({ chainId });
24065
- if (to && !isAddress(to))
24066
- throw new InvalidAddressError$1({ address: to });
24067
- if (maxFeePerGas && maxFeePerGas > maxUint256)
24068
- throw new FeeCapTooHighError({ maxFeePerGas });
24069
- if (maxPriorityFeePerGas && maxFeePerGas && maxPriorityFeePerGas > maxFeePerGas)
24070
- throw new TipAboveFeeCapError({ maxFeePerGas, maxPriorityFeePerGas });
24071
- }
24072
- function assertTransactionEIP2930(transaction) {
24073
- const { chainId, maxPriorityFeePerGas, gasPrice, maxFeePerGas, to } = transaction;
24074
- if (chainId <= 0)
24075
- throw new InvalidChainIdError({ chainId });
24076
- if (to && !isAddress(to))
24077
- throw new InvalidAddressError$1({ address: to });
24078
- if (maxPriorityFeePerGas || maxFeePerGas)
24079
- throw new BaseError$4("`maxFeePerGas`/`maxPriorityFeePerGas` is not a valid EIP-2930 Transaction attribute.");
24080
- if (gasPrice && gasPrice > maxUint256)
24081
- throw new FeeCapTooHighError({ maxFeePerGas: gasPrice });
24082
- }
24083
- function assertTransactionLegacy(transaction) {
24084
- const { chainId, maxPriorityFeePerGas, gasPrice, maxFeePerGas, to } = transaction;
24085
- if (to && !isAddress(to))
24086
- throw new InvalidAddressError$1({ address: to });
24087
- if (typeof chainId !== "undefined" && chainId <= 0)
24088
- throw new InvalidChainIdError({ chainId });
24089
- if (maxPriorityFeePerGas || maxFeePerGas)
24090
- throw new BaseError$4("`maxFeePerGas`/`maxPriorityFeePerGas` is not a valid Legacy Transaction attribute.");
24091
- if (gasPrice && gasPrice > maxUint256)
24092
- throw new FeeCapTooHighError({ maxFeePerGas: gasPrice });
24093
- }
24094
- function serializeAuthorizationList(authorizationList) {
24095
- if (!authorizationList || authorizationList.length === 0)
24096
- return [];
24097
- const serializedAuthorizationList = [];
24098
- for (const authorization of authorizationList) {
24099
- const { contractAddress, chainId, nonce, ...signature } = authorization;
24100
- serializedAuthorizationList.push([
24101
- chainId ? toHex(chainId) : "0x",
24102
- contractAddress,
24103
- nonce ? toHex(nonce) : "0x",
24104
- ...toYParitySignatureArray({}, signature)
24105
- ]);
24106
- }
24107
- return serializedAuthorizationList;
24108
- }
24109
- function serializeAccessList(accessList) {
24110
- if (!accessList || accessList.length === 0)
24111
- return [];
24112
- const serializedAccessList = [];
24113
- for (let i2 = 0; i2 < accessList.length; i2++) {
24114
- const { address, storageKeys } = accessList[i2];
24115
- for (let j = 0; j < storageKeys.length; j++) {
24116
- if (storageKeys[j].length - 2 !== 64) {
24117
- throw new InvalidStorageKeySizeError({ storageKey: storageKeys[j] });
24118
- }
24119
- }
24120
- if (!isAddress(address, { strict: false })) {
24121
- throw new InvalidAddressError$1({ address });
24122
- }
24123
- serializedAccessList.push([address, storageKeys]);
24124
- }
24125
- return serializedAccessList;
24126
- }
24127
- function serializeTransaction$3(transaction, signature) {
24128
- const type = getTransactionType(transaction);
24129
- if (type === "eip1559")
24130
- return serializeTransactionEIP1559(transaction, signature);
24131
- if (type === "eip2930")
24132
- return serializeTransactionEIP2930(transaction, signature);
24133
- if (type === "eip4844")
24134
- return serializeTransactionEIP4844(transaction, signature);
24135
- if (type === "eip7702")
24136
- return serializeTransactionEIP7702(transaction, signature);
24137
- return serializeTransactionLegacy(transaction, signature);
24138
- }
24139
- function serializeTransactionEIP7702(transaction, signature) {
24140
- const { authorizationList, chainId, gas, nonce, to, value, maxFeePerGas, maxPriorityFeePerGas, accessList, data } = transaction;
24141
- assertTransactionEIP7702(transaction);
24142
- const serializedAccessList = serializeAccessList(accessList);
24143
- const serializedAuthorizationList = serializeAuthorizationList(authorizationList);
24144
- return concatHex([
24145
- "0x04",
24146
- toRlp([
24147
- toHex(chainId),
24148
- nonce ? toHex(nonce) : "0x",
24149
- maxPriorityFeePerGas ? toHex(maxPriorityFeePerGas) : "0x",
24150
- maxFeePerGas ? toHex(maxFeePerGas) : "0x",
24151
- gas ? toHex(gas) : "0x",
24152
- to ?? "0x",
24153
- value ? toHex(value) : "0x",
24154
- data ?? "0x",
24155
- serializedAccessList,
24156
- serializedAuthorizationList,
24157
- ...toYParitySignatureArray(transaction, signature)
24158
- ])
24159
- ]);
24160
- }
24161
- function serializeTransactionEIP4844(transaction, signature) {
24162
- const { chainId, gas, nonce, to, value, maxFeePerBlobGas, maxFeePerGas, maxPriorityFeePerGas, accessList, data } = transaction;
24163
- assertTransactionEIP4844(transaction);
24164
- let blobVersionedHashes = transaction.blobVersionedHashes;
24165
- let sidecars = transaction.sidecars;
24166
- if (transaction.blobs && (typeof blobVersionedHashes === "undefined" || typeof sidecars === "undefined")) {
24167
- const blobs2 = typeof transaction.blobs[0] === "string" ? transaction.blobs : transaction.blobs.map((x2) => bytesToHex$1(x2));
24168
- const kzg = transaction.kzg;
24169
- const commitments2 = blobsToCommitments({
24170
- blobs: blobs2,
24171
- kzg
24172
- });
24173
- if (typeof blobVersionedHashes === "undefined")
24174
- blobVersionedHashes = commitmentsToVersionedHashes({
24175
- commitments: commitments2
24176
- });
24177
- if (typeof sidecars === "undefined") {
24178
- const proofs2 = blobsToProofs({ blobs: blobs2, commitments: commitments2, kzg });
24179
- sidecars = toBlobSidecars({ blobs: blobs2, commitments: commitments2, proofs: proofs2 });
24180
- }
24181
- }
24182
- const serializedAccessList = serializeAccessList(accessList);
24183
- const serializedTransaction = [
24184
- toHex(chainId),
24185
- nonce ? toHex(nonce) : "0x",
24186
- maxPriorityFeePerGas ? toHex(maxPriorityFeePerGas) : "0x",
24187
- maxFeePerGas ? toHex(maxFeePerGas) : "0x",
24188
- gas ? toHex(gas) : "0x",
24189
- to ?? "0x",
24190
- value ? toHex(value) : "0x",
24191
- data ?? "0x",
24192
- serializedAccessList,
24193
- maxFeePerBlobGas ? toHex(maxFeePerBlobGas) : "0x",
24194
- blobVersionedHashes ?? [],
24195
- ...toYParitySignatureArray(transaction, signature)
24196
- ];
24197
- const blobs = [];
24198
- const commitments = [];
24199
- const proofs = [];
24200
- if (sidecars)
24201
- for (let i2 = 0; i2 < sidecars.length; i2++) {
24202
- const { blob, commitment, proof } = sidecars[i2];
24203
- blobs.push(blob);
24204
- commitments.push(commitment);
24205
- proofs.push(proof);
24206
- }
24207
- return concatHex([
24208
- "0x03",
24209
- sidecars ? (
24210
- // If sidecars are enabled, envelope turns into a "wrapper":
24211
- toRlp([serializedTransaction, blobs, commitments, proofs])
24212
- ) : (
24213
- // If sidecars are disabled, standard envelope is used:
24214
- toRlp(serializedTransaction)
24215
- )
24216
- ]);
24217
- }
24218
- function serializeTransactionEIP1559(transaction, signature) {
24219
- const { chainId, gas, nonce, to, value, maxFeePerGas, maxPriorityFeePerGas, accessList, data } = transaction;
24220
- assertTransactionEIP1559(transaction);
24221
- const serializedAccessList = serializeAccessList(accessList);
24222
- const serializedTransaction = [
24223
- toHex(chainId),
24224
- nonce ? toHex(nonce) : "0x",
24225
- maxPriorityFeePerGas ? toHex(maxPriorityFeePerGas) : "0x",
24226
- maxFeePerGas ? toHex(maxFeePerGas) : "0x",
24227
- gas ? toHex(gas) : "0x",
24228
- to ?? "0x",
24229
- value ? toHex(value) : "0x",
24230
- data ?? "0x",
24231
- serializedAccessList,
24232
- ...toYParitySignatureArray(transaction, signature)
24233
- ];
24234
- return concatHex([
24235
- "0x02",
24236
- toRlp(serializedTransaction)
24237
- ]);
24238
- }
24239
- function serializeTransactionEIP2930(transaction, signature) {
24240
- const { chainId, gas, data, nonce, to, value, accessList, gasPrice } = transaction;
24241
- assertTransactionEIP2930(transaction);
24242
- const serializedAccessList = serializeAccessList(accessList);
24243
- const serializedTransaction = [
24244
- toHex(chainId),
24245
- nonce ? toHex(nonce) : "0x",
24246
- gasPrice ? toHex(gasPrice) : "0x",
24247
- gas ? toHex(gas) : "0x",
24248
- to ?? "0x",
24249
- value ? toHex(value) : "0x",
24250
- data ?? "0x",
24251
- serializedAccessList,
24252
- ...toYParitySignatureArray(transaction, signature)
24253
- ];
24254
- return concatHex([
24255
- "0x01",
24256
- toRlp(serializedTransaction)
24257
- ]);
24258
- }
24259
- function serializeTransactionLegacy(transaction, signature) {
24260
- const { chainId = 0, gas, data, nonce, to, value, gasPrice } = transaction;
24261
- assertTransactionLegacy(transaction);
24262
- let serializedTransaction = [
24263
- nonce ? toHex(nonce) : "0x",
24264
- gasPrice ? toHex(gasPrice) : "0x",
24265
- gas ? toHex(gas) : "0x",
24266
- to ?? "0x",
24267
- value ? toHex(value) : "0x",
24268
- data ?? "0x"
24269
- ];
24270
- if (signature) {
24271
- const v2 = (() => {
24272
- if (signature.v >= 35n) {
24273
- const inferredChainId = (signature.v - 35n) / 2n;
24274
- if (inferredChainId > 0)
24275
- return signature.v;
24276
- return 27n + (signature.v === 35n ? 0n : 1n);
24277
- }
24278
- if (chainId > 0)
24279
- return BigInt(chainId * 2) + BigInt(35n + signature.v - 27n);
24280
- const v3 = 27n + (signature.v === 27n ? 0n : 1n);
24281
- if (signature.v !== v3)
24282
- throw new InvalidLegacyVError({ v: signature.v });
24283
- return v3;
24284
- })();
24285
- const r2 = trim(signature.r);
24286
- const s2 = trim(signature.s);
24287
- serializedTransaction = [
24288
- ...serializedTransaction,
24289
- toHex(v2),
24290
- r2 === "0x00" ? "0x" : r2,
24291
- s2 === "0x00" ? "0x" : s2
24292
- ];
24293
- } else if (chainId > 0) {
24294
- serializedTransaction = [
24295
- ...serializedTransaction,
24296
- toHex(chainId),
24297
- "0x",
24298
- "0x"
24299
- ];
24300
- }
24301
- return toRlp(serializedTransaction);
24302
- }
24303
- function toYParitySignatureArray(transaction, signature_) {
24304
- const signature = signature_ ?? transaction;
24305
- const { v: v2, yParity } = signature;
24306
- if (typeof signature.r === "undefined")
24307
- return [];
24308
- if (typeof signature.s === "undefined")
24309
- return [];
24310
- if (typeof v2 === "undefined" && typeof yParity === "undefined")
24311
- return [];
24312
- const r2 = trim(signature.r);
24313
- const s2 = trim(signature.s);
24314
- const yParity_ = (() => {
24315
- if (typeof yParity === "number")
24316
- return yParity ? toHex(1) : "0x";
24317
- if (v2 === 0n)
24318
- return "0x";
24319
- if (v2 === 1n)
24320
- return toHex(1);
24321
- return v2 === 27n ? "0x" : toHex(1);
24322
- })();
24323
- return [yParity_, r2 === "0x00" ? "0x" : r2, s2 === "0x00" ? "0x" : s2];
24324
- }
24325
24328
  const getBalanceCode = "0x6080604052348015600e575f80fd5b5061016d8061001c5f395ff3fe608060405234801561000f575f80fd5b5060043610610029575f3560e01c8063f8b2cb4f1461002d575b5f80fd5b610047600480360381019061004291906100db565b61005d565b604051610054919061011e565b60405180910390f35b5f8173ffffffffffffffffffffffffffffffffffffffff16319050919050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6100aa82610081565b9050919050565b6100ba816100a0565b81146100c4575f80fd5b50565b5f813590506100d5816100b1565b92915050565b5f602082840312156100f0576100ef61007d565b5b5f6100fd848285016100c7565b91505092915050565b5f819050919050565b61011881610106565b82525050565b5f6020820190506101315f83018461010f565b9291505056fea26469706673582212203b9fe929fe995c7cf9887f0bdba8a36dd78e8b73f149b17d2d9ad7cd09d2dc6264736f6c634300081a0033";
24326
24329
  async function simulateCalls(client2, parameters) {
24327
24330
  const { blockNumber, blockTag, calls, stateOverrides, traceAssetChanges, traceTransfers, validation } = parameters;
@@ -30864,7 +30867,7 @@ var QueryObserver = (_i = class extends Subscribable {
30864
30867
  __privateMethod(this, _QueryObserver_instances, clearRefetchInterval_fn).call(this);
30865
30868
  __privateGet(this, _currentQuery).removeObserver(this);
30866
30869
  }
30867
- setOptions(options2, notifyOptions) {
30870
+ setOptions(options2) {
30868
30871
  const prevOptions = this.options;
30869
30872
  const prevQuery = __privateGet(this, _currentQuery);
30870
30873
  this.options = __privateGet(this, _client2).defaultQueryOptions(options2);
@@ -30891,7 +30894,7 @@ var QueryObserver = (_i = class extends Subscribable {
30891
30894
  )) {
30892
30895
  __privateMethod(this, _QueryObserver_instances, executeFetch_fn).call(this);
30893
30896
  }
30894
- this.updateResult(notifyOptions);
30897
+ this.updateResult();
30895
30898
  if (mounted && (__privateGet(this, _currentQuery) !== prevQuery || resolveEnabled(this.options.enabled, __privateGet(this, _currentQuery)) !== resolveEnabled(prevOptions.enabled, __privateGet(this, _currentQuery)) || resolveStaleTime(this.options.staleTime, __privateGet(this, _currentQuery)) !== resolveStaleTime(prevOptions.staleTime, __privateGet(this, _currentQuery)))) {
30896
30899
  __privateMethod(this, _QueryObserver_instances, updateStaleTimeout_fn).call(this);
30897
30900
  }
@@ -31098,7 +31101,7 @@ var QueryObserver = (_i = class extends Subscribable {
31098
31101
  }
31099
31102
  return nextResult;
31100
31103
  }
31101
- updateResult(notifyOptions) {
31104
+ updateResult() {
31102
31105
  const prevResult = __privateGet(this, _currentResult);
31103
31106
  const nextResult = this.createResult(__privateGet(this, _currentQuery), this.options);
31104
31107
  __privateSet(this, _currentResultState, __privateGet(this, _currentQuery).state);
@@ -31110,7 +31113,6 @@ var QueryObserver = (_i = class extends Subscribable {
31110
31113
  return;
31111
31114
  }
31112
31115
  __privateSet(this, _currentResult, nextResult);
31113
- const defaultNotifyOptions = {};
31114
31116
  const shouldNotifyListeners = () => {
31115
31117
  if (!prevResult) {
31116
31118
  return true;
@@ -31132,10 +31134,7 @@ var QueryObserver = (_i = class extends Subscribable {
31132
31134
  return changed && includedProps.has(typedKey);
31133
31135
  });
31134
31136
  };
31135
- if ((notifyOptions == null ? void 0 : notifyOptions.listeners) !== false && shouldNotifyListeners()) {
31136
- defaultNotifyOptions.listeners = true;
31137
- }
31138
- __privateMethod(this, _QueryObserver_instances, notify_fn).call(this, { ...defaultNotifyOptions, ...notifyOptions });
31137
+ __privateMethod(this, _QueryObserver_instances, notify_fn).call(this, { listeners: shouldNotifyListeners() });
31139
31138
  }
31140
31139
  onQueryUpdate() {
31141
31140
  this.updateResult();
@@ -31469,7 +31468,7 @@ function useBaseQuery(options2, Observer, queryClient) {
31469
31468
  () => observer.getCurrentResult()
31470
31469
  );
31471
31470
  React.useEffect(() => {
31472
- observer.setOptions(defaultedOptions, { listeners: false });
31471
+ observer.setOptions(defaultedOptions);
31473
31472
  }, [defaultedOptions, observer]);
31474
31473
  if (shouldSuspend(defaultedOptions, result)) {
31475
31474
  throw fetchOptimistic(defaultedOptions, observer, errorResetBoundary);
@@ -34314,6 +34313,62 @@ const FormMessageList = ({ messages, type = "info", className, ...props }) => {
34314
34313
  typeClasses[type]
34315
34314
  ), children: message }, message)) });
34316
34315
  };
34316
+ const falsyToString = (value) => typeof value === "boolean" ? `${value}` : value === 0 ? "0" : value;
34317
+ const cx = clsx;
34318
+ const cva = (base2, config) => (props) => {
34319
+ var _config_compoundVariants;
34320
+ if ((config === null || config === void 0 ? void 0 : config.variants) == null) return cx(base2, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);
34321
+ const { variants, defaultVariants } = config;
34322
+ const getVariantClassNames = Object.keys(variants).map((variant) => {
34323
+ const variantProp = props === null || props === void 0 ? void 0 : props[variant];
34324
+ const defaultVariantProp = defaultVariants === null || defaultVariants === void 0 ? void 0 : defaultVariants[variant];
34325
+ if (variantProp === null) return null;
34326
+ const variantKey = falsyToString(variantProp) || falsyToString(defaultVariantProp);
34327
+ return variants[variant][variantKey];
34328
+ });
34329
+ const propsWithoutUndefined = props && Object.entries(props).reduce((acc, param) => {
34330
+ let [key, value] = param;
34331
+ if (value === void 0) {
34332
+ return acc;
34333
+ }
34334
+ acc[key] = value;
34335
+ return acc;
34336
+ }, {});
34337
+ const getCompoundVariantClassNames = config === null || config === void 0 ? void 0 : (_config_compoundVariants = config.compoundVariants) === null || _config_compoundVariants === void 0 ? void 0 : _config_compoundVariants.reduce((acc, param) => {
34338
+ let { class: cvClass, className: cvClassName, ...compoundVariantOptions } = param;
34339
+ return Object.entries(compoundVariantOptions).every((param2) => {
34340
+ let [key, value] = param2;
34341
+ return Array.isArray(value) ? value.includes({
34342
+ ...defaultVariants,
34343
+ ...propsWithoutUndefined
34344
+ }[key]) : {
34345
+ ...defaultVariants,
34346
+ ...propsWithoutUndefined
34347
+ }[key] === value;
34348
+ }) ? [
34349
+ ...acc,
34350
+ cvClass,
34351
+ cvClassName
34352
+ ] : acc;
34353
+ }, []);
34354
+ return cx(base2, getVariantClassNames, getCompoundVariantClassNames, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);
34355
+ };
34356
+ const buttonVariants = cva(cn("inline-flex items-center justify-center gap-2", "whitespace-nowrap rounded-md text-sm font-medium", "transition-colors", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2", "disabled:pointer-events-none", "[&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0"), {
34357
+ variants: {
34358
+ variant: {
34359
+ default: "",
34360
+ outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground",
34361
+ ghost: "hover:bg-accent hover:text-accent-foreground"
34362
+ }
34363
+ },
34364
+ defaultVariants: {
34365
+ variant: "default"
34366
+ }
34367
+ });
34368
+ const Button2 = React__default.forwardRef(({ variant, className, asChild = false, ...props }, ref) => {
34369
+ const Comp = asChild ? Slot : "button";
34370
+ return jsx$1(Comp, { className: cn(buttonVariants({ variant, className })), ref, ...props });
34371
+ });
34317
34372
  const inputBaseStyles = cn(
34318
34373
  // Base styles
34319
34374
  "flex h-9 w-full rounded-md text-sm font-normal leading-5 text-gray-900 dark:text-gray-50",
@@ -34335,6 +34390,179 @@ const Input = React.forwardRef(({ className, type, ...props }, ref) => {
34335
34390
  return jsx$1("input", { type, className: cn(inputBaseStyles, className), ref, ...props });
34336
34391
  });
34337
34392
  Input.displayName = "Input";
34393
+ var TABS_NAME = "Tabs";
34394
+ var [createTabsContext, createTabsScope] = createContextScope(TABS_NAME, [
34395
+ createRovingFocusGroupScope
34396
+ ]);
34397
+ var useRovingFocusGroupScope = createRovingFocusGroupScope();
34398
+ var [TabsProvider, useTabsContext] = createTabsContext(TABS_NAME);
34399
+ var Tabs$1 = React.forwardRef(
34400
+ (props, forwardedRef) => {
34401
+ const {
34402
+ __scopeTabs,
34403
+ value: valueProp,
34404
+ onValueChange,
34405
+ defaultValue,
34406
+ orientation = "horizontal",
34407
+ dir,
34408
+ activationMode = "automatic",
34409
+ ...tabsProps
34410
+ } = props;
34411
+ const direction = useDirection(dir);
34412
+ const [value, setValue] = useControllableState({
34413
+ prop: valueProp,
34414
+ onChange: onValueChange,
34415
+ defaultProp: defaultValue
34416
+ });
34417
+ return /* @__PURE__ */ jsx$1(
34418
+ TabsProvider,
34419
+ {
34420
+ scope: __scopeTabs,
34421
+ baseId: useId(),
34422
+ value,
34423
+ onValueChange: setValue,
34424
+ orientation,
34425
+ dir: direction,
34426
+ activationMode,
34427
+ children: /* @__PURE__ */ jsx$1(
34428
+ Primitive.div,
34429
+ {
34430
+ dir: direction,
34431
+ "data-orientation": orientation,
34432
+ ...tabsProps,
34433
+ ref: forwardedRef
34434
+ }
34435
+ )
34436
+ }
34437
+ );
34438
+ }
34439
+ );
34440
+ Tabs$1.displayName = TABS_NAME;
34441
+ var TAB_LIST_NAME = "TabsList";
34442
+ var TabsList = React.forwardRef(
34443
+ (props, forwardedRef) => {
34444
+ const { __scopeTabs, loop: loop2 = true, ...listProps } = props;
34445
+ const context = useTabsContext(TAB_LIST_NAME, __scopeTabs);
34446
+ const rovingFocusGroupScope = useRovingFocusGroupScope(__scopeTabs);
34447
+ return /* @__PURE__ */ jsx$1(
34448
+ Root$3,
34449
+ {
34450
+ asChild: true,
34451
+ ...rovingFocusGroupScope,
34452
+ orientation: context.orientation,
34453
+ dir: context.dir,
34454
+ loop: loop2,
34455
+ children: /* @__PURE__ */ jsx$1(
34456
+ Primitive.div,
34457
+ {
34458
+ role: "tablist",
34459
+ "aria-orientation": context.orientation,
34460
+ ...listProps,
34461
+ ref: forwardedRef
34462
+ }
34463
+ )
34464
+ }
34465
+ );
34466
+ }
34467
+ );
34468
+ TabsList.displayName = TAB_LIST_NAME;
34469
+ var TRIGGER_NAME = "TabsTrigger";
34470
+ var TabsTrigger = React.forwardRef(
34471
+ (props, forwardedRef) => {
34472
+ const { __scopeTabs, value, disabled = false, ...triggerProps } = props;
34473
+ const context = useTabsContext(TRIGGER_NAME, __scopeTabs);
34474
+ const rovingFocusGroupScope = useRovingFocusGroupScope(__scopeTabs);
34475
+ const triggerId = makeTriggerId(context.baseId, value);
34476
+ const contentId = makeContentId(context.baseId, value);
34477
+ const isSelected = value === context.value;
34478
+ return /* @__PURE__ */ jsx$1(
34479
+ Item,
34480
+ {
34481
+ asChild: true,
34482
+ ...rovingFocusGroupScope,
34483
+ focusable: !disabled,
34484
+ active: isSelected,
34485
+ children: /* @__PURE__ */ jsx$1(
34486
+ Primitive.button,
34487
+ {
34488
+ type: "button",
34489
+ role: "tab",
34490
+ "aria-selected": isSelected,
34491
+ "aria-controls": contentId,
34492
+ "data-state": isSelected ? "active" : "inactive",
34493
+ "data-disabled": disabled ? "" : void 0,
34494
+ disabled,
34495
+ id: triggerId,
34496
+ ...triggerProps,
34497
+ ref: forwardedRef,
34498
+ onMouseDown: composeEventHandlers(props.onMouseDown, (event) => {
34499
+ if (!disabled && event.button === 0 && event.ctrlKey === false) {
34500
+ context.onValueChange(value);
34501
+ } else {
34502
+ event.preventDefault();
34503
+ }
34504
+ }),
34505
+ onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {
34506
+ if ([" ", "Enter"].includes(event.key)) context.onValueChange(value);
34507
+ }),
34508
+ onFocus: composeEventHandlers(props.onFocus, () => {
34509
+ const isAutomaticActivation = context.activationMode !== "manual";
34510
+ if (!isSelected && !disabled && isAutomaticActivation) {
34511
+ context.onValueChange(value);
34512
+ }
34513
+ })
34514
+ }
34515
+ )
34516
+ }
34517
+ );
34518
+ }
34519
+ );
34520
+ TabsTrigger.displayName = TRIGGER_NAME;
34521
+ var CONTENT_NAME = "TabsContent";
34522
+ var TabsContent = React.forwardRef(
34523
+ (props, forwardedRef) => {
34524
+ const { __scopeTabs, value, forceMount, children, ...contentProps } = props;
34525
+ const context = useTabsContext(CONTENT_NAME, __scopeTabs);
34526
+ const triggerId = makeTriggerId(context.baseId, value);
34527
+ const contentId = makeContentId(context.baseId, value);
34528
+ const isSelected = value === context.value;
34529
+ const isMountAnimationPreventedRef = React.useRef(isSelected);
34530
+ React.useEffect(() => {
34531
+ const rAF = requestAnimationFrame(() => isMountAnimationPreventedRef.current = false);
34532
+ return () => cancelAnimationFrame(rAF);
34533
+ }, []);
34534
+ return /* @__PURE__ */ jsx$1(Presence, { present: forceMount || isSelected, children: ({ present }) => /* @__PURE__ */ jsx$1(
34535
+ Primitive.div,
34536
+ {
34537
+ "data-state": isSelected ? "active" : "inactive",
34538
+ "data-orientation": context.orientation,
34539
+ role: "tabpanel",
34540
+ "aria-labelledby": triggerId,
34541
+ hidden: !present,
34542
+ id: contentId,
34543
+ tabIndex: 0,
34544
+ ...contentProps,
34545
+ ref: forwardedRef,
34546
+ style: {
34547
+ ...props.style,
34548
+ animationDuration: isMountAnimationPreventedRef.current ? "0s" : void 0
34549
+ },
34550
+ children: present && children
34551
+ }
34552
+ ) });
34553
+ }
34554
+ );
34555
+ TabsContent.displayName = CONTENT_NAME;
34556
+ function makeTriggerId(baseId, value) {
34557
+ return `${baseId}-trigger-${value}`;
34558
+ }
34559
+ function makeContentId(baseId, value) {
34560
+ return `${baseId}-content-${value}`;
34561
+ }
34562
+ var Root2 = Tabs$1;
34563
+ var List = TabsList;
34564
+ var Trigger = TabsTrigger;
34565
+ var Content$2 = TabsContent;
34338
34566
  const FormDescription = ({ children, as, className }) => {
34339
34567
  const Component2 = as ?? "p";
34340
34568
  return jsx$1(Component2, { className: cn("font-sans text-sm font-normal leading-5 text-gray-600 dark:text-gray-500", className), children });
@@ -34342,6 +34570,168 @@ const FormDescription = ({ children, as, className }) => {
34342
34570
  const FormGroup = ({ children }) => {
34343
34571
  return jsx$1("div", { className: "flex flex-col gap-2", children });
34344
34572
  };
34573
+ const withFieldValidation = (Component2, options2) => {
34574
+ return React__default.forwardRef(({ value, name, showErrorOnBlur, showErrorOnChange, validators: customValidators, ...props }, ref) => {
34575
+ var _a2;
34576
+ const { onChange: onChangeProp, onBlur: onBlurProp } = props;
34577
+ const { control, formState: { errors: formErrors, defaultValues }, trigger, setValue, getValues } = useFormContext();
34578
+ const { submitCount } = useFormState();
34579
+ if (!name) {
34580
+ throw new Error(`[Field: ${Component2.displayName}] The name prop is required.`);
34581
+ }
34582
+ const errors = [
34583
+ ...((_a2 = formErrors[name]) == null ? void 0 : _a2.types) ? Object.values(formErrors[name].types ?? []) : []
34584
+ ];
34585
+ if (errors.length === 0 && !!formErrors[name]) {
34586
+ errors.push("Invalid value");
34587
+ }
34588
+ useEffect(() => {
34589
+ if (submitCount > 0) {
34590
+ void trigger(name);
34591
+ }
34592
+ }, [props.required]);
34593
+ useEffect(() => {
34594
+ if (props.errors && props.errors.length > 0) {
34595
+ void trigger(name);
34596
+ }
34597
+ }, [name, props.errors, trigger]);
34598
+ const [initialized, setInitialized] = useState(false);
34599
+ useEffect(() => {
34600
+ if (initialized) {
34601
+ setValue(name, value);
34602
+ }
34603
+ setInitialized(true);
34604
+ }, [name, value]);
34605
+ if (value !== void 0 && !onChangeProp) {
34606
+ console.warn(`[Field: ${name}] Value prop provided without onChange so it will be ignored. Use disabled/readOnly if you want to prevent changes.`);
34607
+ }
34608
+ return jsx$1(Controller, {
34609
+ control,
34610
+ name,
34611
+ defaultValue: value ?? props.defaultValue,
34612
+ disabled: props.disabled,
34613
+ // eslint-disable-next-line react/jsx-no-bind
34614
+ render: ({ field: {
34615
+ // just preventing that onChange is included in the rest of the props
34616
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
34617
+ onChange: _2,
34618
+ onBlur: onBlurController,
34619
+ value: internalValue,
34620
+ ...rest
34621
+ } }) => {
34622
+ const onBlurCallback = useCallback((event) => {
34623
+ if (showErrorOnBlur) {
34624
+ void trigger(name);
34625
+ } else {
34626
+ onBlurController();
34627
+ }
34628
+ if (onBlurProp) {
34629
+ onBlurProp(event);
34630
+ }
34631
+ }, [onBlurController, showErrorOnBlur]);
34632
+ const onChangeCallback = useCallback(
34633
+ (event) => {
34634
+ if (onChangeProp) {
34635
+ if (Object.hasOwn(event, "target")) {
34636
+ setValue(name, event.target.value);
34637
+ } else {
34638
+ setValue(name, event);
34639
+ }
34640
+ onChangeProp(event);
34641
+ } else {
34642
+ let value2 = event;
34643
+ if (event instanceof Event || event.target instanceof HTMLElement) {
34644
+ value2 = event.target.value;
34645
+ }
34646
+ setValue(name, value2);
34647
+ }
34648
+ if (showErrorOnChange === void 0 && showErrorOnBlur === void 0) {
34649
+ if (submitCount > 0) {
34650
+ void trigger(name);
34651
+ }
34652
+ } else {
34653
+ if (showErrorOnChange) {
34654
+ void trigger(name);
34655
+ }
34656
+ }
34657
+ },
34658
+ // `internalValue` is the value of the field that is controlled by the form
34659
+ // it is used to trigger the validation on change, so we need to add it to the dependencies
34660
+ // otherwise the validation will not be triggered on change
34661
+ [internalValue, showErrorOnChange, showErrorOnBlur, submitCount]
34662
+ );
34663
+ const { ref: formFieldRef } = rest;
34664
+ const combinedRef = (element) => {
34665
+ if (typeof ref === "function") {
34666
+ ref(element);
34667
+ } else if (ref) {
34668
+ ref.current = element;
34669
+ }
34670
+ formFieldRef(element);
34671
+ };
34672
+ return jsx$1(Component2, { ...props, ...rest, value: internalValue, onBlur: onBlurCallback, onChange: onChangeCallback, errors, ref: combinedRef });
34673
+ },
34674
+ rules: {
34675
+ ...props.required ? {
34676
+ required: {
34677
+ value: props.required,
34678
+ message: "This field is required"
34679
+ }
34680
+ } : {
34681
+ required: void 0
34682
+ },
34683
+ ...props.pattern && {
34684
+ pattern: {
34685
+ value: new RegExp(props.pattern),
34686
+ message: "This field does not match the required pattern"
34687
+ }
34688
+ },
34689
+ ...props.maxLength !== void 0 && props.maxLength >= 0 ? {
34690
+ maxLength: {
34691
+ value: props.maxLength,
34692
+ message: `This field must be at most ${props.maxLength} characters`
34693
+ }
34694
+ } : {
34695
+ maxLength: void 0
34696
+ },
34697
+ ...props.minLength !== void 0 && props.minLength >= 0 ? {
34698
+ minLength: {
34699
+ value: props.minLength,
34700
+ message: `This field must be at least ${props.minLength} characters`
34701
+ }
34702
+ } : {
34703
+ minLength: void 0
34704
+ },
34705
+ ...props.minValue && {
34706
+ min: {
34707
+ value: props.minValue,
34708
+ message: `This field must be greater than or equal to ${props.minValue}`
34709
+ }
34710
+ },
34711
+ ...props.maxValue && {
34712
+ max: {
34713
+ value: props.maxValue,
34714
+ message: `This field must be less than or equal to ${props.maxValue}`
34715
+ }
34716
+ },
34717
+ validate: {
34718
+ // custom errors provided as props
34719
+ ...props.errors ? Object.fromEntries(Array.isArray(props.errors) ? props.errors.map((error, index2) => [
34720
+ `_propError${index2}`,
34721
+ () => error
34722
+ ]) : []) : {},
34723
+ // built in validations by the field in the library
34724
+ ...{},
34725
+ // custom validations by the user/developer
34726
+ ...customValidators !== void 0 ? Object.fromEntries((Array.isArray(customValidators) ? customValidators : [customValidators]).map((validator, index2) => [
34727
+ `customValidation${index2}`,
34728
+ validator
34729
+ ])) : {}
34730
+ }
34731
+ }
34732
+ });
34733
+ });
34734
+ };
34345
34735
  var U = 1, Y$1 = 0.9, H$1 = 0.8, J = 0.17, p$1 = 0.1, u$1 = 0.999, $$1 = 0.9999;
34346
34736
  var k$2 = 0.99, m$1 = /[\\\/_+.#"@\[\(\{&]/, B$2 = /[\\\/_+.#"@\[\(\{&]/g, K$1 = /[\s-]/, X = /[\s-]/g;
34347
34737
  function G(_2, C2, h2, P2, A2, f2, O2) {
@@ -34663,224 +35053,6 @@ const CommandGroup = React__default.forwardRef(({ className, ...props }, ref) =>
34663
35053
  CommandGroup.displayName = _e.Group.displayName;
34664
35054
  const CommandItem = React__default.forwardRef(({ className, ...props }, ref) => jsx$1(_e.Item, { ref, className: cn("relative flex select-none items-center justify-between", "h-8 gap-2 rounded-md py-1.5 pl-1.5 pr-2.5", "text-[14px] leading-4 outline-none", "border-y-2 border-white dark:border-slate-600", "data-[disabled=true]:pointer-events-none", "[&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0", className), ...props }));
34665
35055
  CommandItem.displayName = _e.Item.displayName;
34666
- const withFieldValidation = (Component2, options2) => {
34667
- return React__default.forwardRef(({ value, name, showErrorOnBlur, showErrorOnChange, validators: customValidators, ...props }, ref) => {
34668
- var _a2;
34669
- const { onChange: onChangeProp, onBlur: onBlurProp } = props;
34670
- const { control, formState: { errors: formErrors, defaultValues }, trigger, setValue, getValues } = useFormContext();
34671
- const { submitCount } = useFormState();
34672
- if (!name) {
34673
- throw new Error(`[Field: ${Component2.displayName}] The name prop is required.`);
34674
- }
34675
- const errors = [
34676
- ...((_a2 = formErrors[name]) == null ? void 0 : _a2.types) ? Object.values(formErrors[name].types ?? []) : []
34677
- ];
34678
- if (errors.length === 0 && !!formErrors[name]) {
34679
- errors.push("Invalid value");
34680
- }
34681
- useEffect(() => {
34682
- if (submitCount > 0) {
34683
- void trigger(name);
34684
- }
34685
- }, [props.required]);
34686
- useEffect(() => {
34687
- if (props.errors && props.errors.length > 0) {
34688
- void trigger(name);
34689
- }
34690
- }, [name, props.errors, trigger]);
34691
- const [initialized, setInitialized] = useState(false);
34692
- useEffect(() => {
34693
- if (initialized) {
34694
- setValue(name, value);
34695
- }
34696
- setInitialized(true);
34697
- }, [name, value]);
34698
- if (value !== void 0 && !onChangeProp) {
34699
- console.warn(`[Field: ${name}] Value prop provided without onChange so it will be ignored. Use disabled/readOnly if you want to prevent changes.`);
34700
- }
34701
- return jsx$1(Controller, {
34702
- control,
34703
- name,
34704
- defaultValue: value ?? props.defaultValue,
34705
- disabled: props.disabled,
34706
- // eslint-disable-next-line react/jsx-no-bind
34707
- render: ({ field: {
34708
- // just preventing that onChange is included in the rest of the props
34709
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
34710
- onChange: _2,
34711
- onBlur: onBlurController,
34712
- value: internalValue,
34713
- ...rest
34714
- } }) => {
34715
- const onBlurCallback = useCallback((event) => {
34716
- if (showErrorOnBlur) {
34717
- void trigger(name);
34718
- } else {
34719
- onBlurController();
34720
- }
34721
- if (onBlurProp) {
34722
- onBlurProp(event);
34723
- }
34724
- }, [onBlurController, showErrorOnBlur]);
34725
- const onChangeCallback = useCallback(
34726
- (event) => {
34727
- if (onChangeProp) {
34728
- if (Object.hasOwn(event, "target")) {
34729
- setValue(name, event.target.value);
34730
- } else {
34731
- setValue(name, event);
34732
- }
34733
- onChangeProp(event);
34734
- } else {
34735
- let value2 = event;
34736
- if (event instanceof Event || event.target instanceof HTMLElement) {
34737
- value2 = event.target.value;
34738
- }
34739
- setValue(name, value2);
34740
- }
34741
- if (showErrorOnChange === void 0 && showErrorOnBlur === void 0) {
34742
- if (submitCount > 0) {
34743
- void trigger(name);
34744
- }
34745
- } else {
34746
- if (showErrorOnChange) {
34747
- void trigger(name);
34748
- }
34749
- }
34750
- },
34751
- // `internalValue` is the value of the field that is controlled by the form
34752
- // it is used to trigger the validation on change, so we need to add it to the dependencies
34753
- // otherwise the validation will not be triggered on change
34754
- [internalValue, showErrorOnChange, showErrorOnBlur, submitCount]
34755
- );
34756
- const { ref: formFieldRef } = rest;
34757
- const combinedRef = (element) => {
34758
- if (typeof ref === "function") {
34759
- ref(element);
34760
- } else if (ref) {
34761
- ref.current = element;
34762
- }
34763
- formFieldRef(element);
34764
- };
34765
- return jsx$1(Component2, { ...props, ...rest, value: internalValue, onBlur: onBlurCallback, onChange: onChangeCallback, errors, ref: combinedRef });
34766
- },
34767
- rules: {
34768
- ...props.required ? {
34769
- required: {
34770
- value: props.required,
34771
- message: "This field is required"
34772
- }
34773
- } : {
34774
- required: void 0
34775
- },
34776
- ...props.pattern && {
34777
- pattern: {
34778
- value: new RegExp(props.pattern),
34779
- message: "This field does not match the required pattern"
34780
- }
34781
- },
34782
- ...props.maxLength !== void 0 && props.maxLength >= 0 ? {
34783
- maxLength: {
34784
- value: props.maxLength,
34785
- message: `This field must be at most ${props.maxLength} characters`
34786
- }
34787
- } : {
34788
- maxLength: void 0
34789
- },
34790
- ...props.minLength !== void 0 && props.minLength >= 0 ? {
34791
- minLength: {
34792
- value: props.minLength,
34793
- message: `This field must be at least ${props.minLength} characters`
34794
- }
34795
- } : {
34796
- minLength: void 0
34797
- },
34798
- ...props.minValue && {
34799
- min: {
34800
- value: props.minValue,
34801
- message: `This field must be greater than or equal to ${props.minValue}`
34802
- }
34803
- },
34804
- ...props.maxValue && {
34805
- max: {
34806
- value: props.maxValue,
34807
- message: `This field must be less than or equal to ${props.maxValue}`
34808
- }
34809
- },
34810
- validate: {
34811
- // custom errors provided as props
34812
- ...props.errors ? Object.fromEntries(Array.isArray(props.errors) ? props.errors.map((error, index2) => [
34813
- `_propError${index2}`,
34814
- () => error
34815
- ]) : []) : {},
34816
- // built in validations by the field in the library
34817
- ...{},
34818
- // custom validations by the user/developer
34819
- ...customValidators !== void 0 ? Object.fromEntries((Array.isArray(customValidators) ? customValidators : [customValidators]).map((validator, index2) => [
34820
- `customValidation${index2}`,
34821
- validator
34822
- ])) : {}
34823
- }
34824
- }
34825
- });
34826
- });
34827
- };
34828
- const falsyToString = (value) => typeof value === "boolean" ? `${value}` : value === 0 ? "0" : value;
34829
- const cx = clsx;
34830
- const cva = (base2, config) => (props) => {
34831
- var _config_compoundVariants;
34832
- if ((config === null || config === void 0 ? void 0 : config.variants) == null) return cx(base2, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);
34833
- const { variants, defaultVariants } = config;
34834
- const getVariantClassNames = Object.keys(variants).map((variant) => {
34835
- const variantProp = props === null || props === void 0 ? void 0 : props[variant];
34836
- const defaultVariantProp = defaultVariants === null || defaultVariants === void 0 ? void 0 : defaultVariants[variant];
34837
- if (variantProp === null) return null;
34838
- const variantKey = falsyToString(variantProp) || falsyToString(defaultVariantProp);
34839
- return variants[variant][variantKey];
34840
- });
34841
- const propsWithoutUndefined = props && Object.entries(props).reduce((acc, param) => {
34842
- let [key, value] = param;
34843
- if (value === void 0) {
34844
- return acc;
34845
- }
34846
- acc[key] = value;
34847
- return acc;
34848
- }, {});
34849
- const getCompoundVariantClassNames = config === null || config === void 0 ? void 0 : (_config_compoundVariants = config.compoundVariants) === null || _config_compoundVariants === void 0 ? void 0 : _config_compoundVariants.reduce((acc, param) => {
34850
- let { class: cvClass, className: cvClassName, ...compoundVariantOptions } = param;
34851
- return Object.entries(compoundVariantOptions).every((param2) => {
34852
- let [key, value] = param2;
34853
- return Array.isArray(value) ? value.includes({
34854
- ...defaultVariants,
34855
- ...propsWithoutUndefined
34856
- }[key]) : {
34857
- ...defaultVariants,
34858
- ...propsWithoutUndefined
34859
- }[key] === value;
34860
- }) ? [
34861
- ...acc,
34862
- cvClass,
34863
- cvClassName
34864
- ] : acc;
34865
- }, []);
34866
- return cx(base2, getVariantClassNames, getCompoundVariantClassNames, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);
34867
- };
34868
- const buttonVariants = cva(cn("inline-flex items-center justify-center gap-2", "whitespace-nowrap rounded-md text-sm font-medium", "transition-colors", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2", "disabled:pointer-events-none", "[&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0"), {
34869
- variants: {
34870
- variant: {
34871
- default: "",
34872
- outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground",
34873
- ghost: "hover:bg-accent hover:text-accent-foreground"
34874
- }
34875
- },
34876
- defaultVariants: {
34877
- variant: "default"
34878
- }
34879
- });
34880
- const Button2 = React__default.forwardRef(({ variant, className, asChild = false, ...props }, ref) => {
34881
- const Comp = asChild ? Slot : "button";
34882
- return jsx$1(Comp, { className: cn(buttonVariants({ variant, className })), ref, ...props });
34883
- });
34884
35056
  const renderIcon = (IconComponent) => {
34885
35057
  if (typeof IconComponent === "string") {
34886
35058
  return jsx$1(Icon, { name: IconComponent, size: 16, className: cn("text-gray-700 dark:text-gray-400") });
@@ -34893,7 +35065,7 @@ const CommandItemList = ({ options: options2 = [], selectedValues, multiple, sel
34893
35065
  return jsxs(CommandItem, { value: opt.label, onSelect: () => !opt.disabled && toggleOption(opt.value), disabled: opt.disabled, className: cn("cursor-pointer", "data-[selected=true]:bg-gray-100 dark:data-[selected=true]:bg-gray-900", opt.disabled && "!pointer-events-auto cursor-not-allowed hover:bg-transparent dark:hover:bg-transparent"), role: "option", "aria-selected": isSelected, children: [selectionIcon === "auto" && (multiple ? jsx$1("div", { className: cn("flex size-4 items-center justify-center rounded-md border", "border-gray-700 dark:border-gray-400", isSelected && "bg-gray-900 text-slate-50 dark:bg-gray-400 dark:text-black"), children: isSelected && jsx$1(Icon, { name: "Checkmark", size: 16 }) }) : jsx$1("div", { className: cn("relative size-4 rounded-full border", isSelected ? "border-gray-900 dark:border-gray-400" : "border-gray-800 dark:border-gray-400", "bg-transparent dark:bg-transparent"), children: isSelected && jsx$1("div", { className: "absolute left-1/2 top-1/2 size-2.5 -translate-x-1/2 -translate-y-1/2 rounded-full bg-gray-900 dark:bg-gray-400" }) })), selectionIcon === "checkmark" && !(selectionIconPosition === "right" && hasAnyIcon) && jsx$1("div", { className: "size-4", children: selectionIconPosition === "left" && isSelected && jsx$1(Icon, { name: "Checkmark", size: 16, className: "text-gray-900 dark:text-gray-50" }) }), renderIcon(opt.icon), jsx$1("span", { className: cn("flex-1 truncate text-[14px] font-normal leading-4", "text-gray-700 dark:text-gray-500", opt.disabled && "text-gray-600 dark:text-gray-600"), children: opt.label }), selectionIcon === "checkmark" && selectionIconPosition === "right" && jsx$1("div", { className: "size-4", children: isSelected && jsx$1(Icon, { name: "Checkmark", size: 16, className: "text-gray-900 dark:text-gray-50" }) })] }, `favorite-${opt.value}`);
34894
35066
  }) });
34895
35067
  };
34896
- const Content$2 = ({ searchable, commandListRef, multiple, selectedValues, selectionIcon, selectionIconPosition, options: options2 = [], toggleAll, toggleOption, favoriteOptions = [] }) => {
35068
+ const Content$1 = ({ searchable, commandListRef, multiple, selectedValues, selectionIcon, selectionIconPosition, options: options2 = [], toggleAll, toggleOption, favoriteOptions = [] }) => {
34897
35069
  const enabledOptions = options2.filter((opt) => !opt.disabled);
34898
35070
  const hasAnyIcon = options2.some((opt) => opt.icon);
34899
35071
  const cmdkSearch = P$1((state) => state.search);
@@ -35069,183 +35241,10 @@ const SelectFieldRaw = React__default.forwardRef(({
35069
35241
  ], className), ...props, ref, children: jsx$1(SelectedContent, { selectedValues, options: [...favoriteOptions, ...options2], multiple, searchable, placeholder, handleClear }) }) }), jsx$1(PopoverContent, { align: contentAlign, onEscapeKeyDown: (e2) => {
35070
35242
  e2.preventDefault();
35071
35243
  handleOpenChange(false);
35072
- }, className: contentClassName, children: jsx$1(Command, { defaultValue: !multiple && selectedValues[0] ? (_a2 = options2.find((opt) => opt.value === selectedValues[0])) == null ? void 0 : _a2.label : void 0, children: jsx$1(Content$2, { favoriteOptions, searchable, commandListRef, multiple, selectedValues, selectionIcon, selectionIconPosition, options: options2, toggleAll, toggleOption }) }) })] }), description && jsx$1(FormDescription, { children: description }), warnings.length > 0 && jsx$1(FormMessageList, { messages: warnings, type: "warning" }), errors.length > 0 && jsx$1(FormMessageList, { messages: errors, type: "error" })] });
35244
+ }, className: contentClassName, children: jsx$1(Command, { defaultValue: !multiple && selectedValues[0] ? (_a2 = options2.find((opt) => opt.value === selectedValues[0])) == null ? void 0 : _a2.label : void 0, children: jsx$1(Content$1, { favoriteOptions, searchable, commandListRef, multiple, selectedValues, selectionIcon, selectionIconPosition, options: options2, toggleAll, toggleOption }) }) })] }), description && jsx$1(FormDescription, { children: description }), warnings.length > 0 && jsx$1(FormMessageList, { messages: warnings, type: "warning" }), errors.length > 0 && jsx$1(FormMessageList, { messages: errors, type: "error" })] });
35073
35245
  });
35074
35246
  const SelectField = withFieldValidation(SelectFieldRaw);
35075
35247
  SelectField.displayName = "SelectField";
35076
- var TABS_NAME = "Tabs";
35077
- var [createTabsContext, createTabsScope] = createContextScope(TABS_NAME, [
35078
- createRovingFocusGroupScope
35079
- ]);
35080
- var useRovingFocusGroupScope = createRovingFocusGroupScope();
35081
- var [TabsProvider, useTabsContext] = createTabsContext(TABS_NAME);
35082
- var Tabs$1 = React.forwardRef(
35083
- (props, forwardedRef) => {
35084
- const {
35085
- __scopeTabs,
35086
- value: valueProp,
35087
- onValueChange,
35088
- defaultValue,
35089
- orientation = "horizontal",
35090
- dir,
35091
- activationMode = "automatic",
35092
- ...tabsProps
35093
- } = props;
35094
- const direction = useDirection(dir);
35095
- const [value, setValue] = useControllableState({
35096
- prop: valueProp,
35097
- onChange: onValueChange,
35098
- defaultProp: defaultValue
35099
- });
35100
- return /* @__PURE__ */ jsx$1(
35101
- TabsProvider,
35102
- {
35103
- scope: __scopeTabs,
35104
- baseId: useId(),
35105
- value,
35106
- onValueChange: setValue,
35107
- orientation,
35108
- dir: direction,
35109
- activationMode,
35110
- children: /* @__PURE__ */ jsx$1(
35111
- Primitive.div,
35112
- {
35113
- dir: direction,
35114
- "data-orientation": orientation,
35115
- ...tabsProps,
35116
- ref: forwardedRef
35117
- }
35118
- )
35119
- }
35120
- );
35121
- }
35122
- );
35123
- Tabs$1.displayName = TABS_NAME;
35124
- var TAB_LIST_NAME = "TabsList";
35125
- var TabsList = React.forwardRef(
35126
- (props, forwardedRef) => {
35127
- const { __scopeTabs, loop: loop2 = true, ...listProps } = props;
35128
- const context = useTabsContext(TAB_LIST_NAME, __scopeTabs);
35129
- const rovingFocusGroupScope = useRovingFocusGroupScope(__scopeTabs);
35130
- return /* @__PURE__ */ jsx$1(
35131
- Root$3,
35132
- {
35133
- asChild: true,
35134
- ...rovingFocusGroupScope,
35135
- orientation: context.orientation,
35136
- dir: context.dir,
35137
- loop: loop2,
35138
- children: /* @__PURE__ */ jsx$1(
35139
- Primitive.div,
35140
- {
35141
- role: "tablist",
35142
- "aria-orientation": context.orientation,
35143
- ...listProps,
35144
- ref: forwardedRef
35145
- }
35146
- )
35147
- }
35148
- );
35149
- }
35150
- );
35151
- TabsList.displayName = TAB_LIST_NAME;
35152
- var TRIGGER_NAME = "TabsTrigger";
35153
- var TabsTrigger = React.forwardRef(
35154
- (props, forwardedRef) => {
35155
- const { __scopeTabs, value, disabled = false, ...triggerProps } = props;
35156
- const context = useTabsContext(TRIGGER_NAME, __scopeTabs);
35157
- const rovingFocusGroupScope = useRovingFocusGroupScope(__scopeTabs);
35158
- const triggerId = makeTriggerId(context.baseId, value);
35159
- const contentId = makeContentId(context.baseId, value);
35160
- const isSelected = value === context.value;
35161
- return /* @__PURE__ */ jsx$1(
35162
- Item,
35163
- {
35164
- asChild: true,
35165
- ...rovingFocusGroupScope,
35166
- focusable: !disabled,
35167
- active: isSelected,
35168
- children: /* @__PURE__ */ jsx$1(
35169
- Primitive.button,
35170
- {
35171
- type: "button",
35172
- role: "tab",
35173
- "aria-selected": isSelected,
35174
- "aria-controls": contentId,
35175
- "data-state": isSelected ? "active" : "inactive",
35176
- "data-disabled": disabled ? "" : void 0,
35177
- disabled,
35178
- id: triggerId,
35179
- ...triggerProps,
35180
- ref: forwardedRef,
35181
- onMouseDown: composeEventHandlers(props.onMouseDown, (event) => {
35182
- if (!disabled && event.button === 0 && event.ctrlKey === false) {
35183
- context.onValueChange(value);
35184
- } else {
35185
- event.preventDefault();
35186
- }
35187
- }),
35188
- onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {
35189
- if ([" ", "Enter"].includes(event.key)) context.onValueChange(value);
35190
- }),
35191
- onFocus: composeEventHandlers(props.onFocus, () => {
35192
- const isAutomaticActivation = context.activationMode !== "manual";
35193
- if (!isSelected && !disabled && isAutomaticActivation) {
35194
- context.onValueChange(value);
35195
- }
35196
- })
35197
- }
35198
- )
35199
- }
35200
- );
35201
- }
35202
- );
35203
- TabsTrigger.displayName = TRIGGER_NAME;
35204
- var CONTENT_NAME = "TabsContent";
35205
- var TabsContent = React.forwardRef(
35206
- (props, forwardedRef) => {
35207
- const { __scopeTabs, value, forceMount, children, ...contentProps } = props;
35208
- const context = useTabsContext(CONTENT_NAME, __scopeTabs);
35209
- const triggerId = makeTriggerId(context.baseId, value);
35210
- const contentId = makeContentId(context.baseId, value);
35211
- const isSelected = value === context.value;
35212
- const isMountAnimationPreventedRef = React.useRef(isSelected);
35213
- React.useEffect(() => {
35214
- const rAF = requestAnimationFrame(() => isMountAnimationPreventedRef.current = false);
35215
- return () => cancelAnimationFrame(rAF);
35216
- }, []);
35217
- return /* @__PURE__ */ jsx$1(Presence, { present: forceMount || isSelected, children: ({ present }) => /* @__PURE__ */ jsx$1(
35218
- Primitive.div,
35219
- {
35220
- "data-state": isSelected ? "active" : "inactive",
35221
- "data-orientation": context.orientation,
35222
- role: "tabpanel",
35223
- "aria-labelledby": triggerId,
35224
- hidden: !present,
35225
- id: contentId,
35226
- tabIndex: 0,
35227
- ...contentProps,
35228
- ref: forwardedRef,
35229
- style: {
35230
- ...props.style,
35231
- animationDuration: isMountAnimationPreventedRef.current ? "0s" : void 0
35232
- },
35233
- children: present && children
35234
- }
35235
- ) });
35236
- }
35237
- );
35238
- TabsContent.displayName = CONTENT_NAME;
35239
- function makeTriggerId(baseId, value) {
35240
- return `${baseId}-trigger-${value}`;
35241
- }
35242
- function makeContentId(baseId, value) {
35243
- return `${baseId}-content-${value}`;
35244
- }
35245
- var Root2 = Tabs$1;
35246
- var List = TabsList;
35247
- var Trigger = TabsTrigger;
35248
- var Content$1 = TabsContent;
35249
35248
  function DangerZone$1(props) {
35250
35249
  const { className, ...rest } = props;
35251
35250
  return jsxs("div", { className: cn("h-full rounded-lg bg-white p-3", className), children: [jsx$1("h2", { className: "mb-4 font-semibold", children: "Modify Drives" }), jsx$1(ModifyDrives, { ...rest }), jsx$1("h2", { className: "my-4 font-semibold", children: "Local Storage" }), jsx$1(LocalStorage, { ...rest })] });
@@ -35478,7 +35477,7 @@ function Tabs({ children, defaultValue }) {
35478
35477
  if (!React__default.isValidElement(child))
35479
35478
  return;
35480
35479
  const { label } = child.props;
35481
- return jsx$1(Content$1, { value: label, children: child }, i2);
35480
+ return jsx$1(Content$2, { value: label, children: child }, i2);
35482
35481
  }) })] });
35483
35482
  }
35484
35483
  const c$1 = (e2) => "number" == typeof e2 && !isNaN(e2), d = (e2) => "string" == typeof e2, u = (e2) => "function" == typeof e2, p = (e2) => d(e2) || u(e2) ? e2 : null, m = (e2) => isValidElement(e2) || d(e2) || u(e2) || c$1(e2);
@@ -36450,7 +36449,7 @@ const chainConfig$2 = {
36450
36449
  formatters: formatters$1,
36451
36450
  serializers: serializers$1
36452
36451
  };
36453
- const sourceId$_ = 1;
36452
+ const sourceId$10 = 1;
36454
36453
  const ancient8 = /* @__PURE__ */ defineChain({
36455
36454
  ...chainConfig$2,
36456
36455
  id: 888888888,
@@ -36471,26 +36470,26 @@ const ancient8 = /* @__PURE__ */ defineChain({
36471
36470
  contracts: {
36472
36471
  ...chainConfig$2.contracts,
36473
36472
  l2OutputOracle: {
36474
- [sourceId$_]: {
36473
+ [sourceId$10]: {
36475
36474
  address: "0xB09DC08428C8b4EFB4ff9C0827386CDF34277996"
36476
36475
  }
36477
36476
  },
36478
36477
  portal: {
36479
- [sourceId$_]: {
36478
+ [sourceId$10]: {
36480
36479
  address: "0x639F2AECE398Aa76b07e59eF6abe2cFe32bacb68",
36481
36480
  blockCreated: 19070571
36482
36481
  }
36483
36482
  },
36484
36483
  l1StandardBridge: {
36485
- [sourceId$_]: {
36484
+ [sourceId$10]: {
36486
36485
  address: "0xd5e3eDf5b68135D559D572E26bF863FBC1950033",
36487
36486
  blockCreated: 19070571
36488
36487
  }
36489
36488
  }
36490
36489
  },
36491
- sourceId: sourceId$_
36490
+ sourceId: sourceId$10
36492
36491
  });
36493
- const sourceId$Z = 11155111;
36492
+ const sourceId$$ = 11155111;
36494
36493
  const ancient8Sepolia = /* @__PURE__ */ defineChain({
36495
36494
  ...chainConfig$2,
36496
36495
  id: 28122024,
@@ -36511,24 +36510,24 @@ const ancient8Sepolia = /* @__PURE__ */ defineChain({
36511
36510
  contracts: {
36512
36511
  ...chainConfig$2.contracts,
36513
36512
  l2OutputOracle: {
36514
- [sourceId$Z]: {
36513
+ [sourceId$$]: {
36515
36514
  address: "0x942fD5017c0F60575930D8574Eaca13BEcD6e1bB"
36516
36515
  }
36517
36516
  },
36518
36517
  portal: {
36519
- [sourceId$Z]: {
36518
+ [sourceId$$]: {
36520
36519
  address: "0xfa1d9E26A6aCD7b22115D27572c1221B9803c960",
36521
36520
  blockCreated: 4972908
36522
36521
  }
36523
36522
  },
36524
36523
  l1StandardBridge: {
36525
- [sourceId$Z]: {
36524
+ [sourceId$$]: {
36526
36525
  address: "0xF6Bc0146d3c74D48306e79Ae134A260E418C9335",
36527
36526
  blockCreated: 4972908
36528
36527
  }
36529
36528
  }
36530
36529
  },
36531
- sourceId: sourceId$Z
36530
+ sourceId: sourceId$$
36532
36531
  });
36533
36532
  const anvil = /* @__PURE__ */ defineChain({
36534
36533
  id: 31337,
@@ -36545,7 +36544,7 @@ const anvil = /* @__PURE__ */ defineChain({
36545
36544
  }
36546
36545
  }
36547
36546
  });
36548
- const sourceId$Y = 42161;
36547
+ const sourceId$_ = 42161;
36549
36548
  const apeChain = /* @__PURE__ */ defineChain({
36550
36549
  id: 33139,
36551
36550
  name: "Ape Chain",
@@ -36573,7 +36572,7 @@ const apeChain = /* @__PURE__ */ defineChain({
36573
36572
  blockCreated: 20889
36574
36573
  }
36575
36574
  },
36576
- sourceId: sourceId$Y
36575
+ sourceId: sourceId$_
36577
36576
  });
36578
36577
  const apexTestnet = /* @__PURE__ */ defineChain({
36579
36578
  id: 3993,
@@ -37079,7 +37078,7 @@ const avalancheFuji = /* @__PURE__ */ defineChain({
37079
37078
  },
37080
37079
  testnet: true
37081
37080
  });
37082
- const sourceId$X = 8453;
37081
+ const sourceId$Z = 8453;
37083
37082
  const b3 = /* @__PURE__ */ defineChain({
37084
37083
  id: 8333,
37085
37084
  name: "B3",
@@ -37105,9 +37104,9 @@ const b3 = /* @__PURE__ */ defineChain({
37105
37104
  blockCreated: 0
37106
37105
  }
37107
37106
  },
37108
- sourceId: sourceId$X
37107
+ sourceId: sourceId$Z
37109
37108
  });
37110
- const sourceId$W = 168587773;
37109
+ const sourceId$Y = 168587773;
37111
37110
  const b3Sepolia = /* @__PURE__ */ defineChain({
37112
37111
  id: 1993,
37113
37112
  name: "B3 Sepolia",
@@ -37134,7 +37133,7 @@ const b3Sepolia = /* @__PURE__ */ defineChain({
37134
37133
  }
37135
37134
  },
37136
37135
  testnet: true,
37137
- sourceId: sourceId$W
37136
+ sourceId: sourceId$Y
37138
37137
  });
37139
37138
  const bahamut = /* @__PURE__ */ defineChain({
37140
37139
  id: 5165,
@@ -37163,7 +37162,7 @@ const bahamut = /* @__PURE__ */ defineChain({
37163
37162
  }
37164
37163
  }
37165
37164
  });
37166
- const sourceId$V = 1;
37165
+ const sourceId$X = 1;
37167
37166
  const base = /* @__PURE__ */ defineChain({
37168
37167
  ...chainConfig$2,
37169
37168
  id: 8453,
@@ -37184,12 +37183,12 @@ const base = /* @__PURE__ */ defineChain({
37184
37183
  contracts: {
37185
37184
  ...chainConfig$2.contracts,
37186
37185
  disputeGameFactory: {
37187
- [sourceId$V]: {
37186
+ [sourceId$X]: {
37188
37187
  address: "0x43edB88C4B80fDD2AdFF2412A7BebF9dF42cB40e"
37189
37188
  }
37190
37189
  },
37191
37190
  l2OutputOracle: {
37192
- [sourceId$V]: {
37191
+ [sourceId$X]: {
37193
37192
  address: "0x56315b90c40730925ec5485cf004d835058518A0"
37194
37193
  }
37195
37194
  },
@@ -37198,19 +37197,19 @@ const base = /* @__PURE__ */ defineChain({
37198
37197
  blockCreated: 5022
37199
37198
  },
37200
37199
  portal: {
37201
- [sourceId$V]: {
37200
+ [sourceId$X]: {
37202
37201
  address: "0x49048044D57e1C92A77f79988d21Fa8fAF74E97e",
37203
37202
  blockCreated: 17482143
37204
37203
  }
37205
37204
  },
37206
37205
  l1StandardBridge: {
37207
- [sourceId$V]: {
37206
+ [sourceId$X]: {
37208
37207
  address: "0x3154Cf16ccdb4C6d922629664174b904d80F2C35",
37209
37208
  blockCreated: 17482143
37210
37209
  }
37211
37210
  }
37212
37211
  },
37213
- sourceId: sourceId$V
37212
+ sourceId: sourceId$X
37214
37213
  });
37215
37214
  const basecampTestnet = /* @__PURE__ */ defineChain({
37216
37215
  id: 123420001114,
@@ -37231,7 +37230,7 @@ const basecampTestnet = /* @__PURE__ */ defineChain({
37231
37230
  },
37232
37231
  testnet: true
37233
37232
  });
37234
- const sourceId$U = 5;
37233
+ const sourceId$W = 5;
37235
37234
  const baseGoerli = /* @__PURE__ */ defineChain({
37236
37235
  ...chainConfig$2,
37237
37236
  id: 84531,
@@ -37250,7 +37249,7 @@ const baseGoerli = /* @__PURE__ */ defineChain({
37250
37249
  contracts: {
37251
37250
  ...chainConfig$2.contracts,
37252
37251
  l2OutputOracle: {
37253
- [sourceId$U]: {
37252
+ [sourceId$W]: {
37254
37253
  address: "0x2A35891ff30313CcFa6CE88dcf3858bb075A2298"
37255
37254
  }
37256
37255
  },
@@ -37259,20 +37258,20 @@ const baseGoerli = /* @__PURE__ */ defineChain({
37259
37258
  blockCreated: 1376988
37260
37259
  },
37261
37260
  portal: {
37262
- [sourceId$U]: {
37261
+ [sourceId$W]: {
37263
37262
  address: "0xe93c8cD0D409341205A592f8c4Ac1A5fe5585cfA"
37264
37263
  }
37265
37264
  },
37266
37265
  l1StandardBridge: {
37267
- [sourceId$U]: {
37266
+ [sourceId$W]: {
37268
37267
  address: "0xfA6D8Ee5BE770F84FC001D098C4bD604Fe01284a"
37269
37268
  }
37270
37269
  }
37271
37270
  },
37272
37271
  testnet: true,
37273
- sourceId: sourceId$U
37272
+ sourceId: sourceId$W
37274
37273
  });
37275
- const sourceId$T = 11155111;
37274
+ const sourceId$V = 11155111;
37276
37275
  const baseSepolia = /* @__PURE__ */ defineChain({
37277
37276
  ...chainConfig$2,
37278
37277
  id: 84532,
@@ -37294,23 +37293,23 @@ const baseSepolia = /* @__PURE__ */ defineChain({
37294
37293
  contracts: {
37295
37294
  ...chainConfig$2.contracts,
37296
37295
  disputeGameFactory: {
37297
- [sourceId$T]: {
37296
+ [sourceId$V]: {
37298
37297
  address: "0xd6E6dBf4F7EA0ac412fD8b65ED297e64BB7a06E1"
37299
37298
  }
37300
37299
  },
37301
37300
  l2OutputOracle: {
37302
- [sourceId$T]: {
37301
+ [sourceId$V]: {
37303
37302
  address: "0x84457ca9D0163FbC4bbfe4Dfbb20ba46e48DF254"
37304
37303
  }
37305
37304
  },
37306
37305
  portal: {
37307
- [sourceId$T]: {
37306
+ [sourceId$V]: {
37308
37307
  address: "0x49f53e41452c74589e85ca1677426ba426459e85",
37309
37308
  blockCreated: 4446677
37310
37309
  }
37311
37310
  },
37312
37311
  l1StandardBridge: {
37313
- [sourceId$T]: {
37312
+ [sourceId$V]: {
37314
37313
  address: "0xfd0Bf71F60660E2f608ed56e1659C450eB113120",
37315
37314
  blockCreated: 4446677
37316
37315
  }
@@ -37321,7 +37320,7 @@ const baseSepolia = /* @__PURE__ */ defineChain({
37321
37320
  }
37322
37321
  },
37323
37322
  testnet: true,
37324
- sourceId: sourceId$T
37323
+ sourceId: sourceId$V
37325
37324
  });
37326
37325
  const beam = /* @__PURE__ */ defineChain({
37327
37326
  id: 4337,
@@ -37756,7 +37755,7 @@ const birdlayer = defineChain({
37756
37755
  }
37757
37756
  }
37758
37757
  });
37759
- const sourceId$S = 1;
37758
+ const sourceId$U = 1;
37760
37759
  const blast = /* @__PURE__ */ defineChain({
37761
37760
  ...chainConfig$2,
37762
37761
  id: 81457,
@@ -37783,9 +37782,9 @@ const blast = /* @__PURE__ */ defineChain({
37783
37782
  blockCreated: 212929
37784
37783
  }
37785
37784
  },
37786
- sourceId: sourceId$S
37785
+ sourceId: sourceId$U
37787
37786
  });
37788
- const sourceId$R = 11155111;
37787
+ const sourceId$T = 11155111;
37789
37788
  const blastSepolia = /* @__PURE__ */ defineChain({
37790
37789
  id: 168587773,
37791
37790
  name: "Blast Sepolia",
@@ -37813,9 +37812,9 @@ const blastSepolia = /* @__PURE__ */ defineChain({
37813
37812
  }
37814
37813
  },
37815
37814
  testnet: true,
37816
- sourceId: sourceId$R
37815
+ sourceId: sourceId$T
37817
37816
  });
37818
- const sourceId$Q = 1;
37817
+ const sourceId$S = 1;
37819
37818
  const bob = defineChain({
37820
37819
  ...chainConfig$2,
37821
37820
  id: 60808,
@@ -37844,19 +37843,19 @@ const bob = defineChain({
37844
37843
  blockCreated: 23131
37845
37844
  },
37846
37845
  l2OutputOracle: {
37847
- [sourceId$Q]: {
37846
+ [sourceId$S]: {
37848
37847
  address: "0xdDa53E23f8a32640b04D7256e651C1db98dB11C1",
37849
37848
  blockCreated: 4462615
37850
37849
  }
37851
37850
  },
37852
37851
  portal: {
37853
- [sourceId$Q]: {
37852
+ [sourceId$S]: {
37854
37853
  address: "0x8AdeE124447435fE03e3CD24dF3f4cAE32E65a3E",
37855
37854
  blockCreated: 4462615
37856
37855
  }
37857
37856
  }
37858
37857
  },
37859
- sourceId: sourceId$Q
37858
+ sourceId: sourceId$S
37860
37859
  });
37861
37860
  const boba = /* @__PURE__ */ defineChain({
37862
37861
  id: 288,
@@ -37901,7 +37900,7 @@ const bobaSepolia = /* @__PURE__ */ defineChain({
37901
37900
  },
37902
37901
  testnet: true
37903
37902
  });
37904
- const sourceId$P = 11155111;
37903
+ const sourceId$R = 11155111;
37905
37904
  const bobSepolia = defineChain({
37906
37905
  ...chainConfig$2,
37907
37906
  id: 808813,
@@ -37930,20 +37929,20 @@ const bobSepolia = defineChain({
37930
37929
  blockCreated: 35677
37931
37930
  },
37932
37931
  l2OutputOracle: {
37933
- [sourceId$P]: {
37932
+ [sourceId$R]: {
37934
37933
  address: "0x14D0069452b4AE2b250B395b8adAb771E4267d2f",
37935
37934
  blockCreated: 4462615
37936
37935
  }
37937
37936
  },
37938
37937
  portal: {
37939
- [sourceId$P]: {
37938
+ [sourceId$R]: {
37940
37939
  address: "0x867B1Aa872b9C8cB5E9F7755feDC45BB24Ad0ae4",
37941
37940
  blockCreated: 4462615
37942
37941
  }
37943
37942
  }
37944
37943
  },
37945
37944
  testnet: true,
37946
- sourceId: sourceId$P
37945
+ sourceId: sourceId$R
37947
37946
  });
37948
37947
  const boolBetaMainnet = /* @__PURE__ */ defineChain({
37949
37948
  id: 11100,
@@ -38057,7 +38056,7 @@ const bsc = /* @__PURE__ */ defineChain({
38057
38056
  symbol: "BNB"
38058
38057
  },
38059
38058
  rpcUrls: {
38060
- default: { http: ["https://rpc.ankr.com/bsc"] }
38059
+ default: { http: ["https://56.rpc.thirdweb.com"] }
38061
38060
  },
38062
38061
  blockExplorers: {
38063
38062
  default: {
@@ -38169,11 +38168,7 @@ const btr = /* @__PURE__ */ defineChain({
38169
38168
  },
38170
38169
  rpcUrls: {
38171
38170
  default: {
38172
- http: [
38173
- "https://rpc.bitlayer.org",
38174
- "https://rpc.bitlayer-rpc.com",
38175
- "https://rpc.ankr.com/bitlayer"
38176
- ],
38171
+ http: ["https://rpc.bitlayer.org", "https://rpc.bitlayer-rpc.com"],
38177
38172
  webSocket: ["wss://ws.bitlayer.org", "wss://ws.bitlayer-rpc.com"]
38178
38173
  }
38179
38174
  },
@@ -38487,7 +38482,7 @@ const celo = /* @__PURE__ */ defineChain({
38487
38482
  },
38488
38483
  testnet: false
38489
38484
  });
38490
- const sourceId$O = 17e3;
38485
+ const sourceId$Q = 17e3;
38491
38486
  const celoAlfajores = /* @__PURE__ */ defineChain({
38492
38487
  ...chainConfig$1,
38493
38488
  id: 44787,
@@ -38516,25 +38511,25 @@ const celoAlfajores = /* @__PURE__ */ defineChain({
38516
38511
  blockCreated: 14569001
38517
38512
  },
38518
38513
  portal: {
38519
- [sourceId$O]: {
38514
+ [sourceId$Q]: {
38520
38515
  address: "0x82527353927d8D069b3B452904c942dA149BA381",
38521
38516
  blockCreated: 2411324
38522
38517
  }
38523
38518
  },
38524
38519
  disputeGameFactory: {
38525
- [sourceId$O]: {
38520
+ [sourceId$Q]: {
38526
38521
  address: "0xE28AAdcd9883746c0e5068F58f9ea06027b214cb",
38527
38522
  blockCreated: 2411324
38528
38523
  }
38529
38524
  },
38530
38525
  l2OutputOracle: {
38531
- [sourceId$O]: {
38526
+ [sourceId$Q]: {
38532
38527
  address: "0x4a2635e9e4f6e45817b1D402ac4904c1d1752438",
38533
38528
  blockCreated: 2411324
38534
38529
  }
38535
38530
  },
38536
38531
  l1StandardBridge: {
38537
- [sourceId$O]: {
38532
+ [sourceId$Q]: {
38538
38533
  address: "0xD1B0E0581973c9eB7f886967A606b9441A897037",
38539
38534
  blockCreated: 2411324
38540
38535
  }
@@ -38573,10 +38568,7 @@ const chiliz = /* @__PURE__ */ defineChain({
38573
38568
  },
38574
38569
  rpcUrls: {
38575
38570
  default: {
38576
- http: [
38577
- "https://rpc.ankr.com/chiliz",
38578
- "https://chiliz-rpc.publicnode.com"
38579
- ]
38571
+ http: ["https://chiliz-rpc.publicnode.com"]
38580
38572
  }
38581
38573
  },
38582
38574
  blockExplorers: {
@@ -38747,7 +38739,7 @@ const coreDao = /* @__PURE__ */ defineChain({
38747
38739
  },
38748
38740
  testnet: false
38749
38741
  });
38750
- const sourceId$N = 1;
38742
+ const sourceId$P = 1;
38751
38743
  const corn = /* @__PURE__ */ defineChain({
38752
38744
  id: 21e6,
38753
38745
  name: "Corn",
@@ -38757,7 +38749,7 @@ const corn = /* @__PURE__ */ defineChain({
38757
38749
  symbol: "BTCN"
38758
38750
  },
38759
38751
  rpcUrls: {
38760
- default: { http: ["https://rpc.ankr.com/corn_maizenet"] }
38752
+ default: { http: ["https://21000000.rpc.thirdweb.com"] }
38761
38753
  },
38762
38754
  blockExplorers: {
38763
38755
  default: {
@@ -38772,9 +38764,9 @@ const corn = /* @__PURE__ */ defineChain({
38772
38764
  blockCreated: 3228
38773
38765
  }
38774
38766
  },
38775
- sourceId: sourceId$N
38767
+ sourceId: sourceId$P
38776
38768
  });
38777
- const sourceId$M = 11155111;
38769
+ const sourceId$O = 11155111;
38778
38770
  const cornTestnet = /* @__PURE__ */ defineChain({
38779
38771
  id: 21000001,
38780
38772
  name: "Corn Testnet",
@@ -38784,7 +38776,7 @@ const cornTestnet = /* @__PURE__ */ defineChain({
38784
38776
  symbol: "BTCN"
38785
38777
  },
38786
38778
  rpcUrls: {
38787
- default: { http: ["https://rpc.ankr.com/corn_testnet"] }
38779
+ default: { http: ["https://21000001.rpc.thirdweb.com"] }
38788
38780
  },
38789
38781
  blockExplorers: {
38790
38782
  default: {
@@ -38800,7 +38792,7 @@ const cornTestnet = /* @__PURE__ */ defineChain({
38800
38792
  }
38801
38793
  },
38802
38794
  testnet: true,
38803
- sourceId: sourceId$M
38795
+ sourceId: sourceId$O
38804
38796
  });
38805
38797
  const crab = defineChain({
38806
38798
  id: 44,
@@ -39133,6 +39125,23 @@ const darwinia = /* @__PURE__ */ defineChain({
39133
39125
  }
39134
39126
  }
39135
39127
  });
39128
+ const dbkchain = /* @__PURE__ */ defineChain({
39129
+ id: 20240603,
39130
+ name: "DBK chain",
39131
+ nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
39132
+ rpcUrls: {
39133
+ default: {
39134
+ http: ["https://rpc.mainnet.dbkchain.io"]
39135
+ }
39136
+ },
39137
+ blockExplorers: {
39138
+ default: {
39139
+ name: "DBK Chain Explorer",
39140
+ url: "https://scan.dbkchain.io"
39141
+ }
39142
+ },
39143
+ testnet: false
39144
+ });
39136
39145
  const dchain = /* @__PURE__ */ defineChain({
39137
39146
  ...chainConfig$2,
39138
39147
  id: 2716446429837e3,
@@ -39527,6 +39536,41 @@ const dymension = /* @__PURE__ */ defineChain({
39527
39536
  },
39528
39537
  testnet: false
39529
39538
  });
39539
+ const edexaTestnet = /* @__PURE__ */ defineChain({
39540
+ id: 1995,
39541
+ name: "edeXa Testnet",
39542
+ nativeCurrency: { name: "edeXa", symbol: "tEDX", decimals: 18 },
39543
+ rpcUrls: {
39544
+ default: {
39545
+ http: ["https://rpc.testnet.edexa.network"]
39546
+ }
39547
+ },
39548
+ blockExplorers: {
39549
+ default: {
39550
+ name: "edeXa Testnet Explorer",
39551
+ url: "https://explorer.testnet.edexa.network",
39552
+ apiUrl: "https://explorer.testnet.edexa.network/api/v2"
39553
+ }
39554
+ },
39555
+ testnet: true
39556
+ });
39557
+ const edexa = /* @__PURE__ */ defineChain({
39558
+ id: 5424,
39559
+ name: "edeXa",
39560
+ nativeCurrency: { name: "edeXa", symbol: "EDX", decimals: 18 },
39561
+ rpcUrls: {
39562
+ default: {
39563
+ http: ["https://rpc.edexa.network"]
39564
+ }
39565
+ },
39566
+ blockExplorers: {
39567
+ default: {
39568
+ name: "edeXa Explorer",
39569
+ url: "https://explorer.edexa.network",
39570
+ apiUrl: "https://explorer.edexa.network/api/v2"
39571
+ }
39572
+ }
39573
+ });
39530
39574
  const edgeless = /* @__PURE__ */ defineChain({
39531
39575
  id: 2026,
39532
39576
  name: "Edgeless Network",
@@ -39944,7 +39988,7 @@ const etherlinkTestnet = /* @__PURE__ */ defineChain({
39944
39988
  blockExplorers: {
39945
39989
  default: {
39946
39990
  name: "Etherlink Testnet",
39947
- url: "https://testnet-explorer.etherlink.com"
39991
+ url: "https://testnet.explorer.etherlink.com"
39948
39992
  }
39949
39993
  },
39950
39994
  testnet: true
@@ -40115,7 +40159,7 @@ const fantom = /* @__PURE__ */ defineChain({
40115
40159
  symbol: "FTM"
40116
40160
  },
40117
40161
  rpcUrls: {
40118
- default: { http: ["https://rpc.ankr.com/fantom"] }
40162
+ default: { http: ["https://250.rpc.thirdweb.com"] }
40119
40163
  },
40120
40164
  blockExplorers: {
40121
40165
  default: {
@@ -40521,7 +40565,7 @@ const forma = /* @__PURE__ */ defineChain({
40521
40565
  }
40522
40566
  }
40523
40567
  });
40524
- const sourceId$L = 1;
40568
+ const sourceId$N = 1;
40525
40569
  const form = /* @__PURE__ */ defineChain({
40526
40570
  id: 478,
40527
40571
  name: "Form Network",
@@ -40545,27 +40589,27 @@ const form = /* @__PURE__ */ defineChain({
40545
40589
  contracts: {
40546
40590
  ...chainConfig$2.contracts,
40547
40591
  addressManager: {
40548
- [sourceId$L]: {
40592
+ [sourceId$N]: {
40549
40593
  address: "0x15c249E46A2F924C2dB3A1560CF86729bAD1f07B"
40550
40594
  }
40551
40595
  },
40552
40596
  l1CrossDomainMessenger: {
40553
- [sourceId$L]: {
40597
+ [sourceId$N]: {
40554
40598
  address: "0xF333158DCCad1dF6C3F0a3aEe8BC31fA94d9eD5c"
40555
40599
  }
40556
40600
  },
40557
40601
  l2OutputOracle: {
40558
- [sourceId$L]: {
40602
+ [sourceId$N]: {
40559
40603
  address: "0x4ccAAF69F41c5810cA875183648B577CaCf1F67E"
40560
40604
  }
40561
40605
  },
40562
40606
  portal: {
40563
- [sourceId$L]: {
40607
+ [sourceId$N]: {
40564
40608
  address: "0x4E259Ee5F4136408908160dD32295A5031Fa426F"
40565
40609
  }
40566
40610
  },
40567
40611
  l1StandardBridge: {
40568
- [sourceId$L]: {
40612
+ [sourceId$N]: {
40569
40613
  address: "0xdc20aA63D3DE59574E065957190D8f24e0F7B8Ba"
40570
40614
  }
40571
40615
  },
@@ -40573,9 +40617,9 @@ const form = /* @__PURE__ */ defineChain({
40573
40617
  address: "0xcA11bde05977b3631167028862bE2a173976CA11"
40574
40618
  }
40575
40619
  },
40576
- sourceId: sourceId$L
40620
+ sourceId: sourceId$N
40577
40621
  });
40578
- const sourceId$K = 11155111;
40622
+ const sourceId$M = 11155111;
40579
40623
  const formTestnet = /* @__PURE__ */ defineChain({
40580
40624
  id: 132902,
40581
40625
  name: "Form Testnet",
@@ -40599,27 +40643,27 @@ const formTestnet = /* @__PURE__ */ defineChain({
40599
40643
  contracts: {
40600
40644
  ...chainConfig$2.contracts,
40601
40645
  addressManager: {
40602
- [sourceId$K]: {
40646
+ [sourceId$M]: {
40603
40647
  address: "0xd5C38fa934f7fd7477D4800F4f38a1c5BFdF1373"
40604
40648
  }
40605
40649
  },
40606
40650
  l1CrossDomainMessenger: {
40607
- [sourceId$K]: {
40651
+ [sourceId$M]: {
40608
40652
  address: "0x37A68565c4BE9700b3E3Ec60cC4416cAC3052FAa"
40609
40653
  }
40610
40654
  },
40611
40655
  l2OutputOracle: {
40612
- [sourceId$K]: {
40656
+ [sourceId$M]: {
40613
40657
  address: "0x9eA2239E65a59EC9C7F1ED4C116dD58Da71Fc1e2"
40614
40658
  }
40615
40659
  },
40616
40660
  portal: {
40617
- [sourceId$K]: {
40661
+ [sourceId$M]: {
40618
40662
  address: "0x60377e3cE15dF4CCA24c4beF076b60314240b032"
40619
40663
  }
40620
40664
  },
40621
40665
  l1StandardBridge: {
40622
- [sourceId$K]: {
40666
+ [sourceId$M]: {
40623
40667
  address: "0xD4531f633942b2725896F47cD2aFd260b44Ab1F7"
40624
40668
  }
40625
40669
  },
@@ -40628,7 +40672,7 @@ const formTestnet = /* @__PURE__ */ defineChain({
40628
40672
  }
40629
40673
  },
40630
40674
  testnet: true,
40631
- sourceId: sourceId$K
40675
+ sourceId: sourceId$M
40632
40676
  });
40633
40677
  const forta = /* @__PURE__ */ defineChain({
40634
40678
  id: 80931,
@@ -40665,7 +40709,7 @@ const foundry = /* @__PURE__ */ defineChain({
40665
40709
  }
40666
40710
  }
40667
40711
  });
40668
- const sourceId$J = 1;
40712
+ const sourceId$L = 1;
40669
40713
  const fraxtal = /* @__PURE__ */ defineChain({
40670
40714
  ...chainConfig$2,
40671
40715
  id: 252,
@@ -40686,7 +40730,7 @@ const fraxtal = /* @__PURE__ */ defineChain({
40686
40730
  contracts: {
40687
40731
  ...chainConfig$2.contracts,
40688
40732
  l2OutputOracle: {
40689
- [sourceId$J]: {
40733
+ [sourceId$L]: {
40690
40734
  address: "0x66CC916Ed5C6C2FA97014f7D1cD141528Ae171e4"
40691
40735
  }
40692
40736
  },
@@ -40694,21 +40738,21 @@ const fraxtal = /* @__PURE__ */ defineChain({
40694
40738
  address: "0xca11bde05977b3631167028862be2a173976ca11"
40695
40739
  },
40696
40740
  portal: {
40697
- [sourceId$J]: {
40741
+ [sourceId$L]: {
40698
40742
  address: "0x36cb65c1967A0Fb0EEE11569C51C2f2aA1Ca6f6D",
40699
40743
  blockCreated: 19135323
40700
40744
  }
40701
40745
  },
40702
40746
  l1StandardBridge: {
40703
- [sourceId$J]: {
40747
+ [sourceId$L]: {
40704
40748
  address: "0x34C0bD5877A5Ee7099D0f5688D65F4bB9158BDE2",
40705
40749
  blockCreated: 19135323
40706
40750
  }
40707
40751
  }
40708
40752
  },
40709
- sourceId: sourceId$J
40753
+ sourceId: sourceId$L
40710
40754
  });
40711
- const sourceId$I = 17e3;
40755
+ const sourceId$K = 17e3;
40712
40756
  const fraxtalTestnet = /* @__PURE__ */ defineChain({
40713
40757
  ...chainConfig$2,
40714
40758
  id: 2522,
@@ -40729,7 +40773,7 @@ const fraxtalTestnet = /* @__PURE__ */ defineChain({
40729
40773
  contracts: {
40730
40774
  ...chainConfig$2.contracts,
40731
40775
  l2OutputOracle: {
40732
- [sourceId$I]: {
40776
+ [sourceId$K]: {
40733
40777
  address: "0x715EA64DA13F4d0831ece4Ad3E8c1aa013167F32"
40734
40778
  }
40735
40779
  },
@@ -40737,21 +40781,21 @@ const fraxtalTestnet = /* @__PURE__ */ defineChain({
40737
40781
  address: "0xca11bde05977b3631167028862be2a173976ca11"
40738
40782
  },
40739
40783
  portal: {
40740
- [sourceId$I]: {
40784
+ [sourceId$K]: {
40741
40785
  address: "0xB9c64BfA498d5b9a8398Ed6f46eb76d90dE5505d",
40742
40786
  blockCreated: 318416
40743
40787
  }
40744
40788
  },
40745
40789
  l1StandardBridge: {
40746
- [sourceId$I]: {
40790
+ [sourceId$K]: {
40747
40791
  address: "0x0BaafC217162f64930909aD9f2B27125121d6332",
40748
40792
  blockCreated: 318416
40749
40793
  }
40750
40794
  }
40751
40795
  },
40752
- sourceId: sourceId$I
40796
+ sourceId: sourceId$K
40753
40797
  });
40754
- const sourceId$H = 1;
40798
+ const sourceId$J = 1;
40755
40799
  const funkiMainnet = /* @__PURE__ */ defineChain({
40756
40800
  ...chainConfig$2,
40757
40801
  id: 33979,
@@ -40771,9 +40815,9 @@ const funkiMainnet = /* @__PURE__ */ defineChain({
40771
40815
  contracts: {
40772
40816
  ...chainConfig$2.contracts
40773
40817
  },
40774
- sourceId: sourceId$H
40818
+ sourceId: sourceId$J
40775
40819
  });
40776
- const sourceId$G = 11155111;
40820
+ const sourceId$I = 11155111;
40777
40821
  const funkiSepolia = defineChain({
40778
40822
  ...chainConfig$2,
40779
40823
  id: 3397901,
@@ -40799,7 +40843,7 @@ const funkiSepolia = defineChain({
40799
40843
  blockCreated: 1620204
40800
40844
  }
40801
40845
  },
40802
- sourceId: sourceId$G
40846
+ sourceId: sourceId$I
40803
40847
  });
40804
40848
  const fuse = /* @__PURE__ */ defineChain({
40805
40849
  id: 122,
@@ -40885,13 +40929,13 @@ const fusionTestnet = /* @__PURE__ */ defineChain({
40885
40929
  },
40886
40930
  testnet: true
40887
40931
  });
40888
- const sourceId$F = 17e3;
40932
+ const sourceId$H = 17e3;
40889
40933
  const garnet = defineChain({
40890
40934
  ...chainConfig$2,
40891
40935
  name: "Garnet Testnet",
40892
40936
  testnet: true,
40893
40937
  id: 17069,
40894
- sourceId: sourceId$F,
40938
+ sourceId: sourceId$H,
40895
40939
  nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
40896
40940
  rpcUrls: {
40897
40941
  default: {
@@ -40911,19 +40955,19 @@ const garnet = defineChain({
40911
40955
  address: "0xca11bde05977b3631167028862be2a173976ca11"
40912
40956
  },
40913
40957
  portal: {
40914
- [sourceId$F]: {
40958
+ [sourceId$H]: {
40915
40959
  address: "0x57ee40586fbE286AfC75E67cb69511A6D9aF5909",
40916
40960
  blockCreated: 1274684
40917
40961
  }
40918
40962
  },
40919
40963
  l2OutputOracle: {
40920
- [sourceId$F]: {
40964
+ [sourceId$H]: {
40921
40965
  address: "0xCb8E7AC561b8EF04F2a15865e9fbc0766FEF569B",
40922
40966
  blockCreated: 1274684
40923
40967
  }
40924
40968
  },
40925
40969
  l1StandardBridge: {
40926
- [sourceId$F]: {
40970
+ [sourceId$H]: {
40927
40971
  address: "0x09bcDd311FE398F80a78BE37E489f5D440DB95DE",
40928
40972
  blockCreated: 1274684
40929
40973
  }
@@ -41160,7 +41204,7 @@ const goerli = /* @__PURE__ */ defineChain({
41160
41204
  nativeCurrency: { name: "Goerli Ether", symbol: "ETH", decimals: 18 },
41161
41205
  rpcUrls: {
41162
41206
  default: {
41163
- http: ["https://rpc.ankr.com/eth_goerli"]
41207
+ http: ["https://5.rpc.thirdweb.com"]
41164
41208
  }
41165
41209
  },
41166
41210
  blockExplorers: {
@@ -41375,7 +41419,7 @@ const harmonyOne = /* @__PURE__ */ defineChain({
41375
41419
  decimals: 18
41376
41420
  },
41377
41421
  rpcUrls: {
41378
- default: { http: ["https://rpc.ankr.com/harmony"] }
41422
+ default: { http: ["https://1666600000.rpc.thirdweb.com"] }
41379
41423
  },
41380
41424
  blockExplorers: {
41381
41425
  default: {
@@ -41621,6 +41665,23 @@ const holesky = /* @__PURE__ */ defineChain({
41621
41665
  },
41622
41666
  testnet: true
41623
41667
  });
41668
+ const hoodi = /* @__PURE__ */ defineChain({
41669
+ id: 560048,
41670
+ name: "Hoodi",
41671
+ nativeCurrency: { name: "Hoodi Ether", symbol: "ETH", decimals: 18 },
41672
+ rpcUrls: {
41673
+ default: {
41674
+ http: ["https://rpc.hoodi.ethpandaops.io"]
41675
+ }
41676
+ },
41677
+ blockExplorers: {
41678
+ default: {
41679
+ name: "Etherscan",
41680
+ url: "https://hoodi.etherscan.io"
41681
+ }
41682
+ },
41683
+ testnet: true
41684
+ });
41624
41685
  const hpb = /* @__PURE__ */ defineChain({
41625
41686
  id: 269,
41626
41687
  name: "High Performance Blockchain",
@@ -41638,7 +41699,7 @@ const hpb = /* @__PURE__ */ defineChain({
41638
41699
  },
41639
41700
  testnet: false
41640
41701
  });
41641
- const sourceId$E = 42161;
41702
+ const sourceId$G = 42161;
41642
41703
  const huddle01Mainnet = /* @__PURE__ */ defineChain({
41643
41704
  id: 12323,
41644
41705
  name: "Huddle01 dRTC Chain",
@@ -41660,9 +41721,9 @@ const huddle01Mainnet = /* @__PURE__ */ defineChain({
41660
41721
  apiUrl: "https://huddle01.calderaexplorer.xyz/api"
41661
41722
  }
41662
41723
  },
41663
- sourceId: sourceId$E
41724
+ sourceId: sourceId$G
41664
41725
  });
41665
- const sourceId$D = 421614;
41726
+ const sourceId$F = 421614;
41666
41727
  const huddle01Testnet = /* @__PURE__ */ defineChain({
41667
41728
  id: 2524852,
41668
41729
  name: "Huddle01 dRTC Chain Testnet",
@@ -41684,7 +41745,7 @@ const huddle01Testnet = /* @__PURE__ */ defineChain({
41684
41745
  apiUrl: "https://huddle-testnet.explorer.caldera.xyz/api"
41685
41746
  }
41686
41747
  },
41687
- sourceId: sourceId$D
41748
+ sourceId: sourceId$F
41688
41749
  });
41689
41750
  const humanode = /* @__PURE__ */ defineChain({
41690
41751
  id: 5234,
@@ -41907,7 +41968,7 @@ const initVerseGenesis = /* @__PURE__ */ defineChain({
41907
41968
  },
41908
41969
  testnet: true
41909
41970
  });
41910
- const sourceId$C = 1;
41971
+ const sourceId$E = 1;
41911
41972
  const ink = /* @__PURE__ */ defineChain({
41912
41973
  ...chainConfig$2,
41913
41974
  id: 57073,
@@ -41933,27 +41994,31 @@ const ink = /* @__PURE__ */ defineChain({
41933
41994
  }
41934
41995
  },
41935
41996
  contracts: {
41997
+ multicall3: {
41998
+ address: "0xcA11bde05977b3631167028862bE2a173976CA11",
41999
+ blockCreated: 0
42000
+ },
41936
42001
  ...chainConfig$2.contracts,
41937
42002
  disputeGameFactory: {
41938
- [sourceId$C]: {
42003
+ [sourceId$E]: {
41939
42004
  address: "0x10d7b35078d3baabb96dd45a9143b94be65b12cd"
41940
42005
  }
41941
42006
  },
41942
42007
  portal: {
41943
- [sourceId$C]: {
42008
+ [sourceId$E]: {
41944
42009
  address: "0x5d66c1782664115999c47c9fa5cd031f495d3e4f"
41945
42010
  }
41946
42011
  },
41947
42012
  l1StandardBridge: {
41948
- [sourceId$C]: {
42013
+ [sourceId$E]: {
41949
42014
  address: "0x88ff1e5b602916615391f55854588efcbb7663f0"
41950
42015
  }
41951
42016
  }
41952
42017
  },
41953
42018
  testnet: false,
41954
- sourceId: sourceId$C
42019
+ sourceId: sourceId$E
41955
42020
  });
41956
- const sourceId$B = 11155111;
42021
+ const sourceId$D = 11155111;
41957
42022
  const inkSepolia = /* @__PURE__ */ defineChain({
41958
42023
  ...chainConfig$2,
41959
42024
  id: 763373,
@@ -41973,24 +42038,28 @@ const inkSepolia = /* @__PURE__ */ defineChain({
41973
42038
  },
41974
42039
  contracts: {
41975
42040
  ...chainConfig$2.contracts,
42041
+ multicall3: {
42042
+ address: "0xcA11bde05977b3631167028862bE2a173976CA11",
42043
+ blockCreated: 0
42044
+ },
41976
42045
  disputeGameFactory: {
41977
- [sourceId$B]: {
42046
+ [sourceId$D]: {
41978
42047
  address: "0x860e626c700af381133d9f4af31412a2d1db3d5d"
41979
42048
  }
41980
42049
  },
41981
42050
  portal: {
41982
- [sourceId$B]: {
42051
+ [sourceId$D]: {
41983
42052
  address: "0x5c1d29c6c9c8b0800692acc95d700bcb4966a1d7"
41984
42053
  }
41985
42054
  },
41986
42055
  l1StandardBridge: {
41987
- [sourceId$B]: {
42056
+ [sourceId$D]: {
41988
42057
  address: "0x33f60714bbd74d62b66d79213c348614de51901c"
41989
42058
  }
41990
42059
  }
41991
42060
  },
41992
42061
  testnet: true,
41993
- sourceId: sourceId$B
42062
+ sourceId: sourceId$D
41994
42063
  });
41995
42064
  const iota = /* @__PURE__ */ defineChain({
41996
42065
  id: 8822,
@@ -42171,7 +42240,7 @@ const jbcTestnet = /* @__PURE__ */ defineChain({
42171
42240
  });
42172
42241
  const juneo = /* @__PURE__ */ defineChain({
42173
42242
  id: 45003,
42174
- name: "JUNE-Chain",
42243
+ name: "Juneo JUNE-Chain",
42175
42244
  nativeCurrency: {
42176
42245
  decimals: 18,
42177
42246
  name: "JUNE-Chain",
@@ -42188,6 +42257,235 @@ const juneo = /* @__PURE__ */ defineChain({
42188
42257
  }
42189
42258
  }
42190
42259
  });
42260
+ const juneoBCH1Chain = /* @__PURE__ */ defineChain({
42261
+ id: 45013,
42262
+ name: "Juneo BCH1-Chain",
42263
+ nativeCurrency: {
42264
+ decimals: 18,
42265
+ name: "Juneo BCH1-Chain",
42266
+ symbol: "BCH1"
42267
+ },
42268
+ rpcUrls: {
42269
+ default: { http: ["https://rpc.juneo-mainnet.network/ext/bc/BCH1/rpc"] }
42270
+ },
42271
+ blockExplorers: {
42272
+ default: {
42273
+ name: "Juneo Scan",
42274
+ url: "https://juneoscan.io/chain/12",
42275
+ apiUrl: "https://juneoscan.io/chain/12/api"
42276
+ }
42277
+ }
42278
+ });
42279
+ const juneoDAI1Chain = /* @__PURE__ */ defineChain({
42280
+ id: 45004,
42281
+ name: "Juneo DAI1-Chain",
42282
+ nativeCurrency: {
42283
+ decimals: 18,
42284
+ name: "Juneo DAI1-Chain",
42285
+ symbol: "DAI1"
42286
+ },
42287
+ rpcUrls: {
42288
+ default: { http: ["https://rpc.juneo-mainnet.network/ext/bc/DAI1/rpc"] }
42289
+ },
42290
+ blockExplorers: {
42291
+ default: {
42292
+ name: "Juneo Scan",
42293
+ url: "https://juneoscan.io/chain/5",
42294
+ apiUrl: "https://juneoscan.io/chain/5/api"
42295
+ }
42296
+ }
42297
+ });
42298
+ const juneoDOGE1Chain = /* @__PURE__ */ defineChain({
42299
+ id: 45010,
42300
+ name: "Juneo DOGE1-Chain",
42301
+ nativeCurrency: {
42302
+ decimals: 18,
42303
+ name: "Juneo DOGE1-Chain",
42304
+ symbol: "DOGE1"
42305
+ },
42306
+ rpcUrls: {
42307
+ default: { http: ["https://rpc.juneo-mainnet.network/ext/bc/DOGE1/rpc"] }
42308
+ },
42309
+ blockExplorers: {
42310
+ default: {
42311
+ name: "Juneo Scan",
42312
+ url: "https://juneoscan.io/chain/10",
42313
+ apiUrl: "https://juneoscan.io/chain/10/api"
42314
+ }
42315
+ }
42316
+ });
42317
+ const juneoEUR1Chain = /* @__PURE__ */ defineChain({
42318
+ id: 45011,
42319
+ name: "Juneo EUR1-Chain",
42320
+ nativeCurrency: {
42321
+ decimals: 18,
42322
+ name: "Juneo EUR1-Chain",
42323
+ symbol: "EUR1"
42324
+ },
42325
+ rpcUrls: {
42326
+ default: { http: ["https://rpc.juneo-mainnet.network/ext/bc/EUR1/rpc"] }
42327
+ },
42328
+ blockExplorers: {
42329
+ default: {
42330
+ name: "Juneo Scan",
42331
+ url: "https://juneoscan.io/chain/6",
42332
+ apiUrl: "https://juneoscan.io/chain/6/api"
42333
+ }
42334
+ }
42335
+ });
42336
+ const juneoGLD1Chain = /* @__PURE__ */ defineChain({
42337
+ id: 45008,
42338
+ name: "Juneo GLD1-Chain",
42339
+ nativeCurrency: {
42340
+ decimals: 18,
42341
+ name: "Juneo GLD1-Chain",
42342
+ symbol: "GLD1"
42343
+ },
42344
+ rpcUrls: {
42345
+ default: { http: ["https://rpc.juneo-mainnet.network/ext/bc/GLD1/rpc"] }
42346
+ },
42347
+ blockExplorers: {
42348
+ default: {
42349
+ name: "Juneo Scan",
42350
+ url: "https://juneoscan.io/chain/8",
42351
+ apiUrl: "https://juneoscan.io/chain/8/api"
42352
+ }
42353
+ }
42354
+ });
42355
+ const juneoLINK1Chain = /* @__PURE__ */ defineChain({
42356
+ id: 45014,
42357
+ name: "Juneo LINK1-Chain",
42358
+ nativeCurrency: {
42359
+ decimals: 18,
42360
+ name: "Juneo LINK1-Chain",
42361
+ symbol: "LINK1"
42362
+ },
42363
+ rpcUrls: {
42364
+ default: { http: ["https://rpc.juneo-mainnet.network/ext/bc/LINK1/rpc"] }
42365
+ },
42366
+ blockExplorers: {
42367
+ default: {
42368
+ name: "Juneo Scan",
42369
+ url: "https://juneoscan.io/chain/13",
42370
+ apiUrl: "https://juneoscan.io/chain/13/api"
42371
+ }
42372
+ }
42373
+ });
42374
+ const juneoLTC1Chain = /* @__PURE__ */ defineChain({
42375
+ id: 45009,
42376
+ name: "Juneo LTC1-Chain",
42377
+ nativeCurrency: {
42378
+ decimals: 18,
42379
+ name: "Juneo LTC1-Chain",
42380
+ symbol: "LTC1"
42381
+ },
42382
+ rpcUrls: {
42383
+ default: { http: ["https://rpc.juneo-mainnet.network/ext/bc/LTC1/rpc"] }
42384
+ },
42385
+ blockExplorers: {
42386
+ default: {
42387
+ name: "Juneo Scan",
42388
+ url: "https://juneoscan.io/chain/11",
42389
+ apiUrl: "https://juneoscan.io/chain/11/api"
42390
+ }
42391
+ }
42392
+ });
42393
+ const juneomBTC1Chain = /* @__PURE__ */ defineChain({
42394
+ id: 45007,
42395
+ name: "Juneo mBTC1-Chain",
42396
+ nativeCurrency: {
42397
+ decimals: 18,
42398
+ name: "Juneo mBTC1-Chain",
42399
+ symbol: "mBTC1"
42400
+ },
42401
+ rpcUrls: {
42402
+ default: { http: ["https://rpc.juneo-mainnet.network/ext/bc/mBTC1/rpc"] }
42403
+ },
42404
+ blockExplorers: {
42405
+ default: {
42406
+ name: "Juneo Scan",
42407
+ url: "https://juneoscan.io/chain/9",
42408
+ apiUrl: "https://juneoscan.io/chain/9/api"
42409
+ }
42410
+ }
42411
+ });
42412
+ const juneoSGD1Chain = /* @__PURE__ */ defineChain({
42413
+ id: 45012,
42414
+ name: "Juneo SGD1-Chain",
42415
+ nativeCurrency: {
42416
+ decimals: 18,
42417
+ name: "Juneo SGD1-Chain",
42418
+ symbol: "SGD1"
42419
+ },
42420
+ rpcUrls: {
42421
+ default: { http: ["https://rpc.juneo-mainnet.network/ext/bc/SGD1/rpc"] }
42422
+ },
42423
+ blockExplorers: {
42424
+ default: {
42425
+ name: "Juneo Scan",
42426
+ url: "https://juneoscan.io/chain/7",
42427
+ apiUrl: "https://juneoscan.io/chain/7/api"
42428
+ }
42429
+ }
42430
+ });
42431
+ const juneoSocotraTestnet = /* @__PURE__ */ defineChain({
42432
+ id: 101003,
42433
+ name: "Socotra JUNE-Chain",
42434
+ nativeCurrency: {
42435
+ decimals: 18,
42436
+ name: "Socotra JUNE-Chain",
42437
+ symbol: "JUNE"
42438
+ },
42439
+ rpcUrls: {
42440
+ default: { http: ["https://rpc.socotra-testnet.network/ext/bc/JUNE/rpc"] }
42441
+ },
42442
+ blockExplorers: {
42443
+ default: {
42444
+ name: "Juneo Scan",
42445
+ url: "https://socotra.juneoscan.io/chain/2",
42446
+ apiUrl: "https://socotra.juneoscan.io/chain/2/api"
42447
+ }
42448
+ },
42449
+ testnet: true
42450
+ });
42451
+ const juneoUSD1Chain = /* @__PURE__ */ defineChain({
42452
+ id: 45006,
42453
+ name: "Juneo USD1-Chain",
42454
+ nativeCurrency: {
42455
+ decimals: 18,
42456
+ name: "Juneo USD1-Chain",
42457
+ symbol: "USD1"
42458
+ },
42459
+ rpcUrls: {
42460
+ default: { http: ["https://rpc.juneo-mainnet.network/ext/bc/USD1/rpc"] }
42461
+ },
42462
+ blockExplorers: {
42463
+ default: {
42464
+ name: "Juneo Scan",
42465
+ url: "https://juneoscan.io/chain/4",
42466
+ apiUrl: "https://juneoscan.io/chain/4/api"
42467
+ }
42468
+ }
42469
+ });
42470
+ const juneoUSDT1Chain = /* @__PURE__ */ defineChain({
42471
+ id: 45005,
42472
+ name: "Juneo USDT1-Chain",
42473
+ nativeCurrency: {
42474
+ decimals: 18,
42475
+ name: "Juneo USDT1-Chain",
42476
+ symbol: "USDT1"
42477
+ },
42478
+ rpcUrls: {
42479
+ default: { http: ["https://rpc.juneo-mainnet.network/ext/bc/USDT1/rpc"] }
42480
+ },
42481
+ blockExplorers: {
42482
+ default: {
42483
+ name: "Juneo Scan",
42484
+ url: "https://juneoscan.io/chain/3",
42485
+ apiUrl: "https://juneoscan.io/chain/3/api"
42486
+ }
42487
+ }
42488
+ });
42191
42489
  const karura = /* @__PURE__ */ defineChain({
42192
42490
  id: 686,
42193
42491
  name: "Karura",
@@ -42852,7 +43150,7 @@ const lineaTestnet = /* @__PURE__ */ defineChain({
42852
43150
  },
42853
43151
  testnet: true
42854
43152
  });
42855
- const sourceId$A = 1;
43153
+ const sourceId$C = 1;
42856
43154
  const lisk = /* @__PURE__ */ defineChain({
42857
43155
  ...chainConfig$2,
42858
43156
  id: 1135,
@@ -42881,24 +43179,24 @@ const lisk = /* @__PURE__ */ defineChain({
42881
43179
  address: "0xA9d71E1dd7ca26F26e656E66d6AA81ed7f745bf0"
42882
43180
  },
42883
43181
  l2OutputOracle: {
42884
- [sourceId$A]: {
43182
+ [sourceId$C]: {
42885
43183
  address: "0x113cB99283AF242Da0A0C54347667edF531Aa7d6"
42886
43184
  }
42887
43185
  },
42888
43186
  portal: {
42889
- [sourceId$A]: {
43187
+ [sourceId$C]: {
42890
43188
  address: "0x26dB93F8b8b4f7016240af62F7730979d353f9A7"
42891
43189
  }
42892
43190
  },
42893
43191
  l1StandardBridge: {
42894
- [sourceId$A]: {
43192
+ [sourceId$C]: {
42895
43193
  address: "0x2658723Bf70c7667De6B25F99fcce13A16D25d08"
42896
43194
  }
42897
43195
  }
42898
43196
  },
42899
- sourceId: sourceId$A
43197
+ sourceId: sourceId$C
42900
43198
  });
42901
- const sourceId$z = 11155111;
43199
+ const sourceId$B = 11155111;
42902
43200
  const liskSepolia = /* @__PURE__ */ defineChain({
42903
43201
  ...chainConfig$2,
42904
43202
  id: 4202,
@@ -42920,7 +43218,7 @@ const liskSepolia = /* @__PURE__ */ defineChain({
42920
43218
  contracts: {
42921
43219
  ...chainConfig$2.contracts,
42922
43220
  l2OutputOracle: {
42923
- [sourceId$z]: {
43221
+ [sourceId$B]: {
42924
43222
  address: "0xA0E35F56C318DE1bD5D9ca6A94Fe7e37C5663348"
42925
43223
  }
42926
43224
  },
@@ -42928,18 +43226,18 @@ const liskSepolia = /* @__PURE__ */ defineChain({
42928
43226
  address: "0xca11bde05977b3631167028862be2a173976ca11"
42929
43227
  },
42930
43228
  portal: {
42931
- [sourceId$z]: {
43229
+ [sourceId$B]: {
42932
43230
  address: "0xe3d90F21490686Ec7eF37BE788E02dfC12787264"
42933
43231
  }
42934
43232
  },
42935
43233
  l1StandardBridge: {
42936
- [sourceId$z]: {
43234
+ [sourceId$B]: {
42937
43235
  address: "0x1Fb30e446eA791cd1f011675E5F3f5311b70faF5"
42938
43236
  }
42939
43237
  }
42940
43238
  },
42941
43239
  testnet: true,
42942
- sourceId: sourceId$z
43240
+ sourceId: sourceId$B
42943
43241
  });
42944
43242
  const localhost = /* @__PURE__ */ defineChain({
42945
43243
  id: 1337,
@@ -43544,6 +43842,26 @@ const merlin = /* @__PURE__ */ defineChain({
43544
43842
  }
43545
43843
  }
43546
43844
  });
43845
+ const merlinErigonTestnet = /* @__PURE__ */ defineChain({
43846
+ id: 4203,
43847
+ name: "Merlin Erigon Testnet",
43848
+ nativeCurrency: {
43849
+ name: "BTC",
43850
+ symbol: "BTC",
43851
+ decimals: 18
43852
+ },
43853
+ rpcUrls: {
43854
+ default: { http: ["https://testnet-erigon-rpc.merlinchain.io"] }
43855
+ },
43856
+ blockExplorers: {
43857
+ default: {
43858
+ name: "blockscout",
43859
+ url: "https://testnet-erigon-scan.merlinchain.io",
43860
+ apiUrl: "https://testnet-erigon-scan.merlinchain.io/api"
43861
+ }
43862
+ },
43863
+ testnet: true
43864
+ });
43547
43865
  const metachain = /* @__PURE__ */ defineChain({
43548
43866
  id: 571,
43549
43867
  name: "MetaChain Mainnet",
@@ -43608,7 +43926,7 @@ const metadium = /* @__PURE__ */ defineChain({
43608
43926
  },
43609
43927
  testnet: false
43610
43928
  });
43611
- const sourceId$y = 1;
43929
+ const sourceId$A = 1;
43612
43930
  const metalL2 = /* @__PURE__ */ defineChain({
43613
43931
  ...chainConfig$2,
43614
43932
  id: 1750,
@@ -43634,7 +43952,7 @@ const metalL2 = /* @__PURE__ */ defineChain({
43634
43952
  contracts: {
43635
43953
  ...chainConfig$2.contracts,
43636
43954
  l2OutputOracle: {
43637
- [sourceId$y]: {
43955
+ [sourceId$A]: {
43638
43956
  address: "0x3B1F7aDa0Fcc26B13515af752Dd07fB1CAc11426"
43639
43957
  }
43640
43958
  },
@@ -43643,17 +43961,17 @@ const metalL2 = /* @__PURE__ */ defineChain({
43643
43961
  blockCreated: 0
43644
43962
  },
43645
43963
  portal: {
43646
- [sourceId$y]: {
43964
+ [sourceId$A]: {
43647
43965
  address: "0x3F37aBdE2C6b5B2ed6F8045787Df1ED1E3753956"
43648
43966
  }
43649
43967
  },
43650
43968
  l1StandardBridge: {
43651
- [sourceId$y]: {
43969
+ [sourceId$A]: {
43652
43970
  address: "0x6d0f65D59b55B0FEC5d2d15365154DcADC140BF3"
43653
43971
  }
43654
43972
  }
43655
43973
  },
43656
- sourceId: sourceId$y
43974
+ sourceId: sourceId$A
43657
43975
  });
43658
43976
  const meter = /* @__PURE__ */ defineChain({
43659
43977
  id: 82,
@@ -43890,7 +44208,7 @@ const mitosisTestnet = /* @__PURE__ */ defineChain({
43890
44208
  },
43891
44209
  testnet: true
43892
44210
  });
43893
- const sourceId$x = 1;
44211
+ const sourceId$z = 1;
43894
44212
  const mode = /* @__PURE__ */ defineChain({
43895
44213
  ...chainConfig$2,
43896
44214
  id: 34443,
@@ -43914,24 +44232,24 @@ const mode = /* @__PURE__ */ defineChain({
43914
44232
  blockCreated: 2465882
43915
44233
  },
43916
44234
  l2OutputOracle: {
43917
- [sourceId$x]: {
44235
+ [sourceId$z]: {
43918
44236
  address: "0x4317ba146D4933D889518a3e5E11Fe7a53199b04"
43919
44237
  }
43920
44238
  },
43921
44239
  portal: {
43922
- [sourceId$x]: {
44240
+ [sourceId$z]: {
43923
44241
  address: "0x8B34b14c7c7123459Cf3076b8Cb929BE097d0C07"
43924
44242
  }
43925
44243
  },
43926
44244
  l1StandardBridge: {
43927
- [sourceId$x]: {
44245
+ [sourceId$z]: {
43928
44246
  address: "0x735aDBbE72226BD52e818E7181953f42E3b0FF21"
43929
44247
  }
43930
44248
  }
43931
44249
  },
43932
- sourceId: sourceId$x
44250
+ sourceId: sourceId$z
43933
44251
  });
43934
- const sourceId$w = 11155111;
44252
+ const sourceId$y = 11155111;
43935
44253
  const modeTestnet = /* @__PURE__ */ defineChain({
43936
44254
  ...chainConfig$2,
43937
44255
  id: 919,
@@ -43952,19 +44270,19 @@ const modeTestnet = /* @__PURE__ */ defineChain({
43952
44270
  contracts: {
43953
44271
  ...chainConfig$2.contracts,
43954
44272
  l2OutputOracle: {
43955
- [sourceId$w]: {
44273
+ [sourceId$y]: {
43956
44274
  address: "0x2634BD65ba27AB63811c74A63118ACb312701Bfa",
43957
44275
  blockCreated: 3778393
43958
44276
  }
43959
44277
  },
43960
44278
  portal: {
43961
- [sourceId$w]: {
44279
+ [sourceId$y]: {
43962
44280
  address: "0x320e1580effF37E008F1C92700d1eBa47c1B23fD",
43963
44281
  blockCreated: 3778395
43964
44282
  }
43965
44283
  },
43966
44284
  l1StandardBridge: {
43967
- [sourceId$w]: {
44285
+ [sourceId$y]: {
43968
44286
  address: "0xbC5C679879B2965296756CD959C3C739769995E2",
43969
44287
  blockCreated: 3778392
43970
44288
  }
@@ -43975,7 +44293,7 @@ const modeTestnet = /* @__PURE__ */ defineChain({
43975
44293
  }
43976
44294
  },
43977
44295
  testnet: true,
43978
- sourceId: sourceId$w
44296
+ sourceId: sourceId$y
43979
44297
  });
43980
44298
  const monadTestnet = /* @__PURE__ */ defineChain({
43981
44299
  id: 10143,
@@ -44544,7 +44862,7 @@ const oortMainnetDev = /* @__PURE__ */ defineChain({
44544
44862
  }
44545
44863
  }
44546
44864
  });
44547
- const sourceId$v = 56;
44865
+ const sourceId$x = 56;
44548
44866
  const opBNB = /* @__PURE__ */ defineChain({
44549
44867
  id: 204,
44550
44868
  name: "opBNB",
@@ -44570,24 +44888,24 @@ const opBNB = /* @__PURE__ */ defineChain({
44570
44888
  blockCreated: 512881
44571
44889
  },
44572
44890
  l2OutputOracle: {
44573
- [sourceId$v]: {
44891
+ [sourceId$x]: {
44574
44892
  address: "0x153CAB79f4767E2ff862C94aa49573294B13D169"
44575
44893
  }
44576
44894
  },
44577
44895
  portal: {
44578
- [sourceId$v]: {
44896
+ [sourceId$x]: {
44579
44897
  address: "0x1876EA7702C0ad0C6A2ae6036DE7733edfBca519"
44580
44898
  }
44581
44899
  },
44582
44900
  l1StandardBridge: {
44583
- [sourceId$v]: {
44901
+ [sourceId$x]: {
44584
44902
  address: "0xF05F0e4362859c3331Cb9395CBC201E3Fa6757Ea"
44585
44903
  }
44586
44904
  }
44587
44905
  },
44588
- sourceId: sourceId$v
44906
+ sourceId: sourceId$x
44589
44907
  });
44590
- const sourceId$u = 97;
44908
+ const sourceId$w = 97;
44591
44909
  const opBNBTestnet = /* @__PURE__ */ defineChain({
44592
44910
  id: 5611,
44593
44911
  name: "opBNB Testnet",
@@ -44612,25 +44930,25 @@ const opBNBTestnet = /* @__PURE__ */ defineChain({
44612
44930
  blockCreated: 3705108
44613
44931
  },
44614
44932
  l2OutputOracle: {
44615
- [sourceId$u]: {
44933
+ [sourceId$w]: {
44616
44934
  address: "0xFf2394Bb843012562f4349C6632a0EcB92fC8810"
44617
44935
  }
44618
44936
  },
44619
44937
  portal: {
44620
- [sourceId$u]: {
44938
+ [sourceId$w]: {
44621
44939
  address: "0x4386C8ABf2009aC0c263462Da568DD9d46e52a31"
44622
44940
  }
44623
44941
  },
44624
44942
  l1StandardBridge: {
44625
- [sourceId$u]: {
44943
+ [sourceId$w]: {
44626
44944
  address: "0x677311Fd2cCc511Bbc0f581E8d9a07B033D5E840"
44627
44945
  }
44628
44946
  }
44629
44947
  },
44630
44948
  testnet: true,
44631
- sourceId: sourceId$u
44949
+ sourceId: sourceId$w
44632
44950
  });
44633
- const sourceId$t = 1;
44951
+ const sourceId$v = 1;
44634
44952
  const optimism = /* @__PURE__ */ defineChain({
44635
44953
  ...chainConfig$2,
44636
44954
  id: 10,
@@ -44651,12 +44969,12 @@ const optimism = /* @__PURE__ */ defineChain({
44651
44969
  contracts: {
44652
44970
  ...chainConfig$2.contracts,
44653
44971
  disputeGameFactory: {
44654
- [sourceId$t]: {
44972
+ [sourceId$v]: {
44655
44973
  address: "0xe5965Ab5962eDc7477C8520243A95517CD252fA9"
44656
44974
  }
44657
44975
  },
44658
44976
  l2OutputOracle: {
44659
- [sourceId$t]: {
44977
+ [sourceId$v]: {
44660
44978
  address: "0xdfe97868233d1aa22e815a266982f2cf17685a27"
44661
44979
  }
44662
44980
  },
@@ -44665,19 +44983,19 @@ const optimism = /* @__PURE__ */ defineChain({
44665
44983
  blockCreated: 4286263
44666
44984
  },
44667
44985
  portal: {
44668
- [sourceId$t]: {
44986
+ [sourceId$v]: {
44669
44987
  address: "0xbEb5Fc579115071764c7423A4f12eDde41f106Ed"
44670
44988
  }
44671
44989
  },
44672
44990
  l1StandardBridge: {
44673
- [sourceId$t]: {
44991
+ [sourceId$v]: {
44674
44992
  address: "0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1"
44675
44993
  }
44676
44994
  }
44677
44995
  },
44678
- sourceId: sourceId$t
44996
+ sourceId: sourceId$v
44679
44997
  });
44680
- const sourceId$s = 5;
44998
+ const sourceId$u = 5;
44681
44999
  const optimismGoerli = /* @__PURE__ */ defineChain({
44682
45000
  ...chainConfig$2,
44683
45001
  id: 420,
@@ -44698,7 +45016,7 @@ const optimismGoerli = /* @__PURE__ */ defineChain({
44698
45016
  contracts: {
44699
45017
  ...chainConfig$2.contracts,
44700
45018
  l2OutputOracle: {
44701
- [sourceId$s]: {
45019
+ [sourceId$u]: {
44702
45020
  address: "0xE6Dfba0953616Bacab0c9A8ecb3a9BBa77FC15c0"
44703
45021
  }
44704
45022
  },
@@ -44707,20 +45025,20 @@ const optimismGoerli = /* @__PURE__ */ defineChain({
44707
45025
  blockCreated: 49461
44708
45026
  },
44709
45027
  portal: {
44710
- [sourceId$s]: {
45028
+ [sourceId$u]: {
44711
45029
  address: "0x5b47E1A08Ea6d985D6649300584e6722Ec4B1383"
44712
45030
  }
44713
45031
  },
44714
45032
  l1StandardBridge: {
44715
- [sourceId$s]: {
45033
+ [sourceId$u]: {
44716
45034
  address: "0x636Af16bf2f682dD3109e60102b8E1A089FedAa8"
44717
45035
  }
44718
45036
  }
44719
45037
  },
44720
45038
  testnet: true,
44721
- sourceId: sourceId$s
45039
+ sourceId: sourceId$u
44722
45040
  });
44723
- const sourceId$r = 11155111;
45041
+ const sourceId$t = 11155111;
44724
45042
  const optimismSepolia = /* @__PURE__ */ defineChain({
44725
45043
  ...chainConfig$2,
44726
45044
  id: 11155420,
@@ -44741,12 +45059,12 @@ const optimismSepolia = /* @__PURE__ */ defineChain({
44741
45059
  contracts: {
44742
45060
  ...chainConfig$2.contracts,
44743
45061
  disputeGameFactory: {
44744
- [sourceId$r]: {
45062
+ [sourceId$t]: {
44745
45063
  address: "0x05F9613aDB30026FFd634f38e5C4dFd30a197Fa1"
44746
45064
  }
44747
45065
  },
44748
45066
  l2OutputOracle: {
44749
- [sourceId$r]: {
45067
+ [sourceId$t]: {
44750
45068
  address: "0x90E9c4f8a994a250F6aEfd61CAFb4F2e895D458F"
44751
45069
  }
44752
45070
  },
@@ -44755,18 +45073,18 @@ const optimismSepolia = /* @__PURE__ */ defineChain({
44755
45073
  blockCreated: 1620204
44756
45074
  },
44757
45075
  portal: {
44758
- [sourceId$r]: {
45076
+ [sourceId$t]: {
44759
45077
  address: "0x16Fc5058F25648194471939df75CF27A2fdC48BC"
44760
45078
  }
44761
45079
  },
44762
45080
  l1StandardBridge: {
44763
- [sourceId$r]: {
45081
+ [sourceId$t]: {
44764
45082
  address: "0xFBb0621E0B23b5478B630BD55a5f21f67730B0F1"
44765
45083
  }
44766
45084
  }
44767
45085
  },
44768
45086
  testnet: true,
44769
- sourceId: sourceId$r
45087
+ sourceId: sourceId$t
44770
45088
  });
44771
45089
  const optopia = /* @__PURE__ */ defineChain({
44772
45090
  id: 62050,
@@ -44940,7 +45258,7 @@ const peaq = /* @__PURE__ */ defineChain({
44940
45258
  }
44941
45259
  }
44942
45260
  });
44943
- const sourceId$q = 1;
45261
+ const sourceId$s = 1;
44944
45262
  const pgn = /* @__PURE__ */ defineChain({
44945
45263
  id: 424,
44946
45264
  network: "pgn",
@@ -44960,7 +45278,7 @@ const pgn = /* @__PURE__ */ defineChain({
44960
45278
  },
44961
45279
  contracts: {
44962
45280
  l2OutputOracle: {
44963
- [sourceId$q]: {
45281
+ [sourceId$s]: {
44964
45282
  address: "0x9E6204F750cD866b299594e2aC9eA824E2e5f95c"
44965
45283
  }
44966
45284
  },
@@ -44969,20 +45287,20 @@ const pgn = /* @__PURE__ */ defineChain({
44969
45287
  blockCreated: 3380209
44970
45288
  },
44971
45289
  portal: {
44972
- [sourceId$q]: {
45290
+ [sourceId$s]: {
44973
45291
  address: "0xb26Fd985c5959bBB382BAFdD0b879E149e48116c"
44974
45292
  }
44975
45293
  },
44976
45294
  l1StandardBridge: {
44977
- [sourceId$q]: {
45295
+ [sourceId$s]: {
44978
45296
  address: "0xD0204B9527C1bA7bD765Fa5CCD9355d38338272b"
44979
45297
  }
44980
45298
  }
44981
45299
  },
44982
45300
  formatters: formatters$1,
44983
- sourceId: sourceId$q
45301
+ sourceId: sourceId$s
44984
45302
  });
44985
- const sourceId$p = 11155111;
45303
+ const sourceId$r = 11155111;
44986
45304
  const pgnTestnet = /* @__PURE__ */ defineChain({
44987
45305
  id: 58008,
44988
45306
  network: "pgn-testnet",
@@ -45002,17 +45320,17 @@ const pgnTestnet = /* @__PURE__ */ defineChain({
45002
45320
  },
45003
45321
  contracts: {
45004
45322
  l2OutputOracle: {
45005
- [sourceId$p]: {
45323
+ [sourceId$r]: {
45006
45324
  address: "0xD5bAc3152ffC25318F848B3DD5dA6C85171BaEEe"
45007
45325
  }
45008
45326
  },
45009
45327
  portal: {
45010
- [sourceId$p]: {
45328
+ [sourceId$r]: {
45011
45329
  address: "0xF04BdD5353Bb0EFF6CA60CfcC78594278eBfE179"
45012
45330
  }
45013
45331
  },
45014
45332
  l1StandardBridge: {
45015
- [sourceId$p]: {
45333
+ [sourceId$r]: {
45016
45334
  address: "0xFaE6abCAF30D23e233AC7faF747F2fC3a5a6Bfa3"
45017
45335
  }
45018
45336
  },
@@ -45022,7 +45340,7 @@ const pgnTestnet = /* @__PURE__ */ defineChain({
45022
45340
  }
45023
45341
  },
45024
45342
  formatters: formatters$1,
45025
- sourceId: sourceId$p,
45343
+ sourceId: sourceId$r,
45026
45344
  testnet: true
45027
45345
  });
45028
45346
  const phoenix = /* @__PURE__ */ defineChain({
@@ -45126,10 +45444,10 @@ const plinga = /* @__PURE__ */ defineChain({
45126
45444
  }
45127
45445
  }
45128
45446
  });
45129
- const sourceId$o = 1;
45447
+ const sourceId$q = 1;
45130
45448
  const plume = /* @__PURE__ */ defineChain({
45131
45449
  id: 98865,
45132
- name: "Plume",
45450
+ name: "Plume (Legacy)",
45133
45451
  nativeCurrency: {
45134
45452
  name: "Plume Ether",
45135
45453
  symbol: "ETH",
@@ -45150,16 +45468,16 @@ const plume = /* @__PURE__ */ defineChain({
45150
45468
  },
45151
45469
  contracts: {
45152
45470
  multicall3: {
45153
- address: "0xca11bde05977b3631167028862be2a173976ca11",
45471
+ address: "0xcA11bde05977b3631167028862bE2a173976CA11",
45154
45472
  blockCreated: 48577
45155
45473
  }
45156
45474
  },
45157
- sourceId: sourceId$o
45475
+ sourceId: sourceId$q
45158
45476
  });
45159
- const sourceId$n = 11155111;
45477
+ const sourceId$p = 11155111;
45160
45478
  const plumeDevnet = /* @__PURE__ */ defineChain({
45161
45479
  id: 98864,
45162
- name: "Plume Devnet",
45480
+ name: "Plume Devnet (Legacy)",
45163
45481
  nativeCurrency: {
45164
45482
  name: "Plume Sepolia Ether",
45165
45483
  symbol: "ETH",
@@ -45180,17 +45498,17 @@ const plumeDevnet = /* @__PURE__ */ defineChain({
45180
45498
  },
45181
45499
  contracts: {
45182
45500
  multicall3: {
45183
- address: "0xca11bde05977b3631167028862be2a173976ca11",
45501
+ address: "0xcA11bde05977b3631167028862bE2a173976CA11",
45184
45502
  blockCreated: 481948
45185
45503
  }
45186
45504
  },
45187
45505
  testnet: true,
45188
- sourceId: sourceId$n
45506
+ sourceId: sourceId$p
45189
45507
  });
45190
- const sourceId$m = 1;
45508
+ const sourceId$o = 1;
45191
45509
  const plumeMainnet = /* @__PURE__ */ defineChain({
45192
45510
  id: 98866,
45193
- name: "Plume Mainnet",
45511
+ name: "Plume",
45194
45512
  nativeCurrency: {
45195
45513
  name: "Plume",
45196
45514
  symbol: "PLUME",
@@ -45209,12 +45527,49 @@ const plumeMainnet = /* @__PURE__ */ defineChain({
45209
45527
  apiUrl: "https://phoenix-explorer.plumenetwork.xyz/api"
45210
45528
  }
45211
45529
  },
45212
- sourceId: sourceId$m
45530
+ contracts: {
45531
+ multicall3: {
45532
+ address: "0xF9DA0EF6635F6134D9d1B7eAE025159D26ce5838",
45533
+ blockCreated: 4150
45534
+ }
45535
+ },
45536
+ sourceId: sourceId$o
45213
45537
  });
45214
- const sourceId$l = 11155111;
45538
+ const sourceId$n = 11155111;
45539
+ const plumeSepolia = /* @__PURE__ */ defineChain({
45540
+ id: 98867,
45541
+ name: "Plume Testnet",
45542
+ nativeCurrency: {
45543
+ name: "Plume",
45544
+ symbol: "PLUME",
45545
+ decimals: 18
45546
+ },
45547
+ rpcUrls: {
45548
+ default: {
45549
+ http: ["https://testnet-rpc.plumenetwork.xyz"],
45550
+ webSocket: ["wss://testnet-rpc.plumenetwork.xyz"]
45551
+ }
45552
+ },
45553
+ blockExplorers: {
45554
+ default: {
45555
+ name: "Blockscout",
45556
+ url: "https://testnet-explorer.plumenetwork.xyz",
45557
+ apiUrl: "https://testnet-explorer.plumenetwork.xyz/api"
45558
+ }
45559
+ },
45560
+ contracts: {
45561
+ multicall3: {
45562
+ address: "0x59218e2df2A2E7Ba0de00c023e80906Ba47cB4C8",
45563
+ blockCreated: 1681
45564
+ }
45565
+ },
45566
+ testnet: true,
45567
+ sourceId: sourceId$n
45568
+ });
45569
+ const sourceId$m = 11155111;
45215
45570
  const plumeTestnet = /* @__PURE__ */ defineChain({
45216
45571
  id: 161221135,
45217
- name: "Plume Testnet",
45572
+ name: "Plume Testnet (Legacy)",
45218
45573
  nativeCurrency: {
45219
45574
  name: "Plume Sepolia Ether",
45220
45575
  symbol: "ETH",
@@ -45233,8 +45588,14 @@ const plumeTestnet = /* @__PURE__ */ defineChain({
45233
45588
  apiUrl: "https://testnet-explorer.plumenetwork.xyz/api"
45234
45589
  }
45235
45590
  },
45591
+ contracts: {
45592
+ multicall3: {
45593
+ address: "0xcA11bde05977b3631167028862bE2a173976CA11",
45594
+ blockCreated: 6022332
45595
+ }
45596
+ },
45236
45597
  testnet: true,
45237
- sourceId: sourceId$l
45598
+ sourceId: sourceId$m
45238
45599
  });
45239
45600
  const polterTestnet = /* @__PURE__ */ defineChain({
45240
45601
  id: 631571,
@@ -45316,7 +45677,7 @@ const polygonMumbai = /* @__PURE__ */ defineChain({
45316
45677
  nativeCurrency: { name: "MATIC", symbol: "MATIC", decimals: 18 },
45317
45678
  rpcUrls: {
45318
45679
  default: {
45319
- http: ["https://rpc.ankr.com/polygon_mumbai"]
45680
+ http: ["https://80001.rpc.thirdweb.com"]
45320
45681
  }
45321
45682
  },
45322
45683
  blockExplorers: {
@@ -45551,13 +45912,13 @@ const pumpfiTestnet = /* @__PURE__ */ defineChain({
45551
45912
  },
45552
45913
  testnet: true
45553
45914
  });
45554
- const sourceId$k = 11155111;
45915
+ const sourceId$l = 11155111;
45555
45916
  const pyrope = defineChain({
45556
45917
  ...chainConfig$2,
45557
45918
  name: "Pyrope Testnet",
45558
45919
  testnet: true,
45559
45920
  id: 695569,
45560
- sourceId: sourceId$k,
45921
+ sourceId: sourceId$l,
45561
45922
  nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
45562
45923
  rpcUrls: {
45563
45924
  default: {
@@ -45574,7 +45935,7 @@ const pyrope = defineChain({
45574
45935
  contracts: {
45575
45936
  ...chainConfig$2.contracts,
45576
45937
  l1StandardBridge: {
45577
- [sourceId$k]: {
45938
+ [sourceId$l]: {
45578
45939
  address: "0xC24932c31D9621aE9e792576152B7ef010cFC2F8"
45579
45940
  }
45580
45941
  }
@@ -45714,12 +46075,12 @@ const redbellyTestnet = /* @__PURE__ */ defineChain({
45714
46075
  },
45715
46076
  testnet: true
45716
46077
  });
45717
- const sourceId$j = 1;
46078
+ const sourceId$k = 1;
45718
46079
  const redstone = defineChain({
45719
46080
  ...chainConfig$2,
45720
46081
  name: "Redstone",
45721
46082
  id: 690,
45722
- sourceId: sourceId$j,
46083
+ sourceId: sourceId$k,
45723
46084
  nativeCurrency: { decimals: 18, name: "Ether", symbol: "ETH" },
45724
46085
  rpcUrls: {
45725
46086
  default: {
@@ -45739,19 +46100,19 @@ const redstone = defineChain({
45739
46100
  address: "0xca11bde05977b3631167028862be2a173976ca11"
45740
46101
  },
45741
46102
  portal: {
45742
- [sourceId$j]: {
46103
+ [sourceId$k]: {
45743
46104
  address: "0xC7bCb0e8839a28A1cFadd1CF716de9016CdA51ae",
45744
46105
  blockCreated: 19578329
45745
46106
  }
45746
46107
  },
45747
46108
  l2OutputOracle: {
45748
- [sourceId$j]: {
46109
+ [sourceId$k]: {
45749
46110
  address: "0xa426A052f657AEEefc298b3B5c35a470e4739d69",
45750
46111
  blockCreated: 19578337
45751
46112
  }
45752
46113
  },
45753
46114
  l1StandardBridge: {
45754
- [sourceId$j]: {
46115
+ [sourceId$k]: {
45755
46116
  address: "0xc473ca7E02af24c129c2eEf51F2aDf0411c1Df69",
45756
46117
  blockCreated: 19578331
45757
46118
  }
@@ -46017,7 +46378,7 @@ const rootstockTestnet = /* @__PURE__ */ defineChain({
46017
46378
  },
46018
46379
  testnet: true
46019
46380
  });
46020
- const sourceId$i = 1;
46381
+ const sourceId$j = 1;
46021
46382
  const rss3 = /* @__PURE__ */ defineChain({
46022
46383
  ...chainConfig$2,
46023
46384
  id: 12553,
@@ -46038,7 +46399,7 @@ const rss3 = /* @__PURE__ */ defineChain({
46038
46399
  contracts: {
46039
46400
  ...chainConfig$2.contracts,
46040
46401
  l2OutputOracle: {
46041
- [sourceId$i]: {
46402
+ [sourceId$j]: {
46042
46403
  address: "0xE6f24d2C32B3109B18ed33cF08eFb490b1e09C10"
46043
46404
  }
46044
46405
  },
@@ -46047,20 +46408,20 @@ const rss3 = /* @__PURE__ */ defineChain({
46047
46408
  blockCreated: 14193
46048
46409
  },
46049
46410
  portal: {
46050
- [sourceId$i]: {
46411
+ [sourceId$j]: {
46051
46412
  address: "0x6A12432491bbbE8d3babf75F759766774C778Db4",
46052
46413
  blockCreated: 19387057
46053
46414
  }
46054
46415
  },
46055
46416
  l1StandardBridge: {
46056
- [sourceId$i]: {
46417
+ [sourceId$j]: {
46057
46418
  address: "0x4cbab69108Aa72151EDa5A3c164eA86845f18438"
46058
46419
  }
46059
46420
  }
46060
46421
  },
46061
- sourceId: sourceId$i
46422
+ sourceId: sourceId$j
46062
46423
  });
46063
- const sourceId$h = 11155111;
46424
+ const sourceId$i = 11155111;
46064
46425
  const rss3Sepolia = /* @__PURE__ */ defineChain({
46065
46426
  ...chainConfig$2,
46066
46427
  id: 2331,
@@ -46081,7 +46442,7 @@ const rss3Sepolia = /* @__PURE__ */ defineChain({
46081
46442
  contracts: {
46082
46443
  ...chainConfig$2.contracts,
46083
46444
  l2OutputOracle: {
46084
- [sourceId$h]: {
46445
+ [sourceId$i]: {
46085
46446
  address: "0xDb5c46C3Eaa6Ed6aE8b2379785DF7dd029C0dC81"
46086
46447
  }
46087
46448
  },
@@ -46090,19 +46451,19 @@ const rss3Sepolia = /* @__PURE__ */ defineChain({
46090
46451
  blockCreated: 55697
46091
46452
  },
46092
46453
  portal: {
46093
- [sourceId$h]: {
46454
+ [sourceId$i]: {
46094
46455
  address: "0xcBD77E8E1E7F06B25baDe67142cdE82652Da7b57",
46095
46456
  blockCreated: 5345035
46096
46457
  }
46097
46458
  },
46098
46459
  l1StandardBridge: {
46099
- [sourceId$h]: {
46460
+ [sourceId$i]: {
46100
46461
  address: "0xdDD29bb63B0839FB1cE0eE439Ff027738595D07B"
46101
46462
  }
46102
46463
  }
46103
46464
  },
46104
46465
  testnet: true,
46105
- sourceId: sourceId$h
46466
+ sourceId: sourceId$i
46106
46467
  });
46107
46468
  const saakuru = /* @__PURE__ */ defineChain({
46108
46469
  id: 7225878,
@@ -46427,7 +46788,7 @@ const sepolia = /* @__PURE__ */ defineChain({
46427
46788
  },
46428
46789
  testnet: true
46429
46790
  });
46430
- const sourceId$g = 1;
46791
+ const sourceId$h = 1;
46431
46792
  const shape = /* @__PURE__ */ defineChain({
46432
46793
  ...chainConfig$2,
46433
46794
  id: 360,
@@ -46448,7 +46809,7 @@ const shape = /* @__PURE__ */ defineChain({
46448
46809
  contracts: {
46449
46810
  ...chainConfig$2.contracts,
46450
46811
  l2OutputOracle: {
46451
- [sourceId$g]: {
46812
+ [sourceId$h]: {
46452
46813
  address: "0x6Ef8c69CfE4635d866e3E02732068022c06e724D",
46453
46814
  blockCreated: 20369940
46454
46815
  }
@@ -46458,21 +46819,21 @@ const shape = /* @__PURE__ */ defineChain({
46458
46819
  blockCreated: 1
46459
46820
  },
46460
46821
  portal: {
46461
- [sourceId$g]: {
46822
+ [sourceId$h]: {
46462
46823
  address: "0xEB06fFa16011B5628BaB98E29776361c83741dd3",
46463
46824
  blockCreated: 20369933
46464
46825
  }
46465
46826
  },
46466
46827
  l1StandardBridge: {
46467
- [sourceId$g]: {
46828
+ [sourceId$h]: {
46468
46829
  address: "0x62Edd5f4930Ea92dCa3fB81689bDD9b9d076b57B",
46469
46830
  blockCreated: 20369935
46470
46831
  }
46471
46832
  }
46472
46833
  },
46473
- sourceId: sourceId$g
46834
+ sourceId: sourceId$h
46474
46835
  });
46475
- const sourceId$f = 11155111;
46836
+ const sourceId$g = 11155111;
46476
46837
  const shapeSepolia = /* @__PURE__ */ defineChain({
46477
46838
  ...chainConfig$2,
46478
46839
  id: 11011,
@@ -46498,7 +46859,7 @@ const shapeSepolia = /* @__PURE__ */ defineChain({
46498
46859
  }
46499
46860
  },
46500
46861
  testnet: true,
46501
- sourceId: sourceId$f
46862
+ sourceId: sourceId$g
46502
46863
  });
46503
46864
  const shardeumSphinx = /* @__PURE__ */ defineChain({
46504
46865
  id: 8082,
@@ -47036,7 +47397,7 @@ const sketchpad = /* @__PURE__ */ defineChain({
47036
47397
  },
47037
47398
  testnet: true
47038
47399
  });
47039
- const sourceId$e = 1;
47400
+ const sourceId$f = 1;
47040
47401
  const snax = /* @__PURE__ */ defineChain({
47041
47402
  ...chainConfig$2,
47042
47403
  id: 2192,
@@ -47058,12 +47419,12 @@ const snax = /* @__PURE__ */ defineChain({
47058
47419
  contracts: {
47059
47420
  ...chainConfig$2.contracts,
47060
47421
  disputeGameFactory: {
47061
- [sourceId$e]: {
47422
+ [sourceId$f]: {
47062
47423
  address: "0x472562Fcf26D6b2793f8E0b0fB660ba0E5e08A46"
47063
47424
  }
47064
47425
  },
47065
47426
  l2OutputOracle: {
47066
- [sourceId$e]: {
47427
+ [sourceId$f]: {
47067
47428
  address: "0x2172e492Fc807F5d5645D0E3543f139ECF539294"
47068
47429
  }
47069
47430
  },
@@ -47071,19 +47432,19 @@ const snax = /* @__PURE__ */ defineChain({
47071
47432
  address: "0xca11bde05977b3631167028862be2a173976ca11"
47072
47433
  },
47073
47434
  portal: {
47074
- [sourceId$e]: {
47435
+ [sourceId$f]: {
47075
47436
  address: "0x79f446D024d74D0Bb6E699C131c703463c5D65E9"
47076
47437
  }
47077
47438
  },
47078
47439
  l1StandardBridge: {
47079
- [sourceId$e]: {
47440
+ [sourceId$f]: {
47080
47441
  address: "0x6534Bdb6b5c060d3e6aa833433333135eFE8E0aA"
47081
47442
  }
47082
47443
  }
47083
47444
  },
47084
- sourceId: sourceId$e
47445
+ sourceId: sourceId$f
47085
47446
  });
47086
- const sourceId$d = 11155111;
47447
+ const sourceId$e = 11155111;
47087
47448
  const snaxTestnet = /* @__PURE__ */ defineChain({
47088
47449
  ...chainConfig$2,
47089
47450
  id: 13001,
@@ -47105,12 +47466,12 @@ const snaxTestnet = /* @__PURE__ */ defineChain({
47105
47466
  contracts: {
47106
47467
  ...chainConfig$2.contracts,
47107
47468
  disputeGameFactory: {
47108
- [sourceId$d]: {
47469
+ [sourceId$e]: {
47109
47470
  address: "0x206a75d89d45F146C54020F132FF93bEDD09f55E"
47110
47471
  }
47111
47472
  },
47112
47473
  l2OutputOracle: {
47113
- [sourceId$d]: {
47474
+ [sourceId$e]: {
47114
47475
  address: "0x60e3A368a4cdCEf85ffB964e372726F56A46221e"
47115
47476
  }
47116
47477
  },
@@ -47118,18 +47479,18 @@ const snaxTestnet = /* @__PURE__ */ defineChain({
47118
47479
  address: "0xca11bde05977b3631167028862be2a173976ca11"
47119
47480
  },
47120
47481
  portal: {
47121
- [sourceId$d]: {
47482
+ [sourceId$e]: {
47122
47483
  address: "0xb5afdd0E8dDF081Ef90e8A3e0c7b5798e66E954E"
47123
47484
  }
47124
47485
  },
47125
47486
  l1StandardBridge: {
47126
- [sourceId$d]: {
47487
+ [sourceId$e]: {
47127
47488
  address: "0xbd37E1a59D4C00C9A46F75018dffd84061bC5f74"
47128
47489
  }
47129
47490
  }
47130
47491
  },
47131
47492
  testnet: true,
47132
- sourceId: sourceId$d
47493
+ sourceId: sourceId$e
47133
47494
  });
47134
47495
  const somniaTestnet = /* @__PURE__ */ defineChain({
47135
47496
  id: 50312,
@@ -47149,7 +47510,7 @@ const somniaTestnet = /* @__PURE__ */ defineChain({
47149
47510
  },
47150
47511
  testnet: true
47151
47512
  });
47152
- const sourceId$c = 1;
47513
+ const sourceId$d = 1;
47153
47514
  const soneium = /* @__PURE__ */ defineChain({
47154
47515
  ...chainConfig$2,
47155
47516
  id: 1868,
@@ -47170,23 +47531,23 @@ const soneium = /* @__PURE__ */ defineChain({
47170
47531
  contracts: {
47171
47532
  ...chainConfig$2.contracts,
47172
47533
  disputeGameFactory: {
47173
- [sourceId$c]: {
47534
+ [sourceId$d]: {
47174
47535
  address: "0x512a3d2c7a43bd9261d2b8e8c9c70d4bd4d503c0"
47175
47536
  }
47176
47537
  },
47177
47538
  l2OutputOracle: {
47178
- [sourceId$c]: {
47539
+ [sourceId$d]: {
47179
47540
  address: "0x0000000000000000000000000000000000000000"
47180
47541
  }
47181
47542
  },
47182
47543
  portal: {
47183
- [sourceId$c]: {
47544
+ [sourceId$d]: {
47184
47545
  address: "0x88e529a6ccd302c948689cd5156c83d4614fae92",
47185
47546
  blockCreated: 7061266
47186
47547
  }
47187
47548
  },
47188
47549
  l1StandardBridge: {
47189
- [sourceId$c]: {
47550
+ [sourceId$d]: {
47190
47551
  address: "0xeb9bf100225c214efc3e7c651ebbadcf85177607",
47191
47552
  blockCreated: 7061266
47192
47553
  }
@@ -47196,9 +47557,9 @@ const soneium = /* @__PURE__ */ defineChain({
47196
47557
  blockCreated: 1
47197
47558
  }
47198
47559
  },
47199
- sourceId: sourceId$c
47560
+ sourceId: sourceId$d
47200
47561
  });
47201
- const sourceId$b = 11155111;
47562
+ const sourceId$c = 11155111;
47202
47563
  const soneiumMinato = /* @__PURE__ */ defineChain({
47203
47564
  ...chainConfig$2,
47204
47565
  id: 1946,
@@ -47219,23 +47580,23 @@ const soneiumMinato = /* @__PURE__ */ defineChain({
47219
47580
  contracts: {
47220
47581
  ...chainConfig$2.contracts,
47221
47582
  disputeGameFactory: {
47222
- [sourceId$b]: {
47583
+ [sourceId$c]: {
47223
47584
  address: "0xB3Ad2c38E6e0640d7ce6aA952AB3A60E81bf7a01"
47224
47585
  }
47225
47586
  },
47226
47587
  l2OutputOracle: {
47227
- [sourceId$b]: {
47588
+ [sourceId$c]: {
47228
47589
  address: "0x710e5286C746eC38beeB7538d0146f60D27be343"
47229
47590
  }
47230
47591
  },
47231
47592
  portal: {
47232
- [sourceId$b]: {
47593
+ [sourceId$c]: {
47233
47594
  address: "0x65ea1489741A5D72fFdD8e6485B216bBdcC15Af3",
47234
47595
  blockCreated: 6466136
47235
47596
  }
47236
47597
  },
47237
47598
  l1StandardBridge: {
47238
- [sourceId$b]: {
47599
+ [sourceId$c]: {
47239
47600
  address: "0x5f5a404A5edabcDD80DB05E8e54A78c9EBF000C2",
47240
47601
  blockCreated: 6466136
47241
47602
  }
@@ -47246,7 +47607,7 @@ const soneiumMinato = /* @__PURE__ */ defineChain({
47246
47607
  }
47247
47608
  },
47248
47609
  testnet: true,
47249
- sourceId: sourceId$b
47610
+ sourceId: sourceId$c
47250
47611
  });
47251
47612
  const sonic = /* @__PURE__ */ defineChain({
47252
47613
  id: 146,
@@ -47309,6 +47670,12 @@ const sonicBlazeTestnet = /* @__PURE__ */ defineChain({
47309
47670
  url: "https://testnet.sonicscan.org"
47310
47671
  }
47311
47672
  },
47673
+ contracts: {
47674
+ multicall3: {
47675
+ address: "0xcA11bde05977b3631167028862bE2a173976CA11",
47676
+ blockCreated: 1100
47677
+ }
47678
+ },
47312
47679
  testnet: true
47313
47680
  });
47314
47681
  const songbird = /* @__PURE__ */ defineChain({
@@ -47656,7 +48023,7 @@ const superposition = /* @__PURE__ */ defineChain({
47656
48023
  },
47657
48024
  testnet: false
47658
48025
  });
47659
- const sourceId$a = 1;
48026
+ const sourceId$b = 1;
47660
48027
  const superseed = /* @__PURE__ */ defineChain({
47661
48028
  ...chainConfig$2,
47662
48029
  id: 5330,
@@ -47677,25 +48044,25 @@ const superseed = /* @__PURE__ */ defineChain({
47677
48044
  contracts: {
47678
48045
  ...chainConfig$2.contracts,
47679
48046
  disputeGameFactory: {
47680
- [sourceId$a]: {
48047
+ [sourceId$b]: {
47681
48048
  address: "0x8b097CF1f9BbD9cbFD0DD561858a1FCbC8857Be0",
47682
48049
  blockCreated: 20737481
47683
48050
  }
47684
48051
  },
47685
48052
  l2OutputOracle: {
47686
- [sourceId$a]: {
48053
+ [sourceId$b]: {
47687
48054
  address: "0x693A0F8854F458D282DE3C5b69E8eE5EEE8aA949",
47688
48055
  blockCreated: 20737481
47689
48056
  }
47690
48057
  },
47691
48058
  portal: {
47692
- [sourceId$a]: {
48059
+ [sourceId$b]: {
47693
48060
  address: "0x2c2150aa5c75A24fB93d4fD2F2a895D618054f07",
47694
48061
  blockCreated: 20737481
47695
48062
  }
47696
48063
  },
47697
48064
  l1StandardBridge: {
47698
- [sourceId$a]: {
48065
+ [sourceId$b]: {
47699
48066
  address: "0x8b0576E39F1233679109F9b40cFcC2a7E0901Ede",
47700
48067
  blockCreated: 20737481
47701
48068
  }
@@ -47704,9 +48071,9 @@ const superseed = /* @__PURE__ */ defineChain({
47704
48071
  address: "0xcA11bde05977b3631167028862bE2a173976CA11"
47705
48072
  }
47706
48073
  },
47707
- sourceId: sourceId$a
48074
+ sourceId: sourceId$b
47708
48075
  });
47709
- const sourceId$9 = 11155111;
48076
+ const sourceId$a = 11155111;
47710
48077
  const superseedSepolia = /* @__PURE__ */ defineChain({
47711
48078
  ...chainConfig$2,
47712
48079
  id: 53302,
@@ -47734,20 +48101,20 @@ const superseedSepolia = /* @__PURE__ */ defineChain({
47734
48101
  address: "0xcA11bde05977b3631167028862bE2a173976CA11"
47735
48102
  },
47736
48103
  portal: {
47737
- [sourceId$9]: {
48104
+ [sourceId$a]: {
47738
48105
  address: "0x7A0db8C51432d2C3eb4e8f360a2EeB26FF2809fB",
47739
48106
  blockCreated: 5523438
47740
48107
  }
47741
48108
  },
47742
48109
  l1StandardBridge: {
47743
- [sourceId$9]: {
48110
+ [sourceId$a]: {
47744
48111
  address: "0x2B227A603fAAdB3De0ED050b63ADD232B5f2c28C",
47745
48112
  blockCreated: 5523442
47746
48113
  }
47747
48114
  }
47748
48115
  },
47749
48116
  testnet: true,
47750
- sourceId: sourceId$9
48117
+ sourceId: sourceId$a
47751
48118
  });
47752
48119
  const swan = /* @__PURE__ */ defineChain({
47753
48120
  id: 254,
@@ -47801,10 +48168,7 @@ const swellchain = /* @__PURE__ */ defineChain({
47801
48168
  nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
47802
48169
  rpcUrls: {
47803
48170
  default: {
47804
- http: [
47805
- "https://swell-mainnet.alt.technology",
47806
- "https://rpc.ankr.com/swell"
47807
- ]
48171
+ http: ["https://swell-mainnet.alt.technology"]
47808
48172
  }
47809
48173
  },
47810
48174
  blockExplorers: {
@@ -48451,7 +48815,7 @@ const ultronTestnet = /* @__PURE__ */ defineChain({
48451
48815
  },
48452
48816
  testnet: true
48453
48817
  });
48454
- const sourceId$8 = 1;
48818
+ const sourceId$9 = 1;
48455
48819
  const unichain = /* @__PURE__ */ defineChain({
48456
48820
  ...chainConfig$2,
48457
48821
  id: 130,
@@ -48476,24 +48840,24 @@ const unichain = /* @__PURE__ */ defineChain({
48476
48840
  blockCreated: 0
48477
48841
  },
48478
48842
  disputeGameFactory: {
48479
- [sourceId$8]: {
48843
+ [sourceId$9]: {
48480
48844
  address: "0x2F12d621a16e2d3285929C9996f478508951dFe4"
48481
48845
  }
48482
48846
  },
48483
48847
  portal: {
48484
- [sourceId$8]: {
48848
+ [sourceId$9]: {
48485
48849
  address: "0x0bd48f6B86a26D3a217d0Fa6FfE2B491B956A7a2"
48486
48850
  }
48487
48851
  },
48488
48852
  l1StandardBridge: {
48489
- [sourceId$8]: {
48853
+ [sourceId$9]: {
48490
48854
  address: "0x81014F44b0a345033bB2b3B21C7a1A308B35fEeA"
48491
48855
  }
48492
48856
  }
48493
48857
  },
48494
- sourceId: sourceId$8
48858
+ sourceId: sourceId$9
48495
48859
  });
48496
- const sourceId$7 = 11155111;
48860
+ const sourceId$8 = 11155111;
48497
48861
  const unichainSepolia = /* @__PURE__ */ defineChain({
48498
48862
  ...chainConfig$2,
48499
48863
  id: 1301,
@@ -48522,23 +48886,23 @@ const unichainSepolia = /* @__PURE__ */ defineChain({
48522
48886
  blockCreated: 0
48523
48887
  },
48524
48888
  portal: {
48525
- [sourceId$7]: {
48889
+ [sourceId$8]: {
48526
48890
  address: "0x0d83dab629f0e0F9d36c0Cbc89B69a489f0751bD"
48527
48891
  }
48528
48892
  },
48529
48893
  l1StandardBridge: {
48530
- [sourceId$7]: {
48894
+ [sourceId$8]: {
48531
48895
  address: "0xea58fcA6849d79EAd1f26608855c2D6407d54Ce2"
48532
48896
  }
48533
48897
  },
48534
48898
  disputeGameFactory: {
48535
- [sourceId$7]: {
48899
+ [sourceId$8]: {
48536
48900
  address: "0xeff73e5aa3B9AEC32c659Aa3E00444d20a84394b"
48537
48901
  }
48538
48902
  }
48539
48903
  },
48540
48904
  testnet: true,
48541
- sourceId: sourceId$7
48905
+ sourceId: sourceId$8
48542
48906
  });
48543
48907
  const unique = /* @__PURE__ */ defineChain({
48544
48908
  id: 8880,
@@ -48915,7 +49279,7 @@ const wmcTestnet = /* @__PURE__ */ defineChain({
48915
49279
  },
48916
49280
  testnet: true
48917
49281
  });
48918
- const sourceId$6 = 1;
49282
+ const sourceId$7 = 1;
48919
49283
  const worldchain = /* @__PURE__ */ defineChain({
48920
49284
  ...chainConfig$2,
48921
49285
  id: 480,
@@ -48944,30 +49308,30 @@ const worldchain = /* @__PURE__ */ defineChain({
48944
49308
  blockCreated: 0
48945
49309
  },
48946
49310
  disputeGameFactory: {
48947
- [sourceId$6]: {
49311
+ [sourceId$7]: {
48948
49312
  address: "0x069c4c579671f8c120b1327a73217D01Ea2EC5ea"
48949
49313
  }
48950
49314
  },
48951
49315
  l2OutputOracle: {
48952
- [sourceId$6]: {
49316
+ [sourceId$7]: {
48953
49317
  address: "0x19A6d1E9034596196295CF148509796978343c5D"
48954
49318
  }
48955
49319
  },
48956
49320
  portal: {
48957
- [sourceId$6]: {
49321
+ [sourceId$7]: {
48958
49322
  address: "0xd5ec14a83B7d95BE1E2Ac12523e2dEE12Cbeea6C"
48959
49323
  }
48960
49324
  },
48961
49325
  l1StandardBridge: {
48962
- [sourceId$6]: {
49326
+ [sourceId$7]: {
48963
49327
  address: "0x470458C91978D2d929704489Ad730DC3E3001113"
48964
49328
  }
48965
49329
  }
48966
49330
  },
48967
49331
  testnet: false,
48968
- sourceId: sourceId$6
49332
+ sourceId: sourceId$7
48969
49333
  });
48970
- const sourceId$5 = 11155111;
49334
+ const sourceId$6 = 11155111;
48971
49335
  const worldchainSepolia = /* @__PURE__ */ defineChain({
48972
49336
  ...chainConfig$2,
48973
49337
  id: 4801,
@@ -48996,28 +49360,28 @@ const worldchainSepolia = /* @__PURE__ */ defineChain({
48996
49360
  blockCreated: 0
48997
49361
  },
48998
49362
  disputeGameFactory: {
48999
- [sourceId$5]: {
49363
+ [sourceId$6]: {
49000
49364
  address: "0x8cF97Ee616C986a070F5020d973b456D0120C253"
49001
49365
  }
49002
49366
  },
49003
49367
  l2OutputOracle: {
49004
- [sourceId$5]: {
49368
+ [sourceId$6]: {
49005
49369
  address: "0xc8886f8BAb6Eaeb215aDB5f1c686BF699248300e"
49006
49370
  }
49007
49371
  },
49008
49372
  portal: {
49009
- [sourceId$5]: {
49373
+ [sourceId$6]: {
49010
49374
  address: "0xFf6EBa109271fe6d4237EeeD4bAb1dD9A77dD1A4"
49011
49375
  }
49012
49376
  },
49013
49377
  l1StandardBridge: {
49014
- [sourceId$5]: {
49378
+ [sourceId$6]: {
49015
49379
  address: "0xd7DF54b3989855eb66497301a4aAEc33Dbb3F8DE"
49016
49380
  }
49017
49381
  }
49018
49382
  },
49019
49383
  testnet: true,
49020
- sourceId: sourceId$5
49384
+ sourceId: sourceId$6
49021
49385
  });
49022
49386
  const worldLand = /* @__PURE__ */ defineChain({
49023
49387
  id: 103,
@@ -49200,6 +49564,62 @@ const xrOne = /* @__PURE__ */ defineChain({
49200
49564
  },
49201
49565
  testnet: false
49202
49566
  });
49567
+ const xrplevmDevnet = /* @__PURE__ */ defineChain({
49568
+ id: 1440002,
49569
+ name: "XRPL EVM Devnet",
49570
+ nativeCurrency: {
49571
+ name: "XRP",
49572
+ symbol: "XRP",
49573
+ decimals: 18
49574
+ },
49575
+ rpcUrls: {
49576
+ default: {
49577
+ http: ["https://rpc.xrplevm.org/"]
49578
+ },
49579
+ public: {
49580
+ http: ["https://rpc.xrplevm.org/"]
49581
+ }
49582
+ },
49583
+ blockExplorers: {
49584
+ default: {
49585
+ name: "XRPLEVM Devnet Explorer",
49586
+ url: "https://explorer.xrplevm.org/"
49587
+ }
49588
+ },
49589
+ contracts: {
49590
+ multicall3: {
49591
+ address: "0x82Cc144D7d0AD4B1c27cb41420e82b82Ad6e9B31",
49592
+ blockCreated: 15237286
49593
+ }
49594
+ },
49595
+ testnet: true
49596
+ });
49597
+ const xrplevmTestnet = /* @__PURE__ */ defineChain({
49598
+ id: 1449e3,
49599
+ name: "XRPL EVM Testnet",
49600
+ nativeCurrency: {
49601
+ name: "XRP",
49602
+ symbol: "XRP",
49603
+ decimals: 18
49604
+ },
49605
+ rpcUrls: {
49606
+ default: { http: ["https://rpc.testnet.xrplevm.org"] }
49607
+ },
49608
+ blockExplorers: {
49609
+ default: {
49610
+ name: "blockscout",
49611
+ url: "https://explorer.testnet.xrplevm.org",
49612
+ apiUrl: "https://explorer.testnet.xrplevm.org/api/v2"
49613
+ }
49614
+ },
49615
+ contracts: {
49616
+ multicall3: {
49617
+ address: "0x82Cc144D7d0AD4B1c27cb41420e82b82Ad6e9B31",
49618
+ blockCreated: 492302
49619
+ }
49620
+ },
49621
+ testnet: true
49622
+ });
49203
49623
  const xrSepolia = /* @__PURE__ */ defineChain({
49204
49624
  id: 2730,
49205
49625
  name: "XR Sepolia",
@@ -49438,7 +49858,7 @@ const zilliqaTestnet = /* @__PURE__ */ defineChain({
49438
49858
  },
49439
49859
  testnet: true
49440
49860
  });
49441
- const sourceId$4 = 1;
49861
+ const sourceId$5 = 1;
49442
49862
  const zircuit = /* @__PURE__ */ defineChain({
49443
49863
  ...chainConfig$2,
49444
49864
  id: 48900,
@@ -49451,8 +49871,9 @@ const zircuit = /* @__PURE__ */ defineChain({
49451
49871
  rpcUrls: {
49452
49872
  default: {
49453
49873
  http: [
49454
- "https://zircuit1-mainnet.p2pify.com",
49874
+ "https://mainnet.zircuit.com",
49455
49875
  "https://zircuit1-mainnet.liquify.com",
49876
+ "https://zircuit1-mainnet.p2pify.com",
49456
49877
  "https://zircuit-mainnet.drpc.org"
49457
49878
  ]
49458
49879
  }
@@ -49468,23 +49889,62 @@ const zircuit = /* @__PURE__ */ defineChain({
49468
49889
  address: "0xcA11bde05977b3631167028862bE2a173976CA11"
49469
49890
  },
49470
49891
  l2OutputOracle: {
49471
- [sourceId$4]: {
49892
+ [sourceId$5]: {
49472
49893
  address: "0x92Ef6Af472b39F1b363da45E35530c24619245A4"
49473
49894
  }
49474
49895
  },
49475
49896
  portal: {
49476
- [sourceId$4]: {
49897
+ [sourceId$5]: {
49477
49898
  address: "0x17bfAfA932d2e23Bd9B909Fd5B4D2e2a27043fb1"
49478
49899
  }
49479
49900
  },
49480
49901
  l1StandardBridge: {
49481
- [sourceId$4]: {
49902
+ [sourceId$5]: {
49482
49903
  address: "0x386B76D9cA5F5Fb150B6BFB35CF5379B22B26dd8"
49483
49904
  }
49484
49905
  }
49485
49906
  },
49486
49907
  testnet: false
49487
49908
  });
49909
+ const sourceId$4 = 11155111;
49910
+ const zircuitGarfieldTestnet = /* @__PURE__ */ defineChain({
49911
+ ...chainConfig$2,
49912
+ id: 48898,
49913
+ name: "Zircuit Garfield Testnet",
49914
+ nativeCurrency: { name: "ETH", symbol: "ETH", decimals: 18 },
49915
+ rpcUrls: {
49916
+ default: {
49917
+ http: ["https://garfield-testnet.zircuit.com/"]
49918
+ }
49919
+ },
49920
+ blockExplorers: {
49921
+ default: {
49922
+ name: "Zircuit Garfield Testnet Explorer",
49923
+ url: "https://explorer.garfield-testnet.zircuit.com"
49924
+ }
49925
+ },
49926
+ contracts: {
49927
+ multicall3: {
49928
+ address: "0xcA11bde05977b3631167028862bE2a173976CA11"
49929
+ },
49930
+ l2OutputOracle: {
49931
+ [sourceId$4]: {
49932
+ address: "0xd69D3AC5CA686cCF94b258291772bc520FEAf211"
49933
+ }
49934
+ },
49935
+ portal: {
49936
+ [sourceId$4]: {
49937
+ address: "0x4E21A71Ac3F7607Da5c06153A17B1DD20E702c21"
49938
+ }
49939
+ },
49940
+ l1StandardBridge: {
49941
+ [sourceId$4]: {
49942
+ address: "0x87a7E2bCA9E35BA49282E832a28A6023904460D8"
49943
+ }
49944
+ }
49945
+ },
49946
+ testnet: true
49947
+ });
49488
49948
  const sourceId$3 = 11155111;
49489
49949
  const zircuitTestnet = /* @__PURE__ */ defineChain({
49490
49950
  ...chainConfig$2,
@@ -49494,6 +49954,7 @@ const zircuitTestnet = /* @__PURE__ */ defineChain({
49494
49954
  rpcUrls: {
49495
49955
  default: {
49496
49956
  http: [
49957
+ "https://testnet.zircuit.com",
49497
49958
  "https://zircuit1-testnet.p2pify.com",
49498
49959
  "https://zircuit1-testnet.liquify.com"
49499
49960
  ]
@@ -50022,6 +50483,7 @@ const chains = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProper
50022
50483
  dailyNetwork,
50023
50484
  dailyNetworkTestnet,
50024
50485
  darwinia,
50486
+ dbkchain,
50025
50487
  dchain,
50026
50488
  dchainTestnet,
50027
50489
  defichainEvm,
@@ -50039,6 +50501,8 @@ const chains = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProper
50039
50501
  dreyerxTestnet,
50040
50502
  dustboyIoT,
50041
50503
  dymension,
50504
+ edexa,
50505
+ edexaTestnet,
50042
50506
  edgeless,
50043
50507
  edgelessTestnet,
50044
50508
  edgeware,
@@ -50128,6 +50592,7 @@ const chains = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProper
50128
50592
  hemi,
50129
50593
  hemiSepolia,
50130
50594
  holesky,
50595
+ hoodi,
50131
50596
  hpb,
50132
50597
  huddle01Mainnet,
50133
50598
  huddle01Testnet,
@@ -50151,6 +50616,18 @@ const chains = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProper
50151
50616
  jbc,
50152
50617
  jbcTestnet,
50153
50618
  juneo,
50619
+ juneoBCH1Chain,
50620
+ juneoDAI1Chain,
50621
+ juneoDOGE1Chain,
50622
+ juneoEUR1Chain,
50623
+ juneoGLD1Chain,
50624
+ juneoLINK1Chain,
50625
+ juneoLTC1Chain,
50626
+ juneoSGD1Chain,
50627
+ juneoSocotraTestnet,
50628
+ juneoUSD1Chain,
50629
+ juneoUSDT1Chain,
50630
+ juneomBTC1Chain,
50154
50631
  kaia,
50155
50632
  kairos,
50156
50633
  kakarotSepolia,
@@ -50204,6 +50681,7 @@ const chains = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProper
50204
50681
  mekong,
50205
50682
  meld,
50206
50683
  merlin,
50684
+ merlinErigonTestnet,
50207
50685
  metachain,
50208
50686
  metachainIstanbul,
50209
50687
  metadium,
@@ -50269,6 +50747,7 @@ const chains = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProper
50269
50747
  plume,
50270
50748
  plumeDevnet,
50271
50749
  plumeMainnet,
50750
+ plumeSepolia,
50272
50751
  plumeTestnet,
50273
50752
  polterTestnet,
50274
50753
  polygon,
@@ -50439,6 +50918,8 @@ const chains = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProper
50439
50918
  xdcTestnet,
50440
50919
  xrOne,
50441
50920
  xrSepolia,
50921
+ xrplevmDevnet,
50922
+ xrplevmTestnet,
50442
50923
  yooldoVerse,
50443
50924
  yooldoVerseTestnet,
50444
50925
  zenchainTestnet,
@@ -50451,6 +50932,7 @@ const chains = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProper
50451
50932
  zilliqa,
50452
50933
  zilliqaTestnet,
50453
50934
  zircuit,
50935
+ zircuitGarfieldTestnet,
50454
50936
  zircuitTestnet,
50455
50937
  zkFair,
50456
50938
  zkFairTestnet,
@@ -70596,7 +71078,7 @@ const useFilteredDocumentModels = () => {
70596
71078
  return filteredDocumentModels;
70597
71079
  };
70598
71080
  async function loadBaseEditors() {
70599
- const documentModelEditor = await __vitePreload(() => import("./index-BeBd0Q5I.js"), true ? __vite__mapDeps([4,2,1,3]) : void 0);
71081
+ const documentModelEditor = await __vitePreload(() => import("./index-CrpTq7W6.js"), true ? __vite__mapDeps([4,2,1,3]) : void 0);
70600
71082
  await __vitePreload(() => Promise.resolve({}), true ? __vite__mapDeps([5]) : void 0);
70601
71083
  const module = documentModelEditor.documentModelEditorModule;
70602
71084
  return [module];
@@ -70747,11 +71229,11 @@ const connectCrypto = (async () => {
70747
71229
  return window.connectCrypto;
70748
71230
  }
70749
71231
  const { ConnectCrypto } = await __vitePreload(async () => {
70750
- const { ConnectCrypto: ConnectCrypto2 } = await import("./index-BaBnabbX.js");
71232
+ const { ConnectCrypto: ConnectCrypto2 } = await import("./index-DG5cID7M.js");
70751
71233
  return { ConnectCrypto: ConnectCrypto2 };
70752
71234
  }, true ? __vite__mapDeps([6,1,2,3]) : void 0);
70753
71235
  const { BrowserKeyStorage } = await __vitePreload(async () => {
70754
- const { BrowserKeyStorage: BrowserKeyStorage2 } = await import("./index-BaBnabbX.js");
71236
+ const { BrowserKeyStorage: BrowserKeyStorage2 } = await import("./index-DG5cID7M.js");
70755
71237
  return { BrowserKeyStorage: BrowserKeyStorage2 };
70756
71238
  }, true ? __vite__mapDeps([6,1,2,3]) : void 0);
70757
71239
  const connectCrypto2 = new ConnectCrypto(new BrowserKeyStorage());
@@ -70800,7 +71282,7 @@ function useRenown() {
70800
71282
  return;
70801
71283
  }
70802
71284
  const { initRenownBrowser } = await __vitePreload(async () => {
70803
- const { initRenownBrowser: initRenownBrowser2 } = await import("./index-BaBnabbX.js");
71285
+ const { initRenownBrowser: initRenownBrowser2 } = await import("./index-DG5cID7M.js");
70804
71286
  return { initRenownBrowser: initRenownBrowser2 };
70805
71287
  }, true ? __vite__mapDeps([6,1,2,3]) : void 0);
70806
71288
  const renownBrowser = initRenownBrowser(did2);
@@ -79121,7 +79603,7 @@ function Home() {
79121
79603
  /* @__PURE__ */ jsx$1(HomeScreenAddDriveItem, { onClick: onAddDriveClick })
79122
79604
  ] });
79123
79605
  }
79124
- const Content = React__default.lazy(() => __vitePreload(() => import("./content-CT8IEBqv.js"), true ? __vite__mapDeps([7,2,1,3]) : void 0));
79606
+ const Content = React__default.lazy(() => __vitePreload(() => import("./content-CrBPsYmC.js"), true ? __vite__mapDeps([7,2,1,3]) : void 0));
79125
79607
  async function createRouter(routes) {
79126
79608
  var _a2;
79127
79609
  const isPackaged = await ((_a2 = window.electronAPI) == null ? void 0 : _a2.isPackaged());
@@ -79269,7 +79751,7 @@ export {
79269
79751
  Root2 as ag,
79270
79752
  List as ah,
79271
79753
  Trigger as ai,
79272
- Content$1 as aj,
79754
+ Content$2 as aj,
79273
79755
  setModelName as ak,
79274
79756
  setModelId as al,
79275
79757
  setModelDescription as am,