@wormhole-foundation/wormhole-connect 3.0.0-beta.11-development → 3.0.0-beta.12-development

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 (189) hide show
  1. package/dist/main.js +1 -1
  2. package/lib/{add-5JNYtbn0.mjs → add-Bgr8Uh8B.mjs} +1 -1
  3. package/lib/{add-l7uMi5Qp.js → add-CgyvYm-l.js} +1 -1
  4. package/lib/{all-wallets-Ci5Fl1c7.js → all-wallets-BeYsJiCM.js} +1 -1
  5. package/lib/{all-wallets-DFuKxB4Z.mjs → all-wallets-DdRIEq-V.mjs} +1 -1
  6. package/lib/{app-store-oBe0hgJk.js → app-store-C9yZzH2t.js} +1 -1
  7. package/lib/{app-store-B0IRo5Ld.mjs → app-store-eKRqPW4N.mjs} +1 -1
  8. package/lib/{apple-BeItYmiV.js → apple-B3Aps_l8.js} +1 -1
  9. package/lib/{apple-C1253BqB.mjs → apple-DQcCTOa_.mjs} +1 -1
  10. package/lib/{aptos-CDC4GSyx.js → aptos-CxfKcGPe.js} +1 -1
  11. package/lib/{aptos-CiSMOF3v.mjs → aptos-DySrgy5u.mjs} +1 -1
  12. package/lib/{arrow-bottom-DoPQ9bym.js → arrow-bottom-CUgsoqql.js} +1 -1
  13. package/lib/{arrow-bottom-B5idrRLg.mjs → arrow-bottom-Duiu5Tg_.mjs} +1 -1
  14. package/lib/{arrow-bottom-circle-CUNc1d0l.mjs → arrow-bottom-circle-CvfJ5p_y.mjs} +1 -1
  15. package/lib/{arrow-bottom-circle-_HzqlrgT.js → arrow-bottom-circle-u8tFbHrW.js} +1 -1
  16. package/lib/{arrow-left-DKZtNEET.js → arrow-left-IZiFrwcP.js} +1 -1
  17. package/lib/{arrow-left-D_6pmgeW.mjs → arrow-left-avYXBHF4.mjs} +1 -1
  18. package/lib/{arrow-right-BETNsgrF.js → arrow-right-CF-NNN4L.js} +1 -1
  19. package/lib/{arrow-right-CfF4JKUl.mjs → arrow-right-Cbunep5L.mjs} +1 -1
  20. package/lib/{arrow-top-ByBQSpF9.mjs → arrow-top-DBWWW9Oy.mjs} +1 -1
  21. package/lib/{arrow-top-_t4PlGZq.js → arrow-top-DCGkz6k-.js} +1 -1
  22. package/lib/{bank-CGWjW2wg.js → bank-C-CLDGG9.js} +1 -1
  23. package/lib/{bank-D-ByWKrE.mjs → bank-C2jhIapN.mjs} +1 -1
  24. package/lib/{basic-Bg1hSrRy.mjs → basic-CIBqPAeW.mjs} +2 -2
  25. package/lib/{basic-CkPI-DHw.js → basic-DVsxPr6-.js} +1 -1
  26. package/lib/{browser-C13v_3nT.js → browser-BQ2hKa4j.js} +1 -1
  27. package/lib/{browser-D3rK1zZD.mjs → browser-DFX8bJKi.mjs} +1 -1
  28. package/lib/{card-C103Zr_s.mjs → card-4-u9SA69.mjs} +1 -1
  29. package/lib/{card-Cpnj4Pjv.js → card-CUMXwdG1.js} +1 -1
  30. package/lib/{ccip-CEnidIEN.js → ccip-BTGJ_kF8.js} +1 -1
  31. package/lib/{ccip-DLDyY4LZ.mjs → ccip-FetjJVFw.mjs} +1 -1
  32. package/lib/{checkmark-zYR427D1.js → checkmark-BaLFRM45.js} +1 -1
  33. package/lib/{checkmark-CftBiE_o.mjs → checkmark-DDLHlQQ9.mjs} +1 -1
  34. package/lib/{checkmark-bold-hTRkqdFs.js → checkmark-bold-COMu2UxE.js} +1 -1
  35. package/lib/{checkmark-bold-BiuLRYaw.mjs → checkmark-bold-CuRoxeU8.mjs} +1 -1
  36. package/lib/{chevron-bottom-BbQ_m7D8.mjs → chevron-bottom-BWzCLrD5.mjs} +1 -1
  37. package/lib/{chevron-bottom-Dcr8Aaqj.js → chevron-bottom-C4e9WRar.js} +1 -1
  38. package/lib/{chevron-left-BRcODtkl.mjs → chevron-left--LyUtyQT.mjs} +1 -1
  39. package/lib/{chevron-left-B9PTmHIG.js → chevron-left-CGVLc133.js} +1 -1
  40. package/lib/{chevron-right-NjcF5i-l.js → chevron-right-BwKWUL52.js} +1 -1
  41. package/lib/{chevron-right-C8T3XHHk.mjs → chevron-right-kMciDMkJ.mjs} +1 -1
  42. package/lib/{chevron-top-qG-Co151.js → chevron-top-CAHxogoB.js} +1 -1
  43. package/lib/{chevron-top-DDRuRQDi.mjs → chevron-top-DwIXDDfD.mjs} +1 -1
  44. package/lib/{chrome-store-y7e1zu4m.mjs → chrome-store-BtgUtu2e.mjs} +1 -1
  45. package/lib/{chrome-store-CMfQIa4X.js → chrome-store-KsYwGQZ1.js} +1 -1
  46. package/lib/{clock-Ch4B9lTj.mjs → clock-CeP_x_KK.mjs} +1 -1
  47. package/lib/{clock-D_HlSE4l.js → clock-DZ0ehwc-.js} +1 -1
  48. package/lib/{close-CqVBfuUL.js → close-DQfNwzpp.js} +1 -1
  49. package/lib/{close-DV97wtTx.mjs → close-fTN6nBRu.mjs} +1 -1
  50. package/lib/{coinPlaceholder-DBEIEMLH.mjs → coinPlaceholder-DetWjpMK.mjs} +1 -1
  51. package/lib/{coinPlaceholder-Ckw9njof.js → coinPlaceholder-Dg3gZsJM.js} +1 -1
  52. package/lib/{compass-BRH1TNEt.js → compass-BNDqAmOT.js} +1 -1
  53. package/lib/{compass-DoE_r14r.mjs → compass-Bi1bPHDM.mjs} +1 -1
  54. package/lib/{constants-DX7-soSQ.mjs → constants-CPx3n7t3.mjs} +3 -3
  55. package/lib/constants-CoxhiYrX.js +1 -0
  56. package/lib/{copy-BUnH9Rmh.mjs → copy-C0ChGAOX.mjs} +1 -1
  57. package/lib/{copy-tsMwqd3u.js → copy-CYLp0MkE.js} +1 -1
  58. package/lib/{cursor-3mj3Pq0z.mjs → cursor-C0wqoNp_.mjs} +1 -1
  59. package/lib/{cursor-5JnUhK1u.js → cursor-DsUEeeMn.js} +1 -1
  60. package/lib/{cursor-transparent-BTemyRTO.mjs → cursor-transparent-DOFMlNyt.mjs} +1 -1
  61. package/lib/{cursor-transparent-Cxt6oRht.js → cursor-transparent-Dgi2QAXz.js} +1 -1
  62. package/lib/{desktop-BSL1tdXi.js → desktop-7XDZ1UeO.js} +1 -1
  63. package/lib/{desktop-DvfmWO_R.mjs → desktop-DvAIpuqU.mjs} +1 -1
  64. package/lib/{disconnect-C1bWgwV-.js → disconnect-BPZFeB_X.js} +1 -1
  65. package/lib/{disconnect-Cxkdq6ir.mjs → disconnect-CVe77kqf.mjs} +1 -1
  66. package/lib/{discord-eKk83DRx.js → discord-BQnoDtpm.js} +1 -1
  67. package/lib/{discord-CHx5Xb-9.mjs → discord-C8tW30M4.mjs} +1 -1
  68. package/lib/{etherscan-YaFa04eY.mjs → etherscan-BbTgK2kR.mjs} +1 -1
  69. package/lib/{etherscan-DunhJn-2.js → etherscan-XnmA1DYM.js} +1 -1
  70. package/lib/{evm-C_kkwF2N.js → evm-B92-10xg.js} +3 -3
  71. package/lib/{evm-Dzv24HTi.mjs → evm-DDTF3fsK.mjs} +3 -3
  72. package/lib/{exclamation-triangle-Cb8oHsFl.js → exclamation-triangle-BSU-BEmm.js} +1 -1
  73. package/lib/{exclamation-triangle-DfZ9Dte5.mjs → exclamation-triangle-CDPTA2Zq.mjs} +1 -1
  74. package/lib/executor.js +1 -1
  75. package/lib/executor.mjs +1 -1
  76. package/lib/{extension-DP-dDsSn.mjs → extension-BoRmu23R.mjs} +1 -1
  77. package/lib/{extension-DoOMA86h.js → extension-JoJqEx2q.js} +1 -1
  78. package/lib/{external-link-DyHJnsK8.mjs → external-link-BmVFZxUx.mjs} +1 -1
  79. package/lib/{external-link-BqzHACi1.js → external-link-CDpvnIKV.js} +1 -1
  80. package/lib/{facebook-fuN149kb.mjs → facebook-BU0IgAsn.mjs} +1 -1
  81. package/lib/{facebook-9-sYpqWJ.js → facebook-DVG-Of9i.js} +1 -1
  82. package/lib/{farcaster-CthcgW1p.mjs → farcaster-EqU1YhWT.mjs} +1 -1
  83. package/lib/{farcaster-DidNhku_.js → farcaster-HjCoTneu.js} +1 -1
  84. package/lib/{filters-_l_bTNZK.mjs → filters-9uiEFQFc.mjs} +1 -1
  85. package/lib/{filters-ByT7XcVR.js → filters-Dj4vA-oO.js} +1 -1
  86. package/lib/{github-DLIZSSpT.mjs → github-Bv36prmZ.mjs} +1 -1
  87. package/lib/{github-4qFP3ebJ.js → github-CHTQ7Hhb.js} +1 -1
  88. package/lib/{google-DsUwkwU7.mjs → google-CIdoM_ZL.mjs} +1 -1
  89. package/lib/{google-CLB363tb.js → google-D4be9Rni.js} +1 -1
  90. package/lib/{help-circle-MHAS2jcg.js → help-circle-Cp-RWM01.js} +1 -1
  91. package/lib/{help-circle-DNIlqXM4.mjs → help-circle-Di6XLLqm.mjs} +1 -1
  92. package/lib/hosted.js +1 -1
  93. package/lib/hosted.mjs +1 -1
  94. package/lib/{id-Dcpxx5Sg.mjs → id-BKRrmUYA.mjs} +1 -1
  95. package/lib/{id-DgC4wzlk.js → id-zzAVAbpV.js} +1 -1
  96. package/lib/{image-D0i9nEJa.mjs → image-CHXv-pfQ.mjs} +1 -1
  97. package/lib/{image-cNJf0UKs.js → image-D0lV7yfg.js} +1 -1
  98. package/lib/{index-D8pyO0Ut.mjs → index-B4yQb6w1.mjs} +78 -78
  99. package/lib/{index-Dc_4R0qr.mjs → index-BBXzsMzy.mjs} +10 -10
  100. package/lib/{index-CVY5OsmN.js → index-CMRsE6Rx.js} +2 -2
  101. package/lib/{index-DVJDNZXX.js → index-w1W7oltR.js} +2 -2
  102. package/lib/{index.es-wGYpE9RX.js → index.es-B-gAV41L.js} +1 -1
  103. package/lib/{index.es-BodjtdqB.mjs → index.es-BjmsZFfK.mjs} +1 -1
  104. package/lib/{index.es-CStVufqy.mjs → index.es-Buu5D0rZ.mjs} +3 -3
  105. package/lib/{index.es-DNfg_W4n.js → index.es-SeoKSGri.js} +1 -1
  106. package/lib/index.js +1 -1
  107. package/lib/index.mjs +1 -1
  108. package/lib/{info-DhtgwfZc.js → info-Bro13JOm.js} +1 -1
  109. package/lib/{info-Ccop_bq-.mjs → info-DI_ShZXM.mjs} +1 -1
  110. package/lib/{info-circle-DzGmwt4i.js → info-circle-B1XYC5VH.js} +1 -1
  111. package/lib/{info-circle-CZvq1Bbl.mjs → info-circle-Ysma0RJy.mjs} +1 -1
  112. package/lib/{lightbulb-C0-qKwLI.js → lightbulb-BWSob509.js} +1 -1
  113. package/lib/{lightbulb-WpoJQkeo.mjs → lightbulb-llAiUdyo.mjs} +1 -1
  114. package/lib/{mail-D1rYl-hP.mjs → mail-DoQE8IHx.mjs} +1 -1
  115. package/lib/{mail-D2CE1lj4.js → mail-rZToesAW.js} +1 -1
  116. package/lib/{mobile-uBIPQ_3j.js → mobile-BbcVkbmr.js} +1 -1
  117. package/lib/{mobile-D8slK1-I.mjs → mobile-EtRDQH27.mjs} +1 -1
  118. package/lib/{more-Dy11lM4m.js → more-BK6O3COI.js} +1 -1
  119. package/lib/{more-DsX_s58K.mjs → more-DVrhZdB3.mjs} +1 -1
  120. package/lib/{network-placeholder-ClLYl9gN.mjs → network-placeholder-BbB6hX07.mjs} +1 -1
  121. package/lib/{network-placeholder-4XSy76qO.js → network-placeholder-K8zio41s.js} +1 -1
  122. package/lib/{nftPlaceholder-ilscJrWL.mjs → nftPlaceholder-BMuE_429.mjs} +1 -1
  123. package/lib/{nftPlaceholder-Dtm_zH4E.js → nftPlaceholder-L3ThVWUO.js} +1 -1
  124. package/lib/{off-N7Q-H26y.js → off-CHM9QBcy.js} +1 -1
  125. package/lib/{off-D3IDpfZg.mjs → off-CUzDZ7SQ.mjs} +1 -1
  126. package/lib/{play-store-Dnx6-DfM.mjs → play-store-B_TfUWJP.mjs} +1 -1
  127. package/lib/{play-store-2p9CBKz9.js → play-store-DodlKRO8.js} +1 -1
  128. package/lib/{plus-CngR-jD-.mjs → plus-BY6E-gA7.mjs} +1 -1
  129. package/lib/{plus-CVTA7O2z.js → plus-DVGYUzNZ.js} +1 -1
  130. package/lib/{qr-code-Ckqp2jcM.mjs → qr-code-DkdB4YWU.mjs} +1 -1
  131. package/lib/{qr-code-CJEqBG09.js → qr-code-MKK1K7_f.js} +1 -1
  132. package/lib/{recycle-horizontal-BWbxp077.mjs → recycle-horizontal-Bg37UVPn.mjs} +1 -1
  133. package/lib/{recycle-horizontal-CUMI_Frp.js → recycle-horizontal-Bjn-ZLNs.js} +1 -1
  134. package/lib/{refresh-BA3qzC0t.mjs → refresh-D6TcjIU1.mjs} +1 -1
  135. package/lib/{refresh-nBHl-Ex7.js → refresh-dRlw97C1.js} +1 -1
  136. package/lib/{reown-logo-BIs62gAK.mjs → reown-logo-Dk82Zy5_.mjs} +1 -1
  137. package/lib/{reown-logo-C0OFiwcD.js → reown-logo-Kc70GqDZ.js} +1 -1
  138. package/lib/{search-DWkxod1G.mjs → search-D83RKxoH.mjs} +1 -1
  139. package/lib/{search-C4yW_e7h.js → search-Dv-LI1Vx.js} +1 -1
  140. package/lib/{secp256k1-D5xGRPak.mjs → secp256k1-BrfK8uV1.mjs} +1 -1
  141. package/lib/{secp256k1-CzzYFHL9.mjs → secp256k1-DV6Qne0v.mjs} +1 -1
  142. package/lib/{secp256k1-DPyD-aqu.js → secp256k1-DXHZqO4S.js} +1 -1
  143. package/lib/{secp256k1-DJxiSxEG.js → secp256k1-sf_P35Lc.js} +1 -1
  144. package/lib/{send-CgneLJ89.js → send-BSMIYys9.js} +1 -1
  145. package/lib/{send-B_-c6x6P.mjs → send-Cyopk79y.mjs} +1 -1
  146. package/lib/{solana-AefmV-EX.mjs → solana-CrMvdvfl.mjs} +6 -6
  147. package/lib/{solana-Cqhc10CM.js → solana-DS2ZcUpG.js} +4 -4
  148. package/lib/{solanaEmbed.esm-CB_O5YXF.js → solanaEmbed.esm-1oBtzdki.js} +1 -1
  149. package/lib/{solanaEmbed.esm-DvSyh3Tl.mjs → solanaEmbed.esm-Dj8UZAI5.mjs} +1 -1
  150. package/lib/{sui-D17vikGB.mjs → sui-C6UUvjyd.mjs} +1 -1
  151. package/lib/{sui-OtX0-aiw.js → sui-mpRuHBm9.js} +1 -1
  152. package/lib/{swapHorizontal-CaiPRfjP.js → swapHorizontal-Bg8dDuE0.js} +1 -1
  153. package/lib/{swapHorizontal-I9IHNlcX.mjs → swapHorizontal-BiNrGmxY.mjs} +1 -1
  154. package/lib/{swapHorizontalBold-DjCg3Gvp.mjs → swapHorizontalBold-CNvg6Zjx.mjs} +1 -1
  155. package/lib/{swapHorizontalBold-COXm4Eoq.js → swapHorizontalBold-DeCMOo5R.js} +1 -1
  156. package/lib/{swapHorizontalMedium-BufndsqW.js → swapHorizontalMedium-DClbbhUH.js} +1 -1
  157. package/lib/{swapHorizontalMedium-D5Op20PE.mjs → swapHorizontalMedium-TUPMHawi.mjs} +1 -1
  158. package/lib/{swapHorizontalRoundedBold-DT-dVJCx.mjs → swapHorizontalRoundedBold-BAlHBaC3.mjs} +1 -1
  159. package/lib/{swapHorizontalRoundedBold-DOhWyq65.js → swapHorizontalRoundedBold-Cwu5ydTm.js} +1 -1
  160. package/lib/{swapVertical--HMMmuaw.mjs → swapVertical-DDYEDCbu.mjs} +1 -1
  161. package/lib/{swapVertical-BC9LFE7N.js → swapVertical-cn4noOLO.js} +1 -1
  162. package/lib/{telegram-CxCcJyxh.mjs → telegram-BGnemuS8.mjs} +1 -1
  163. package/lib/{telegram-FZjehBdN.js → telegram-sBtcJjCa.js} +1 -1
  164. package/lib/{three-dots-CuFQnzau.mjs → three-dots-BS-tA53X.mjs} +1 -1
  165. package/lib/{three-dots-zFnxhtH1.js → three-dots-Ci3M242Y.js} +1 -1
  166. package/lib/{tokens-BBDYlW5N.js → tokens-DprimVrG.js} +1 -1
  167. package/lib/{tokens-Ro6NgarI.mjs → tokens-ZJvnv3ye.mjs} +1 -1
  168. package/lib/{twitch-Cn9a4jgU.mjs → twitch-DwEOOcQc.mjs} +1 -1
  169. package/lib/{twitch-pwuV-z6u.js → twitch-kde2nyWc.js} +1 -1
  170. package/lib/{twitterIcon-D98sKvbq.mjs → twitterIcon-D-aL497o.mjs} +1 -1
  171. package/lib/{twitterIcon-C5XFX-OQ.js → twitterIcon-EX3YrhMm.js} +1 -1
  172. package/lib/{verify-D1TEwpVN.js → verify-BuD5oE0Y.js} +1 -1
  173. package/lib/{verify-BxlOfP9w.mjs → verify-DPJd26j0.mjs} +1 -1
  174. package/lib/{verify-filled-yMiXBbCQ.mjs → verify-filled-BSJMiVyN.mjs} +1 -1
  175. package/lib/{verify-filled-BrR7ST9b.js → verify-filled-DgfMnLnW.js} +1 -1
  176. package/lib/{w3m-modal-BGlhUPJA.js → w3m-modal-jDCMhVYM.js} +1 -1
  177. package/lib/{w3m-modal-luSHEfx4.mjs → w3m-modal-vqqsLuJC.mjs} +2 -2
  178. package/lib/{wallet-CEtYecn_.mjs → wallet-CiaeeygI.mjs} +1 -1
  179. package/lib/{wallet-CvHL82h-.js → wallet-DlsCAJmu.js} +1 -1
  180. package/lib/{wallet-placeholder-C4f_-N7F.js → wallet-placeholder-CWeGWgUL.js} +1 -1
  181. package/lib/{wallet-placeholder-Deq6znRH.mjs → wallet-placeholder-DhQ6l48d.mjs} +1 -1
  182. package/lib/{walletconnect-BBY1yZEn.mjs → walletconnect-CHFqRNg_.mjs} +1 -1
  183. package/lib/{walletconnect-CbujsbqX.js → walletconnect-YkYiOGcA.js} +1 -1
  184. package/lib/{warning-circle-iBEa0DFJ.js → warning-circle-BKWEaDK7.js} +1 -1
  185. package/lib/{warning-circle-cokTC_ks.mjs → warning-circle-z__jbYAZ.mjs} +1 -1
  186. package/lib/{x-CNsQuYZX.mjs → x-DXPEHEVV.mjs} +1 -1
  187. package/lib/{x-FvnYgr2g.js → x-De5ksSKs.js} +1 -1
  188. package/package.json +2 -2
  189. package/lib/constants-CBdrF4sv.js +0 -1
