@rhinestone/deposit-modal 0.1.29 → 0.1.31

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 (38) hide show
  1. package/dist/{DepositModalReown-4PFOMSC6.cjs → DepositModalReown-N7GCYZF7.cjs} +7 -7
  2. package/dist/{DepositModalReown-BVHWFWIG.mjs → DepositModalReown-S7HER5HU.mjs} +4 -4
  3. package/dist/{WithdrawModalReown-YREQR7DV.cjs → WithdrawModalReown-DJCJ5U7E.cjs} +7 -7
  4. package/dist/{WithdrawModalReown-CJCNT7SA.mjs → WithdrawModalReown-DMDRLYTE.mjs} +4 -4
  5. package/dist/{chunk-CSQRKM4Y.mjs → chunk-3ICS43XC.mjs} +14 -9
  6. package/dist/{chunk-XTTTHW3W.mjs → chunk-AWFJFSPH.mjs} +164 -85
  7. package/dist/{chunk-LBEP3A2Z.mjs → chunk-CS6UIMCF.mjs} +3 -1
  8. package/dist/{chunk-N6T4TKXI.mjs → chunk-EVU7M7A6.mjs} +71 -42
  9. package/dist/{chunk-7ZCUANBT.cjs → chunk-G2RDCQHL.cjs} +109 -80
  10. package/dist/{chunk-5QJNOPNF.cjs → chunk-MU2BOEDN.cjs} +291 -212
  11. package/dist/{chunk-DLYVHOME.cjs → chunk-PE6OK3FH.cjs} +15 -10
  12. package/dist/{chunk-K6YG3I6O.mjs → chunk-SLI5FHTT.mjs} +9 -9
  13. package/dist/{chunk-CPIQJR47.cjs → chunk-SZ35G2DT.cjs} +59 -59
  14. package/dist/{chunk-6VJ2ZTNQ.cjs → chunk-VKQA3FO3.cjs} +2 -0
  15. package/dist/constants.cjs +4 -2
  16. package/dist/constants.d.cts +2 -1
  17. package/dist/constants.d.ts +2 -1
  18. package/dist/constants.mjs +3 -1
  19. package/dist/deposit.cjs +4 -4
  20. package/dist/deposit.d.cts +2 -2
  21. package/dist/deposit.d.ts +2 -2
  22. package/dist/deposit.mjs +3 -3
  23. package/dist/index.cjs +7 -5
  24. package/dist/index.d.cts +2 -2
  25. package/dist/index.d.ts +2 -2
  26. package/dist/index.mjs +6 -4
  27. package/dist/reown.cjs +5 -5
  28. package/dist/reown.d.cts +1 -1
  29. package/dist/reown.d.ts +1 -1
  30. package/dist/reown.mjs +4 -4
  31. package/dist/styles.css +8 -5
  32. package/dist/{types-BwaQ7jK5.d.cts → types-DELv717e.d.cts} +5 -1
  33. package/dist/{types-CgXyx46m.d.ts → types-DTBfMH0p.d.ts} +5 -1
  34. package/dist/withdraw.cjs +4 -4
  35. package/dist/withdraw.d.cts +2 -2
  36. package/dist/withdraw.d.ts +2 -2
  37. package/dist/withdraw.mjs +3 -3
  38. package/package.json +1 -1
@@ -248,10 +248,13 @@ function getTokenDecimals(symbol, chainId) {
248
248
  const token = getTokenFromRegistry(chainId, symbol);
249
249
  return _nullishCoalesce(_optionalChain([token, 'optionalAccess', _5 => _5.decimals]), () => ( 18));
250
250
  }
