@rhinestone/deposit-modal 0.14.0 → 0.15.0

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 (69) hide show
  1. package/README.md +12 -12
  2. package/bridge-transcript.json +14 -0
  3. package/dist/ClaimModal-GFDBVCN5.cjs +11 -0
  4. package/dist/ClaimModal-VQS3AKEL.mjs +11 -0
  5. package/dist/{DepositModalReown-Q2JMLT47.mjs → DepositModalReown-KOJ7VEY7.mjs} +30 -29
  6. package/dist/{DepositModalReown-46LPVFB6.cjs → DepositModalReown-R37SSHUF.cjs} +79 -78
  7. package/dist/WithdrawModal-QVXHMH43.mjs +12 -0
  8. package/dist/WithdrawModal-RY2NMFLE.cjs +12 -0
  9. package/dist/{caip-D8aRWdEY.d.cts → caip-BMi-9t09.d.cts} +27 -3
  10. package/dist/{caip-D8aRWdEY.d.ts → caip-BMi-9t09.d.ts} +27 -3
  11. package/dist/{chunk-V2OBGLJD.cjs → chunk-3OOY67VJ.cjs} +1103 -253
  12. package/dist/{chunk-6KG642KH.cjs → chunk-5P2PVLS4.cjs} +1 -1
  13. package/dist/{chunk-IN77XSWO.mjs → chunk-5VONFVQN.mjs} +976 -126
  14. package/dist/chunk-6HUHVXCY.cjs +704 -0
  15. package/dist/{chunk-PKML3XVS.mjs → chunk-7UQ6OUEE.mjs} +166 -45
  16. package/dist/{chunk-K4H6TGBE.mjs → chunk-CXBMIZUF.mjs} +1 -1
  17. package/dist/{chunk-MTFJSE52.cjs → chunk-DTVZUBHI.cjs} +236 -115
  18. package/dist/{chunk-VUATPOWJ.mjs → chunk-EAGMY3QE.mjs} +74 -17
  19. package/dist/{chunk-RN5VKWI6.mjs → chunk-FTWKAJGN.mjs} +1 -1
  20. package/dist/{chunk-KTUVSKR4.mjs → chunk-IKUYZA7A.mjs} +265 -523
  21. package/dist/{chunk-DW2EQA2U.cjs → chunk-LVCD6RHF.cjs} +2 -2
  22. package/dist/{chunk-4KCSH4T3.cjs → chunk-OY5N3E6L.cjs} +86 -29
  23. package/dist/chunk-QJ7RCCU7.mjs +704 -0
  24. package/dist/chunk-UCBUCX2W.mjs +3169 -0
  25. package/dist/{chunk-YCQZJQO6.cjs → chunk-VPDCGD2D.cjs} +622 -880
  26. package/dist/{chunk-7ICSHJFE.cjs → chunk-X4D52IZK.cjs} +1501 -176
  27. package/dist/claim.cjs +5 -7
  28. package/dist/claim.d.cts +3 -3
  29. package/dist/claim.d.ts +3 -3
  30. package/dist/claim.mjs +4 -6
  31. package/dist/{constants-DBrWhJWE.d.cts → constants-BT4ctuHo.d.cts} +7 -6
  32. package/dist/{constants-DBrWhJWE.d.ts → constants-D21ZdNOP.d.ts} +7 -6
  33. package/dist/constants.cjs +3 -3
  34. package/dist/constants.d.cts +3 -3
  35. package/dist/constants.d.ts +3 -3
  36. package/dist/constants.mjs +2 -2
  37. package/dist/deposit.cjs +7 -8
  38. package/dist/deposit.d.cts +3 -3
  39. package/dist/deposit.d.ts +3 -3
  40. package/dist/deposit.mjs +6 -7
  41. package/dist/embed.cjs +135 -44
  42. package/dist/embed.d.cts +2 -2
  43. package/dist/embed.d.ts +2 -2
  44. package/dist/embed.mjs +116 -25
  45. package/dist/index.cjs +13 -11
  46. package/dist/index.d.cts +3 -3
  47. package/dist/index.d.ts +3 -3
  48. package/dist/index.mjs +12 -10
  49. package/dist/polymarket.cjs +6 -6
  50. package/dist/polymarket.mjs +2 -2
  51. package/dist/styles.css +132 -100
  52. package/dist/{types-Bho4OA03.d.ts → types-CQ0NHqCy.d.ts} +146 -11
  53. package/dist/{types-DP_3KwlD.d.cts → types-CxiLX5sv.d.cts} +146 -11
  54. package/dist/withdraw.cjs +6 -6
  55. package/dist/withdraw.d.cts +4 -4
  56. package/dist/withdraw.d.ts +4 -4
  57. package/dist/withdraw.mjs +5 -5
  58. package/package.json +7 -6
  59. package/dist/ClaimModal-IKTJU43Y.cjs +0 -13
  60. package/dist/ClaimModal-SEKNWRMA.mjs +0 -13
  61. package/dist/WithdrawModal-5ICGD4HJ.mjs +0 -12
  62. package/dist/WithdrawModal-VP6PMIRO.cjs +0 -12
  63. package/dist/chunk-7SR7ENVJ.mjs +0 -1844
  64. package/dist/chunk-CFKC77SV.mjs +0 -1062
  65. package/dist/chunk-LZFRL2AL.cjs +0 -81
  66. package/dist/chunk-WUJIKCFU.mjs +0 -81
  67. package/dist/chunk-X2IPAPXU.cjs +0 -163
  68. package/dist/chunk-YWMWI7PZ.cjs +0 -1062
  69. package/dist/chunk-ZEO6ADM3.mjs +0 -163
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk4KCSH4T3cjs = require('./chunk-4KCSH4T3.cjs');
3
+ var _chunkOY5N3E6Lcjs = require('./chunk-OY5N3E6L.cjs');
4
4
 