@@ -3,7 +3,7 @@ var _o = (e) => {
3
3
  };
4
4
  var Zo = (e, t, r) => t.has(e) || _o("Cannot " + r);
5
5
  var ks = (e, t, r) => (Zo(e, t, "read from private field"), r ? r.call(e) : t.get(e)), Wo = (e, t, r) => t.has(e) ? _o("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), Vo = (e, t, r, n) => (Zo(e, t, "write to private field"), n ? n.call(e, r) : t.set(e, r), r);
6
- import { C as Gd, W as Hd, N as ta, c as Rd, d as It, f as Hn, B as Yd, h as _d, j as Zd, k as Wd, l as Vd, m as Rn } from "./index-Dc_4R0qr.mjs";
6
+ import { C as Gd, W as Hd, N as ta, c as Rd, d as It, f as Hn, B as Yd, h as _d, j as Zd, k as Wd, l as Vd, m as Rn } from "./index-BBXzsMzy.mjs";
7
7
  import { bg as Jo, g as Jd, aO as $d, d as Kd, ad as Xd } from "./address-CrYNZ_Nj.mjs";
8
8
  import { a as Yt, p as rs, B as O, i as gt, n as R, h as Ze, b as be, t as Q, c as re, f as qd, e as ep, d as ot, s as ue, L as Ra, S as Sc, F as Ot, T as Lr, g as it, I as tp, j as Bt, k as rp, l as np, m as Yn, o as We, q as sp, E as sn, r as $o, N as Ko, u as Xo, v as qo, w as ei, x as ti, y as ri, z as ni, U as Rr, A as ap, R as zc, C as si, D as jc, G as ai, H as Bc, J as Uc, K as op, M as Lc, O as ip, P as cp, Q as lp, V as _n, W as oi, X as up, Y as ii, Z as dp, _ as er, $ as pp, a0 as ra, a1 as ci, a2 as hp } from "./index-D0eLvswO.mjs";
9
9
  import { j as mp } from "./provider-jsonrpc-BVvalXMV.mjs";
@@ -18900,7 +18900,7 @@ async function ms(e, t) {
18900
18900
  });
18901
18901
  return H === "0x" ? { data: void 0 } : { data: H };