251
- function getSupportedTokenSymbolsForChain(chainId) {
251
+ function getTargetTokenSymbolsForChain(chainId) {
252
252
  const symbols = _nullishCoalesce(SUPPORTED_TOKENS_BY_CHAIN[chainId], () => ( []));
253
253
  return [...symbols];
254
254
  }
255
+ function getSupportedTokenSymbolsForChain(chainId) {
256
+ return getTargetTokenSymbolsForChain(chainId);
257
+ }
255
258
  function getSupportedChainIds() {
256
259
  return [...SUPPORTED_CHAIN_IDS];
257
260
  }
@@ -317,7 +320,7 @@ function findChainIdForToken(address) {
317
320
  function getTokenSymbol(token, chainId) {
318
321
  const normalized = token.toLowerCase();
319
322
  if (normalized === NATIVE_TOKEN_ADDRESS) {
320
- return "ETH";
323
+ return chainId === 56 ? "BNB" : "ETH";
321
324
  }
322
325
  if (chainId) {
323
326
  const chainEntry = chainRegistry[String(chainId)];
@@ -376,16 +379,17 @@ function getExplorerName(chainId) {
376
379
  var CHAIN_ICONS = {
377
380
  [_chains.mainnet.id]: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 784.37 1277.39'%3E%3Cpolygon fill='%23627EEA' points='392.07 0 383.5 29.11 383.5 873.74 392.07 882.29 784.13 650.54'/%3E%3Cpolygon fill='%23C0CBF6' points='392.07 0 0 650.54 392.07 882.29 392.07 472.33'/%3E%3Cpolygon fill='%238EA2F2' points='392.07 956.52 387.24 962.41 387.24 1263.28 392.07 1277.38 784.37 724.89'/%3E%3Cpolygon fill='%23C0CBF6' points='392.07 1277.38 392.07 956.52 0 724.89'/%3E%3Cpolygon fill='%23627EEA' points='392.07 882.29 784.13 650.54 392.07 472.33'/%3E%3Cpolygon fill='%238EA2F2' points='0 650.54 392.07 882.29 392.07 472.33'/%3E%3C/svg%3E",
378
381
  [_chains.base.id]: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 111 111'%3E%3Ccircle cx='55.5' cy='55.5' r='55.5' fill='%230052FF'/%3E%3Cpath d='M54.921 93.4c20.942 0 37.92-16.978 37.92-37.921S75.863 17.558 54.92 17.558c-19.498 0-35.57 14.725-37.655 33.647h49.82v5.548h-49.82C19.351 75.675 35.423 93.4 54.921 93.4z' fill='%23fff'/%3E%3C/svg%3E",
379
- [_chains.optimism.id]: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 500'%3E%3Ccircle cx='250' cy='250' r='250' fill='%23FF0420'/%3E%3Cpath fill='%23fff' d='M177.1 316.4c-14.9 0-27.1-3.5-36.6-10.5-9.4-7.1-14.1-17.3-14.1-30.4 0-2.8.3-6.1.9-10.1 1.6-9 3.9-19.8 6.9-32.5 8.5-34.4 30.5-51.6 65.9-51.6 9.6 0 18.3 1.6 25.9 4.9 7.6 3.1 13.6 7.9 18 14.3 4.4 6.3 6.6 13.8 6.6 22.5 0 2.6-.3 5.9-.9 9.9-1.9 11.1-4.1 22-6.8 32.5-4.4 17.1-11.9 30-22.7 38.5-10.6 8.2-25 12.3-42.9 12.3zm2.7-27c7 0 12.9-2.1 17.8-6.2 5-4.1 8.6-10.4 10.7-19 2.9-11.8 5.1-22 6.6-30.8.5-2.6.8-5.3.8-8.1 0-11.4-5.9-17.1-17.8-17.1-7 0-13 2.1-18 6.2-4.9 4.1-8.4 10.4-10.5 19-2.3 8.4-4.5 18.6-6.8 30.8-.5 2.5-.8 5.1-.8 7.9 0 11.6 6.1 17.3 18.1 17.3zm79.5 25.2c-1.4 0-2.4-.4-3.2-1.3-.6-1-.8-2.1-.6-3.4l25.9-122c.2-1.4.9-2.5 2.1-3.4 1.1-.9 2.3-1.3 3.6-1.3H337c13.9 0 25 2.9 33.4 8.6 8.5 5.8 12.8 14.1 12.8 25 0 3.1-.4 6.4-1.1 9.8-3.1 14.4-9.4 25-19 31.9-9.4 6.9-22.3 10.3-38.7 10.3h-25.3l-8.6 41.1c-.3 1.4-.9 2.5-2.1 3.4-1.1.9-2.3 1.3-3.6 1.3h-25.5zm66.4-71.7c5.3 0 9.8-1.4 13.7-4.3 4-2.9 6.6-7 7.9-12.4.4-2.1.6-4 .6-5.6 0-3.6-1.1-6.4-3.2-8.3-2.1-2-5.8-3-10.9-3h-22.5l-7.1 33.6h21.5z'/%3E%3C/svg%3E",
380
- [_chains.arbitrum.id]: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2500 2500'%3E%3Crect fill='none' width='2500' height='2500'/%3E%3Cpath fill='%23213147' d='M226 760v980c0 63 33 120 88 152l849 490c54 31 121 31 175 0l849-490c54-31 88-89 88-152V760c0-63-33-120-88-152l-849-490c-54-31-121-31-175 0L314 608c-54 31-87 89-87 152z'/%3E%3Cpath fill='%2312AAFF' d='M1435 1440l-121 332c-3 9-3 19 0 29l208 571 241-139-289-793c-7-18-32-18-39 0zm243-558c-7-18-32-18-39 0l-121 332c-3 9-3 19 0 29l341 935 241-139-422-1156z'/%3E%3Cpath fill='%239DCCED' d='M1250 155c6 0 12 2 17 5l918 530c11 6 17 18 17 30v1060c0 12-7 24-17 30l-918 530c-5 3-11 5-17 5s-12-2-17-5l-918-530c-11-6-17-18-17-30V719c0-12 7-24 17-30l918-530c5-3 11-5 17-5zm0-155c-33 0-65 8-95 25L237 555c-59 34-95 96-95 164v1060c0 68 36 130 95 164l918 530c29 17 62 25 95 25s65-8 95-25l918-530c59-34 95-96 95-164V719c0-68-36-130-95-164L1344 25c-29-17-62-25-95-25z'/%3E%3Cpolygon fill='%23213147' points='642 2179 727 1947 897 2088 738 2234'/%3E%3Cpath fill='%23fff' d='M1172 644H939c-17 0-33 11-39 27L401 2039l241 139 550-1507c5-14-5-28-19-28zm408 0h-233c-17 0-33 11-39 27L738 2233l241 139 620-1701c5-14-5-28-19-28z'/%3E%3C/svg%3E",
381
- [_chains.polygon.id]: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 33'%3E%3Cpath fill='%238247E5' d='M29.6 10.1c-.4-.2-.9-.2-1.3 0l-3 1.7-2-1.2-3-1.7c-.4-.2-.9-.2-1.3 0l-3 1.7-2 1.2-3 1.7c-.4.2-.7.7-.7 1.1v3.5c0 .5.3.9.7 1.1l3 1.7 2 1.2 3 1.7c.4.2.9.2 1.3 0l3-1.7 2-1.2 3-1.7c.4-.2.7-.7.7-1.1v-3.5c0-.5-.3-.9-.7-1.1l-3-1.7 2-1.2 3-1.7c.4-.2.7-.7.7-1.1V8.4c0-.5-.3-.9-.7-1.1l-3-1.7-2-1.2-3-1.7c-.4-.2-.9-.2-1.3 0l-3 1.7-2 1.2-3 1.7c-.4.2-.7.7-.7 1.1v3.5c0 .5.3.9.7 1.1l3 1.7-2 1.2-3 1.7c-.4.2-.7.7-.7 1.1v3.5c0 .5.3.9.7 1.1l3 1.7 2 1.2 3 1.7c.4.2.9.2 1.3 0l3-1.7 2-1.2 3-1.7c.4-.2.7-.7.7-1.1v-3.5c0-.5-.3-.9-.7-1.1l-3-1.7 2-1.2 3-1.7c.4-.2.7-.7.7-1.1V11.2c0-.5-.3-.9-.7-1.1z'/%3E%3C/svg%3E",
382
- [_chains.bsc.id]: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 96'%3E%3Ccircle cx='48' cy='48' r='48' fill='%23F3BA2F'/%3E%3Cpath fill='%23fff' d='M48 19.2l7.2 7.2-18 18-7.2-7.2 18-18zm18 18l7.2 7.2-18 18-7.2-7.2 18-18zM30 37.2l7.2 7.2-7.2 7.2-7.2-7.2 7.2-7.2zm36 0l7.2 7.2-7.2 7.2-7.2-7.2 7.2-7.2zm-18 18l7.2 7.2-7.2 7.2-7.2-7.2 7.2-7.2z'/%3E%3C/svg%3E"
382
+ [_chains.optimism.id]: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 500'%3E%3Ccircle fill='%23FF0420' cx='250' cy='250' r='250'/%3E%3Cpath fill='%23FFFFFF' d='M177.1%2C316.4c-14.9%2C0-27.1-3.5-36.6-10.5c-9.4-7.1-14.1-17.3-14.1-30.4c0-2.8%2C0.3-6.1%2C0.9-10.1c1.6-9%2C3.9-19.8%2C6.9-32.5c8.5-34.4%2C30.5-51.6%2C65.9-51.6c9.6%2C0%2C18.3%2C1.6%2C25.9%2C4.9c7.6%2C3.1%2C13.6%2C7.9%2C18%2C14.3c4.4%2C6.3%2C6.6%2C13.8%2C6.6%2C22.5c0%2C2.6-0.3%2C5.9-0.9%2C9.9c-1.9%2C11.1-4.1%2C22-6.8%2C32.5c-4.4%2C17.1-11.9%2C30-22.7%2C38.5C209.5%2C312.3%2C195.1%2C316.4%2C177.1%2C316.4z M179.8%2C289.4c7%2C0%2C12.9-2.1%2C17.8-6.2c5-4.1%2C8.6-10.4%2C10.7-19c2.9-11.8%2C5.1-22%2C6.6-30.8c0.5-2.6%2C0.8-5.3%2C0.8-8.1c0-11.4-5.9-17.1-17.8-17.1c-7%2C0-13%2C2.1-18%2C6.2c-4.9%2C4.1-8.4%2C10.4-10.5%2C19c-2.3%2C8.4-4.5%2C18.6-6.8%2C30.8c-0.5%2C2.5-0.8%2C5.1-0.8%2C7.9C161.7%2C283.7%2C167.8%2C289.4%2C179.8%2C289.4z'/%3E%3Cpath fill='%23FFFFFF' d='M259.3%2C314.6c-1.4%2C0-2.4-0.4-3.2-1.3c-0.6-1-0.8-2.1-0.6-3.4l25.9-122c0.2-1.4%2C0.9-2.5%2C2.1-3.4c1.1-0.9%2C2.3-1.3%2C3.6-1.3H337c13.9%2C0%2C25%2C2.9%2C33.4%2C8.6c8.5%2C5.8%2C12.8%2C14.1%2C12.8%2C25c0%2C3.1-0.4%2C6.4-1.1%2C9.8c-3.1%2C14.4-9.4%2C25-19%2C31.9c-9.4%2C6.9-22.3%2C10.3-38.7%2C10.3h-25.3l-8.6%2C41.1c-0.3%2C1.4-0.9%2C2.5-2.1%2C3.4c-1.1%2C0.9-2.3%2C1.3-3.6%2C1.3H259.3z M325.7%2C242.9c5.3%2C0%2C9.8-1.4%2C13.7-4.3c4-2.9%2C6.6-7%2C7.9-12.4c0.4-2.1%2C0.6-4%2C0.6-5.6c0-3.6-1.1-6.4-3.2-8.3c-2.1-2-5.8-3-10.9-3h-22.5l-7.1%2C33.6H325.7z'/%3E%3C/svg%3E",
383
+ [_chains.arbitrum.id]: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2500 2500'%3E%3Crect width='2500' height='2500' fill='none'/%3E%3Cpath fill='%23213147' d='M226%2C760v980c0%2C63%2C33%2C120%2C88%2C152l849%2C490c54%2C31%2C121%2C31%2C175%2C0l849-490c54-31%2C88-89%2C88-152V760c0-63-33-120-88-152l-849-490c-54-31-121-31-175%2C0L314%2C608c-54%2C31-87%2C89-87%2C152H226z'/%3E%3Cpath fill='%2312AAFF' d='M1435%2C1440l-121%2C332c-3%2C9-3%2C19%2C0%2C29l208%2C571l241-139l-289-793C1467%2C1422%2C1442%2C1422%2C1435%2C1440z'/%3E%3Cpath fill='%2312AAFF' d='M1678%2C882c-7-18-32-18-39%2C0l-121%2C332c-3%2C9-3%2C19%2C0%2C29l341%2C935l241-139L1678%2C883V882z'/%3E%3Cpath fill='%239DCCED' d='M1250%2C155c6%2C0%2C12%2C2%2C17%2C5l918%2C530c11%2C6%2C17%2C18%2C17%2C30v1060c0%2C12-7%2C24-17%2C30l-918%2C530c-5%2C3-11%2C5-17%2C5s-12-2-17-5l-918-530c-11-6-17-18-17-30V719c0-12%2C7-24%2C17-30l918-530c5-3%2C11-5%2C17-5V155z M1250%2C0c-33%2C0-65%2C8-95%2C25L237%2C555c-59%2C34-95%2C96-95%2C164v1060c0%2C68%2C36%2C130%2C95%2C164l918%2C530c29%2C17%2C62%2C25%2C95%2C25s65-8%2C95-25l918-530c59-34%2C95-96%2C95-164V719c0-68-36-130-95-164L1344%2C25c-29-17-62-25-95-25H1250z'/%3E%3Cpolygon fill='%23213147' points='642%2C2179 727%2C1947 897%2C2088 738%2C2234'/%3E%3Cpath fill='%23FFFFFF' d='M1172%2C644H939c-17%2C0-33%2C11-39%2C27L401%2C2039l241%2C139l550-1507c5-14-5-28-19-28H1172z'/%3E%3Cpath fill='%23FFFFFF' d='M1580%2C644h-233c-17%2C0-33%2C11-39%2C27L738%2C2233l241%2C139l620-1701c5-14-5-28-19-28V644z'/%3E%3C/svg%3E",
384
+ [_chains.polygon.id]: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 178 161'%3E%3Cpath fill='%236C00F6' d='M66.8%2C54.7l-16.7-9.7L0%2C74.1v58l50.1%2C29l50.1-29V41.9L128%2C25.8l27.8%2C16.1v32.2L128%2C90.2l-16.7-9.7v25.8l16.7%2C9.7l50.1-29V29L128%2C0L77.9%2C29v90.2l-27.8%2C16.1l-27.8-16.1V86.9l27.8-16.1l16.7%2C9.7V54.7z'/%3E%3C/svg%3E",
385
+ [_chains.bsc.id]: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2496 2496'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' fill='%23F0B90B' d='M1248%2C0c689.3%2C0%2C1248%2C558.7%2C1248%2C1248s-558.7%2C1248-1248%2C1248S0%2C1937.3%2C0%2C1248S558.7%2C0%2C1248%2C0z'/%3E%3Cpath fill='%23FFFFFF' d='M685.9%2C1248l0.9%2C330l280.4%2C165v193.2l-444.5-260.7v-524L685.9%2C1248z M685.9%2C918v192.3l-163.3-96.6V821.4l163.3-96.6l164.1%2C96.6L685.9%2C918z M1084.3%2C821.4l163.3-96.6l164.1%2C96.6L1247.6%2C918L1084.3%2C821.4z'/%3E%3Cpath fill='%23FFFFFF' d='M803.9%2C1509.6v-193.2l163.3%2C96.6v192.3L803.9%2C1509.6z M1084.3%2C1812.2l163.3%2C96.6l164.1-96.6v192.3l-164.1%2C96.6l-163.3-96.6V1812.2z M1645.9%2C821.4l163.3-96.6l164.1%2C96.6v192.3l-164.1%2C96.6V918L1645.9%2C821.4z M1809.2%2C1578l0.9-330l163.3-96.6v524l-444.5%2C260.7v-193.2L1809.2%2C1578z'/%3E%3Cpolygon fill='%23FFFFFF' points='1692.1%2C1509.6 1528.8%2C1605.3 1528.8%2C1413 1692.1%2C1316.4 1692.1%2C1509.6'/%3E%3Cpath fill='%23FFFFFF' d='M1692.1%2C986.4l0.9%2C193.2l-281.2%2C165v330.8l-163.3%2C95.7l-163.3-95.7v-330.8l-281.2-165V986.4L968%2C889.8l279.5%2C165.8l281.2-165.8l164.1%2C96.6H1692.1z M803.9%2C656.5l443.7-261.6l444.5%2C261.6l-163.3%2C96.6l-281.2-165.8L967.2%2C753.1L803.9%2C656.5z'/%3E%3C/svg%3E"
383
386
  };
384
387
  var TOKEN_ICONS = {
385
388
  USDC: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2000 2000'%3E%3Cpath d='M1000 2000c554.17 0 1000-445.83 1000-1000S1554.17 0 1000 0 0 445.83 0 1000s445.83 1000 1000 1000z' fill='%232775ca'/%3E%3Cpath d='M1275 1158.33c0-145.83-87.5-195.83-262.5-216.66-125-16.67-150-50-150-108.34s41.67-95.83 125-95.83c75 0 116.67 25 137.5 87.5 4.17 12.5 16.67 20.83 29.17 20.83h66.66c16.67 0 29.17-12.5 29.17-29.16v-4.17c-16.67-91.67-91.67-162.5-187.5-170.83v-100c0-16.67-12.5-29.17-33.33-33.34h-62.5c-16.67 0-29.17 12.5-33.34 33.34v95.83c-125 16.67-204.16 100-204.16 204.17 0 137.5 83.33 191.66 258.33 212.5 116.67 20.83 154.17 45.83 154.17 112.5s-58.34 112.5-137.5 112.5c-108.34 0-145.84-45.84-158.34-108.34-4.16-16.66-16.66-25-29.16-25h-70.84c-16.66 0-29.16 12.5-29.16 29.17v4.17c16.66 104.16 83.33 179.16 220.83 200v100c0 16.66 12.5 29.16 33.33 33.33h62.5c16.67 0 29.17-12.5 33.34-33.33v-100c125-20.84 208.33-108.34 208.33-220.84z' fill='%23fff'/%3E%3Cpath d='M787.5 1595.83c-325-116.66-491.67-479.16-370.83-800 62.5-175 200-308.33 370.83-370.83 16.67-8.33 25-20.83 25-41.67V325c0-16.67-8.33-29.17-25-33.33-4.17 0-12.5 0-16.67 4.16-395.83 125-612.5 545.84-487.5 941.67 75 233.33 254.17 412.5 487.5 487.5 16.67 8.33 33.34 0 37.5-16.67 4.17-4.16 4.17-8.33 4.17-16.66v-58.34c0-12.5-12.5-29.16-25-37.5zm441.67-1300c-16.67-8.33-33.34 0-37.5 16.67-4.17 4.17-4.17 8.33-4.17 16.67v58.33c0 16.67 12.5 33.33 25 41.67 325 116.66 491.67 479.16 370.83 800-62.5 175-200 308.33-370.83 370.83-16.67 8.33-25 20.83-25 41.67V1700c0 16.67 8.33 29.17 25 33.33 4.17 0 12.5 0 16.67-4.16 395.83-125 612.5-545.84 487.5-941.67-75-237.5-258.34-416.67-487.5-491.67z' fill='%23fff'/%3E%3C/svg%3E",
386
- ETH: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 784.37 1277.39'%3E%3Cpolygon fill='%23343434' points='392.07 0 383.5 29.11 383.5 873.74 392.07 882.29 784.13 650.54'/%3E%3Cpolygon fill='%238C8C8C' points='392.07 0 0 650.54 392.07 882.29 392.07 472.33'/%3E%3Cpolygon fill='%233C3C3B' points='392.07 956.52 387.24 962.41 387.24 1263.28 392.07 1277.38 784.37 724.89'/%3E%3Cpolygon fill='%238C8C8C' points='392.07 1277.38 392.07 956.52 0 724.89'/%3E%3Cpolygon fill='%23141414' points='392.07 882.29 784.13 650.54 392.07 472.33'/%3E%3Cpolygon fill='%23393939' points='0 650.54 392.07 882.29 392.07 472.33'/%3E%3C/svg%3E",
387
- USDT: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 339.43 295.27'%3E%3Cpath fill='%2350AF95' d='M62.15 1.45l-61.89 130a2.52 2.52 0 00.54 2.94l167.15 160.17a2.55 2.55 0 003.53 0L339.62 134.4a2.52 2.52 0 00.54-2.94l-61.89-130A2.5 2.5 0 00276 0H64.45a2.5 2.5 0 00-2.3 1.45z'/%3E%3Cpath fill='%23fff' d='M191.19 144.8v-.12c-1.09.07-5.42.33-15.55.33-8.09 0-13.81-.22-15.83-.33v.13c-31.22-1.38-54.6-7.1-54.6-14s23.38-12.58 54.6-14v22.28c2.05.14 7.92.46 16 .46 9.67 0 14.31-.38 15.38-.46v-22.29c31.13 1.38 54.42 7.06 54.42 13.95s-23.29 12.58-54.42 13.96zm0-30.29v-19.85h43.17V66.35H105.49v28.31h43.17v19.84c-35.37 1.59-62 8.76-62 17.33s26.59 15.74 62 17.33v62h30.53v-62c35.29-1.58 61.84-8.74 61.84-17.32s-26.55-15.74-61.84-17.33z'/%3E%3C/svg%3E",
388
- WETH: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 784.37 1277.39'%3E%3Cpolygon fill='%23EC1A79' points='392.07 0 383.5 29.11 383.5 873.74 392.07 882.29 784.13 650.54'/%3E%3Cpolygon fill='%23EC1A79' fill-opacity='0.6' points='392.07 0 0 650.54 392.07 882.29 392.07 472.33'/%3E%3Cpolygon fill='%239E1165' points='392.07 956.52 387.24 962.41 387.24 1263.28 392.07 1277.38 784.37 724.89'/%3E%3Cpolygon fill='%23EC1A79' fill-opacity='0.6' points='392.07 1277.38 392.07 956.52 0 724.89'/%3E%3Cpolygon fill='%239E1165' points='392.07 882.29 784.13 650.54 392.07 472.33'/%3E%3Cpolygon fill='%23EC1A79' fill-opacity='0.2' points='0 650.54 392.07 882.29 392.07 472.33'/%3E%3C/svg%3E"
389
+ ETH: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 784.37 1277.39' fill-rule='evenodd' clip-rule='evenodd'%3E%3Cpolygon fill='%23343434' fill-rule='nonzero' points='392.07%2C0 383.5%2C29.11 383.5%2C873.74 392.07%2C882.29 784.13%2C650.54'/%3E%3Cpolygon fill='%238C8C8C' fill-rule='nonzero' points='392.07%2C0 0%2C650.54 392.07%2C882.29 392.07%2C472.33'/%3E%3Cpolygon fill='%233C3C3B' fill-rule='nonzero' points='392.07%2C956.52 387.24%2C962.41 387.24%2C1263.28 392.07%2C1277.38 784.37%2C724.89'/%3E%3Cpolygon fill='%238C8C8C' fill-rule='nonzero' points='392.07%2C1277.38 392.07%2C956.52 0%2C724.89'/%3E%3Cpolygon fill='%23141414' fill-rule='nonzero' points='392.07%2C882.29 784.13%2C650.54 392.07%2C472.33'/%3E%3Cpolygon fill='%23393939' fill-rule='nonzero' points='0%2C650.54 392.07%2C882.29 392.07%2C472.33'/%3E%3C/svg%3E",
390
+ USDT: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 339.43 295.27'%3E%3Cpath fill='%2350af95' fill-rule='evenodd' d='M62.15%2C1.45l-61.89%2C130a2.52%2C2.52%2C0%2C0%2C0%2C.54%2C2.94L167.95%2C294.56a2.55%2C2.55%2C0%2C0%2C0%2C3.53%2C0L338.63%2C134.4a2.52%2C2.52%2C0%2C0%2C0%2C.54-2.94l-61.89-130A2.5%2C2.5%2C0%2C0%2C0%2C275%2C0H64.45a2.5%2C2.5%2C0%2C0%2C0-2.3%2C1.45z'/%3E%3Cpath fill='%23fff' fill-rule='evenodd' d='M191.19%2C144.8v0c-1.2.09-7.4.46-21.23.46-11%2C0-18.81-.33-21.55-.46v0c-42.51-1.87-74.24-9.27-74.24-18.13s31.73-16.25%2C74.24-18.15v28.91c2.78.2%2C10.74.67%2C21.74.67%2C13.2%2C0%2C19.81-.55%2C21-.66v-28.9c42.42%2C1.89%2C74.08%2C9.29%2C74.08%2C18.13s-31.65%2C16.24-74.08%2C18.12zm0-39.25V79.68h59.2V40.23H89.21V79.68H148.4v25.86c-48.11%2C2.21-84.29%2C11.74-84.29%2C23.16s36.18%2C20.94%2C84.29%2C23.16v82.9h42.78V151.83c48-2.21%2C84.12-11.73%2C84.12-23.14s-36.09-20.93-84.12-23.15z'/%3E%3C/svg%3E",
391
+ WETH: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 784.37 1277.39' fill-rule='evenodd' clip-rule='evenodd'%3E%3Cpolygon fill='%235B5FC7' fill-rule='nonzero' points='392.07%2C0 383.5%2C29.11 383.5%2C873.74 392.07%2C882.29 784.13%2C650.54'/%3E%3Cpolygon fill='%238B8FDB' fill-rule='nonzero' points='392.07%2C0 0%2C650.54 392.07%2C882.29 392.07%2C472.33'/%3E%3Cpolygon fill='%233F4399' fill-rule='nonzero' points='392.07%2C956.52 387.24%2C962.41 387.24%2C1263.28 392.07%2C1277.38 784.37%2C724.89'/%3E%3Cpolygon fill='%238B8FDB' fill-rule='nonzero' points='392.07%2C1277.38 392.07%2C956.52 0%2C724.89'/%3E%3Cpolygon fill='%232D3080' fill-rule='nonzero' points='392.07%2C882.29 784.13%2C650.54 392.07%2C472.33'/%3E%3Cpolygon fill='%234E52B5' fill-rule='nonzero' points='0%2C650.54 392.07%2C882.29 392.07%2C472.33'/%3E%3C/svg%3E",
392
+ BNB: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2496 2496'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' fill='%23F0B90B' d='M1248%2C0c689.3%2C0%2C1248%2C558.7%2C1248%2C1248s-558.7%2C1248-1248%2C1248S0%2C1937.3%2C0%2C1248S558.7%2C0%2C1248%2C0z'/%3E%3Cpath fill='%23FFFFFF' d='M685.9%2C1248l0.9%2C330l280.4%2C165v193.2l-444.5-260.7v-524L685.9%2C1248z M685.9%2C918v192.3l-163.3-96.6V821.4l163.3-96.6l164.1%2C96.6L685.9%2C918z M1084.3%2C821.4l163.3-96.6l164.1%2C96.6L1247.6%2C918L1084.3%2C821.4z'/%3E%3Cpath fill='%23FFFFFF' d='M803.9%2C1509.6v-193.2l163.3%2C96.6v192.3L803.9%2C1509.6z M1084.3%2C1812.2l163.3%2C96.6l164.1-96.6v192.3l-164.1%2C96.6l-163.3-96.6V1812.2z M1645.9%2C821.4l163.3-96.6l164.1%2C96.6v192.3l-164.1%2C96.6V918L1645.9%2C821.4z M1809.2%2C1578l0.9-330l163.3-96.6v524l-444.5%2C260.7v-193.2L1809.2%2C1578z'/%3E%3Cpolygon fill='%23FFFFFF' points='1692.1%2C1509.6 1528.8%2C1605.3 1528.8%2C1413 1692.1%2C1316.4 1692.1%2C1509.6'/%3E%3Cpath fill='%23FFFFFF' d='M1692.1%2C986.4l0.9%2C193.2l-281.2%2C165v330.8l-163.3%2C95.7l-163.3-95.7v-330.8l-281.2-165V986.4L968%2C889.8l279.5%2C165.8l281.2-165.8l164.1%2C96.6H1692.1z M803.9%2C656.5l443.7-261.6l444.5%2C261.6l-163.3%2C96.6l-281.2-165.8L967.2%2C753.1L803.9%2C656.5z'/%3E%3C/svg%3E"
389
393
  };
390
394
  function getChainIcon(chainId) {
391
395
  return CHAIN_ICONS[chainId];
@@ -422,4 +426,5 @@ function getTokenIcon(symbol) {
422
426
 
423
427
 
424
428
 
425
- exports.DEFAULT_BACKEND_URL = DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = DEFAULT_SIGNER_ADDRESS; exports.NATIVE_TOKEN_ADDRESS = NATIVE_TOKEN_ADDRESS; exports.CHAIN_BY_ID = CHAIN_BY_ID; exports.SOURCE_CHAINS = SOURCE_CHAINS; exports.SUPPORTED_CHAINS = SUPPORTED_CHAINS; exports.chainRegistry = chainRegistry; exports.getChainId = getChainId; exports.getChainObject = getChainObject; exports.getUsdcAddress = getUsdcAddress; exports.getUsdcDecimals = getUsdcDecimals; exports.getTokenAddress = getTokenAddress; exports.getTokenDecimals = getTokenDecimals; exports.getSupportedTokenSymbolsForChain = getSupportedTokenSymbolsForChain; exports.getSupportedChainIds = getSupportedChainIds; exports.isSupportedTokenAddressForChain = isSupportedTokenAddressForChain; exports.getSupportedTargetTokens = getSupportedTargetTokens; exports.getTokenDecimalsByAddress = getTokenDecimalsByAddress; exports.findChainIdForToken = findChainIdForToken; exports.getTokenSymbol = getTokenSymbol; exports.getChainName = getChainName; exports.getChainBadge = getChainBadge; exports.getExplorerUrl = getExplorerUrl; exports.getExplorerTxUrl = getExplorerTxUrl; exports.getExplorerName = getExplorerName; exports.getChainIcon = getChainIcon; exports.getTokenIcon = getTokenIcon;
429
+
430
+ exports.DEFAULT_BACKEND_URL = DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = DEFAULT_SIGNER_ADDRESS; exports.NATIVE_TOKEN_ADDRESS = NATIVE_TOKEN_ADDRESS; exports.CHAIN_BY_ID = CHAIN_BY_ID; exports.SOURCE_CHAINS = SOURCE_CHAINS; exports.SUPPORTED_CHAINS = SUPPORTED_CHAINS; exports.chainRegistry = chainRegistry; exports.getChainId = getChainId; exports.getChainObject = getChainObject; 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.getTokenDecimalsByAddress = getTokenDecimalsByAddress; exports.findChainIdForToken = findChainIdForToken; exports.getTokenSymbol = getTokenSymbol; exports.getChainName = getChainName; exports.getChainBadge = getChainBadge; exports.getExplorerUrl = getExplorerUrl; exports.getExplorerTxUrl = getExplorerTxUrl; exports.getExplorerName = getExplorerName; exports.getChainIcon = getChainIcon; exports.getTokenIcon = getTokenIcon;
@@ -16,7 +16,7 @@ import {
16
16
  isNativeAsset,
17
17
  loadSessionOwnerFromStorage,
18
18
  saveSessionOwnerToStorage
19
- } from "./chunk-N6T4TKXI.mjs";
19
+ } from "./chunk-EVU7M7A6.mjs";
20
20
  import {
21
21
  DEFAULT_BACKEND_URL,
22
22
  DEFAULT_SIGNER_ADDRESS,
@@ -29,7 +29,7 @@ import {
29
29
  getTokenDecimalsByAddress,
30
30
  getTokenIcon,
31
31
  getTokenSymbol
32
- } from "./chunk-CSQRKM4Y.mjs";
32
+ } from "./chunk-3ICS43XC.mjs";
33
33
 
34
34
  // src/WithdrawModal.tsx
35
35
  import {
@@ -1300,7 +1300,7 @@ function WithdrawFlow({
1300
1300
  // src/WithdrawModal.tsx
1301
1301
  import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
1302
1302
  var ReownWithdrawInner = lazy(
1303
- () => import("./WithdrawModalReown-CJCNT7SA.mjs").then((m) => ({
1303
+ () => import("./WithdrawModalReown-DMDRLYTE.mjs").then((m) => ({
1304
1304
  default: m.WithdrawModalReown
1305
1305
  }))
1306
1306
  );
@@ -1379,8 +1379,8 @@ function WithdrawModalInner({
1379
1379
  },
1380
1380
  []
1381
1381
  );
1382
- const handleTotalBalanceChange = useCallback3((balance) => {
1383
- setTotalBalanceUsd(balance);
1382
+ const handleTotalBalanceChange = useCallback3((balance2) => {
1383
+ setTotalBalanceUsd(balance2);
1384
1384
  }, []);
1385
1385
  const handleBack = useCallback3(() => {
1386
1386
  backHandlerRef.current?.();
@@ -1388,7 +1388,7 @@ function WithdrawModalInner({
1388
1388
  const showLogo = uiConfig?.showLogo ?? false;
1389
1389
  const showStepper = uiConfig?.showStepper ?? false;
1390
1390
  const showBackButton = uiConfig?.showBackButton ?? true;
1391
- const balanceTitle = uiConfig?.balanceTitle;
1391
+ const balance = uiConfig?.balance;
1392
1392
  const logoUrl = branding?.logoUrl ?? "https://github.com/rhinestonewtf.png";
1393
1393
  const title = branding?.title ?? "Withdraw";
1394
1394
  const canGoBack = currentStepIndex > 0 && currentStepIndex < 3 && backHandlerRef.current;
@@ -1449,9 +1449,9 @@ function WithdrawModalInner({
1449
1449
  i
1450
1450
  )) })
1451
1451
  ] }),
1452
- balanceTitle && totalBalanceUsd !== null && /* @__PURE__ */ jsxs3("div", { className: "rs-modal-header-balance", children: [
1453
- /* @__PURE__ */ jsx3("span", { className: "rs-modal-header-balance-label", children: balanceTitle }),
1454
- /* @__PURE__ */ jsx3("span", { className: "rs-modal-header-balance-value", children: currencyFormatter.format(totalBalanceUsd) })
1452
+ balance && /* @__PURE__ */ jsxs3("div", { className: "rs-modal-header-balance", children: [
1453
+ /* @__PURE__ */ jsx3("span", { className: "rs-modal-header-balance-label", children: balance.title }),
1454
+ /* @__PURE__ */ jsx3("span", { className: "rs-modal-header-balance-value", children: balance.amount ?? (totalBalanceUsd !== null ? currencyFormatter.format(totalBalanceUsd) : null) })
1455
1455
  ] })
1456
1456
  ] }),
1457
1457
  /* @__PURE__ */ jsx3("div", { className: "rs-modal-header-nav-right", children: /* @__PURE__ */ jsx3(
@@ -16,7 +16,7 @@
16
16
 
17
17
 
18
18
 
19
- var _chunk7ZCUANBTcjs = require('./chunk-7ZCUANBT.cjs');
19
+ var _chunkG2RDCQHLcjs = require('./chunk-G2RDCQHL.cjs');
20
20
 
21
21
 
22
22
 
@@ -29,7 +29,7 @@ var _chunk7ZCUANBTcjs = require('./chunk-7ZCUANBT.cjs');
29
29
 
30
30
 
31
31
 
32
- var _chunkDLYVHOMEcjs = require('./chunk-DLYVHOME.cjs');
32
+ var _chunkPE6OK3FHcjs = require('./chunk-PE6OK3FH.cjs');
33
33
 
34
34
  // src/WithdrawModal.tsx
35
35
 
@@ -101,8 +101,8 @@ function WithdrawFormStep({
101
101
  const chainMismatch = Boolean(
102
102
  _optionalChain([walletClient, 'optionalAccess', _3 => _3.chain, 'optionalAccess', _4 => _4.id]) && walletClient.chain.id !== asset.chainId
103
103
  );
104
- const targetSymbol = _chunkDLYVHOMEcjs.getTokenSymbol.call(void 0, targetToken, targetChain);
105
- const targetChainName = _chunkDLYVHOMEcjs.getChainName.call(void 0, targetChain);
104
+ const targetSymbol = _chunkPE6OK3FHcjs.getTokenSymbol.call(void 0, targetToken, targetChain);
105
+ const targetChainName = _chunkPE6OK3FHcjs.getChainName.call(void 0, targetChain);
106
106
  const isBusy = submitting || isSubmitting;
107
107
  _react.useEffect.call(void 0, () => {
108
108
  if (chainMismatch && switchChain && !hasAttemptedSwitch.current) {
@@ -110,7 +110,7 @@ function WithdrawFormStep({
110
110
  setIsSwitching(true);
111
111
  switchChain(asset.chainId).catch((err) => {
112
112
  const raw = err instanceof Error ? err.message : "Failed to switch chain";
113
- setError(_chunk7ZCUANBTcjs.formatUserError.call(void 0, raw));
113
+ setError(_chunkG2RDCQHLcjs.formatUserError.call(void 0, raw));
114
114
  }).finally(() => {
115
115
  setIsSwitching(false);
116
116
  });
@@ -127,7 +127,7 @@ function WithdrawFormStep({
127
127
  return;
128
128
  }
129
129
  try {
130
- const bal = _chunk7ZCUANBTcjs.isNativeAsset.call(void 0, asset) ? await publicClient.getBalance({ address: safeAddress }) : await publicClient.readContract({
130
+ const bal = _chunkG2RDCQHLcjs.isNativeAsset.call(void 0, asset) ? await publicClient.getBalance({ address: safeAddress }) : await publicClient.readContract({
131
131
  address: asset.token,
132
132
  abi: _viem.erc20Abi,
133
133
  functionName: "balanceOf",
@@ -229,7 +229,7 @@ function WithdrawFormStep({
229
229
  await onSubmit(recipient, amount);
230
230
  } catch (err) {
231
231
  const raw = err instanceof Error ? err.message : "Withdrawal failed";
232
- setError(_chunk7ZCUANBTcjs.formatUserError.call(void 0, raw));
232
+ setError(_chunkG2RDCQHLcjs.formatUserError.call(void 0, raw));
233
233
  } finally {
234
234
  setIsSubmitting(false);
235
235
  }
@@ -241,7 +241,7 @@ function WithdrawFormStep({
241
241
  await switchChain(asset.chainId);
242
242
  } catch (err) {
243
243
  const raw = err instanceof Error ? err.message : "Failed to switch chain";
244
- setError(_chunk7ZCUANBTcjs.formatUserError.call(void 0, raw));
244
+ setError(_chunkG2RDCQHLcjs.formatUserError.call(void 0, raw));
245
245
  } finally {
246
246
  setIsSwitching(false);
247
247
  }
@@ -331,7 +331,7 @@ function WithdrawFormStep({
331
331
  ] })
332
332
  ] }),
333
333
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-withdraw-amount-info", children: [
334
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-withdraw-usd", children: amountUsd !== null ? _chunk7ZCUANBTcjs.currencyFormatter.format(amountUsd) : "$0.00" }),
334
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-withdraw-usd", children: amountUsd !== null ? _chunkG2RDCQHLcjs.currencyFormatter.format(amountUsd) : "$0.00" }),
335
335
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-withdraw-balance", children: [
336
336
  formattedBalance,
337
337
  " ",
@@ -359,10 +359,10 @@ function WithdrawFormStep({
359
359
  },
360
360
  children: [
361
361
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-withdraw-dropdown-value", children: [
362
- _chunkDLYVHOMEcjs.getTokenIcon.call(void 0, targetSymbol) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
362
+ _chunkPE6OK3FHcjs.getTokenIcon.call(void 0, targetSymbol) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
363
363
  "img",
364
364
  {
365
- src: _chunkDLYVHOMEcjs.getTokenIcon.call(void 0, targetSymbol),
365
+ src: _chunkPE6OK3FHcjs.getTokenIcon.call(void 0, targetSymbol),
366
366
  alt: targetSymbol,
367
367
  className: "rs-withdraw-dropdown-icon"
368
368
  }
@@ -403,10 +403,10 @@ function WithdrawFormStep({
403
403
  setShowTokenDropdown(false);
404
404
  },
405
405
  children: [
406
- _chunkDLYVHOMEcjs.getTokenIcon.call(void 0, option.symbol) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
406
+ _chunkPE6OK3FHcjs.getTokenIcon.call(void 0, option.symbol) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
407
407
  "img",
408
408
  {
409
- src: _chunkDLYVHOMEcjs.getTokenIcon.call(void 0, option.symbol),
409
+ src: _chunkPE6OK3FHcjs.getTokenIcon.call(void 0, option.symbol),
410
410
  alt: option.symbol,
411
411
  className: "rs-withdraw-dropdown-icon"
412
412
  }
@@ -439,10 +439,10 @@ function WithdrawFormStep({
439
439
  },
440
440
  children: [
441
441
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-withdraw-dropdown-value", children: [
442
- _chunkDLYVHOMEcjs.getChainIcon.call(void 0, targetChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
442
+ _chunkPE6OK3FHcjs.getChainIcon.call(void 0, targetChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
443
443
  "img",
444
444
  {
445
- src: _chunkDLYVHOMEcjs.getChainIcon.call(void 0, targetChain),
445
+ src: _chunkPE6OK3FHcjs.getChainIcon.call(void 0, targetChain),
446
446
  alt: targetChainName,
447
447
  className: "rs-withdraw-dropdown-icon"
448
448
  }
@@ -483,10 +483,10 @@ function WithdrawFormStep({
483
483
  setShowChainDropdown(false);
484
484
  },
485
485
  children: [
486
- _chunkDLYVHOMEcjs.getChainIcon.call(void 0, chain.id) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
486
+ _chunkPE6OK3FHcjs.getChainIcon.call(void 0, chain.id) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
487
487
  "img",
488
488
  {
489
- src: _chunkDLYVHOMEcjs.getChainIcon.call(void 0, chain.id),
489
+ src: _chunkPE6OK3FHcjs.getChainIcon.call(void 0, chain.id),
490
490
  alt: chain.name,
491
491
  className: "rs-withdraw-dropdown-icon"
492
492
  }
@@ -504,11 +504,11 @@ function WithdrawFormStep({
504
504
  chainMismatch && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-chain-switch", children: [
505
505
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-chain-switch-text", children: [
506
506
  "Switch to ",
507
- _chunkDLYVHOMEcjs.getChainName.call(void 0, asset.chainId),
507
+ _chunkPE6OK3FHcjs.getChainName.call(void 0, asset.chainId),
508
508
  " to continue."
509
509
  ] }),
510
510
  switchChain && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
511
- _chunk7ZCUANBTcjs.Button,
511
+ _chunkG2RDCQHLcjs.Button,
512
512
  {
513
513
  variant: "outline",
514
514
  size: "small",
@@ -540,7 +540,7 @@ function WithdrawFormStep({
540
540
  ] })
541
541
  ] }),
542
542
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-step-footer", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
543
- _chunk7ZCUANBTcjs.Button,
543
+ _chunkG2RDCQHLcjs.Button,
544
544
  {
545
545
  onClick: handleWithdraw,
546
546
  fullWidth: true,
@@ -549,7 +549,7 @@ function WithdrawFormStep({
549
549
  children: isBusy ? "Preparing..." : "Withdraw"
550
550
  }
551
551
  ) }),
552
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7ZCUANBTcjs.PoweredBy, {})
552
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkG2RDCQHLcjs.PoweredBy, {})
553
553
  ] });
554
554
  }
555
555
  WithdrawFormStep.displayName = "WithdrawFormStep";
@@ -632,7 +632,7 @@ async function executeSafeEthTransfer(params) {
632
632
  throw new Error("Wallet not connected");
633
633
  }
634
634
  if (chain.id !== chainId) {
635
- throw new Error(`Switch to ${_chunkDLYVHOMEcjs.getChainName.call(void 0, chainId)} to sign`);
635
+ throw new Error(`Switch to ${_chunkPE6OK3FHcjs.getChainName.call(void 0, chainId)} to sign`);
636
636
  }
637
637
  const isOwner = await publicClient.readContract({
638
638
  address: safeAddress,
@@ -715,7 +715,7 @@ async function executeSafeErc20Transfer(params) {
715
715
  throw new Error("Wallet not connected");
716
716
  }
717
717
  if (chain.id !== chainId) {
718
- throw new Error(`Switch to ${_chunkDLYVHOMEcjs.getChainName.call(void 0, chainId)} to sign`);
718
+ throw new Error(`Switch to ${_chunkPE6OK3FHcjs.getChainName.call(void 0, chainId)} to sign`);
719
719
  }
720
720
  const isOwner = await publicClient.readContract({
721
721
  address: safeAddress,
@@ -854,7 +854,7 @@ function WithdrawFlow({
854
854
  recipient: defaultRecipient,
855
855
  amount: defaultAmount,
856
856
  service,
857
- signerAddress = _chunkDLYVHOMEcjs.DEFAULT_SIGNER_ADDRESS,
857
+ signerAddress = _chunkPE6OK3FHcjs.DEFAULT_SIGNER_ADDRESS,
858
858
  sessionChainIds,
859
859
  forceRegister = false,
860
860
  waitForFinalTx = true,
@@ -923,14 +923,14 @@ function WithdrawFlow({
923
923
  return {
924
924
  ownerAddress: dappAddress,
925
925
  walletClient: _nullishCoalesce(dappWalletClient, () => ( void 0)),
926
- publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunk7ZCUANBTcjs.getPublicClient.call(void 0, sourceChain))),
926
+ publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkG2RDCQHLcjs.getPublicClient.call(void 0, sourceChain))),
927
927
  switchChain: dappSwitchChain
928
928
  };
929
929
  }
930
930
  return {
931
931
  ownerAddress: dappWalletClient.account.address,
932
932
  walletClient: dappWalletClient,
933
- publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunk7ZCUANBTcjs.getPublicClient.call(void 0, sourceChain))),
933
+ publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkG2RDCQHLcjs.getPublicClient.call(void 0, sourceChain))),
934
934
  switchChain: dappSwitchChain
935
935
  };
936
936
  }
@@ -939,7 +939,7 @@ function WithdrawFlow({
939
939
  return {
940
940
  ownerAddress: dappWalletClient.account.address,
941
941
  walletClient: dappWalletClient,
942
- publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunk7ZCUANBTcjs.getPublicClient.call(void 0, sourceChain))),
942
+ publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkG2RDCQHLcjs.getPublicClient.call(void 0, sourceChain))),
943
943
  switchChain: dappSwitchChain
944
944
  };
945
945
  }
@@ -965,10 +965,10 @@ function WithdrawFlow({
965
965
  sourceChain
966
966
  ]);
967
967
  const asset = _react.useMemo.call(void 0, () => {
968
- const symbol = _chunkDLYVHOMEcjs.getTokenSymbol.call(void 0, sourceToken, sourceChain);
969
- const decimals = _chunkDLYVHOMEcjs.getTokenDecimalsByAddress.call(void 0, sourceToken, sourceChain);
968
+ const symbol = _chunkPE6OK3FHcjs.getTokenSymbol.call(void 0, sourceToken, sourceChain);
969
+ const decimals = _chunkPE6OK3FHcjs.getTokenDecimalsByAddress.call(void 0, sourceToken, sourceChain);
970
970
  return {
971
- id: _chunk7ZCUANBTcjs.getAssetId.call(void 0, { chainId: sourceChain, token: sourceToken }),
971
+ id: _chunkG2RDCQHLcjs.getAssetId.call(void 0, { chainId: sourceChain, token: sourceToken }),
972
972
  chainId: sourceChain,
973
973
  token: sourceToken,
974
974
  symbol,
@@ -976,7 +976,7 @@ function WithdrawFlow({
976
976
  decimals
977
977
  };
978
978
  }, [sourceChain, sourceToken]);
979
- const isSourceNative = sourceToken.toLowerCase() === _chunkDLYVHOMEcjs.NATIVE_TOKEN_ADDRESS.toLowerCase();
979
+ const isSourceNative = sourceToken.toLowerCase() === _chunkPE6OK3FHcjs.NATIVE_TOKEN_ADDRESS.toLowerCase();
980
980
  const stepIndex = step.type === "form" ? 0 : 1;
981
981
  const currentBackHandler = void 0;
982
982
  _react.useEffect.call(void 0, () => {
@@ -998,15 +998,15 @@ function WithdrawFlow({
998
998
  [onError]
999
999
  );
1000
1000
  const resolveSessionOwner = _react.useCallback.call(void 0, async (eoaAddress) => {
1001
- const localOwner = _chunk7ZCUANBTcjs.loadSessionOwnerFromStorage.call(void 0, eoaAddress);
1001
+ const localOwner = _chunkG2RDCQHLcjs.loadSessionOwnerFromStorage.call(void 0, eoaAddress);
1002
1002
  if (localOwner) {
1003
1003
  return {
1004
- account: _chunk7ZCUANBTcjs.accountFromPrivateKey.call(void 0, localOwner.privateKey),
1004
+ account: _chunkG2RDCQHLcjs.accountFromPrivateKey.call(void 0, localOwner.privateKey),
1005
1005
  address: localOwner.address
1006
1006
  };
1007
1007
  }
1008
- const created = _chunk7ZCUANBTcjs.createSessionOwnerKey.call(void 0, );
1009
- _chunk7ZCUANBTcjs.saveSessionOwnerToStorage.call(void 0, eoaAddress, created.privateKey, created.address);
1008
+ const created = _chunkG2RDCQHLcjs.createSessionOwnerKey.call(void 0, );
1009
+ _chunkG2RDCQHLcjs.saveSessionOwnerToStorage.call(void 0, eoaAddress, created.privateKey, created.address);
1010
1010
  return {
1011
1011
  account: created.account,
1012
1012
  address: created.address
@@ -1050,7 +1050,7 @@ function WithdrawFlow({
1050
1050
  primaryType: typedData.primaryType,
1051
1051
  message: typedData.message
1052
1052
  });
1053
- const sessionDetails = _chunk7ZCUANBTcjs.buildSessionDetails.call(void 0, setup.sessionDetailsUnsigned, signature);
1053
+ const sessionDetails = _chunkG2RDCQHLcjs.buildSessionDetails.call(void 0, setup.sessionDetailsUnsigned, signature);
1054
1054
  await service.registerAccount({
1055
1055
  address: smartAccount,
1056
1056
  accountParams: {
@@ -1069,7 +1069,7 @@ function WithdrawFlow({
1069
1069
  }
1070
1070
  handleConnected(ownerAddress2, smartAccount);
1071
1071
  const amountUnits = _viem.parseUnits.call(void 0, amountValue, asset.decimals);
1072
- const pc = _nullishCoalesce(_optionalChain([signerContext, 'optionalAccess', _24 => _24.publicClient]), () => ( _chunk7ZCUANBTcjs.getPublicClient.call(void 0, sourceChain)));
1072
+ const pc = _nullishCoalesce(_optionalChain([signerContext, 'optionalAccess', _24 => _24.publicClient]), () => ( _chunkG2RDCQHLcjs.getPublicClient.call(void 0, sourceChain)));
1073
1073
  let result;
1074
1074
  if (onSignTransaction) {
1075
1075
  const transferData = isSourceNative ? { to: smartAccount, value: amountUnits, data: "0x" } : {
@@ -1137,7 +1137,7 @@ function WithdrawFlow({
1137
1137
  });
1138
1138
  } catch (err) {
1139
1139
  const raw = err instanceof Error ? err.message : "Withdraw failed";
1140
- handleError(_chunk7ZCUANBTcjs.formatUserError.call(void 0, raw), "WITHDRAW_FLOW_ERROR");
1140
+ handleError(_chunkG2RDCQHLcjs.formatUserError.call(void 0, raw), "WITHDRAW_FLOW_ERROR");
1141
1141
  throw err;
1142
1142
  } finally {
1143
1143
  setIsSubmitting(false);
@@ -1176,12 +1176,12 @@ function WithdrawFlow({
1176
1176
  [onWithdrawFailed]
1177
1177
  );
1178
1178
  const targetChainOptions = _react.useMemo.call(void 0, () => {
1179
- return _chunkDLYVHOMEcjs.SOURCE_CHAINS.filter(
1180
- (chain) => _chunkDLYVHOMEcjs.getSupportedTargetTokens.call(void 0, chain.id).length > 0
1179
+ return _chunkPE6OK3FHcjs.SOURCE_CHAINS.filter(
1180
+ (chain) => _chunkPE6OK3FHcjs.getSupportedTargetTokens.call(void 0, chain.id).length > 0
1181
1181
  );
1182
1182
  }, []);
1183
1183
  const targetTokenOptions = _react.useMemo.call(void 0,
1184
- () => _chunkDLYVHOMEcjs.getSupportedTargetTokens.call(void 0, targetChain),
1184
+ () => _chunkPE6OK3FHcjs.getSupportedTargetTokens.call(void 0, targetChain),
1185
1185
  [targetChain]
1186
1186
  );
1187
1187
  _react.useEffect.call(void 0, () => {
@@ -1196,7 +1196,7 @@ function WithdrawFlow({
1196
1196
  const handleTargetChainChange = _react.useCallback.call(void 0,
1197
1197
  (chainId) => {
1198
1198
  setTargetChain(chainId);
1199
- const options = _chunkDLYVHOMEcjs.getSupportedTargetTokens.call(void 0, chainId);
1199
+ const options = _chunkPE6OK3FHcjs.getSupportedTargetTokens.call(void 0, chainId);
1200
1200
  if (options.length === 0) {
1201
1201
  return;
1202
1202
  }
@@ -1229,7 +1229,7 @@ function WithdrawFlow({
1229
1229
  }, [walletOptionsKey, selectedConnectAddressEffective]);
1230
1230
  if (showConnectStep) {
1231
1231
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-modal-body", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1232
- _chunk7ZCUANBTcjs.ConnectStep,
1232
+ _chunkG2RDCQHLcjs.ConnectStep,
1233
1233
  {
1234
1234
  walletOptions,
1235
1235
  selectedAddress: selectedConnectAddressEffective,
@@ -1249,7 +1249,7 @@ function WithdrawFlow({
1249
1249
  if (!signerContext) return null;
1250
1250
  if (!onSignTransaction && !signerContext.walletClient) return null;
1251
1251
  const ownerAddress = signerContext.ownerAddress;
1252
- const formPublicClient = _nullishCoalesce(signerContext.publicClient, () => ( _chunk7ZCUANBTcjs.getPublicClient.call(void 0, sourceChain)));
1252
+ const formPublicClient = _nullishCoalesce(signerContext.publicClient, () => ( _chunkG2RDCQHLcjs.getPublicClient.call(void 0, sourceChain)));
1253
1253
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-modal-body", children: [
1254
1254
  step.type === "form" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1255
1255
  WithdrawFormStep,
@@ -1274,7 +1274,7 @@ function WithdrawFlow({
1274
1274
  }
1275
1275
  ),
1276
1276
  step.type === "processing" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1277
- _chunk7ZCUANBTcjs.ProcessingStep,
1277
+ _chunkG2RDCQHLcjs.ProcessingStep,
1278
1278
  {
1279
1279
  smartAccount: step.smartAccount,
1280
1280
  txHash: step.txHash,
@@ -1300,7 +1300,7 @@ function WithdrawFlow({
1300
1300
  // src/WithdrawModal.tsx
1301
1301
 
1302
1302
  var ReownWithdrawInner = _react.lazy.call(void 0,
1303
- () => Promise.resolve().then(() => _interopRequireWildcard(require("./WithdrawModalReown-YREQR7DV.cjs"))).then((m) => ({
1303
+ () => Promise.resolve().then(() => _interopRequireWildcard(require("./WithdrawModalReown-DJCJ5U7E.cjs"))).then((m) => ({
1304
1304
  default: m.WithdrawModalReown
1305
1305
  }))
1306
1306
  );
@@ -1326,8 +1326,8 @@ function WithdrawModalInner({
1326
1326
  isOpen,
1327
1327
  onClose,
1328
1328
  inline,
1329
- backendUrl = _chunkDLYVHOMEcjs.DEFAULT_BACKEND_URL,
1330
- signerAddress = _chunkDLYVHOMEcjs.DEFAULT_SIGNER_ADDRESS,
1329
+ backendUrl = _chunkPE6OK3FHcjs.DEFAULT_BACKEND_URL,
1330
+ signerAddress = _chunkPE6OK3FHcjs.DEFAULT_SIGNER_ADDRESS,
1331
1331
  sessionChainIds,
1332
1332
  forceRegister = false,
1333
1333
  waitForFinalTx = true,
@@ -1352,12 +1352,12 @@ function WithdrawModalInner({
1352
1352
  const [currentStepIndex, setCurrentStepIndex] = _react.useState.call(void 0, 0);
1353
1353
  const [totalBalanceUsd, setTotalBalanceUsd] = _react.useState.call(void 0, null);
1354
1354
  const backHandlerRef = _react.useRef.call(void 0, void 0);
1355
- const targetChain = _chunkDLYVHOMEcjs.getChainId.call(void 0, targetChainProp);
1356
- const sourceChain = _chunkDLYVHOMEcjs.getChainId.call(void 0, sourceChainProp);
1357
- const service = _react.useMemo.call(void 0, () => _chunk7ZCUANBTcjs.createDepositService.call(void 0, backendUrl), [backendUrl]);
1355
+ const targetChain = _chunkPE6OK3FHcjs.getChainId.call(void 0, targetChainProp);
1356
+ const sourceChain = _chunkPE6OK3FHcjs.getChainId.call(void 0, sourceChainProp);
1357
+ const service = _react.useMemo.call(void 0, () => _chunkG2RDCQHLcjs.createDepositService.call(void 0, backendUrl), [backendUrl]);
1358
1358
  _react.useEffect.call(void 0, () => {
1359
1359
  if (isOpen && modalRef.current) {
1360
- _chunk7ZCUANBTcjs.applyTheme.call(void 0, modalRef.current, theme);
1360
+ _chunkG2RDCQHLcjs.applyTheme.call(void 0, modalRef.current, theme);
1361
1361
  }
1362
1362
  }, [isOpen, theme]);
1363
1363
  const hasCalledReady = _react.useRef.call(void 0, false);
@@ -1379,8 +1379,8 @@ function WithdrawModalInner({
1379
1379
  },
1380
1380
  []
1381
1381
  );
1382
- const handleTotalBalanceChange = _react.useCallback.call(void 0, (balance) => {
1383
- setTotalBalanceUsd(balance);
1382
+ const handleTotalBalanceChange = _react.useCallback.call(void 0, (balance2) => {
1383
+ setTotalBalanceUsd(balance2);
1384
1384
  }, []);
1385
1385
  const handleBack = _react.useCallback.call(void 0, () => {
1386
1386
  _optionalChain([backHandlerRef, 'access', _29 => _29.current, 'optionalCall', _30 => _30()]);
@@ -1388,12 +1388,12 @@ function WithdrawModalInner({
1388
1388
  const showLogo = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _31 => _31.showLogo]), () => ( false));
1389
1389
  const showStepper = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _32 => _32.showStepper]), () => ( false));
1390
1390
  const showBackButton = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _33 => _33.showBackButton]), () => ( true));
1391
- const balanceTitle = _optionalChain([uiConfig, 'optionalAccess', _34 => _34.balanceTitle]);
1391
+ const balance = _optionalChain([uiConfig, 'optionalAccess', _34 => _34.balance]);
1392
1392
  const logoUrl = _nullishCoalesce(_optionalChain([branding, 'optionalAccess', _35 => _35.logoUrl]), () => ( "https://github.com/rhinestonewtf.png"));
1393
1393
  const title = _nullishCoalesce(_optionalChain([branding, 'optionalAccess', _36 => _36.title]), () => ( "Withdraw"));
1394
1394
  const canGoBack = currentStepIndex > 0 && currentStepIndex < 3 && backHandlerRef.current;
1395
1395
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1396
- _chunk7ZCUANBTcjs.Modal,
1396
+ _chunkG2RDCQHLcjs.Modal,
1397
1397
  {
1398
1398
  isOpen,
1399
1399
  onClose,
@@ -1449,9 +1449,9 @@ function WithdrawModalInner({
1449
1449
  i
1450
1450
  )) })
1451
1451
  ] }),
1452
- balanceTitle && totalBalanceUsd !== null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-modal-header-balance", children: [
1453
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-modal-header-balance-label", children: balanceTitle }),
1454
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-modal-header-balance-value", children: _chunk7ZCUANBTcjs.currencyFormatter.format(totalBalanceUsd) })
1452
+ balance && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-modal-header-balance", children: [
1453
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-modal-header-balance-label", children: balance.title }),
1454
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-modal-header-balance-value", children: _nullishCoalesce(balance.amount, () => ( (totalBalanceUsd !== null ? _chunkG2RDCQHLcjs.currencyFormatter.format(totalBalanceUsd) : null))) })
1455
1455
  ] })
1456
1456
  ] }),
1457
1457
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-modal-header-nav-right", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -67,6 +67,7 @@ function ReownWalletProvider({
67
67
  function useReownWallet() {
68
68
  const { open } = _react3.useAppKit.call(void 0, );
69
69
  const { address, isConnected } = _react3.useAppKitAccount.call(void 0, );
70
+ const { walletInfo } = _react3.useWalletInfo.call(void 0, );
70
71
  const { data: walletClient } = _wagmi.useWalletClient.call(void 0, );
71
72
  const publicClient = _wagmi.usePublicClient.call(void 0, );
72
73
  const { switchChainAsync } = _wagmi.useSwitchChain.call(void 0, );
@@ -75,6 +76,7 @@ function useReownWallet() {
75
76
  publicClient: _nullishCoalesce(publicClient, () => ( void 0)),
76
77
  address,
77
78
  isConnected,
79
+ icon: _optionalChain([walletInfo, 'optionalAccess', _3 => _3.icon]),
78
80
  openConnect: () => {
79
81
  void open({ view: isConnected ? "Account" : "Connect" });
80
82
  },
@@ -26,8 +26,8 @@
26
26
 
27
27
 
28
28
 
29
- var _chunkDLYVHOMEcjs = require('./chunk-DLYVHOME.cjs');
30
29
 
30
+ var _chunkPE6OK3FHcjs = require('./chunk-PE6OK3FH.cjs');
31
31
 
32
32
 
33
33
 
@@ -55,4 +55,6 @@ var _chunkDLYVHOMEcjs = require('./chunk-DLYVHOME.cjs');
55
55
 
56
56
 
57
57
 
58
- exports.CHAIN_BY_ID = _chunkDLYVHOMEcjs.CHAIN_BY_ID; exports.DEFAULT_BACKEND_URL = _chunkDLYVHOMEcjs.DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = _chunkDLYVHOMEcjs.DEFAULT_SIGNER_ADDRESS; exports.NATIVE_TOKEN_ADDRESS = _chunkDLYVHOMEcjs.NATIVE_TOKEN_ADDRESS; exports.SOURCE_CHAINS = _chunkDLYVHOMEcjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkDLYVHOMEcjs.SUPPORTED_CHAINS; exports.chainRegistry = _chunkDLYVHOMEcjs.chainRegistry; exports.findChainIdForToken = _chunkDLYVHOMEcjs.findChainIdForToken; exports.getChainBadge = _chunkDLYVHOMEcjs.getChainBadge; exports.getChainIcon = _chunkDLYVHOMEcjs.getChainIcon; exports.getChainId = _chunkDLYVHOMEcjs.getChainId; exports.getChainName = _chunkDLYVHOMEcjs.getChainName; exports.getChainObject = _chunkDLYVHOMEcjs.getChainObject; exports.getExplorerName = _chunkDLYVHOMEcjs.getExplorerName; exports.getExplorerTxUrl = _chunkDLYVHOMEcjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkDLYVHOMEcjs.getExplorerUrl; exports.getSupportedChainIds = _chunkDLYVHOMEcjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkDLYVHOMEcjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkDLYVHOMEcjs.getSupportedTokenSymbolsForChain; exports.getTokenAddress = _chunkDLYVHOMEcjs.getTokenAddress; exports.getTokenDecimals = _chunkDLYVHOMEcjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkDLYVHOMEcjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkDLYVHOMEcjs.getTokenIcon; exports.getTokenSymbol = _chunkDLYVHOMEcjs.getTokenSymbol; exports.getUsdcAddress = _chunkDLYVHOMEcjs.getUsdcAddress; exports.getUsdcDecimals = _chunkDLYVHOMEcjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkDLYVHOMEcjs.isSupportedTokenAddressForChain;
58
+
59
+
60
+ exports.CHAIN_BY_ID = _chunkPE6OK3FHcjs.CHAIN_BY_ID; exports.DEFAULT_BACKEND_URL = _chunkPE6OK3FHcjs.DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = _chunkPE6OK3FHcjs.DEFAULT_SIGNER_ADDRESS; exports.NATIVE_TOKEN_ADDRESS = _chunkPE6OK3FHcjs.NATIVE_TOKEN_ADDRESS; exports.SOURCE_CHAINS = _chunkPE6OK3FHcjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkPE6OK3FHcjs.SUPPORTED_CHAINS; exports.chainRegistry = _chunkPE6OK3FHcjs.chainRegistry; exports.findChainIdForToken = _chunkPE6OK3FHcjs.findChainIdForToken; exports.getChainBadge = _chunkPE6OK3FHcjs.getChainBadge; exports.getChainIcon = _chunkPE6OK3FHcjs.getChainIcon; exports.getChainId = _chunkPE6OK3FHcjs.getChainId; exports.getChainName = _chunkPE6OK3FHcjs.getChainName; exports.getChainObject = _chunkPE6OK3FHcjs.getChainObject; exports.getExplorerName = _chunkPE6OK3FHcjs.getExplorerName; exports.getExplorerTxUrl = _chunkPE6OK3FHcjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkPE6OK3FHcjs.getExplorerUrl; exports.getSupportedChainIds = _chunkPE6OK3FHcjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkPE6OK3FHcjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkPE6OK3FHcjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkPE6OK3FHcjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkPE6OK3FHcjs.getTokenAddress; exports.getTokenDecimals = _chunkPE6OK3FHcjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkPE6OK3FHcjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkPE6OK3FHcjs.getTokenIcon; exports.getTokenSymbol = _chunkPE6OK3FHcjs.getTokenSymbol; exports.getUsdcAddress = _chunkPE6OK3FHcjs.getUsdcAddress; exports.getUsdcDecimals = _chunkPE6OK3FHcjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkPE6OK3FHcjs.isSupportedTokenAddressForChain;
@@ -28,6 +28,7 @@ declare function getUsdcAddress(chainId: number): Address | undefined;
28
28
  declare function getUsdcDecimals(chainId: number): number;
29
29
  declare function getTokenAddress(symbol: string, chainId: number): Address | undefined;
30
30
  declare function getTokenDecimals(symbol: string, chainId: number): number;
31
+ declare function getTargetTokenSymbolsForChain(chainId: number): string[];
31
32
  declare function getSupportedTokenSymbolsForChain(chainId: number): string[];
32
33
  declare function getSupportedChainIds(): number[];
33
34
  declare function isSupportedTokenAddressForChain(token: Address, chainId: number): boolean;
@@ -47,4 +48,4 @@ declare function getExplorerName(chainId: number): string;
47
48
  declare function getChainIcon(chainId: number): string | undefined;
48
49
  declare function getTokenIcon(symbol: string): string | undefined;
49
50
 
50
- export { CHAIN_BY_ID, DEFAULT_BACKEND_URL, DEFAULT_SIGNER_ADDRESS, NATIVE_TOKEN_ADDRESS, SOURCE_CHAINS, SUPPORTED_CHAINS, type SupportedTokenOption, chainRegistry, findChainIdForToken, getChainBadge, getChainIcon, getChainId, getChainName, getChainObject, getExplorerName, getExplorerTxUrl, getExplorerUrl, getSupportedChainIds, getSupportedTargetTokens, getSupportedTokenSymbolsForChain, getTokenAddress, getTokenDecimals, getTokenDecimalsByAddress, getTokenIcon, getTokenSymbol, getUsdcAddress, getUsdcDecimals, isSupportedTokenAddressForChain };
51
+ export { CHAIN_BY_ID, DEFAULT_BACKEND_URL, DEFAULT_SIGNER_ADDRESS, NATIVE_TOKEN_ADDRESS, SOURCE_CHAINS, SUPPORTED_CHAINS, type SupportedTokenOption, chainRegistry, findChainIdForToken, getChainBadge, getChainIcon, getChainId, getChainName, getChainObject, getExplorerName, getExplorerTxUrl, getExplorerUrl, getSupportedChainIds, getSupportedTargetTokens, getSupportedTokenSymbolsForChain, getTargetTokenSymbolsForChain, getTokenAddress, getTokenDecimals, getTokenDecimalsByAddress, getTokenIcon, getTokenSymbol, getUsdcAddress, getUsdcDecimals, isSupportedTokenAddressForChain };