5
5
  // src/core/dapp-imports/polymarket/constants.ts
6
6
  var POLYMARKET_POLYGON_CHAIN_ID = 137;
@@ -10,7 +10,7 @@ var POLYMARKET_USDCE_ADDRESS = "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174";
10
10
  var POLYMARKET_COLLATERAL_OFFRAMP_ADDRESS = "0x2957922Eb93258b93368531d39fAcCA3B4dC5854";
11
11
  var SAFE_MULTI_SEND_CALL_ONLY_ADDRESS = "0x40A2aCCbd92BCA938b02010E17A5b8929b49130D";
12
12
  var GAMMA_API_PUBLIC_PROFILE = "https://gamma-api.polymarket.com/public-profile";
13
- var POLYMARKET_ICON_URL = _chunk4KCSH4T3cjs.cdnIconUrl.call(void 0, "dapps", "polymarket");
13
+ var POLYMARKET_ICON_URL = _chunkOY5N3E6Lcjs.cdnIconUrl.call(void 0, "dapps", "polymarket");
14
14
 
15
15
  // src/core/dapp-imports/polymarket/gamma-api.ts
16
16
  var _viem = require('viem');
@@ -7,6 +7,7 @@ function toEvmCaip2(chainId) {
7
7
  function targetChainToCaip2(targetChain) {
8
8
  if (targetChain === "solana") return SOLANA_MAINNET_CAIP2;
9
9
  if (isHyperCoreDestination(targetChain)) return HYPERCORE_SPOT_CAIP2;
10
+ if (typeof targetChain === "string") return targetChain;
10
11
  return toEvmCaip2(targetChain);
11
12
  }
12
13
  function parseEvmChainId(value) {
@@ -22,13 +23,31 @@ function parseEvmChainId(value) {
22
23
  function isSolanaCaip2(value) {
23
24
  return typeof value === "string" && value.startsWith("solana:");
24
25
  }
26
+ function displayChainIdForCaip2(caip2) {
27
+ const evm = parseEvmChainId(caip2);
28
+ if (evm !== null) return evm;
29
+ if (isSolanaCaip2(caip2)) return "solana";
30
+ if (isHyperCoreCaip2(caip2)) return "hypercore";
31
+ if (caip2 === TRON_MAINNET_CAIP2) return "tron";
32
+ if (caip2 === STELLAR_PUBNET_CAIP2) return "stellar";
33
+ return null;
34
+ }
25
35
  function isHyperCoreCaip2(value) {
26
36
  return typeof value === "string" && value.startsWith("hypercore:");
27
37
  }
28
38
  var HYPERCORE_CHAIN_ID = 1337;
29
39
  var HYPERCORE_SPOT_CAIP2 = "hypercore:spot";
40
+ var TRON_MAINNET_CAIP2 = "tron:mainnet";
41
+ var STELLAR_PUBNET_CAIP2 = "stellar:pubnet";
42
+ function isTargetChain(value) {
43
+ if (typeof value === "number") return Number.isInteger(value) && value > 0;
44
+ return value === "solana" || value === HYPERCORE_SPOT_CAIP2 || value === TRON_MAINNET_CAIP2 || value === STELLAR_PUBNET_CAIP2;
45
+ }
30
46
  function targetChainToChainId(targetChain) {
31
- return isHyperCoreDestination(targetChain) ? "hypercore" : targetChain;
47
+ if (isHyperCoreDestination(targetChain)) return "hypercore";
48
+ if (targetChain === TRON_MAINNET_CAIP2) return "tron";
49
+ if (targetChain === STELLAR_PUBNET_CAIP2) return "stellar";
50
+ return targetChain;
32
51
  }
33
52
  function isHyperCoreDestination(targetChain) {
34
53
  return targetChain === HYPERCORE_SPOT_CAIP2 || targetChain === HYPERCORE_CHAIN_ID;
@@ -41,7 +60,7 @@ var HYPERCORE_SOURCE_TOKENS = [
41
60
  ];
42
61
  var HYPERCORE_MIN_DEPOSIT_USD = 1;
43
62
  function isVirtualDestination(targetChain) {
44
- return targetChain === "solana" || isHyperCoreDestination(targetChain);
63
+ return typeof targetChain !== "number" || isHyperCoreDestination(targetChain);
45
64
  }
46
65
 
47
66
  // src/core/solana-tokens.ts
@@ -78,7 +97,9 @@ function setRuntimeChainMeta(entries) {
78
97
  name: entry.name,
79
98
  iconUrl: entry.iconUrl,
80
99
  nativeSymbol: entry.nativeSymbol,
81
- explorerUrl: entry.explorerUrl
100
+ explorerUrl: entry.explorerUrl,
101
+ explorerTxPath: entry.explorerTxPath,
102
+ explorerAddressPath: entry.explorerAddressPath
82
103
  });
83
104
  }
84
105
  }
@@ -94,9 +115,14 @@ function getRuntimeChainIconUrl(chainId) {
94
115
  function getRuntimeChainExplorerUrl(chainId) {
95
116
  return _optionalChain([byChainId, 'access', _11 => _11.get, 'call', _12 => _12(chainId), 'optionalAccess', _13 => _13.explorerUrl]);
96
117
  }
118
+ function getRuntimeChainExplorerTxPath(chainId) {
119
+ return _optionalChain([byChainId, 'access', _14 => _14.get, 'call', _15 => _15(chainId), 'optionalAccess', _16 => _16.explorerTxPath]);
120
+ }
97
121
  function getRuntimeChainExplorerName(chainId) {
98
- const url = _optionalChain([byChainId, 'access', _14 => _14.get, 'call', _15 => _15(chainId), 'optionalAccess', _16 => _16.explorerUrl]);
99
- if (!url) return void 0;
122
+ const url = _optionalChain([byChainId, 'access', _17 => _17.get, 'call', _18 => _18(chainId), 'optionalAccess', _19 => _19.explorerUrl]);
123
+ return url ? explorerNameFromUrl(url) : void 0;
124
+ }
125
+ function explorerNameFromUrl(url) {
100
126
  let host;
101
127
  try {
102
128
  host = new URL(url).hostname;
@@ -144,6 +170,7 @@ function getChainIcon(chainId) {
144
170
  if (chainId === "hypercore" || chainId === HYPERCORE_CHAIN_ID) {
145
171
  return CHAIN_ICONS[HYPEREVM_CHAIN_ID];
146
172
  }
173
+ if (typeof chainId === "string") return getRuntimeChainIconUrl(chainId);
147
174
  return _nullishCoalesce(CHAIN_ICONS[chainId], () => ( getRuntimeChainIconUrl(chainId)));
148
175
  }
149
176
  var ICON_SLUG_ALIASES = {
@@ -174,7 +201,8 @@ function symbolKey(chainId, symbol) {
174
201
  return `${chainId}:${symbol.trim().toUpperCase()}`;
175
202
  }
176
203
  function addressKey(chainId, address) {
177
- return `${chainId}:${address.toLowerCase()}`;
204
+ const key = address.startsWith("0x") ? address.toLowerCase() : address;
205
+ return `${chainId}:${key}`;
178
206
  }
179
207
  function setRuntimeTokens(tokens) {
180
208
  for (const token of tokens) {
@@ -215,10 +243,10 @@ function getRuntimeTokenSymbols(chainId) {
215
243
  return _nullishCoalesce(symbolsByChain.get(chainId), () => ( []));
216
244
  }
217
245
  function findRuntimeDecimalsByAddress(address) {
218
- return _optionalChain([findByAddress, 'call', _17 => _17(address), 'optionalAccess', _18 => _18.decimals]);
246
+ return _optionalChain([findByAddress, 'call', _20 => _20(address), 'optionalAccess', _21 => _21.decimals]);
219
247
  }
220
248
  function findRuntimeSymbolByAddress(address) {
221
- return _optionalChain([findByAddress, 'call', _19 => _19(address), 'optionalAccess', _20 => _20.symbol]);
249
+ return _optionalChain([findByAddress, 'call', _22 => _22(address), 'optionalAccess', _23 => _23.symbol]);
222
250
  }
223
251
  function findByAddress(address) {
224
252
  const suffix = `:${address.toLowerCase()}`;
@@ -584,7 +612,7 @@ function getChainId(chain) {
584
612
  function normalizeTokenSymbol(symbol) {
585
613
  const trimmed = symbol.trim();
586
614
  const wrapped = trimmed.match(/\(([^)]+)\)/);
587
- if (_optionalChain([wrapped, 'optionalAccess', _21 => _21[1]])) {
615
+ if (_optionalChain([wrapped, 'optionalAccess', _24 => _24[1]])) {
588
616
  return wrapped[1].trim().toUpperCase();
589
617
  }
590
618
  return trimmed.toUpperCase();
@@ -592,7 +620,7 @@ function normalizeTokenSymbol(symbol) {
592
620
  function isSymbolSupportedOnChain(symbol, chainId) {
593
621
  const normalized = normalizeTokenSymbol(symbol);
594
622
  const symbols = SUPPORTED_TOKENS_BY_CHAIN[chainId];
595
- if (_optionalChain([symbols, 'optionalAccess', _22 => _22.includes, 'call', _23 => _23(normalized)])) return true;
623
+ if (_optionalChain([symbols, 'optionalAccess', _25 => _25.includes, 'call', _26 => _26(normalized)])) return true;
596
624
  return getRuntimeToken(chainId, normalized) !== void 0;
597
625
  }
598
626
  function getTokenFromRegistry(chainId, symbol) {
@@ -609,15 +637,16 @@ function getTokenFromRegistry(chainId, symbol) {
609
637
  }
610
638
  function runtimeToken(chainId, symbol) {
611
639
  const token = getRuntimeToken(chainId, symbol);
612
- return token ? { address: token.address, decimals: token.decimals } : void 0;
640
+ if (!token || !token.address.startsWith("0x")) return void 0;
641
+ return { address: token.address, decimals: token.decimals };
613
642
  }
614
643
  function getUsdcAddress(chainId) {
615
644
  const token = getTokenFromRegistry(chainId, "USDC");
616
- return _optionalChain([token, 'optionalAccess', _24 => _24.address]);
645
+ return _optionalChain([token, 'optionalAccess', _27 => _27.address]);
617
646
  }
618
647
  function getUsdcDecimals(chainId) {
619
648
  const token = getTokenFromRegistry(chainId, "USDC");
620
- return _nullishCoalesce(_optionalChain([token, 'optionalAccess', _25 => _25.decimals]), () => ( 6));
649
+ return _nullishCoalesce(_optionalChain([token, 'optionalAccess', _28 => _28.decimals]), () => ( 6));
621
650
  }
622
651
  function getTokenAddress(symbol, chainId) {
623
652
  if (symbol.toUpperCase() === "ETH") {
@@ -630,18 +659,18 @@ function getTokenAddress(symbol, chainId) {
630
659
  return void 0;
631
660
  }
632
661
  const token = getTokenFromRegistry(chainId, symbol);
633
- return _optionalChain([token, 'optionalAccess', _26 => _26.address]);
662
+ return _optionalChain([token, 'optionalAccess', _29 => _29.address]);
634
663
  }
635
664
  function getTokenDecimals(symbol, chainId) {
636
665
  if (symbol.toUpperCase() === "ETH") {
637
666
  return 18;
638
667
  }
639
668
  const token = getTokenFromRegistry(chainId, symbol);
640
- return _nullishCoalesce(_optionalChain([token, 'optionalAccess', _27 => _27.decimals]), () => ( 18));
669
+ return _nullishCoalesce(_optionalChain([token, 'optionalAccess', _30 => _30.decimals]), () => ( 18));
641
670
  }
642
671
  function getTargetTokenSymbolsForChain(chainId) {
643
672
  const symbols = SUPPORTED_TOKENS_BY_CHAIN[chainId];
644
- if (_optionalChain([symbols, 'optionalAccess', _28 => _28.length])) return [...symbols];
673
+ if (_optionalChain([symbols, 'optionalAccess', _31 => _31.length])) return [...symbols];
645
674
  return getRuntimeTokenSymbols(chainId);
646
675
  }
647
676
  function getSupportedTokenSymbolsForChain(chainId) {
@@ -767,9 +796,13 @@ function getTokenSymbol(token, chainId) {
767
796
  }
768
797
  function getTargetTokenSymbol(token, chain) {
769
798
  if (chain === "solana") {
770
- return _nullishCoalesce(_optionalChain([getSolanaTokenByMint, 'call', _29 => _29(String(token)), 'optionalAccess', _30 => _30.symbol]), () => ( "Token"));
799
+ return _nullishCoalesce(_optionalChain([getSolanaTokenByMint, 'call', _32 => _32(String(token)), 'optionalAccess', _33 => _33.symbol]), () => ( "Token"));
771
800
  }
772
- return getTokenSymbol(token, resolveDisplayChainId(chain));
801
+ const id = resolveDisplayChainId(chain);
802
+ if (typeof id === "string") {
803
+ return _nullishCoalesce(_optionalChain([getRuntimeTokenByAddress, 'call', _34 => _34(id, String(token)), 'optionalAccess', _35 => _35.symbol]), () => ( "Token"));
804
+ }
805
+ return getTokenSymbol(token, id);
773
806
  }
774
807
  function isStablecoinSymbol(symbol) {
775
808
  return /^(usdc|usdt|usdt0|dai|usd)$/i.test(symbol);
@@ -798,10 +831,22 @@ var CHAIN_BADGES = {
798
831
  function resolveDisplayChainId(chainId) {
799
832
  return chainId === "hypercore" ? HYPERCORE_CHAIN_ID : chainId;
800
833
  }
834
+ var NON_EVM_CHAIN_FALLBACKS = {
835
+ solana: { name: "Solana", explorerUrl: "https://solscan.io" },
836
+ tron: { name: "Tron", explorerUrl: "https://tronscan.org" },
837
+ stellar: { name: "Stellar", explorerUrl: "https://stellar.expert" }
838
+ };
839
+ var SOLANA_BADGE = {
840
+ shortLabel: "SOL",
841
+ color: "#9945FF",
842
+ bg: "#F3EEFF"
843
+ };
801
844
  var HYPERCORE_EXPLORER_URL = "https://app.hyperliquid.xyz/explorer";
802
845
  function getChainName(chainId) {
803
- if (chainId === "solana") return "Solana";
804
846
  const id = resolveDisplayChainId(chainId);
847
+ if (typeof id === "string") {
848
+ return _nullishCoalesce(getRuntimeChainName(id), () => ( NON_EVM_CHAIN_FALLBACKS[id].name));
849
+ }
805
850
  const chainEntry = chainRegistry[String(id)];
806
851
  if (chainEntry) return chainEntry.name;
807
852
  const runtimeName = getRuntimeChainName(id);
@@ -809,10 +854,12 @@ function getChainName(chainId) {
809
854
  return `Chain ${id}`;
810
855
  }
811
856
  function getChainBadge(chainId) {
812
- if (chainId === "solana") {
813
- return { shortLabel: "SOL", color: "#9945FF", bg: "#F3EEFF" };
814
- }
815
857
  const id = resolveDisplayChainId(chainId);
858
+ if (id === "solana") return SOLANA_BADGE;
859
+ if (typeof id === "string") {
860
+ const name2 = getChainName(id);
861
+ return { shortLabel: name2, ...badgeColorsFor(name2) };
862
+ }
816
863
  const curated = CHAIN_BADGES[id];
817
864
  if (curated) return curated;
818
865
  const name = getRuntimeChainName(id);
@@ -830,21 +877,26 @@ function badgeColorsFor(name) {
830
877
  return { color: `hsl(${hue} 55% 38%)`, bg: `hsl(${hue} 70% 95%)` };
831
878
  }
832
879
  function getExplorerUrl(chainId) {
833
- if (chainId === "solana") return "https://solscan.io";
834
880
  if (chainId === "hypercore") return HYPERCORE_EXPLORER_URL;
835
- return getRuntimeChainExplorerUrl(resolveDisplayChainId(chainId));
881
+ const id = resolveDisplayChainId(chainId);
882
+ const published = getRuntimeChainExplorerUrl(id);
883
+ if (published) return published;
884
+ return typeof id === "string" ? NON_EVM_CHAIN_FALLBACKS[id].explorerUrl : void 0;
836
885
  }
837
886
  function getExplorerTxUrl(chainId, txHash) {
838
- if (chainId === "solana") return `https://solscan.io/tx/${txHash}`;
839
887
  if (chainId === "hypercore" && !txHash.startsWith("0x")) return void 0;
840
888
  const url = getExplorerUrl(chainId);
841
889
  if (!url) return void 0;
842
- return `${url}/tx/${txHash}`;
890
+ const path = getRuntimeChainExplorerTxPath(resolveDisplayChainId(chainId));
891
+ return `${url}${_nullishCoalesce(path, () => ( "/tx/"))}${txHash}`;
843
892
  }
844
893
  function getExplorerName(chainId) {
845
- if (chainId === "solana") return "Solscan";
846
894
  if (chainId === "hypercore") return "Hyperliquid Explorer";
847
- return _nullishCoalesce(getRuntimeChainExplorerName(resolveDisplayChainId(chainId)), () => ( "Explorer"));
895
+ const id = resolveDisplayChainId(chainId);
896
+ const derived = getRuntimeChainExplorerName(id);
897
+ if (derived) return derived;
898
+ const url = typeof id === "string" ? NON_EVM_CHAIN_FALLBACKS[id].explorerUrl : void 0;
899
+ return url && explorerNameFromUrl(url) || "Explorer";
848
900
  }
849
901
 
850
902
 
@@ -902,4 +954,9 @@ function getExplorerName(chainId) {
902
954
 
903
955
 
904
956
 
905
- exports.SOLANA_MAINNET_CAIP2 = SOLANA_MAINNET_CAIP2; exports.toEvmCaip2 = toEvmCaip2; exports.targetChainToCaip2 = targetChainToCaip2; exports.parseEvmChainId = parseEvmChainId; exports.isSolanaCaip2 = isSolanaCaip2; exports.isHyperCoreCaip2 = isHyperCoreCaip2; exports.HYPERCORE_CHAIN_ID = HYPERCORE_CHAIN_ID; exports.HYPERCORE_SPOT_CAIP2 = HYPERCORE_SPOT_CAIP2; exports.targetChainToChainId = targetChainToChainId; exports.isHyperCoreDestination = isHyperCoreDestination; exports.HYPERCORE_USDC_ADDRESS = HYPERCORE_USDC_ADDRESS; exports.HYPERCORE_USDT0_ADDRESS = HYPERCORE_USDT0_ADDRESS; exports.HYPERCORE_SOURCE_TOKENS = HYPERCORE_SOURCE_TOKENS; exports.HYPERCORE_MIN_DEPOSIT_USD = HYPERCORE_MIN_DEPOSIT_USD; exports.isVirtualDestination = isVirtualDestination; exports.SOLANA_TOKENS = SOLANA_TOKENS; exports.getSolanaTokenBySymbol = getSolanaTokenBySymbol; exports.getSolanaTokenByMint = getSolanaTokenByMint; exports.isNativeSol = isNativeSol; exports.setRuntimeChainMeta = setRuntimeChainMeta; exports.setRuntimeTokens = setRuntimeTokens; exports.publishShortlistTokens = publishShortlistTokens; exports.ICON_CDN = ICON_CDN; exports.cdnIconUrl = cdnIconUrl; exports.getChainIcon = getChainIcon; exports.tokenIconUrl = tokenIconUrl; exports.getTokenIcon = getTokenIcon; exports.NATIVE_TOKEN_ADDRESS = NATIVE_TOKEN_ADDRESS; exports.CHAIN_DISPLAY_ORDER = CHAIN_DISPLAY_ORDER; exports.SUPPORTED_CHAIN_IDS = SUPPORTED_CHAIN_IDS; exports.chainRegistry = chainRegistry; exports.getChainId = getChainId; exports.getUsdcAddress = getUsdcAddress; exports.getUsdcDecimals = getUsdcDecimals; exports.getTokenAddress = getTokenAddress; exports.getTokenDecimals = getTokenDecimals; exports.getTargetTokenSymbolsForChain = getTargetTokenSymbolsForChain; exports.getSupportedTokenSymbolsForChain = getSupportedTokenSymbolsForChain; exports.getSupportedChainIds = getSupportedChainIds; exports.isSupportedTokenAddressForChain = isSupportedTokenAddressForChain; exports.getSupportedTargetTokens = getSupportedTargetTokens; exports.findTokenDecimals = findTokenDecimals; exports.getTokenDecimalsByAddress = getTokenDecimalsByAddress; exports.findChainIdForToken = findChainIdForToken; exports.isRegistryTokenOnChain = isRegistryTokenOnChain; exports.getNativeSymbol = getNativeSymbol; exports.getTokenSymbol = getTokenSymbol; exports.getTargetTokenSymbol = getTargetTokenSymbol; exports.isStablecoinSymbol = isStablecoinSymbol; exports.getChainName = getChainName; exports.getChainBadge = getChainBadge; exports.getExplorerUrl = getExplorerUrl; exports.getExplorerTxUrl = getExplorerTxUrl; exports.getExplorerName = getExplorerName;
957
+
958
+
959
+
960
+
961
+
962
+ exports.SOLANA_MAINNET_CAIP2 = SOLANA_MAINNET_CAIP2; exports.toEvmCaip2 = toEvmCaip2; exports.targetChainToCaip2 = targetChainToCaip2; exports.parseEvmChainId = parseEvmChainId; exports.isSolanaCaip2 = isSolanaCaip2; exports.displayChainIdForCaip2 = displayChainIdForCaip2; exports.isHyperCoreCaip2 = isHyperCoreCaip2; exports.HYPERCORE_CHAIN_ID = HYPERCORE_CHAIN_ID; exports.HYPERCORE_SPOT_CAIP2 = HYPERCORE_SPOT_CAIP2; exports.TRON_MAINNET_CAIP2 = TRON_MAINNET_CAIP2; exports.STELLAR_PUBNET_CAIP2 = STELLAR_PUBNET_CAIP2; exports.isTargetChain = isTargetChain; exports.targetChainToChainId = targetChainToChainId; exports.isHyperCoreDestination = isHyperCoreDestination; exports.HYPERCORE_USDC_ADDRESS = HYPERCORE_USDC_ADDRESS; exports.HYPERCORE_USDT0_ADDRESS = HYPERCORE_USDT0_ADDRESS; exports.HYPERCORE_SOURCE_TOKENS = HYPERCORE_SOURCE_TOKENS; exports.HYPERCORE_MIN_DEPOSIT_USD = HYPERCORE_MIN_DEPOSIT_USD; exports.isVirtualDestination = isVirtualDestination; exports.SOLANA_TOKENS = SOLANA_TOKENS; exports.getSolanaTokenBySymbol = getSolanaTokenBySymbol; exports.getSolanaTokenByMint = getSolanaTokenByMint; exports.isNativeSol = isNativeSol; exports.setRuntimeChainMeta = setRuntimeChainMeta; exports.setRuntimeTokens = setRuntimeTokens; exports.publishShortlistTokens = publishShortlistTokens; exports.getRuntimeTokenByAddress = getRuntimeTokenByAddress; exports.ICON_CDN = ICON_CDN; exports.cdnIconUrl = cdnIconUrl; exports.getChainIcon = getChainIcon; exports.tokenIconUrl = tokenIconUrl; exports.getTokenIcon = getTokenIcon; exports.NATIVE_TOKEN_ADDRESS = NATIVE_TOKEN_ADDRESS; exports.CHAIN_DISPLAY_ORDER = CHAIN_DISPLAY_ORDER; exports.SUPPORTED_CHAIN_IDS = SUPPORTED_CHAIN_IDS; exports.chainRegistry = chainRegistry; exports.getChainId = getChainId; exports.getUsdcAddress = getUsdcAddress; exports.getUsdcDecimals = getUsdcDecimals; exports.getTokenAddress = getTokenAddress; exports.getTokenDecimals = getTokenDecimals; exports.getTargetTokenSymbolsForChain = getTargetTokenSymbolsForChain; exports.getSupportedTokenSymbolsForChain = getSupportedTokenSymbolsForChain; exports.getSupportedChainIds = getSupportedChainIds; exports.isSupportedTokenAddressForChain = isSupportedTokenAddressForChain; exports.getSupportedTargetTokens = getSupportedTargetTokens; exports.findTokenDecimals = findTokenDecimals; exports.getTokenDecimalsByAddress = getTokenDecimalsByAddress; exports.findChainIdForToken = findChainIdForToken; exports.isRegistryTokenOnChain = isRegistryTokenOnChain; exports.getNativeSymbol = getNativeSymbol; exports.getTokenSymbol = getTokenSymbol; exports.getTargetTokenSymbol = getTargetTokenSymbol; exports.isStablecoinSymbol = isStablecoinSymbol; exports.getChainName = getChainName; exports.getChainBadge = getChainBadge; exports.getExplorerUrl = getExplorerUrl; exports.getExplorerTxUrl = getExplorerTxUrl; exports.getExplorerName = getExplorerName;