18902
18902
  } catch (S) {
18903
- const N = O3(S), { offchainLookup: U, offchainLookupSignature: z } = await import("./ccip-DLDyY4LZ.mjs");
18903
+ const N = O3(S), { offchainLookup: U, offchainLookupSignature: z } = await import("./ccip-FetjJVFw.mjs");
18904
18904
  if (e.ccipRead !== !1 && (N == null ? void 0 : N.slice(0, 10)) === z && E)
18905
18905
  return { data: await U(e, { data: N, to: E }) };
18906
18906
  throw D && (N == null ? void 0 : N.slice(0, 10)) === "0x101bb98d" ? new cx({ factory: h }) : oo(S, {
@@ -28103,7 +28103,7 @@ Qa = async function() {
28103
28103
  };
28104
28104
  Fo = /* @__PURE__ */ new WeakSet();
28105
28105
  Fd = async function() {
28106
- const { EthereumProvider: e } = await import("./index.es-CStVufqy.mjs"), t = this.chains.map(({ id: r }) => r);
28106
+ const { EthereumProvider: e } = await import("./index.es-Buu5D0rZ.mjs"), t = this.chains.map(({ id: r }) => r);
28107
28107
  if (t.length) {
28108
28108
  const {
28109
28109
  projectId: r,
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("./solana-Cqhc10CM.js"),e=C.b`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("./solana-DS2ZcUpG.js"),e=C.b`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
2
  <path d="M15.0162 11.6312L9.55059 2.13937C9.39228 1.86862 9.16584 1.64405 8.8938 1.48798C8.62176 1.33192 8.3136 1.2498 7.99997 1.2498C7.68634 1.2498 7.37817 1.33192 7.10613 1.48798C6.83409 1.64405 6.60765 1.86862 6.44934 2.13937L0.983716 11.6312C0.830104 11.894 0.749146 12.1928 0.749146 12.4972C0.749146 12.8015 0.830104 13.1004 0.983716 13.3631C1.14027 13.6352 1.3664 13.8608 1.63889 14.0166C1.91139 14.1725 2.22044 14.253 2.53434 14.25H13.4656C13.7793 14.2528 14.0881 14.1721 14.3603 14.0163C14.6326 13.8604 14.8585 13.635 15.015 13.3631C15.1688 13.1005 15.2499 12.8017 15.2502 12.4973C15.2504 12.193 15.1696 11.8941 15.0162 11.6312ZM13.7162 12.6125C13.6908 12.6558 13.6541 12.6914 13.6101 12.7157C13.5661 12.7399 13.5164 12.7517 13.4662 12.75H2.53434C2.48415 12.7517 2.43442 12.7399 2.39042 12.7157C2.34641 12.6914 2.30976 12.6558 2.28434 12.6125C2.26278 12.5774 2.25137 12.5371 2.25137 12.4959C2.25137 12.4548 2.26278 12.4144 2.28434 12.3794L7.74997 2.88749C7.77703 2.84583 7.81408 2.8116 7.85774 2.7879C7.9014 2.7642 7.95029 2.75178 7.99997 2.75178C8.04964 2.75178 8.09854 2.7642 8.1422 2.7879C8.18586 2.8116 8.2229 2.84583 8.24997 2.88749L13.715 12.3794C13.7367 12.4143 13.7483 12.4546 13.7486 12.4958C13.7488 12.5369 13.7376 12.5773 13.7162 12.6125ZM7.24997 8.49999V6.49999C7.24997 6.30108 7.32898 6.11031 7.46964 5.96966C7.61029 5.82901 7.80105 5.74999 7.99997 5.74999C8.19888 5.74999 8.38964 5.82901 8.5303 5.96966C8.67095 6.11031 8.74997 6.30108 8.74997 6.49999V8.49999C8.74997 8.6989 8.67095 8.88967 8.5303 9.03032C8.38964 9.17097 8.19888 9.24999 7.99997 9.24999C7.80105 9.24999 7.61029 9.17097 7.46964 9.03032C7.32898 8.88967 7.24997 8.6989 7.24997 8.49999ZM8.99997 11C8.99997 11.1978 8.94132 11.3911 8.83144 11.5556C8.72155 11.72 8.56538 11.8482 8.38265 11.9239C8.19992 11.9996 7.99886 12.0194 7.80488 11.9808C7.6109 11.9422 7.43271 11.847 7.29286 11.7071C7.15301 11.5672 7.05777 11.3891 7.01918 11.1951C6.9806 11.0011 7.0004 10.8 7.07609 10.6173C7.15177 10.4346 7.27995 10.2784 7.4444 10.1685C7.60885 10.0586 7.80219 9.99999 7.99997 9.99999C8.26518 9.99999 8.51954 10.1053 8.70707 10.2929C8.89461 10.4804 8.99997 10.7348 8.99997 11Z" fill="currentColor"/>
3
3
  </svg>
4
4
  `;exports.exclamationTriangleSvg=e;
@@ -1,4 +1,4 @@
1
- import { l as C } from "./solana-AefmV-EX.mjs";
1
+ import { l as C } from "./solana-CrMvdvfl.mjs";
2
2
  const t = C`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
3
3
  <path d="M15.0162 11.6312L9.55059 2.13937C9.39228 1.86862 9.16584 1.64405 8.8938 1.48798C8.62176 1.33192 8.3136 1.2498 7.99997 1.2498C7.68634 1.2498 7.37817 1.33192 7.10613 1.48798C6.83409 1.64405 6.60765 1.86862 6.44934 2.13937L0.983716 11.6312C0.830104 11.894 0.749146 12.1928 0.749146 12.4972C0.749146 12.8015 0.830104 13.1004 0.983716 13.3631C1.14027 13.6352 1.3664 13.8608 1.63889 14.0166C1.91139 14.1725 2.22044 14.253 2.53434 14.25H13.4656C13.7793 14.2528 14.0881 14.1721 14.3603 14.0163C14.6326 13.8604 14.8585 13.635 15.015 13.3631C15.1688 13.1005 15.2499 12.8017 15.2502 12.4973C15.2504 12.193 15.1696 11.8941 15.0162 11.6312ZM13.7162 12.6125C13.6908 12.6558 13.6541 12.6914 13.6101 12.7157C13.5661 12.7399 13.5164 12.7517 13.4662 12.75H2.53434C2.48415 12.7517 2.43442 12.7399 2.39042 12.7157C2.34641 12.6914 2.30976 12.6558 2.28434 12.6125C2.26278 12.5774 2.25137 12.5371 2.25137 12.4959C2.25137 12.4548 2.26278 12.4144 2.28434 12.3794L7.74997 2.88749C7.77703 2.84583 7.81408 2.8116 7.85774 2.7879C7.9014 2.7642 7.95029 2.75178 7.99997 2.75178C8.04964 2.75178 8.09854 2.7642 8.1422 2.7879C8.18586 2.8116 8.2229 2.84583 8.24997 2.88749L13.715 12.3794C13.7367 12.4143 13.7483 12.4546 13.7486 12.4958C13.7488 12.5369 13.7376 12.5773 13.7162 12.6125ZM7.24997 8.49999V6.49999C7.24997 6.30108 7.32898 6.11031 7.46964 5.96966C7.61029 5.82901 7.80105 5.74999 7.99997 5.74999C8.19888 5.74999 8.38964 5.82901 8.5303 5.96966C8.67095 6.11031 8.74997 6.30108 8.74997 6.49999V8.49999C8.74997 8.6989 8.67095 8.88967 8.5303 9.03032C8.38964 9.17097 8.19888 9.24999 7.99997 9.24999C7.80105 9.24999 7.61029 9.17097 7.46964 9.03032C7.32898 8.88967 7.24997 8.6989 7.24997 8.49999ZM8.99997 11C8.99997 11.1978 8.94132 11.3911 8.83144 11.5556C8.72155 11.72 8.56538 11.8482 8.38265 11.9239C8.19992 11.9996 7.99886 12.0194 7.80488 11.9808C7.6109 11.9422 7.43271 11.847 7.29286 11.7071C7.15301 11.5672 7.05777 11.3891 7.01918 11.1951C6.9806 11.0011 7.0004 10.8 7.07609 10.6173C7.15177 10.4346 7.27995 10.2784 7.4444 10.1685C7.60885 10.0586 7.80219 9.99999 7.99997 9.99999C8.26518 9.99999 8.51954 10.1053 8.70707 10.2929C8.89461 10.4804 8.99997 10.7348 8.99997 11Z" fill="currentColor"/>
4
4
  </svg>
package/lib/executor.js CHANGED
@@ -1 +1 @@
1
- "use strict";var me=Object.defineProperty;var le=(e,a,t)=>a in e?me(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t;var d=(e,a,t)=>le(e,typeof a!="symbol"?a+"":a,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./address-CSWlEusF.js"),P=require("./chain-DTh9H2Cq.js"),V=require("./chunk-KJH4KKG6-DOESg_ru.js"),he=require("./platform-C7YwgvxU.js"),T=require("./address-DGYJWkFz.js"),ge=require("./unsignedTransaction-C1YeEl4G.js"),X=require("./platform-DbvllBcy.js"),pe=require("./contract-DYtnmT6F.js"),Ce=require("./unsignedTransaction-B7AZXsTD.js"),x=require("./platform-CgqczEeE.js"),be=require("./index-CFikcYS0.js"),ne=require("./address-DfgK_jn7.js"),we=require("./unsignedTransaction-DzSLsK-p.js"),Ae=require("./index-aoDDl5Bh.js"),ye=require("./index-Csb-_vqa.js"),E=require("./web3-IDpqtkwB.js"),H=require("./unsignedTransaction-3gDumn1W.js"),xe=require("./account-gVjkECaX.js"),U={Testnet:"https://executor-testnet.labsapis.com",Mainnet:"https://executor.labsapis.com"},$={Testnet:{Aptos:"0x14a12d1fd6ef371b70c2113155534ec152ec7f779e281b54866c796c9a4a58d3",Avalanche:"0x2cfEC91B50f657Cc86Ec693542527ac3e03bF742",BaseSepolia:"0x4983C6bD3bB7DA9EECe71cfa7AE4C67CAbf362F0",Sepolia:"0x0F78904c750801391EbBf308181e9d6fc892B0f3",Solana:"CXGRA5SCc8jxDbaQPZrmmZNu2JV34DP7gFW4m31uC1zs"},Mainnet:{Aptos:"0x9f5ad7d5c2d067ca4abb6d8d6aba44c15596b71a1def8eb4596089b527bb2eb1",Arbitrum:"0x55Dd4466BFec29527C54A72fd306efb54e5F7027",Avalanche:"0xd331819478b74d8a7B8EA631118B4a4e50F6EbD1",Base:"0x08FEB1838C3d7F8509DA1EBb9a11a94c1f006cb2",Ethereum:"0xeEFb36c4458dA7798742cf038C5c27E07aB9c51E",Optimism:"0xBC6f9d1CBa49DB365728478cefa02F6743617637",Polygon:"0x007995f2AEcfBC745f20a7AE8D3a02c0EbF46264",Unichain:"0xA7aBDb8f2108901c586543BD5e10E4fA263F4A47",Solana:"CXGRA5SCc8jxDbaQPZrmmZNu2JV34DP7gFW4m31uC1zs"}},J={Testnet:{executorId:"0x4000cfe2955d8355b3d3cf186f854fea9f787a457257056926fde1ec977670eb",executorRequestsId:"0x2d9ccf3cce3f7dce408e5455e90b80a8161ad9673d1366c2a5def60ad93657a8"},Mainnet:{executorId:"0xdb0fe8bb1e2b5be628adbea0636063325073e1070ee11e4281457dfd7f158235",executorRequestsId:"0xc030df7a3eed1494fa4b64aa8ab63a79041cf1114f4ff2b7ab5aca1c684a21a7"}},Ee={Testnet:"execXUrAsMnqMmTHj5m7N1YQgsDz3cwGLYCYyuDRciV",Mainnet:"execXUrAsMnqMmTHj5m7N1YQgsDz3cwGLYCYyuDRciV"},Se=5001n,ve={Testnet:{Aptos:5000n,Avalanche:200000n,BaseSepolia:200000n,Sepolia:200000n,Solana:250000n,Sui:8000000n},Mainnet:{Aptos:5000n,Arbitrum:400000n,Avalanche:250000n,Base:250000n,Ethereum:250000n,Optimism:250000n,Polygon:250000n,Unichain:250000n,Solana:250000n,Sui:8000000n}},Pe={Testnet:{Aptos:"0x23b54f6e29bba7f4123d088f4cfcd83f5e23a049de15895b119ce5a6cb5faa91",Avalanche:"0x8F26A0025dcCc6Cfc07A7d38756280a10E295ad7",BaseSepolia:"0x8F26A0025dcCc6Cfc07A7d38756280a10E295ad7",Sepolia:"0x8F26A0025dcCc6Cfc07A7d38756280a10E295ad7",Solana:"9r6q2iEg4MBevjC8reaLmQUDxueF3vabUoqDkZ2LoAYe",Sui:"0x30bd9b3d5ad00f38fd0c314139ba47ccb3c78353d99880d81125ca0c370b415e"},Mainnet:{Aptos:"0x1f177e724a874ab6267172a3049291c480fc665883e6a3ac95d0909492c09dc8",Solana:"JB3rmygUVuVZzgkxvMdV8mSKLJeQAkSXEK284Dqsziah",Sui:"0xbfa1240e48c622d97881473953be730091161b7931d89bd6afe667841cf69ef4",Arbitrum:"0xF11e0efF8b11Ce382645dd75352fC16b3aB3551E",Avalanche:"0xF11e0efF8b11Ce382645dd75352fC16b3aB3551E",Base:"0xF11e0efF8b11Ce382645dd75352fC16b3aB3551E",Ethereum:"0xF11e0efF8b11Ce382645dd75352fC16b3aB3551E",Optimism:"0xF11e0efF8b11Ce382645dd75352fC16b3aB3551E",Polygon:"0xF11e0efF8b11Ce382645dd75352fC16b3aB3551E",Unichain:"0xF11e0efF8b11Ce382645dd75352fC16b3aB3551E"}};var b;(function(e){e.Pending="pending",e.Failed="failed",e.Unsupported="unsupported",e.Submitted="submitted",e.Underpaid="underpaid",e.Aborted="aborted"})(b||(b={}));async function Fe(e){const a=`${U[e]}/v0/capabilities`;try{return(await s.axios.get(a)).data}catch{throw new Error(`Failed to fetch capabilities for network: ${e}.`)}}async function Ie(e,a,t,r){const n=`${U[e]}/v0/quote`;try{return(await s.axios.post(n,{srcChain:s.toChainId(a),dstChain:s.toChainId(t),relayInstructions:r})).data}catch{throw new Error("Failed to fetch signed quote.")}}async function Z(e,a,t){const r=`${U[e]}/v0/status/tx`;try{return(await s.axios.post(r,{txHash:a,chainId:s.toChainId(t)})).data}catch{throw new Error(`Failed to fetch status for txHash: ${a}.`)}}const De=65535n;function Me(e,a){if(a>De)throw new Error("dBps exceeds max u16");if(a>0){const t=e*a/100000n,r=e-t;return{referrerFee:t,remainingAmount:r}}return{referrerFee:0n,remainingAmount:e}}function Be(e){return new Promise(a=>setTimeout(a,e))}const Te=[{name:"gasLimit",binary:"uint",size:16},{name:"msgValue",binary:"uint",size:16}],ze=[{name:"dropOff",binary:"uint",size:16},{name:"recipient",...s.universalAddressItem}],Ue=[{name:"request",binary:"switch",idSize:1,idTag:"type",layouts:[[[1,"GasInstruction"],Te],[[2,"GasDropOffInstruction"],ze]]}],Y=[{name:"requests",binary:"array",layout:Ue}];var ee;(function(e){e.ERM1="ERM1",e.ERV1="ERV1",e.ERN1="ERN1",e.ERC1="ERC1"})(ee||(ee={}));const $e={to:e=>new Date(Number(e*1000n)),from:e=>BigInt(e.getTime())/1000n},Re=[{name:"quote",binary:"switch",idSize:4,idTag:"prefix",layouts:[[[1162948657,"EQ01"],[{name:"quoterAddress",binary:"bytes",size:20},{name:"payeeAddress",binary:"bytes",size:32},{name:"srcChain",binary:"uint",size:2},{name:"dstChain",binary:"uint",size:2},{name:"expiryTime",binary:"uint",size:8,custom:$e},{name:"baseFee",binary:"uint",size:8},{name:"dstGasPrice",binary:"uint",size:8},{name:"srcPrice",binary:"uint",size:8},{name:"dstPrice",binary:"uint",size:8}]]]}],se=[...Re,{name:"signature",binary:"bytes",size:65}];class R{constructor(a,t,r,n){d(this,"network");d(this,"chain");d(this,"provider");d(this,"contracts");d(this,"usdcId");d(this,"shimContract");var c;if(this.network=a,this.chain=t,this.provider=r,this.contracts=n,a==="Devnet")throw new Error("CCTPExecutor not supported on Devnet");const i=s.usdcContract.get(this.network,this.chain);if(!i)throw new Error(`No USDC contract configured for network=${this.network} chain=${this.chain}`);this.usdcId=i;const o=(c=$[a])==null?void 0:c[t];if(!o)throw new Error(`Shim contract for ${t} not found`);this.shimContract=o}static async fromRpc(a,t){const[r,n]=await he.AptosPlatform.chainFromRpc(a),i=t[n];if(!i)throw new Error(`No config found for ${n}`);if(i.network!==r)throw new Error(`Network mismatch: ${i.network} != ${r}`);return new R(r,n,a,i.contracts)}async*transfer(a,t,r){const n=new T.AptosAddress(a).unwrap(),i=V.l.from(t.address.toUniversalAddress().toUint8Array()),o=V.l.from(this.usdcId),c=r.remainingAmount+r.referrerFee,u=s.circleChainId.get(this.network,t.chain),f=n,l=new T.AptosAddress(r.referrer.address.toString()).unwrap(),g=[c,u,i.toString(),o.toString(),r.estimatedCost,s.toChainId(t.chain),f,r.signedQuote,r.relayInstructions,r.referrerFeeDbps,l],m={function:`${this.shimContract}::cctp_v1_with_executor::deposit_for_burn_entry`,functionArguments:g};yield this.createUnsignedTx(m,"AtposCCTPExecutor.Transfer")}createUnsignedTx(a,t,r=!1){return new ge.AptosUnsignedTransaction(a,this.network,this.chain,t,r)}}P.registerProtocol(T._platform,"CCTPExecutor",R);class q{constructor(a,t,r,n){d(this,"network");d(this,"chain");d(this,"provider");d(this,"contracts");d(this,"chainId");d(this,"shimContract");var o;if(this.network=a,this.chain=t,this.provider=r,this.contracts=n,a==="Devnet")throw new Error("CCTPExecutor not supported on Devnet");this.chainId=s.networkChainToNativeChainId.get(a,t);const i=(o=$[a])==null?void 0:o[t];if(!i)throw new Error(`Shim contract for ${t} not found`);this.shimContract=i}static async fromRpc(a,t){const[r,n]=await X.EvmPlatform.chainFromRpc(a),i=t[n];if(i.network!==r)throw new Error(`Network mismatch: ${i.network} != ${r}`);return new q(r,n,a,i.contracts)}async*transfer(a,t,r){const n=new s.EvmAddress(a).toString(),i=t.address.toUniversalAddress().toUint8Array(),o=r.remainingAmount+r.referrerFee,c=s.usdcContract.get(this.network,this.chain),u=X.EvmPlatform.getTokenImplementation(this.provider,c);if(await u.allowance(n,this.shimContract)<o){const p=await u.approve.populateTransaction(this.shimContract,o);yield this.createUnsignedTx(s.addFrom(p,n),"ERC20.approve of EvmCCTPExecutor",!1)}const l=["function depositForBurn(uint256 amount, uint16 destinationChain, uint32 destinationDomain, bytes32 mintRecipient, address burnToken, (address refundAddress, bytes signedQuote, bytes instructions) executorArgs, (uint16 dbps, address payee) feeArgs) external payable returns (uint64 nonce)"],m=await new pe.Contract(this.shimContract,l,this.provider).getFunction("depositForBurn").populateTransaction(o,s.toChainId(t.chain),s.circleChainId.get(this.network,t.chain),i,c,{refundAddress:n,signedQuote:r.signedQuote,instructions:r.relayInstructions},{dbps:r.referrerFeeDbps,payee:r.referrer.address.toString()});m.value=r.estimatedCost,yield this.createUnsignedTx(s.addFrom(m,n),"EvmCCTPExecutor.depositForBurn")}createUnsignedTx(a,t,r=!1){return new Ce.EvmUnsignedTransaction(s.addChainId(a,this.chainId),this.network,this.chain,t,r)}}P.registerProtocol(s._platform,"CCTPExecutor",q);class _{constructor(a,t,r,n){d(this,"network");d(this,"chain");d(this,"provider");d(this,"contracts");d(this,"usdcId");d(this,"usdcTreasuryId");d(this,"tokenMessengerId");d(this,"tokenMessengerStateId");d(this,"messageTransmitterId");d(this,"messageTransmitterStateId");d(this,"executorId");d(this,"executorRequestsId");var f,l,g,m;if(this.network=a,this.chain=t,this.provider=r,this.contracts=n,a==="Devnet")throw new Error("CCTPExecutor not supported on Devnet");const i=(p,h)=>{if(!p)throw new Error(h);return p};this.usdcId=i(s.usdcContract.get(this.network,this.chain),`No USDC contract configured for network=${this.network} chain=${this.chain}`);const{tokenMessengerState:o,messageTransmitterState:c,usdcTreasury:u}=be.suiCircleObjects(a);this.usdcTreasuryId=u,this.tokenMessengerId=i((f=n.cctp)==null?void 0:f.tokenMessenger,`Circle Token Messenger contract for domain ${t} not found`),this.messageTransmitterId=i((l=n.cctp)==null?void 0:l.messageTransmitter,`Circle Message Transmitter contract for domain ${t} not found`),this.tokenMessengerStateId=o,this.messageTransmitterStateId=c,this.executorId=i((g=J[a])==null?void 0:g.executorId,`Executor contract for ${a} not found`),this.executorRequestsId=i((m=J[a])==null?void 0:m.executorRequestsId,`Executor requests contract for ${a} not found`)}static async fromRpc(a,t){const[r,n]=await x.SuiPlatform.chainFromRpc(a),i=t[n];if(i.network!==r)throw new Error(`Network mismatch: ${i.network} != ${r}`);return new _(r,n,a,i.contracts)}async*transfer(a,t,r){const n=new x.Transaction,i=new ne.SuiAddress(a).unwrap(),o=s.circleChainId.get(this.network,t.chain),[c,...u]=await x.SuiPlatform.getCoins(this.provider,a,this.usdcId);if(c===void 0)throw new Error("No USDC in wallet");const f=n.object(c.coinObjectId);u.length>0&&n.mergeCoins(f,u.map(C=>n.object(C.coinObjectId)));let l;if(r.referrerFee>0n){const[C,y]=n.splitCoins(f,[r.remainingAmount,r.referrerFee]);l=C,n.transferObjects([y],s.canonicalAddress(r.referrer))}else{const[C]=n.splitCoins(f,[r.remainingAmount]);l=C}const[g,m]=n.moveCall({target:`${this.tokenMessengerId}::deposit_for_burn::deposit_for_burn`,arguments:[l,n.pure.u32(o),n.pure.address(t.address.toUniversalAddress().toString()),n.object(this.tokenMessengerStateId),n.object(this.messageTransmitterStateId),n.object("0x403"),n.object(this.usdcTreasuryId)],typeArguments:[this.usdcId]}),[p]=n.moveCall({target:`${this.messageTransmitterId}::message::source_domain`,arguments:[m]}),[h]=n.moveCall({target:`${this.messageTransmitterId}::message::nonce`,arguments:[m]}),[w]=n.moveCall({target:`${this.executorRequestsId}::executor_requests::make_cctp_v1_request`,arguments:[p,h]}),[A]=n.splitCoins(n.gas,[n.pure.u64(r.estimatedCost)]);n.moveCall({target:`${this.executorId}::executor::request_execution`,arguments:[A,n.object(x.SUI_CLOCK_OBJECT_ID),n.pure.u16(s.toChainId(t.chain)),n.pure.address("0x0"),n.pure.address(i),n.pure.vector("u8",r.signedQuote),w,n.pure.vector("u8",r.relayInstructions)]}),yield this.createUnsignedTx(n,"SuiCCTPExecutor.Transfer")}createUnsignedTx(a,t,r=!1){return new we.SuiUnsignedTransaction(a,this.network,this.chain,t,r)}}P.registerProtocol(x._platform,"CCTPExecutor",_);const F=new s.PublicKey("TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA");new s.PublicKey("TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb");const N=new s.PublicKey("ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL");new s.PublicKey("So11111111111111111111111111111111111111112");new s.PublicKey("9pan9bMn5HatX4EJdBwg9VgCa7Uz5HL8N1m5D3NdXejP");class qe extends Error{constructor(a){super(a)}}class _e extends qe{constructor(){super(...arguments),this.name="TokenOwnerOffCurveError"}}var z;(function(e){e[e.InitializeMint=0]="InitializeMint",e[e.InitializeAccount=1]="InitializeAccount",e[e.InitializeMultisig=2]="InitializeMultisig",e[e.Transfer=3]="Transfer",e[e.Approve=4]="Approve",e[e.Revoke=5]="Revoke",e[e.SetAuthority=6]="SetAuthority",e[e.MintTo=7]="MintTo",e[e.Burn=8]="Burn",e[e.CloseAccount=9]="CloseAccount",e[e.FreezeAccount=10]="FreezeAccount",e[e.ThawAccount=11]="ThawAccount",e[e.TransferChecked=12]="TransferChecked",e[e.ApproveChecked=13]="ApproveChecked",e[e.MintToChecked=14]="MintToChecked",e[e.BurnChecked=15]="BurnChecked",e[e.InitializeAccount2=16]="InitializeAccount2",e[e.SyncNative=17]="SyncNative",e[e.InitializeAccount3=18]="InitializeAccount3",e[e.InitializeMultisig2=19]="InitializeMultisig2",e[e.InitializeMint2=20]="InitializeMint2",e[e.GetAccountDataSize=21]="GetAccountDataSize",e[e.InitializeImmutableOwner=22]="InitializeImmutableOwner",e[e.AmountToUiAmount=23]="AmountToUiAmount",e[e.UiAmountToAmount=24]="UiAmountToAmount",e[e.InitializeMintCloseAuthority=25]="InitializeMintCloseAuthority",e[e.TransferFeeExtension=26]="TransferFeeExtension",e[e.ConfidentialTransferExtension=27]="ConfidentialTransferExtension",e[e.DefaultAccountStateExtension=28]="DefaultAccountStateExtension",e[e.Reallocate=29]="Reallocate",e[e.MemoTransferExtension=30]="MemoTransferExtension",e[e.CreateNativeMint=31]="CreateNativeMint",e[e.InitializeNonTransferableMint=32]="InitializeNonTransferableMint",e[e.InterestBearingMintExtension=33]="InterestBearingMintExtension",e[e.CpiGuardExtension=34]="CpiGuardExtension",e[e.InitializePermanentDelegate=35]="InitializePermanentDelegate",e[e.TransferHookExtension=36]="TransferHookExtension",e[e.MetadataPointerExtension=39]="MetadataPointerExtension"})(z||(z={}));function Ne(e,a,t){if(t.length){e.push({pubkey:a,isSigner:!1,isWritable:!1});for(const r of t)e.push({pubkey:r instanceof s.PublicKey?r:r.publicKey,isSigner:!0,isWritable:!1})}else e.push({pubkey:a,isSigner:!0,isWritable:!1});return e}const ke=s.struct([s.u32("mintAuthorityOption"),E.publicKey("mintAuthority"),E.u64("supply"),s.u8("decimals"),E.bool("isInitialized"),s.u32("freezeAuthorityOption"),E.publicKey("freezeAuthority")]);ke.span;function te(e,a,t=!1,r=F,n=N){if(!t&&!s.PublicKey.isOnCurve(a.toBuffer()))throw new _e;const[i]=s.PublicKey.findProgramAddressSync([a.toBuffer(),r.toBuffer(),e.toBuffer()],n);return i}function Oe(e,a,t,r,n=F,i=N){return Ge(e,a,t,r,s.dist.Buffer.from([1]),n,i)}function Ge(e,a,t,r,n,i=F,o=N){const c=[{pubkey:e,isSigner:!0,isWritable:!0},{pubkey:a,isSigner:!1,isWritable:!0},{pubkey:t,isSigner:!1,isWritable:!1},{pubkey:r,isSigner:!1,isWritable:!1},{pubkey:s.SystemProgram.programId,isSigner:!1,isWritable:!1},{pubkey:i,isSigner:!1,isWritable:!1}];return new s.TransactionInstruction({keys:c,programId:o,data:n})}const re=s.struct([s.u8("instruction"),E.u64("amount")]);function Le(e,a,t,r,n=[],i=F){const o=Ne([{pubkey:e,isSigner:!1,isWritable:!0},{pubkey:a,isSigner:!1,isWritable:!0}],t,n),c=s.dist.Buffer.alloc(re.span);return re.encode({instruction:z.Transfer,amount:BigInt(r)},c),new s.TransactionInstruction({keys:o,programId:i,data:c})}const Qe={version:"0.1.0",name:"example_cctp_with_executor",instructions:[{name:"relayLastMessage",accounts:[{name:"payer",isMut:!0,isSigner:!0},{name:"payee",isMut:!0,isSigner:!1},{name:"messageTransmitter",isMut:!1,isSigner:!1},{name:"executorProgram",isMut:!1,isSigner:!1},{name:"systemProgram",isMut:!1,isSigner:!1}],args:[{name:"args",type:{defined:"relayLastMessageArgs"}}]}],types:[{name:"relayLastMessageArgs",type:{kind:"struct",fields:[{name:"recipientChain",type:"u16"},{name:"execAmount",type:"u64"},{name:"signedQuoteBytes",type:"bytes"},{name:"relayInstructions",type:"bytes"}]}}]};class k{constructor(a,t,r,n){d(this,"network");d(this,"chain");d(this,"connection");d(this,"contracts");d(this,"tokenMessengerProgramId");d(this,"messageTransmitterProgramId");d(this,"shimProgramId");d(this,"executorProgramId");var o,c,u;if(this.network=a,this.chain=t,this.connection=r,this.contracts=n,a==="Devnet")throw new Error("CCTPExecutor not supported on Devnet");const i=(f,l)=>{if(!f)throw new Error(l);return new s.PublicKey(f)};this.tokenMessengerProgramId=i((o=n.cctp)==null?void 0:o.tokenMessenger,`Circle Token Messenger contract for domain ${t} not found`),this.messageTransmitterProgramId=i((c=n.cctp)==null?void 0:c.messageTransmitter,`Circle Message Transmitter contract for domain ${t} not found`),this.shimProgramId=i((u=$[a])==null?void 0:u[t],`Shim contract for ${t} not found`),this.executorProgramId=i(Ee[a],`Executor contract for ${a} not found`)}static async fromRpc(a,t){const[r,n]=await H.SolanaPlatform.chainFromRpc(a),i=t[n];if(i.network!==r)throw new Error(`Network mismatch: ${i.network} != ${r}`);return new k(r,n,a,i.contracts)}async*transfer(a,t,r){const n=new s.PublicKey(s.usdcContract.get(this.network,this.chain)),i=new s.SolanaAddress(a).unwrap(),o=te(n,i),c=new s.SolanaAddress(r.referrer.address).unwrap(),u=new s.Transaction;if(u.feePayer=i,r.referrerFee>0n){const w=te(n,c,!0);await this.connection.getAccountInfo(w)||u.add(Oe(i,w,c,n)),u.add(Le(o,w,i,r.referrerFee))}const f=s.circleChainId.get(this.network,t.chain),l=t.address.toUniversalAddress(),g=s.Keypair.generate();u.add(await Ae.createDepositForBurnInstruction(this.messageTransmitterProgramId,this.tokenMessengerProgramId,n,f,i,o,l,r.remainingAmount,g.publicKey));const m=new ye.Program(Qe,this.shimProgramId,{connection:null}),p=s.deserialize$1(se,r.signedQuote),h=xe.deriveAddress("message_transmitter",this.messageTransmitterProgramId);u.add(await m.methods.relayLastMessage({execAmount:new s.BN(r.estimatedCost.toString()),recipientChain:s.toChainId(t.chain),signedQuoteBytes:s.dist.Buffer.from(r.signedQuote),relayInstructions:s.dist.Buffer.from(r.relayInstructions)}).accounts({payer:i,messageTransmitter:h,payee:new s.PublicKey(p.quote.payeeAddress),executorProgram:this.executorProgramId}).instruction()),yield this.createUnsignedTx({transaction:u,signers:[g]},"SvmCCTPExecutor.Transfer")}createUnsignedTx(a,t,r=!1){return new H.SolanaUnsignedTransaction(a,this.network,this.chain,t,r)}}P.registerProtocol(s._platform$1,"CCTPExecutor",k);let S;function Ke(e={referrerFeeDbps:0n}){if(e.referrerFeeDbps<0||e.referrerFeeDbps>65535n)throw new Error("Referrer fee must be between 0 and 65535");class a extends v{}return d(a,"config",e),a}class v extends s.AutomaticRoute{constructor(){super(...arguments);d(this,"staticConfig",this.constructor.config)}static supportedNetworks(){return["Mainnet","Testnet"]}static supportedChains(t){return s.circleContractChains.has(t)?s.circleContractChains.get(t):[]}static async supportedDestinationTokens(t,r,n){const i=s.usdcContract.get(r.network,r.chain);if(!(i&&s.isSameToken(t,s.Wormhole.tokenId(r.chain,i))))return[];const{network:o,chain:c}=n;return s.usdcContract.has(o,c)?[s.Wormhole.chainAddress(c,s.usdcContract.get(o,c))]:[]}getDefaultOptions(){return{nativeGas:0}}async validate(t,r){var i;return(i=r.options)!=null&&i.nativeGas&&(r.options.nativeGas<0||r.options.nativeGas>1)?{valid:!1,error:new Error("Invalid native gas percentage"),params:r}:{valid:!0,params:{normalizedParams:{amount:t.parseAmount(r.amount)},options:r.options??this.getDefaultOptions(),...r}}}async quote(t,r){var K,W;const{fromChain:n,toChain:i}=t;if(!s.usdcContract.get(n.network,n.chain))throw new Error("Invalid transfer, no USDC contract on source");const c=s.usdcContract.get(i.network,i.chain);if(!c)throw new Error("Invalid transfer, no USDC contract on destination");const u=(K=Pe[n.network])==null?void 0:K[n.chain];if(!u)return{success:!1,error:new Error("No referrer address found")};const f=s.Wormhole.chainAddress(n.chain,u),l=this.staticConfig.referrerFeeDbps,{referrerFee:g,remainingAmount:m}=Me(s.units(r.normalizedParams.amount),this.staticConfig.referrerFeeDbps);if(m<=0n)return{success:!1,error:new Error("Amount after fee <= 0")};const p=(W=ve[n.network])==null?void 0:W[i.chain];if(!p)return{success:!1,error:new Error("Gas limit not found")};const h=await Fe(n.network);if(!h[s.toChainId(n.chain)])return{success:!1,error:new Error("Unsupported source chain")};const A=h[s.toChainId(i.chain)];if(!A||!A.requestPrefixes.includes("ERC1"))return{success:!1,error:new Error("Unsupported destination chain")};const{recipient:C}=t;let y=!0;if(C&&i.chain==="Solana"){const ue=s.Wormhole.parseAddress("Solana",c),fe=await i.getTokenAccount(C.address,ue),j=await i.getRpc();y=await j.getAccountInfo(new s.SolanaAddress(fe.address).unwrap())!==null,!y&&!S&&(S=BigInt(await j.getMinimumBalanceForRentExemption(165)))}let I=0n;i.chain==="Solana"&&(I+=Se,!y&&S&&(I+=S));const D=[];D.push({request:{type:"GasInstruction",gasLimit:p,msgValue:I}});const O=BigInt(A.gasDropOffLimit),M=r.options.nativeGas&&O>0n?BigInt(Math.round(r.options.nativeGas*100))*O/100n:0n;(M>0n||!y)&&D.push({request:{type:"GasDropOffInstruction",dropOff:M,recipient:C?C.address.toUniversalAddress():new s.UniversalAddress(new Uint8Array(32))}});const G=s.serialize$1(Y,{requests:D}),B=await Ie(n.network,n.chain,i.chain,s.hex.encode(G,!0));if(!B.estimatedCost)return{success:!1,error:new Error("No estimated cost")};const L=s.hex.decode(B.signedQuote),ae=s.deserialize$1(se,L),ie=n.chain==="Polygon"?2e3*200:s.estimateFinalityTime(n.chain)+1e3,Q=BigInt(B.estimatedCost),oe={signedQuote:L,relayInstructions:G,estimatedCost:Q,referrer:f,referrerFee:g,remainingAmount:m,referrerFeeDbps:l},[ce,de]=await Promise.all([n.getDecimals("native"),i.getDecimals("native")]);return{success:!0,params:r,sourceToken:{token:t.source.id,amount:r.normalizedParams.amount},destinationToken:{token:t.destination.id,amount:s.fromBaseUnits(m,t.destination.decimals)},relayFee:{token:s.nativeTokenId(n.chain),amount:s.fromBaseUnits(Q,ce)},destinationNativeGas:s.fromBaseUnits(M,de),eta:ie,expires:ae.quote.expiryTime,details:oe}}async initiate(t,r,n,i){if(!n.details)throw new Error("Missing quote details");s.deserialize$1(Y,n.details.relayInstructions).requests.forEach(({request:h})=>{if(h.type==="GasDropOffInstruction"&&!h.recipient.equals(i.address.toUniversalAddress()))throw new Error("Gas drop-off recipient does not match")});const c=await t.fromChain.getProtocol("CCTPExecutor"),u=s.Wormhole.parseAddress(r.chain(),r.address());let f=i;if(i.chain==="Solana"){const h=s.Wormhole.parseAddress("Solana",s.usdcContract.get(t.toChain.network,t.toChain.chain));f=await t.toChain.getTokenAccount(i.address,h)}const l=await c.transfer(u,f,n.details),g=await s.signSendWait(t.fromChain,l,r);let m=0;return(async()=>{for(;m<20;){try{const[h]=await Z(this.wh.network,g.at(-1).txid,t.fromChain.chain);if(h)break}catch{}m++,await Be(2e3)}})(),{from:t.fromChain.chain,to:t.toChain.chain,state:s.TransferState.SourceInitiated,originTxs:g}}async*track(t,r){if(s.isCompleted(t)||s.isFailed(t))return t;let n=r||60*60*1e3;for(;n>0;){const i=Date.now();if(s.isSourceInitiated(t)||s.isSourceFinalized(t)||s.isAttested(t))try{const[o]=await Z(this.wh.network,t.originTxs.at(-1).txid,t.from);if(!o)throw new Error("No transaction status found");const c=o==null?void 0:o.status;if((c===b.Failed||c===b.Underpaid||c===b.Unsupported||c===b.Aborted)&&(t={...t,state:s.TransferState.Failed,error:new ne.RelayFailedError(`Relay failed with status: ${c}`)}),c===b.Submitted&&(t={...t,state:s.TransferState.DestinationFinalized,attestation:{id:o.id,attestation:{}}}),yield t,s.isCompleted(t)||s.isFailed(t))return t}catch(o){console.error(`Error fetching transaction status: ${o.message||o}`)}await new Promise(o=>setTimeout(o,3e3)),n-=Date.now()-i}return t}}d(v,"NATIVE_GAS_DROPOFF_SUPPORTED",!0),d(v,"config",{referrerFeeDbps:0n}),d(v,"meta",{name:"CCTPExecutorRoute",provider:"Circle"});exports.cctpExecutorRoute=Ke;
1
+ "use strict";var me=Object.defineProperty;var le=(e,a,t)=>a in e?me(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t;var d=(e,a,t)=>le(e,typeof a!="symbol"?a+"":a,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./address-CSWlEusF.js"),P=require("./chain-DTh9H2Cq.js"),V=require("./chunk-KJH4KKG6-DOESg_ru.js"),he=require("./platform-C7YwgvxU.js"),T=require("./address-DGYJWkFz.js"),ge=require("./unsignedTransaction-C1YeEl4G.js"),X=require("./platform-DbvllBcy.js"),pe=require("./contract-DYtnmT6F.js"),Ce=require("./unsignedTransaction-B7AZXsTD.js"),x=require("./platform-CgqczEeE.js"),be=require("./index-CFikcYS0.js"),ne=require("./address-DfgK_jn7.js"),we=require("./unsignedTransaction-DzSLsK-p.js"),Ae=require("./index-aoDDl5Bh.js"),ye=require("./index-Csb-_vqa.js"),E=require("./web3-IDpqtkwB.js"),H=require("./unsignedTransaction-3gDumn1W.js"),xe=require("./account-gVjkECaX.js"),U={Testnet:"https://executor-testnet.labsapis.com",Mainnet:"https://executor.labsapis.com"},$={Testnet:{Aptos:"0x14a12d1fd6ef371b70c2113155534ec152ec7f779e281b54866c796c9a4a58d3",Avalanche:"0x2cfEC91B50f657Cc86Ec693542527ac3e03bF742",BaseSepolia:"0x4983C6bD3bB7DA9EECe71cfa7AE4C67CAbf362F0",Sepolia:"0x0F78904c750801391EbBf308181e9d6fc892B0f3",Solana:"CXGRA5SCc8jxDbaQPZrmmZNu2JV34DP7gFW4m31uC1zs"},Mainnet:{Aptos:"0x9f5ad7d5c2d067ca4abb6d8d6aba44c15596b71a1def8eb4596089b527bb2eb1",Arbitrum:"0x55Dd4466BFec29527C54A72fd306efb54e5F7027",Avalanche:"0xd331819478b74d8a7B8EA631118B4a4e50F6EbD1",Base:"0x08FEB1838C3d7F8509DA1EBb9a11a94c1f006cb2",Ethereum:"0xeEFb36c4458dA7798742cf038C5c27E07aB9c51E",Optimism:"0xBC6f9d1CBa49DB365728478cefa02F6743617637",Polygon:"0x007995f2AEcfBC745f20a7AE8D3a02c0EbF46264",Unichain:"0xA7aBDb8f2108901c586543BD5e10E4fA263F4A47",Solana:"CXGRA5SCc8jxDbaQPZrmmZNu2JV34DP7gFW4m31uC1zs"}},J={Testnet:{executorId:"0x4000cfe2955d8355b3d3cf186f854fea9f787a457257056926fde1ec977670eb",executorRequestsId:"0x2d9ccf3cce3f7dce408e5455e90b80a8161ad9673d1366c2a5def60ad93657a8"},Mainnet:{executorId:"0xdb0fe8bb1e2b5be628adbea0636063325073e1070ee11e4281457dfd7f158235",executorRequestsId:"0xc030df7a3eed1494fa4b64aa8ab63a79041cf1114f4ff2b7ab5aca1c684a21a7"}},Ee={Testnet:"execXUrAsMnqMmTHj5m7N1YQgsDz3cwGLYCYyuDRciV",Mainnet:"execXUrAsMnqMmTHj5m7N1YQgsDz3cwGLYCYyuDRciV"},Se=5001n,ve={Testnet:{Aptos:5000n,Avalanche:200000n,BaseSepolia:200000n,Sepolia:200000n,Solana:250000n,Sui:8000000n},Mainnet:{Aptos:5000n,Arbitrum:500000n,Avalanche:250000n,Base:250000n,Ethereum:250000n,Optimism:250000n,Polygon:250000n,Unichain:250000n,Solana:250000n,Sui:8000000n}},Pe={Testnet:{Aptos:"0x23b54f6e29bba7f4123d088f4cfcd83f5e23a049de15895b119ce5a6cb5faa91",Avalanche:"0x8F26A0025dcCc6Cfc07A7d38756280a10E295ad7",BaseSepolia:"0x8F26A0025dcCc6Cfc07A7d38756280a10E295ad7",Sepolia:"0x8F26A0025dcCc6Cfc07A7d38756280a10E295ad7",Solana:"9r6q2iEg4MBevjC8reaLmQUDxueF3vabUoqDkZ2LoAYe",Sui:"0x30bd9b3d5ad00f38fd0c314139ba47ccb3c78353d99880d81125ca0c370b415e"},Mainnet:{Aptos:"0x1f177e724a874ab6267172a3049291c480fc665883e6a3ac95d0909492c09dc8",Solana:"JB3rmygUVuVZzgkxvMdV8mSKLJeQAkSXEK284Dqsziah",Sui:"0xbfa1240e48c622d97881473953be730091161b7931d89bd6afe667841cf69ef4",Arbitrum:"0xF11e0efF8b11Ce382645dd75352fC16b3aB3551E",Avalanche:"0xF11e0efF8b11Ce382645dd75352fC16b3aB3551E",Base:"0xF11e0efF8b11Ce382645dd75352fC16b3aB3551E",Ethereum:"0xF11e0efF8b11Ce382645dd75352fC16b3aB3551E",Optimism:"0xF11e0efF8b11Ce382645dd75352fC16b3aB3551E",Polygon:"0xF11e0efF8b11Ce382645dd75352fC16b3aB3551E",Unichain:"0xF11e0efF8b11Ce382645dd75352fC16b3aB3551E"}};var b;(function(e){e.Pending="pending",e.Failed="failed",e.Unsupported="unsupported",e.Submitted="submitted",e.Underpaid="underpaid",e.Aborted="aborted"})(b||(b={}));async function Fe(e){const a=`${U[e]}/v0/capabilities`;try{return(await s.axios.get(a)).data}catch{throw new Error(`Failed to fetch capabilities for network: ${e}.`)}}async function Ie(e,a,t,r){const n=`${U[e]}/v0/quote`;try{return(await s.axios.post(n,{srcChain:s.toChainId(a),dstChain:s.toChainId(t),relayInstructions:r})).data}catch{throw new Error("Failed to fetch signed quote.")}}async function Z(e,a,t){const r=`${U[e]}/v0/status/tx`;try{return(await s.axios.post(r,{txHash:a,chainId:s.toChainId(t)})).data}catch{throw new Error(`Failed to fetch status for txHash: ${a}.`)}}const De=65535n;function Me(e,a){if(a>De)throw new Error("dBps exceeds max u16");if(a>0){const t=e*a/100000n,r=e-t;return{referrerFee:t,remainingAmount:r}}return{referrerFee:0n,remainingAmount:e}}function Be(e){return new Promise(a=>setTimeout(a,e))}const Te=[{name:"gasLimit",binary:"uint",size:16},{name:"msgValue",binary:"uint",size:16}],ze=[{name:"dropOff",binary:"uint",size:16},{name:"recipient",...s.universalAddressItem}],Ue=[{name:"request",binary:"switch",idSize:1,idTag:"type",layouts:[[[1,"GasInstruction"],Te],[[2,"GasDropOffInstruction"],ze]]}],Y=[{name:"requests",binary:"array",layout:Ue}];var ee;(function(e){e.ERM1="ERM1",e.ERV1="ERV1",e.ERN1="ERN1",e.ERC1="ERC1"})(ee||(ee={}));const $e={to:e=>new Date(Number(e*1000n)),from:e=>BigInt(e.getTime())/1000n},Re=[{name:"quote",binary:"switch",idSize:4,idTag:"prefix",layouts:[[[1162948657,"EQ01"],[{name:"quoterAddress",binary:"bytes",size:20},{name:"payeeAddress",binary:"bytes",size:32},{name:"srcChain",binary:"uint",size:2},{name:"dstChain",binary:"uint",size:2},{name:"expiryTime",binary:"uint",size:8,custom:$e},{name:"baseFee",binary:"uint",size:8},{name:"dstGasPrice",binary:"uint",size:8},{name:"srcPrice",binary:"uint",size:8},{name:"dstPrice",binary:"uint",size:8}]]]}],se=[...Re,{name:"signature",binary:"bytes",size:65}];class R{constructor(a,t,r,n){d(this,"network");d(this,"chain");d(this,"provider");d(this,"contracts");d(this,"usdcId");d(this,"shimContract");var c;if(this.network=a,this.chain=t,this.provider=r,this.contracts=n,a==="Devnet")throw new Error("CCTPExecutor not supported on Devnet");const i=s.usdcContract.get(this.network,this.chain);if(!i)throw new Error(`No USDC contract configured for network=${this.network} chain=${this.chain}`);this.usdcId=i;const o=(c=$[a])==null?void 0:c[t];if(!o)throw new Error(`Shim contract for ${t} not found`);this.shimContract=o}static async fromRpc(a,t){const[r,n]=await he.AptosPlatform.chainFromRpc(a),i=t[n];if(!i)throw new Error(`No config found for ${n}`);if(i.network!==r)throw new Error(`Network mismatch: ${i.network} != ${r}`);return new R(r,n,a,i.contracts)}async*transfer(a,t,r){const n=new T.AptosAddress(a).unwrap(),i=V.l.from(t.address.toUniversalAddress().toUint8Array()),o=V.l.from(this.usdcId),c=r.remainingAmount+r.referrerFee,u=s.circleChainId.get(this.network,t.chain),f=n,l=new T.AptosAddress(r.referrer.address.toString()).unwrap(),g=[c,u,i.toString(),o.toString(),r.estimatedCost,s.toChainId(t.chain),f,r.signedQuote,r.relayInstructions,r.referrerFeeDbps,l],m={function:`${this.shimContract}::cctp_v1_with_executor::deposit_for_burn_entry`,functionArguments:g};yield this.createUnsignedTx(m,"AtposCCTPExecutor.Transfer")}createUnsignedTx(a,t,r=!1){return new ge.AptosUnsignedTransaction(a,this.network,this.chain,t,r)}}P.registerProtocol(T._platform,"CCTPExecutor",R);class q{constructor(a,t,r,n){d(this,"network");d(this,"chain");d(this,"provider");d(this,"contracts");d(this,"chainId");d(this,"shimContract");var o;if(this.network=a,this.chain=t,this.provider=r,this.contracts=n,a==="Devnet")throw new Error("CCTPExecutor not supported on Devnet");this.chainId=s.networkChainToNativeChainId.get(a,t);const i=(o=$[a])==null?void 0:o[t];if(!i)throw new Error(`Shim contract for ${t} not found`);this.shimContract=i}static async fromRpc(a,t){const[r,n]=await X.EvmPlatform.chainFromRpc(a),i=t[n];if(i.network!==r)throw new Error(`Network mismatch: ${i.network} != ${r}`);return new q(r,n,a,i.contracts)}async*transfer(a,t,r){const n=new s.EvmAddress(a).toString(),i=t.address.toUniversalAddress().toUint8Array(),o=r.remainingAmount+r.referrerFee,c=s.usdcContract.get(this.network,this.chain),u=X.EvmPlatform.getTokenImplementation(this.provider,c);if(await u.allowance(n,this.shimContract)<o){const p=await u.approve.populateTransaction(this.shimContract,o);yield this.createUnsignedTx(s.addFrom(p,n),"ERC20.approve of EvmCCTPExecutor",!1)}const l=["function depositForBurn(uint256 amount, uint16 destinationChain, uint32 destinationDomain, bytes32 mintRecipient, address burnToken, (address refundAddress, bytes signedQuote, bytes instructions) executorArgs, (uint16 dbps, address payee) feeArgs) external payable returns (uint64 nonce)"],m=await new pe.Contract(this.shimContract,l,this.provider).getFunction("depositForBurn").populateTransaction(o,s.toChainId(t.chain),s.circleChainId.get(this.network,t.chain),i,c,{refundAddress:n,signedQuote:r.signedQuote,instructions:r.relayInstructions},{dbps:r.referrerFeeDbps,payee:r.referrer.address.toString()});m.value=r.estimatedCost,yield this.createUnsignedTx(s.addFrom(m,n),"EvmCCTPExecutor.depositForBurn")}createUnsignedTx(a,t,r=!1){return new Ce.EvmUnsignedTransaction(s.addChainId(a,this.chainId),this.network,this.chain,t,r)}}P.registerProtocol(s._platform,"CCTPExecutor",q);class _{constructor(a,t,r,n){d(this,"network");d(this,"chain");d(this,"provider");d(this,"contracts");d(this,"usdcId");d(this,"usdcTreasuryId");d(this,"tokenMessengerId");d(this,"tokenMessengerStateId");d(this,"messageTransmitterId");d(this,"messageTransmitterStateId");d(this,"executorId");d(this,"executorRequestsId");var f,l,g,m;if(this.network=a,this.chain=t,this.provider=r,this.contracts=n,a==="Devnet")throw new Error("CCTPExecutor not supported on Devnet");const i=(p,h)=>{if(!p)throw new Error(h);return p};this.usdcId=i(s.usdcContract.get(this.network,this.chain),`No USDC contract configured for network=${this.network} chain=${this.chain}`);const{tokenMessengerState:o,messageTransmitterState:c,usdcTreasury:u}=be.suiCircleObjects(a);this.usdcTreasuryId=u,this.tokenMessengerId=i((f=n.cctp)==null?void 0:f.tokenMessenger,`Circle Token Messenger contract for domain ${t} not found`),this.messageTransmitterId=i((l=n.cctp)==null?void 0:l.messageTransmitter,`Circle Message Transmitter contract for domain ${t} not found`),this.tokenMessengerStateId=o,this.messageTransmitterStateId=c,this.executorId=i((g=J[a])==null?void 0:g.executorId,`Executor contract for ${a} not found`),this.executorRequestsId=i((m=J[a])==null?void 0:m.executorRequestsId,`Executor requests contract for ${a} not found`)}static async fromRpc(a,t){const[r,n]=await x.SuiPlatform.chainFromRpc(a),i=t[n];if(i.network!==r)throw new Error(`Network mismatch: ${i.network} != ${r}`);return new _(r,n,a,i.contracts)}async*transfer(a,t,r){const n=new x.Transaction,i=new ne.SuiAddress(a).unwrap(),o=s.circleChainId.get(this.network,t.chain),[c,...u]=await x.SuiPlatform.getCoins(this.provider,a,this.usdcId);if(c===void 0)throw new Error("No USDC in wallet");const f=n.object(c.coinObjectId);u.length>0&&n.mergeCoins(f,u.map(C=>n.object(C.coinObjectId)));let l;if(r.referrerFee>0n){const[C,y]=n.splitCoins(f,[r.remainingAmount,r.referrerFee]);l=C,n.transferObjects([y],s.canonicalAddress(r.referrer))}else{const[C]=n.splitCoins(f,[r.remainingAmount]);l=C}const[g,m]=n.moveCall({target:`${this.tokenMessengerId}::deposit_for_burn::deposit_for_burn`,arguments:[l,n.pure.u32(o),n.pure.address(t.address.toUniversalAddress().toString()),n.object(this.tokenMessengerStateId),n.object(this.messageTransmitterStateId),n.object("0x403"),n.object(this.usdcTreasuryId)],typeArguments:[this.usdcId]}),[p]=n.moveCall({target:`${this.messageTransmitterId}::message::source_domain`,arguments:[m]}),[h]=n.moveCall({target:`${this.messageTransmitterId}::message::nonce`,arguments:[m]}),[w]=n.moveCall({target:`${this.executorRequestsId}::executor_requests::make_cctp_v1_request`,arguments:[p,h]}),[A]=n.splitCoins(n.gas,[n.pure.u64(r.estimatedCost)]);n.moveCall({target:`${this.executorId}::executor::request_execution`,arguments:[A,n.object(x.SUI_CLOCK_OBJECT_ID),n.pure.u16(s.toChainId(t.chain)),n.pure.address("0x0"),n.pure.address(i),n.pure.vector("u8",r.signedQuote),w,n.pure.vector("u8",r.relayInstructions)]}),yield this.createUnsignedTx(n,"SuiCCTPExecutor.Transfer")}createUnsignedTx(a,t,r=!1){return new we.SuiUnsignedTransaction(a,this.network,this.chain,t,r)}}P.registerProtocol(x._platform,"CCTPExecutor",_);const F=new s.PublicKey("TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA");new s.PublicKey("TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb");const N=new s.PublicKey("ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL");new s.PublicKey("So11111111111111111111111111111111111111112");new s.PublicKey("9pan9bMn5HatX4EJdBwg9VgCa7Uz5HL8N1m5D3NdXejP");class qe extends Error{constructor(a){super(a)}}class _e extends qe{constructor(){super(...arguments),this.name="TokenOwnerOffCurveError"}}var z;(function(e){e[e.InitializeMint=0]="InitializeMint",e[e.InitializeAccount=1]="InitializeAccount",e[e.InitializeMultisig=2]="InitializeMultisig",e[e.Transfer=3]="Transfer",e[e.Approve=4]="Approve",e[e.Revoke=5]="Revoke",e[e.SetAuthority=6]="SetAuthority",e[e.MintTo=7]="MintTo",e[e.Burn=8]="Burn",e[e.CloseAccount=9]="CloseAccount",e[e.FreezeAccount=10]="FreezeAccount",e[e.ThawAccount=11]="ThawAccount",e[e.TransferChecked=12]="TransferChecked",e[e.ApproveChecked=13]="ApproveChecked",e[e.MintToChecked=14]="MintToChecked",e[e.BurnChecked=15]="BurnChecked",e[e.InitializeAccount2=16]="InitializeAccount2",e[e.SyncNative=17]="SyncNative",e[e.InitializeAccount3=18]="InitializeAccount3",e[e.InitializeMultisig2=19]="InitializeMultisig2",e[e.InitializeMint2=20]="InitializeMint2",e[e.GetAccountDataSize=21]="GetAccountDataSize",e[e.InitializeImmutableOwner=22]="InitializeImmutableOwner",e[e.AmountToUiAmount=23]="AmountToUiAmount",e[e.UiAmountToAmount=24]="UiAmountToAmount",e[e.InitializeMintCloseAuthority=25]="InitializeMintCloseAuthority",e[e.TransferFeeExtension=26]="TransferFeeExtension",e[e.ConfidentialTransferExtension=27]="ConfidentialTransferExtension",e[e.DefaultAccountStateExtension=28]="DefaultAccountStateExtension",e[e.Reallocate=29]="Reallocate",e[e.MemoTransferExtension=30]="MemoTransferExtension",e[e.CreateNativeMint=31]="CreateNativeMint",e[e.InitializeNonTransferableMint=32]="InitializeNonTransferableMint",e[e.InterestBearingMintExtension=33]="InterestBearingMintExtension",e[e.CpiGuardExtension=34]="CpiGuardExtension",e[e.InitializePermanentDelegate=35]="InitializePermanentDelegate",e[e.TransferHookExtension=36]="TransferHookExtension",e[e.MetadataPointerExtension=39]="MetadataPointerExtension"})(z||(z={}));function Ne(e,a,t){if(t.length){e.push({pubkey:a,isSigner:!1,isWritable:!1});for(const r of t)e.push({pubkey:r instanceof s.PublicKey?r:r.publicKey,isSigner:!0,isWritable:!1})}else e.push({pubkey:a,isSigner:!0,isWritable:!1});return e}const ke=s.struct([s.u32("mintAuthorityOption"),E.publicKey("mintAuthority"),E.u64("supply"),s.u8("decimals"),E.bool("isInitialized"),s.u32("freezeAuthorityOption"),E.publicKey("freezeAuthority")]);ke.span;function te(e,a,t=!1,r=F,n=N){if(!t&&!s.PublicKey.isOnCurve(a.toBuffer()))throw new _e;const[i]=s.PublicKey.findProgramAddressSync([a.toBuffer(),r.toBuffer(),e.toBuffer()],n);return i}function Oe(e,a,t,r,n=F,i=N){return Ge(e,a,t,r,s.dist.Buffer.from([1]),n,i)}function Ge(e,a,t,r,n,i=F,o=N){const c=[{pubkey:e,isSigner:!0,isWritable:!0},{pubkey:a,isSigner:!1,isWritable:!0},{pubkey:t,isSigner:!1,isWritable:!1},{pubkey:r,isSigner:!1,isWritable:!1},{pubkey:s.SystemProgram.programId,isSigner:!1,isWritable:!1},{pubkey:i,isSigner:!1,isWritable:!1}];return new s.TransactionInstruction({keys:c,programId:o,data:n})}const re=s.struct([s.u8("instruction"),E.u64("amount")]);function Le(e,a,t,r,n=[],i=F){const o=Ne([{pubkey:e,isSigner:!1,isWritable:!0},{pubkey:a,isSigner:!1,isWritable:!0}],t,n),c=s.dist.Buffer.alloc(re.span);return re.encode({instruction:z.Transfer,amount:BigInt(r)},c),new s.TransactionInstruction({keys:o,programId:i,data:c})}const Qe={version:"0.1.0",name:"example_cctp_with_executor",instructions:[{name:"relayLastMessage",accounts:[{name:"payer",isMut:!0,isSigner:!0},{name:"payee",isMut:!0,isSigner:!1},{name:"messageTransmitter",isMut:!1,isSigner:!1},{name:"executorProgram",isMut:!1,isSigner:!1},{name:"systemProgram",isMut:!1,isSigner:!1}],args:[{name:"args",type:{defined:"relayLastMessageArgs"}}]}],types:[{name:"relayLastMessageArgs",type:{kind:"struct",fields:[{name:"recipientChain",type:"u16"},{name:"execAmount",type:"u64"},{name:"signedQuoteBytes",type:"bytes"},{name:"relayInstructions",type:"bytes"}]}}]};class k{constructor(a,t,r,n){d(this,"network");d(this,"chain");d(this,"connection");d(this,"contracts");d(this,"tokenMessengerProgramId");d(this,"messageTransmitterProgramId");d(this,"shimProgramId");d(this,"executorProgramId");var o,c,u;if(this.network=a,this.chain=t,this.connection=r,this.contracts=n,a==="Devnet")throw new Error("CCTPExecutor not supported on Devnet");const i=(f,l)=>{if(!f)throw new Error(l);return new s.PublicKey(f)};this.tokenMessengerProgramId=i((o=n.cctp)==null?void 0:o.tokenMessenger,`Circle Token Messenger contract for domain ${t} not found`),this.messageTransmitterProgramId=i((c=n.cctp)==null?void 0:c.messageTransmitter,`Circle Message Transmitter contract for domain ${t} not found`),this.shimProgramId=i((u=$[a])==null?void 0:u[t],`Shim contract for ${t} not found`),this.executorProgramId=i(Ee[a],`Executor contract for ${a} not found`)}static async fromRpc(a,t){const[r,n]=await H.SolanaPlatform.chainFromRpc(a),i=t[n];if(i.network!==r)throw new Error(`Network mismatch: ${i.network} != ${r}`);return new k(r,n,a,i.contracts)}async*transfer(a,t,r){const n=new s.PublicKey(s.usdcContract.get(this.network,this.chain)),i=new s.SolanaAddress(a).unwrap(),o=te(n,i),c=new s.SolanaAddress(r.referrer.address).unwrap(),u=new s.Transaction;if(u.feePayer=i,r.referrerFee>0n){const w=te(n,c,!0);await this.connection.getAccountInfo(w)||u.add(Oe(i,w,c,n)),u.add(Le(o,w,i,r.referrerFee))}const f=s.circleChainId.get(this.network,t.chain),l=t.address.toUniversalAddress(),g=s.Keypair.generate();u.add(await Ae.createDepositForBurnInstruction(this.messageTransmitterProgramId,this.tokenMessengerProgramId,n,f,i,o,l,r.remainingAmount,g.publicKey));const m=new ye.Program(Qe,this.shimProgramId,{connection:null}),p=s.deserialize$1(se,r.signedQuote),h=xe.deriveAddress("message_transmitter",this.messageTransmitterProgramId);u.add(await m.methods.relayLastMessage({execAmount:new s.BN(r.estimatedCost.toString()),recipientChain:s.toChainId(t.chain),signedQuoteBytes:s.dist.Buffer.from(r.signedQuote),relayInstructions:s.dist.Buffer.from(r.relayInstructions)}).accounts({payer:i,messageTransmitter:h,payee:new s.PublicKey(p.quote.payeeAddress),executorProgram:this.executorProgramId}).instruction()),yield this.createUnsignedTx({transaction:u,signers:[g]},"SvmCCTPExecutor.Transfer")}createUnsignedTx(a,t,r=!1){return new H.SolanaUnsignedTransaction(a,this.network,this.chain,t,r)}}P.registerProtocol(s._platform$1,"CCTPExecutor",k);let S;function Ke(e={referrerFeeDbps:0n}){if(e.referrerFeeDbps<0||e.referrerFeeDbps>65535n)throw new Error("Referrer fee must be between 0 and 65535");class a extends v{}return d(a,"config",e),a}class v extends s.AutomaticRoute{constructor(){super(...arguments);d(this,"staticConfig",this.constructor.config)}static supportedNetworks(){return["Mainnet","Testnet"]}static supportedChains(t){return s.circleContractChains.has(t)?s.circleContractChains.get(t):[]}static async supportedDestinationTokens(t,r,n){const i=s.usdcContract.get(r.network,r.chain);if(!(i&&s.isSameToken(t,s.Wormhole.tokenId(r.chain,i))))return[];const{network:o,chain:c}=n;return s.usdcContract.has(o,c)?[s.Wormhole.chainAddress(c,s.usdcContract.get(o,c))]:[]}getDefaultOptions(){return{nativeGas:0}}async validate(t,r){var i;return(i=r.options)!=null&&i.nativeGas&&(r.options.nativeGas<0||r.options.nativeGas>1)?{valid:!1,error:new Error("Invalid native gas percentage"),params:r}:{valid:!0,params:{normalizedParams:{amount:t.parseAmount(r.amount)},options:r.options??this.getDefaultOptions(),...r}}}async quote(t,r){var K,W;const{fromChain:n,toChain:i}=t;if(!s.usdcContract.get(n.network,n.chain))throw new Error("Invalid transfer, no USDC contract on source");const c=s.usdcContract.get(i.network,i.chain);if(!c)throw new Error("Invalid transfer, no USDC contract on destination");const u=(K=Pe[n.network])==null?void 0:K[n.chain];if(!u)return{success:!1,error:new Error("No referrer address found")};const f=s.Wormhole.chainAddress(n.chain,u),l=this.staticConfig.referrerFeeDbps,{referrerFee:g,remainingAmount:m}=Me(s.units(r.normalizedParams.amount),this.staticConfig.referrerFeeDbps);if(m<=0n)return{success:!1,error:new Error("Amount after fee <= 0")};const p=(W=ve[n.network])==null?void 0:W[i.chain];if(!p)return{success:!1,error:new Error("Gas limit not found")};const h=await Fe(n.network);if(!h[s.toChainId(n.chain)])return{success:!1,error:new Error("Unsupported source chain")};const A=h[s.toChainId(i.chain)];if(!A||!A.requestPrefixes.includes("ERC1"))return{success:!1,error:new Error("Unsupported destination chain")};const{recipient:C}=t;let y=!0;if(C&&i.chain==="Solana"){const ue=s.Wormhole.parseAddress("Solana",c),fe=await i.getTokenAccount(C.address,ue),j=await i.getRpc();y=await j.getAccountInfo(new s.SolanaAddress(fe.address).unwrap())!==null,!y&&!S&&(S=BigInt(await j.getMinimumBalanceForRentExemption(165)))}let I=0n;i.chain==="Solana"&&(I+=Se,!y&&S&&(I+=S));const D=[];D.push({request:{type:"GasInstruction",gasLimit:p,msgValue:I}});const O=BigInt(A.gasDropOffLimit),M=r.options.nativeGas&&O>0n?BigInt(Math.round(r.options.nativeGas*100))*O/100n:0n;(M>0n||!y)&&D.push({request:{type:"GasDropOffInstruction",dropOff:M,recipient:C?C.address.toUniversalAddress():new s.UniversalAddress(new Uint8Array(32))}});const G=s.serialize$1(Y,{requests:D}),B=await Ie(n.network,n.chain,i.chain,s.hex.encode(G,!0));if(!B.estimatedCost)return{success:!1,error:new Error("No estimated cost")};const L=s.hex.decode(B.signedQuote),ae=s.deserialize$1(se,L),ie=n.chain==="Polygon"?2e3*200:s.estimateFinalityTime(n.chain)+1e3,Q=BigInt(B.estimatedCost),oe={signedQuote:L,relayInstructions:G,estimatedCost:Q,referrer:f,referrerFee:g,remainingAmount:m,referrerFeeDbps:l},[ce,de]=await Promise.all([n.getDecimals("native"),i.getDecimals("native")]);return{success:!0,params:r,sourceToken:{token:t.source.id,amount:r.normalizedParams.amount},destinationToken:{token:t.destination.id,amount:s.fromBaseUnits(m,t.destination.decimals)},relayFee:{token:s.nativeTokenId(n.chain),amount:s.fromBaseUnits(Q,ce)},destinationNativeGas:s.fromBaseUnits(M,de),eta:ie,expires:ae.quote.expiryTime,details:oe}}async initiate(t,r,n,i){if(!n.details)throw new Error("Missing quote details");s.deserialize$1(Y,n.details.relayInstructions).requests.forEach(({request:h})=>{if(h.type==="GasDropOffInstruction"&&!h.recipient.equals(i.address.toUniversalAddress()))throw new Error("Gas drop-off recipient does not match")});const c=await t.fromChain.getProtocol("CCTPExecutor"),u=s.Wormhole.parseAddress(r.chain(),r.address());let f=i;if(i.chain==="Solana"){const h=s.Wormhole.parseAddress("Solana",s.usdcContract.get(t.toChain.network,t.toChain.chain));f=await t.toChain.getTokenAccount(i.address,h)}const l=await c.transfer(u,f,n.details),g=await s.signSendWait(t.fromChain,l,r);let m=0;return(async()=>{for(;m<20;){try{const[h]=await Z(this.wh.network,g.at(-1).txid,t.fromChain.chain);if(h)break}catch{}m++,await Be(2e3)}})(),{from:t.fromChain.chain,to:t.toChain.chain,state:s.TransferState.SourceInitiated,originTxs:g}}async*track(t,r){if(s.isCompleted(t)||s.isFailed(t))return t;let n=r||60*60*1e3;for(;n>0;){const i=Date.now();if(s.isSourceInitiated(t)||s.isSourceFinalized(t)||s.isAttested(t))try{const[o]=await Z(this.wh.network,t.originTxs.at(-1).txid,t.from);if(!o)throw new Error("No transaction status found");const c=o==null?void 0:o.status;if((c===b.Failed||c===b.Underpaid||c===b.Unsupported||c===b.Aborted)&&(t={...t,state:s.TransferState.Failed,error:new ne.RelayFailedError(`Relay failed with status: ${c}`)}),c===b.Submitted&&(t={...t,state:s.TransferState.DestinationFinalized,attestation:{id:o.id,attestation:{}}}),yield t,s.isCompleted(t)||s.isFailed(t))return t}catch(o){console.error(`Error fetching transaction status: ${o.message||o}`)}await new Promise(o=>setTimeout(o,3e3)),n-=Date.now()-i}return t}}d(v,"NATIVE_GAS_DROPOFF_SUPPORTED",!0),d(v,"config",{referrerFeeDbps:0n}),d(v,"meta",{name:"CCTPExecutorRoute",provider:"Circle"});exports.cctpExecutorRoute=Ke;
package/lib/executor.mjs CHANGED
@@ -64,7 +64,7 @@ const G = {
64
64
  },
65
65
  Mainnet: {
66
66
  Aptos: 5000n,
67
- Arbitrum: 400000n,
67
+ Arbitrum: 500000n,
68
68
  Avalanche: 250000n,
69
69
  Base: 250000n,
70
70
  Ethereum: 250000n,
@@ -1,4 +1,4 @@
1
- import { l as a } from "./solana-AefmV-EX.mjs";
1
+ import { l as a } from "./solana-CrMvdvfl.mjs";
2
2
  const e = a`<svg fill="none" viewBox="0 0 14 15">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./solana-Cqhc10CM.js"),e=a.b`<svg fill="none" viewBox="0 0 14 15">
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./solana-DS2ZcUpG.js"),e=a.b`<svg fill="none" viewBox="0 0 14 15">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
@@ -1,4 +1,4 @@
1
- import { l } from "./solana-AefmV-EX.mjs";
1
+ import { l } from "./solana-CrMvdvfl.mjs";
2
2
  const o = l`<svg fill="none" viewBox="0 0 14 15">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./solana-Cqhc10CM.js"),l=e.b`<svg fill="none" viewBox="0 0 14 15">
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./solana-DS2ZcUpG.js"),l=e.b`<svg fill="none" viewBox="0 0 14 15">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
@@ -1,4 +1,4 @@
1
- import { l } from "./solana-AefmV-EX.mjs";
1
+ import { l } from "./solana-CrMvdvfl.mjs";
2
2
  const f = l`<svg fill="none" viewBox="0 0 40 40">
3
3
  <g clip-path="url(#a)">
4
4
  <g clip-path="url(#b)">
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./solana-Cqhc10CM.js"),h=l.b`<svg fill="none" viewBox="0 0 40 40">
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./solana-DS2ZcUpG.js"),h=l.b`<svg fill="none" viewBox="0 0 40 40">
2
2
  <g clip-path="url(#a)">
3
3
  <g clip-path="url(#b)">
4
4
  <circle cx="20" cy="19.89" r="20" fill="#1877F2" />
@@ -1,4 +1,4 @@
1
- import { l as h } from "./solana-AefmV-EX.mjs";
1
+ import { l as h } from "./solana-CrMvdvfl.mjs";
2
2
  const a = h`<svg style="border-radius: 9999px; overflow: hidden;" fill="none" viewBox="0 0 1000 1000">
3
3
  <rect width="1000" height="1000" rx="9999" ry="9999" fill="#855DCD"/>
4
4
  <path fill="#855DCD" d="M0 0h1000v1000H0V0Z" />
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("./solana-Cqhc10CM.js"),a=h.b`<svg style="border-radius: 9999px; overflow: hidden;" fill="none" viewBox="0 0 1000 1000">
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("./solana-DS2ZcUpG.js"),a=h.b`<svg style="border-radius: 9999px; overflow: hidden;" fill="none" viewBox="0 0 1000 1000">
2
2
  <rect width="1000" height="1000" rx="9999" ry="9999" fill="#855DCD"/>
3
3
  <path fill="#855DCD" d="M0 0h1000v1000H0V0Z" />
4
4
  <path
@@ -1,4 +1,4 @@
1
- import { l } from "./solana-AefmV-EX.mjs";
1
+ import { l } from "./solana-CrMvdvfl.mjs";
2
2
  const e = l`<svg fill="none" viewBox="0 0 16 16">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./solana-Cqhc10CM.js"),l=e.b`<svg fill="none" viewBox="0 0 16 16">
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./solana-DS2ZcUpG.js"),l=e.b`<svg fill="none" viewBox="0 0 16 16">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
@@ -1,4 +1,4 @@
1
- import { l } from "./solana-AefmV-EX.mjs";
1
+ import { l } from "./solana-CrMvdvfl.mjs";
2
2
  const c = l`<svg fill="none" viewBox="0 0 40 40">
3
3
  <g clip-path="url(#a)">
4
4
  <g clip-path="url(#b)">
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./solana-Cqhc10CM.js"),i=l.b`<svg fill="none" viewBox="0 0 40 40">
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./solana-DS2ZcUpG.js"),i=l.b`<svg fill="none" viewBox="0 0 40 40">
2
2
  <g clip-path="url(#a)">
3
3
  <g clip-path="url(#b)">
4
4
  <circle cx="20" cy="19.89" r="20" fill="#1B1F23" />
@@ -1,4 +1,4 @@
1
- import { l } from "./solana-AefmV-EX.mjs";
1
+ import { l } from "./solana-CrMvdvfl.mjs";
2
2
  const o = l`<svg fill="none" viewBox="0 0 40 40">
3
3
  <path
4
4
  fill="#4285F4"
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./solana-Cqhc10CM.js"),a=l.b`<svg fill="none" viewBox="0 0 40 40">
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./solana-DS2ZcUpG.js"),a=l.b`<svg fill="none" viewBox="0 0 40 40">
2
2
  <path
3
3
  fill="#4285F4"
4
4
  d="M32.74 20.3c0-.93-.08-1.81-.24-2.66H20.26v5.03h7a6 6 0 0 1-2.62 3.91v3.28h4.22c2.46-2.27 3.88-5.6 3.88-9.56Z"
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./solana-Cqhc10CM.js"),l=e.b`<svg fill="none" viewBox="0 0 16 16">
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./solana-DS2ZcUpG.js"),l=e.b`<svg fill="none" viewBox="0 0 16 16">
2
2
  <path
3
3
  fill="currentColor"
4
4
  d="M8.51 5.66a.83.83 0 0 0-.57-.2.83.83 0 0 0-.52.28.8.8 0 0 0-.25.52 1 1 0 0 1-2 0c0-.75.34-1.43.81-1.91a2.75 2.75 0 0 1 4.78 1.92c0 1.24-.8 1.86-1.25 2.2l-.04.03c-.47.36-.5.43-.5.65a1 1 0 1 1-2 0c0-1.25.8-1.86 1.24-2.2l.04-.04c.47-.36.5-.43.5-.65 0-.3-.1-.49-.24-.6ZM9.12 11.87a1.13 1.13 0 1 1-2.25 0 1.13 1.13 0 0 1 2.25 0Z"
@@ -1,4 +1,4 @@
1
- import { l } from "./solana-AefmV-EX.mjs";
1
+ import { l } from "./solana-CrMvdvfl.mjs";
2
2
  const o = l`<svg fill="none" viewBox="0 0 16 16">
3
3
  <path
4
4
  fill="currentColor"
package/lib/hosted.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./constants-CBdrF4sv.js");function d(o,e={}){window.__CONNECT_CONFIG=e.config,window.__CONNECT_THEME=e.theme;const n=document.createElement("div");n.id="wormhole-connect";const c=e.version??s.CONNECT_VERSION,i=e.cdnBaseUrl??`https://cdn.jsdelivr.net/npm/@wormhole-foundation/wormhole-connect@${c}`,t=document.createElement("script");t.setAttribute("src",`${i}/dist/main.js`),t.setAttribute("type","module"),o.appendChild(n),o.appendChild(t)}exports.wormholeConnectHosted=d;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./constants-CoxhiYrX.js");function d(o,e={}){window.__CONNECT_CONFIG=e.config,window.__CONNECT_THEME=e.theme;const n=document.createElement("div");n.id="wormhole-connect";const c=e.version??s.CONNECT_VERSION,i=e.cdnBaseUrl??`https://cdn.jsdelivr.net/npm/@wormhole-foundation/wormhole-connect@${c}`,t=document.createElement("script");t.setAttribute("src",`${i}/dist/main.js`),t.setAttribute("type","module"),o.appendChild(n),o.appendChild(t)}exports.wormholeConnectHosted=d;
package/lib/hosted.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { a as d } from "./constants-DX7-soSQ.mjs";
1
+ import { a as d } from "./constants-CPx3n7t3.mjs";
2
2
  function r(o, t = {}) {
3
3
  window.__CONNECT_CONFIG = t.config, window.__CONNECT_THEME = t.theme;
4
4
  const n = document.createElement("div");
@@ -1,4 +1,4 @@
1
- import { l as c } from "./solana-AefmV-EX.mjs";
1
+ import { l as c } from "./solana-CrMvdvfl.mjs";
2
2
  const l = c`<svg
3
3
  xmlns="http://www.w3.org/2000/svg"
4
4
  width="28"
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./solana-Cqhc10CM.js"),a=c.b`<svg
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./solana-DS2ZcUpG.js"),a=c.b`<svg
2
2
  xmlns="http://www.w3.org/2000/svg"
3
3
  width="28"
4
4
  height="28"
@@ -1,4 +1,4 @@
1
- import { l as C } from "./solana-AefmV-EX.mjs";
1
+ import { l as C } from "./solana-CrMvdvfl.mjs";
2
2
  const e = C`<svg width="14" height="14" viewBox="0 0 14 14" fill="none">
3
3
  <path d="M4.98926 3.73932C4.2989 3.73932 3.73926 4.29896 3.73926 4.98932C3.73926 5.67968 4.2989 6.23932 4.98926 6.23932C5.67962 6.23932 6.23926 5.67968 6.23926 4.98932C6.23926 4.29896 5.67962 3.73932 4.98926 3.73932Z" fill="currentColor"/>
4
4
  <path fill-rule="evenodd" clip-rule="evenodd" d="M7.60497 0.500001H6.39504C5.41068 0.499977 4.59185 0.499958 3.93178 0.571471C3.24075 0.64634 2.60613 0.809093 2.04581 1.21619C1.72745 1.44749 1.44749 1.72745 1.21619 2.04581C0.809093 2.60613 0.64634 3.24075 0.571471 3.93178C0.499958 4.59185 0.499977 5.41065 0.500001 6.39501V7.57815C0.499998 8.37476 0.499995 9.05726 0.534869 9.62725C0.570123 10.2034 0.644114 10.7419 0.828442 11.2302C0.925651 11.4877 1.05235 11.7287 1.21619 11.9542C1.44749 12.2726 1.72745 12.5525 2.04581 12.7838C2.60613 13.1909 3.24075 13.3537 3.93178 13.4285C4.59185 13.5001 5.41066 13.5 6.39503 13.5H7.60496C8.58933 13.5 9.40815 13.5001 10.0682 13.4285C10.7593 13.3537 11.3939 13.1909 11.9542 12.7838C12.2726 12.5525 12.5525 12.2726 12.7838 11.9542C13.1909 11.3939 13.3537 10.7593 13.4285 10.0682C13.5 9.40816 13.5 8.58935 13.5 7.60497V6.39505C13.5 5.41068 13.5 4.59185 13.4285 3.93178C13.3537 3.24075 13.1909 2.60613 12.7838 2.04581C12.5525 1.72745 12.2726 1.44749 11.9542 1.21619C11.3939 0.809093 10.7593 0.64634 10.0682 0.571471C9.40816 0.499958 8.58933 0.499977 7.60497 0.500001ZM3.22138 2.83422C3.38394 2.71612 3.62634 2.61627 4.14721 2.55984C4.68679 2.50138 5.39655 2.5 6.45 2.5H7.55C8.60345 2.5 9.31322 2.50138 9.8528 2.55984C10.3737 2.61627 10.6161 2.71612 10.7786 2.83422C10.9272 2.94216 11.0578 3.07281 11.1658 3.22138C11.2839 3.38394 11.3837 3.62634 11.4402 4.14721C11.4986 4.68679 11.5 5.39655 11.5 6.45V6.49703C10.9674 6.11617 10.386 5.84936 9.74213 5.81948C8.40536 5.75745 7.3556 6.73051 6.40509 7.84229C6.33236 7.92737 6.27406 7.98735 6.22971 8.02911L6.1919 8.00514L6.17483 7.99427C6.09523 7.94353 5.98115 7.87083 5.85596 7.80302C5.56887 7.64752 5.18012 7.4921 4.68105 7.4921C4.66697 7.4921 4.6529 7.49239 4.63884 7.49299C3.79163 7.52878 3.09922 8.1106 2.62901 8.55472C2.58751 8.59392 2.54594 8.6339 2.50435 8.6745C2.50011 8.34653 2.5 7.97569 2.5 7.55V6.45C2.5 5.39655 2.50138 4.68679 2.55984 4.14721C2.61627 3.62634 2.71612 3.38394 2.83422 3.22138C2.94216 3.07281 3.07281 2.94216 3.22138 2.83422ZM10.3703 8.14825C10.6798 8.37526 11.043 8.71839 11.4832 9.20889C11.4744 9.44992 11.4608 9.662 11.4402 9.8528C11.3837 10.3737 11.2839 10.6161 11.1658 10.7786C11.0578 10.9272 10.9272 11.0578 10.7786 11.1658C10.6161 11.2839 10.3737 11.3837 9.8528 11.4402C9.31322 11.4986 8.60345 11.5 7.55 11.5H6.45C5.39655 11.5 4.68679 11.4986 4.14721 11.4402C3.62634 11.3837 3.38394 11.2839 3.22138 11.1658C3.15484 11.1174 3.0919 11.0645 3.03298 11.0075C3.10126 10.9356 3.16806 10.8649 3.23317 10.7959L3.29772 10.7276C3.55763 10.4525 3.78639 10.2126 4.00232 10.0087C4.22016 9.80294 4.39412 9.66364 4.53524 9.57742C4.63352 9.51738 4.69022 9.49897 4.71275 9.49345C4.76387 9.49804 4.81803 9.51537 4.90343 9.56162C4.96409 9.59447 5.02355 9.63225 5.11802 9.69238L5.12363 9.69595C5.20522 9.74789 5.32771 9.82587 5.46078 9.89278C5.76529 10.0459 6.21427 10.186 6.74977 10.0158C7.21485 9.86796 7.59367 9.52979 7.92525 9.14195C8.91377 7.98571 9.38267 7.80495 9.64941 7.81733C9.7858 7.82366 10.0101 7.884 10.3703 8.14825Z" fill="currentColor"/>
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("./solana-Cqhc10CM.js"),e=C.b`<svg width="14" height="14" viewBox="0 0 14 14" fill="none">
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("./solana-DS2ZcUpG.js"),e=C.b`<svg width="14" height="14" viewBox="0 0 14 14" fill="none">
2
2
  <path d="M4.98926 3.73932C4.2989 3.73932 3.73926 4.29896 3.73926 4.98932C3.73926 5.67968 4.2989 6.23932 4.98926 6.23932C5.67962 6.23932 6.23926 5.67968 6.23926 4.98932C6.23926 4.29896 5.67962 3.73932 4.98926 3.73932Z" fill="currentColor"/>
3
3
  <path fill-rule="evenodd" clip-rule="evenodd" d="M7.60497 0.500001H6.39504C5.41068 0.499977 4.59185 0.499958 3.93178 0.571471C3.24075 0.64634 2.60613 0.809093 2.04581 1.21619C1.72745 1.44749 1.44749 1.72745 1.21619 2.04581C0.809093 2.60613 0.64634 3.24075 0.571471 3.93178C0.499958 4.59185 0.499977 5.41065 0.500001 6.39501V7.57815C0.499998 8.37476 0.499995 9.05726 0.534869 9.62725C0.570123 10.2034 0.644114 10.7419 0.828442 11.2302C0.925651 11.4877 1.05235 11.7287 1.21619 11.9542C1.44749 12.2726 1.72745 12.5525 2.04581 12.7838C2.60613 13.1909 3.24075 13.3537 3.93178 13.4285C4.59185 13.5001 5.41066 13.5 6.39503 13.5H7.60496C8.58933 13.5 9.40815 13.5001 10.0682 13.4285C10.7593 13.3537 11.3939 13.1909 11.9542 12.7838C12.2726 12.5525 12.5525 12.2726 12.7838 11.9542C13.1909 11.3939 13.3537 10.7593 13.4285 10.0682C13.5 9.40816 13.5 8.58935 13.5 7.60497V6.39505C13.5 5.41068 13.5 4.59185 13.4285 3.93178C13.3537 3.24075 13.1909 2.60613 12.7838 2.04581C12.5525 1.72745 12.2726 1.44749 11.9542 1.21619C11.3939 0.809093 10.7593 0.64634 10.0682 0.571471C9.40816 0.499958 8.58933 0.499977 7.60497 0.500001ZM3.22138 2.83422C3.38394 2.71612 3.62634 2.61627 4.14721 2.55984C4.68679 2.50138 5.39655 2.5 6.45 2.5H7.55C8.60345 2.5 9.31322 2.50138 9.8528 2.55984C10.3737 2.61627 10.6161 2.71612 10.7786 2.83422C10.9272 2.94216 11.0578 3.07281 11.1658 3.22138C11.2839 3.38394 11.3837 3.62634 11.4402 4.14721C11.4986 4.68679 11.5 5.39655 11.5 6.45V6.49703C10.9674 6.11617 10.386 5.84936 9.74213 5.81948C8.40536 5.75745 7.3556 6.73051 6.40509 7.84229C6.33236 7.92737 6.27406 7.98735 6.22971 8.02911L6.1919 8.00514L6.17483 7.99427C6.09523 7.94353 5.98115 7.87083 5.85596 7.80302C5.56887 7.64752 5.18012 7.4921 4.68105 7.4921C4.66697 7.4921 4.6529 7.49239 4.63884 7.49299C3.79163 7.52878 3.09922 8.1106 2.62901 8.55472C2.58751 8.59392 2.54594 8.6339 2.50435 8.6745C2.50011 8.34653 2.5 7.97569 2.5 7.55V6.45C2.5 5.39655 2.50138 4.68679 2.55984 4.14721C2.61627 3.62634 2.71612 3.38394 2.83422 3.22138C2.94216 3.07281 3.07281 2.94216 3.22138 2.83422ZM10.3703 8.14825C10.6798 8.37526 11.043 8.71839 11.4832 9.20889C11.4744 9.44992 11.4608 9.662 11.4402 9.8528C11.3837 10.3737 11.2839 10.6161 11.1658 10.7786C11.0578 10.9272 10.9272 11.0578 10.7786 11.1658C10.6161 11.2839 10.3737 11.3837 9.8528 11.4402C9.31322 11.4986 8.60345 11.5 7.55 11.5H6.45C5.39655 11.5 4.68679 11.4986 4.14721 11.4402C3.62634 11.3837 3.38394 11.2839 3.22138 11.1658C3.15484 11.1174 3.0919 11.0645 3.03298 11.0075C3.10126 10.9356 3.16806 10.8649 3.23317 10.7959L3.29772 10.7276C3.55763 10.4525 3.78639 10.2126 4.00232 10.0087C4.22016 9.80294 4.39412 9.66364 4.53524 9.57742C4.63352 9.51738 4.69022 9.49897 4.71275 9.49345C4.76387 9.49804 4.81803 9.51537 4.90343 9.56162C4.96409 9.59447 5.02355 9.63225 5.11802 9.69238L5.12363 9.69595C5.20522 9.74789 5.32771 9.82587 5.46078 9.89278C5.76529 10.0459 6.21427 10.186 6.74977 10.0158C7.21485 9.86796 7.59367 9.52979 7.92525 9.14195C8.91377 7.98571 9.38267 7.80495 9.64941 7.81733C9.7858 7.82366 10.0101 7.884 10.3703 8.14825Z" fill="currentColor"/>
4
4
  </svg>`;exports.imageSvg=e;
@@ -1,4 +1,4 @@
1
- import { p as N, u as V, i as b, r as $, a as S, x as m, n as q, q as B, o as W, e as Y } from "./solana-AefmV-EX.mjs";
1
+ import { p as N, u as V, i as b, r as $, a as S, x as m, n as q, q as B, o as W, e as Y } from "./solana-CrMvdvfl.mjs";
2
2
  const w = {
3
3
  getSpacingStyles(e, t) {
4
4
  if (Array.isArray(e))
@@ -419,83 +419,83 @@ var j = function(e, t, i, r) {
419
419
  return a > 3 && o && Object.defineProperty(t, i, o), o;
420
420
  };
421
421
  const U = {
422
- add: async () => (await import("./add-5JNYtbn0.mjs")).addSvg,
423
- allWallets: async () => (await import("./all-wallets-DFuKxB4Z.mjs")).allWalletsSvg,
424
- arrowBottomCircle: async () => (await import("./arrow-bottom-circle-CUNc1d0l.mjs")).arrowBottomCircleSvg,
425
- appStore: async () => (await import("./app-store-B0IRo5Ld.mjs")).appStoreSvg,
426
- apple: async () => (await import("./apple-C1253BqB.mjs")).appleSvg,
427
- arrowBottom: async () => (await import("./arrow-bottom-B5idrRLg.mjs")).arrowBottomSvg,
428
- arrowLeft: async () => (await import("./arrow-left-D_6pmgeW.mjs")).arrowLeftSvg,
429
- arrowRight: async () => (await import("./arrow-right-CfF4JKUl.mjs")).arrowRightSvg,
430
- arrowTop: async () => (await import("./arrow-top-ByBQSpF9.mjs")).arrowTopSvg,
431
- bank: async () => (await import("./bank-D-ByWKrE.mjs")).bankSvg,
432
- browser: async () => (await import("./browser-D3rK1zZD.mjs")).browserSvg,
433
- card: async () => (await import("./card-C103Zr_s.mjs")).cardSvg,
434
- checkmark: async () => (await import("./checkmark-CftBiE_o.mjs")).checkmarkSvg,
435
- checkmarkBold: async () => (await import("./checkmark-bold-BiuLRYaw.mjs")).checkmarkBoldSvg,
436
- chevronBottom: async () => (await import("./chevron-bottom-BbQ_m7D8.mjs")).chevronBottomSvg,
437
- chevronLeft: async () => (await import("./chevron-left-BRcODtkl.mjs")).chevronLeftSvg,
438
- chevronRight: async () => (await import("./chevron-right-C8T3XHHk.mjs")).chevronRightSvg,
439
- chevronTop: async () => (await import("./chevron-top-DDRuRQDi.mjs")).chevronTopSvg,
440
- chromeStore: async () => (await import("./chrome-store-y7e1zu4m.mjs")).chromeStoreSvg,
441
- clock: async () => (await import("./clock-Ch4B9lTj.mjs")).clockSvg,
442
- close: async () => (await import("./close-DV97wtTx.mjs")).closeSvg,
443
- compass: async () => (await import("./compass-DoE_r14r.mjs")).compassSvg,
444
- coinPlaceholder: async () => (await import("./coinPlaceholder-DBEIEMLH.mjs")).coinPlaceholderSvg,
445
- copy: async () => (await import("./copy-BUnH9Rmh.mjs")).copySvg,
446
- cursor: async () => (await import("./cursor-3mj3Pq0z.mjs")).cursorSvg,
447
- cursorTransparent: async () => (await import("./cursor-transparent-BTemyRTO.mjs")).cursorTransparentSvg,
448
- desktop: async () => (await import("./desktop-DvfmWO_R.mjs")).desktopSvg,
449
- disconnect: async () => (await import("./disconnect-Cxkdq6ir.mjs")).disconnectSvg,
450
- discord: async () => (await import("./discord-CHx5Xb-9.mjs")).discordSvg,
451
- etherscan: async () => (await import("./etherscan-YaFa04eY.mjs")).etherscanSvg,
452
- extension: async () => (await import("./extension-DP-dDsSn.mjs")).extensionSvg,
453
- externalLink: async () => (await import("./external-link-DyHJnsK8.mjs")).externalLinkSvg,
454
- facebook: async () => (await import("./facebook-fuN149kb.mjs")).facebookSvg,
455
- farcaster: async () => (await import("./farcaster-CthcgW1p.mjs")).farcasterSvg,
456
- filters: async () => (await import("./filters-_l_bTNZK.mjs")).filtersSvg,
457
- github: async () => (await import("./github-DLIZSSpT.mjs")).githubSvg,
458
- google: async () => (await import("./google-DsUwkwU7.mjs")).googleSvg,
459
- helpCircle: async () => (await import("./help-circle-DNIlqXM4.mjs")).helpCircleSvg,
460
- image: async () => (await import("./image-D0i9nEJa.mjs")).imageSvg,
461
- id: async () => (await import("./id-Dcpxx5Sg.mjs")).idSvg,
462
- infoCircle: async () => (await import("./info-circle-CZvq1Bbl.mjs")).infoCircleSvg,
463
- lightbulb: async () => (await import("./lightbulb-WpoJQkeo.mjs")).lightbulbSvg,
464
- mail: async () => (await import("./mail-D1rYl-hP.mjs")).mailSvg,
465
- mobile: async () => (await import("./mobile-D8slK1-I.mjs")).mobileSvg,
466
- more: async () => (await import("./more-DsX_s58K.mjs")).moreSvg,
467
- networkPlaceholder: async () => (await import("./network-placeholder-ClLYl9gN.mjs")).networkPlaceholderSvg,
468
- nftPlaceholder: async () => (await import("./nftPlaceholder-ilscJrWL.mjs")).nftPlaceholderSvg,
469
- off: async () => (await import("./off-D3IDpfZg.mjs")).offSvg,
470
- playStore: async () => (await import("./play-store-Dnx6-DfM.mjs")).playStoreSvg,
471
- plus: async () => (await import("./plus-CngR-jD-.mjs")).plusSvg,
472
- qrCode: async () => (await import("./qr-code-Ckqp2jcM.mjs")).qrCodeIcon,
473
- recycleHorizontal: async () => (await import("./recycle-horizontal-BWbxp077.mjs")).recycleHorizontalSvg,
474
- refresh: async () => (await import("./refresh-BA3qzC0t.mjs")).refreshSvg,
475
- search: async () => (await import("./search-DWkxod1G.mjs")).searchSvg,
476
- send: async () => (await import("./send-B_-c6x6P.mjs")).sendSvg,
477
- swapHorizontal: async () => (await import("./swapHorizontal-I9IHNlcX.mjs")).swapHorizontalSvg,
478
- swapHorizontalMedium: async () => (await import("./swapHorizontalMedium-D5Op20PE.mjs")).swapHorizontalMediumSvg,
479
- swapHorizontalBold: async () => (await import("./swapHorizontalBold-DjCg3Gvp.mjs")).swapHorizontalBoldSvg,
480
- swapHorizontalRoundedBold: async () => (await import("./swapHorizontalRoundedBold-DT-dVJCx.mjs")).swapHorizontalRoundedBoldSvg,
481
- swapVertical: async () => (await import("./swapVertical--HMMmuaw.mjs")).swapVerticalSvg,
482
- telegram: async () => (await import("./telegram-CxCcJyxh.mjs")).telegramSvg,
483
- threeDots: async () => (await import("./three-dots-CuFQnzau.mjs")).threeDotsSvg,
484
- twitch: async () => (await import("./twitch-Cn9a4jgU.mjs")).twitchSvg,
485
- twitter: async () => (await import("./x-CNsQuYZX.mjs")).xSvg,
486
- twitterIcon: async () => (await import("./twitterIcon-D98sKvbq.mjs")).twitterIconSvg,
487
- verify: async () => (await import("./verify-BxlOfP9w.mjs")).verifySvg,
488
- verifyFilled: async () => (await import("./verify-filled-yMiXBbCQ.mjs")).verifyFilledSvg,
489
- wallet: async () => (await import("./wallet-CEtYecn_.mjs")).walletSvg,
490
- walletConnect: async () => (await import("./walletconnect-BBY1yZEn.mjs")).walletConnectSvg,
491
- walletConnectLightBrown: async () => (await import("./walletconnect-BBY1yZEn.mjs")).walletConnectLightBrownSvg,
492
- walletConnectBrown: async () => (await import("./walletconnect-BBY1yZEn.mjs")).walletConnectBrownSvg,
493
- walletPlaceholder: async () => (await import("./wallet-placeholder-Deq6znRH.mjs")).walletPlaceholderSvg,
494
- warningCircle: async () => (await import("./warning-circle-cokTC_ks.mjs")).warningCircleSvg,
495
- x: async () => (await import("./x-CNsQuYZX.mjs")).xSvg,
496
- info: async () => (await import("./info-Ccop_bq-.mjs")).infoSvg,
497
- exclamationTriangle: async () => (await import("./exclamation-triangle-DfZ9Dte5.mjs")).exclamationTriangleSvg,
498
- reown: async () => (await import("./reown-logo-BIs62gAK.mjs")).reownSvg
422
+ add: async () => (await import("./add-Bgr8Uh8B.mjs")).addSvg,
423
+ allWallets: async () => (await import("./all-wallets-DdRIEq-V.mjs")).allWalletsSvg,
424
+ arrowBottomCircle: async () => (await import("./arrow-bottom-circle-CvfJ5p_y.mjs")).arrowBottomCircleSvg,
425
+ appStore: async () => (await import("./app-store-eKRqPW4N.mjs")).appStoreSvg,
426
+ apple: async () => (await import("./apple-DQcCTOa_.mjs")).appleSvg,
427
+ arrowBottom: async () => (await import("./arrow-bottom-Duiu5Tg_.mjs")).arrowBottomSvg,
428
+ arrowLeft: async () => (await import("./arrow-left-avYXBHF4.mjs")).arrowLeftSvg,
429
+ arrowRight: async () => (await import("./arrow-right-Cbunep5L.mjs")).arrowRightSvg,
430
+ arrowTop: async () => (await import("./arrow-top-DBWWW9Oy.mjs")).arrowTopSvg,
431
+ bank: async () => (await import("./bank-C2jhIapN.mjs")).bankSvg,
432
+ browser: async () => (await import("./browser-DFX8bJKi.mjs")).browserSvg,
433
+ card: async () => (await import("./card-4-u9SA69.mjs")).cardSvg,
434
+ checkmark: async () => (await import("./checkmark-DDLHlQQ9.mjs")).checkmarkSvg,
435
+ checkmarkBold: async () => (await import("./checkmark-bold-CuRoxeU8.mjs")).checkmarkBoldSvg,
436
+ chevronBottom: async () => (await import("./chevron-bottom-BWzCLrD5.mjs")).chevronBottomSvg,
437
+ chevronLeft: async () => (await import("./chevron-left--LyUtyQT.mjs")).chevronLeftSvg,
438
+ chevronRight: async () => (await import("./chevron-right-kMciDMkJ.mjs")).chevronRightSvg,
439
+ chevronTop: async () => (await import("./chevron-top-DwIXDDfD.mjs")).chevronTopSvg,
440
+ chromeStore: async () => (await import("./chrome-store-BtgUtu2e.mjs")).chromeStoreSvg,
441
+ clock: async () => (await import("./clock-CeP_x_KK.mjs")).clockSvg,
442
+ close: async () => (await import("./close-fTN6nBRu.mjs")).closeSvg,
443
+ compass: async () => (await import("./compass-Bi1bPHDM.mjs")).compassSvg,
444
+ coinPlaceholder: async () => (await import("./coinPlaceholder-DetWjpMK.mjs")).coinPlaceholderSvg,
445
+ copy: async () => (await import("./copy-C0ChGAOX.mjs")).copySvg,
446
+ cursor: async () => (await import("./cursor-C0wqoNp_.mjs")).cursorSvg,
447
+ cursorTransparent: async () => (await import("./cursor-transparent-DOFMlNyt.mjs")).cursorTransparentSvg,
448
+ desktop: async () => (await import("./desktop-DvAIpuqU.mjs")).desktopSvg,
449
+ disconnect: async () => (await import("./disconnect-CVe77kqf.mjs")).disconnectSvg,
450
+ discord: async () => (await import("./discord-C8tW30M4.mjs")).discordSvg,
451
+ etherscan: async () => (await import("./etherscan-BbTgK2kR.mjs")).etherscanSvg,
452
+ extension: async () => (await import("./extension-BoRmu23R.mjs")).extensionSvg,
453
+ externalLink: async () => (await import("./external-link-BmVFZxUx.mjs")).externalLinkSvg,
454
+ facebook: async () => (await import("./facebook-BU0IgAsn.mjs")).facebookSvg,
455
+ farcaster: async () => (await import("./farcaster-EqU1YhWT.mjs")).farcasterSvg,
456
+ filters: async () => (await import("./filters-9uiEFQFc.mjs")).filtersSvg,
457
+ github: async () => (await import("./github-Bv36prmZ.mjs")).githubSvg,
458
+ google: async () => (await import("./google-CIdoM_ZL.mjs")).googleSvg,
459
+ helpCircle: async () => (await import("./help-circle-Di6XLLqm.mjs")).helpCircleSvg,
460
+ image: async () => (await import("./image-CHXv-pfQ.mjs")).imageSvg,
461
+ id: async () => (await import("./id-BKRrmUYA.mjs")).idSvg,
462
+ infoCircle: async () => (await import("./info-circle-Ysma0RJy.mjs")).infoCircleSvg,
463
+ lightbulb: async () => (await import("./lightbulb-llAiUdyo.mjs")).lightbulbSvg,
464
+ mail: async () => (await import("./mail-DoQE8IHx.mjs")).mailSvg,
465
+ mobile: async () => (await import("./mobile-EtRDQH27.mjs")).mobileSvg,
466
+ more: async () => (await import("./more-DVrhZdB3.mjs")).moreSvg,
467
+ networkPlaceholder: async () => (await import("./network-placeholder-BbB6hX07.mjs")).networkPlaceholderSvg,
468
+ nftPlaceholder: async () => (await import("./nftPlaceholder-BMuE_429.mjs")).nftPlaceholderSvg,
469
+ off: async () => (await import("./off-CUzDZ7SQ.mjs")).offSvg,
470
+ playStore: async () => (await import("./play-store-B_TfUWJP.mjs")).playStoreSvg,
471
+ plus: async () => (await import("./plus-BY6E-gA7.mjs")).plusSvg,
472
+ qrCode: async () => (await import("./qr-code-DkdB4YWU.mjs")).qrCodeIcon,
473
+ recycleHorizontal: async () => (await import("./recycle-horizontal-Bg37UVPn.mjs")).recycleHorizontalSvg,
474
+ refresh: async () => (await import("./refresh-D6TcjIU1.mjs")).refreshSvg,
475
+ search: async () => (await import("./search-D83RKxoH.mjs")).searchSvg,
476
+ send: async () => (await import("./send-Cyopk79y.mjs")).sendSvg,
477
+ swapHorizontal: async () => (await import("./swapHorizontal-BiNrGmxY.mjs")).swapHorizontalSvg,
478
+ swapHorizontalMedium: async () => (await import("./swapHorizontalMedium-TUPMHawi.mjs")).swapHorizontalMediumSvg,
479
+ swapHorizontalBold: async () => (await import("./swapHorizontalBold-CNvg6Zjx.mjs")).swapHorizontalBoldSvg,
480
+ swapHorizontalRoundedBold: async () => (await import("./swapHorizontalRoundedBold-BAlHBaC3.mjs")).swapHorizontalRoundedBoldSvg,
481
+ swapVertical: async () => (await import("./swapVertical-DDYEDCbu.mjs")).swapVerticalSvg,
482
+ telegram: async () => (await import("./telegram-BGnemuS8.mjs")).telegramSvg,
483
+ threeDots: async () => (await import("./three-dots-BS-tA53X.mjs")).threeDotsSvg,
484
+ twitch: async () => (await import("./twitch-DwEOOcQc.mjs")).twitchSvg,
485
+ twitter: async () => (await import("./x-DXPEHEVV.mjs")).xSvg,
486
+ twitterIcon: async () => (await import("./twitterIcon-D-aL497o.mjs")).twitterIconSvg,
487
+ verify: async () => (await import("./verify-DPJd26j0.mjs")).verifySvg,
488
+ verifyFilled: async () => (await import("./verify-filled-BSJMiVyN.mjs")).verifyFilledSvg,
489
+ wallet: async () => (await import("./wallet-CiaeeygI.mjs")).walletSvg,
490
+ walletConnect: async () => (await import("./walletconnect-CHFqRNg_.mjs")).walletConnectSvg,
491
+ walletConnectLightBrown: async () => (await import("./walletconnect-CHFqRNg_.mjs")).walletConnectLightBrownSvg,
492
+ walletConnectBrown: async () => (await import("./walletconnect-CHFqRNg_.mjs")).walletConnectBrownSvg,
493
+ walletPlaceholder: async () => (await import("./wallet-placeholder-DhQ6l48d.mjs")).walletPlaceholderSvg,
494
+ warningCircle: async () => (await import("./warning-circle-z__jbYAZ.mjs")).warningCircleSvg,
495
+ x: async () => (await import("./x-DXPEHEVV.mjs")).xSvg,
496
+ info: async () => (await import("./info-DI_ShZXM.mjs")).infoSvg,
497
+ exclamationTriangle: async () => (await import("./exclamation-triangle-CDPTA2Zq.mjs")).exclamationTriangleSvg,
498
+ reown: async () => (await import("./reown-logo-Dk82Zy5_.mjs")).reownSvg
499
499
  };
500
500
  async function pt(e) {
501
501
  if (O.has(e))