@wormhole-foundation/wormhole-connect 3.0.1-beta.6-development → 3.0.1-beta.7-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.
- package/dist/assets/{evm-CP2QogPh.js → evm-Daw1hnd1.js} +1 -1
- package/dist/assets/{tokens-p0GcG7JT.js → tokens-CD1l6Xjr.js} +13 -13
- package/dist/main.js +81 -81
- package/dist/src/AppRouter.d.ts.map +1 -1
- package/dist/src/components/AssetBadge.d.ts.map +1 -1
- package/dist/src/components/ConfigurablePageHeader.d.ts +4 -0
- package/dist/src/components/ConfigurablePageHeader.d.ts.map +1 -0
- package/dist/src/components/SampleApp/index.d.ts.map +1 -1
- package/dist/src/components/v3/AlertBanner.d.ts +14 -0
- package/dist/src/components/v3/AlertBanner.d.ts.map +1 -0
- package/dist/src/components/v3/Button.d.ts +22 -0
- package/dist/src/components/v3/Button.d.ts.map +1 -0
- package/dist/src/config/ui.d.ts +1 -1
- package/dist/src/config/ui.d.ts.map +1 -1
- package/dist/src/hooks/useAmountValidation.d.ts +2 -2
- package/dist/src/hooks/useAmountValidation.d.ts.map +1 -1
- package/dist/src/icons/Clock.d.ts +5 -0
- package/dist/src/icons/Clock.d.ts.map +1 -0
- package/dist/src/icons/SwapVertical.d.ts +5 -0
- package/dist/src/icons/SwapVertical.d.ts.map +1 -0
- package/dist/src/icons/TokenIcons.d.ts +1 -1
- package/dist/src/icons/TokenIcons.d.ts.map +1 -1
- package/dist/src/theme.d.ts +10 -3
- package/dist/src/theme.d.ts.map +1 -1
- package/dist/src/views/v3/Bridge/AmountInput/index.d.ts +21 -0
- package/dist/src/views/v3/Bridge/AmountInput/index.d.ts.map +1 -0
- package/dist/src/views/v3/Bridge/AmountValidationError.d.ts +11 -0
- package/dist/src/views/v3/Bridge/AmountValidationError.d.ts.map +1 -0
- package/dist/src/views/v3/Bridge/AssetPicker/ChainList.d.ts +16 -0
- package/dist/src/views/v3/Bridge/AssetPicker/ChainList.d.ts.map +1 -0
- package/dist/src/views/v3/Bridge/AssetPicker/PickerBottomSheet.d.ts +31 -0
- package/dist/src/views/v3/Bridge/AssetPicker/PickerBottomSheet.d.ts.map +1 -0
- package/dist/src/views/v3/Bridge/AssetPicker/PickerModal.d.ts +32 -0
- package/dist/src/views/v3/Bridge/AssetPicker/PickerModal.d.ts.map +1 -0
- package/dist/src/views/v3/Bridge/AssetPicker/SearchableList/SearchInput.d.ts +11 -0
- package/dist/src/views/v3/Bridge/AssetPicker/SearchableList/SearchInput.d.ts.map +1 -0
- package/dist/src/views/v3/Bridge/AssetPicker/SearchableList/index.d.ts +20 -0
- package/dist/src/views/v3/Bridge/AssetPicker/SearchableList/index.d.ts.map +1 -0
- package/dist/src/views/v3/Bridge/AssetPicker/TokenItem.d.ts +16 -0
- package/dist/src/views/v3/Bridge/AssetPicker/TokenItem.d.ts.map +1 -0
- package/dist/src/views/v3/Bridge/AssetPicker/TokenList.d.ts +24 -0
- package/dist/src/views/v3/Bridge/AssetPicker/TokenList.d.ts.map +1 -0
- package/dist/src/views/v3/Bridge/AssetPicker/index.d.ts +32 -0
- package/dist/src/views/v3/Bridge/AssetPicker/index.d.ts.map +1 -0
- package/dist/src/views/v3/Bridge/GasSlider/index.d.ts +11 -0
- package/dist/src/views/v3/Bridge/GasSlider/index.d.ts.map +1 -0
- package/dist/src/views/v3/Bridge/Routes/RouteBadge.d.ts +9 -0
- package/dist/src/views/v3/Bridge/Routes/RouteBadge.d.ts.map +1 -0
- package/dist/src/views/v3/Bridge/Routes/RoutesBottomSheet.d.ts +26 -0
- package/dist/src/views/v3/Bridge/Routes/RoutesBottomSheet.d.ts.map +1 -0
- package/dist/src/views/v3/Bridge/Routes/RoutesList.d.ts +20 -0
- package/dist/src/views/v3/Bridge/Routes/RoutesList.d.ts.map +1 -0
- package/dist/src/views/v3/Bridge/Routes/RoutesModal.d.ts +25 -0
- package/dist/src/views/v3/Bridge/Routes/RoutesModal.d.ts.map +1 -0
- package/dist/src/views/v3/Bridge/Routes/SingleRoute.d.ts +17 -0
- package/dist/src/views/v3/Bridge/Routes/SingleRoute.d.ts.map +1 -0
- package/dist/src/views/v3/Bridge/Routes/index.d.ts +13 -0
- package/dist/src/views/v3/Bridge/Routes/index.d.ts.map +1 -0
- package/dist/src/views/v3/Bridge/SwapInputs/index.d.ts +5 -0
- package/dist/src/views/v3/Bridge/SwapInputs/index.d.ts.map +1 -0
- package/dist/src/views/v3/Bridge/WalletConnector/Controller.d.ts +8 -0
- package/dist/src/views/v3/Bridge/WalletConnector/Controller.d.ts.map +1 -0
- package/dist/src/views/v3/Bridge/WalletConnector/ExplorerLink.d.ts +10 -0
- package/dist/src/views/v3/Bridge/WalletConnector/ExplorerLink.d.ts.map +1 -0
- package/dist/src/views/v3/Bridge/WalletConnector/Sidebar.d.ts +11 -0
- package/dist/src/views/v3/Bridge/WalletConnector/Sidebar.d.ts.map +1 -0
- package/dist/src/views/v3/Bridge/WalletConnector/index.d.ts +11 -0
- package/dist/src/views/v3/Bridge/WalletConnector/index.d.ts.map +1 -0
- package/dist/src/views/v3/Bridge/index.d.ts +5 -0
- package/dist/src/views/v3/Bridge/index.d.ts.map +1 -0
- package/dist/src/views/v3/Redeem/TransactionDetails/index.d.ts +4 -0
- package/dist/src/views/v3/Redeem/TransactionDetails/index.d.ts.map +1 -0
- package/dist/src/views/v3/Redeem/index.d.ts +5 -0
- package/dist/src/views/v3/Redeem/index.d.ts.map +1 -0
- package/dist/src/views/v3/TxHistory/Item/index.d.ts +8 -0
- package/dist/src/views/v3/TxHistory/Item/index.d.ts.map +1 -0
- package/dist/src/views/v3/TxHistory/Widget/Item.d.ts +9 -0
- package/dist/src/views/v3/TxHistory/Widget/Item.d.ts.map +1 -0
- package/dist/src/views/v3/TxHistory/Widget/index.d.ts +6 -0
- package/dist/src/views/v3/TxHistory/Widget/index.d.ts.map +1 -0
- package/dist/src/views/v3/TxHistory/index.d.ts +4 -0
- package/dist/src/views/v3/TxHistory/index.d.ts.map +1 -0
- package/lib/{account-DtI49BC9.mjs → account-BXlWsVcD.mjs} +1 -1
- package/lib/{account-BNVdeY3i.js → account-D3Whnyky.js} +1 -1
- package/lib/address-B2sdpJNe.js +1 -0
- package/lib/{address-DHjpQ41W.js → address-CFAt6HNS.js} +1 -1
- package/lib/{address-C4qO2bMD.mjs → address-CZArADcj.mjs} +1 -1
- package/lib/{address-BJhcbdG9.mjs → address-DPWm1fbw.mjs} +212 -205
- package/lib/{address-XxuWo72f.js → address-DpQlJQKV.js} +7 -7
- package/lib/{address-QpeLv2yn.mjs → address-YYxpimx3.mjs} +277 -276
- package/lib/{aptos-BPPwy9CZ.js → aptos-BQFrxLpU.js} +1 -1
- package/lib/{aptos-b3ytowip.js → aptos-C6eC7BKq.js} +2 -2
- package/lib/{aptos-C8FBg3S2.mjs → aptos-DNhNK-_f.mjs} +7 -7
- package/lib/{aptos-ButqYPXo.mjs → aptos-YbewU4Io.mjs} +3 -3
- package/lib/{basic-YNjcoRfK.js → basic-BH3rU0o2.js} +1 -1
- package/lib/{basic-BDC-Dz2c.mjs → basic-CVEIWCYi.mjs} +2 -2
- package/lib/{basic-B5VNsnap.mjs → basic-D3Mgm4Qb.mjs} +2 -2
- package/lib/{basic-BR_WJgiZ.js → basic-kfvhCLeC.js} +1 -1
- package/lib/{blake2b-5ZGBTE8v.mjs → blake2b-BFJ9US29.mjs} +7 -7
- package/lib/{blake2b-BJ4wVK7V.js → blake2b-aUiblHhG.js} +1 -1
- package/lib/{browser-ponyfill-C53najnL.js → browser-ponyfill-BeX4lPJd.js} +1 -1
- package/lib/{browser-ponyfill-CuZzL5JS.mjs → browser-ponyfill-Cn2t1qf7.mjs} +1 -1
- package/lib/{chain-B7MIR9_r.mjs → chain-D5okRkwk.mjs} +1 -1
- package/lib/{chain-CSpjwyBt.js → chain-Dme8n2tA.js} +1 -1
- package/lib/{chunk-KJH4KKG6-qC3BvugF.mjs → chunk-KJH4KKG6-DTOJZuhY.mjs} +144 -144
- package/lib/{chunk-KJH4KKG6-B9iq51o1.js → chunk-KJH4KKG6-HfCF1Kt-.js} +1 -1
- package/lib/{constants-DWhraRof.mjs → constants-BHQAYN6w.mjs} +3 -3
- package/lib/{constants-BA7a60_u.js → constants-BsKTcZQ3.js} +1 -1
- package/lib/{contract-D4Vzf62E.mjs → contract-CjL0DzEO.mjs} +39 -39
- package/lib/{contract-CQnkFb54.js → contract-DPL0fm8A.js} +1 -1
- package/lib/{core-DY8-r2Jo.mjs → core-C67jLszg.mjs} +7 -7
- package/lib/{core-DzA-Itto.js → core-DmZlgGHj.js} +3 -3
- package/lib/{create-CtvZoy0X.mjs → create-BlfwwO0_.mjs} +3 -3
- package/lib/{create-DCJBhyHG.js → create-CovWyutZ.js} +1 -1
- package/lib/{evm-BvQ1H4_y.js → evm-BWTWGvAv.js} +2 -2
- package/lib/{evm-Dn0xYGMV.mjs → evm-BohuNM6V.mjs} +9 -9
- package/lib/{evm-CrfP3Qfk.js → evm-CqywsvEZ.js} +2 -2
- package/lib/{evm-BfefVZFh.mjs → evm-M0ImOGaN.mjs} +7 -7
- package/lib/executor.js +1 -1
- package/lib/executor.mjs +46 -46
- package/lib/hosted.js +1 -1
- package/lib/hosted.mjs +1 -1
- package/lib/{index-CnCmR4Uj.js → index-2CmAUr-U.js} +1 -1
- package/lib/{index-DF2WGKez.js → index-85b_tiAE.js} +1 -1
- package/lib/{index-Ct88Toxl.mjs → index-95FB4Qgc.mjs} +3 -3
- package/lib/{index-lN-puZih.js → index-B7ho7Pb6.js} +1 -1
- package/lib/{index-DbPhljz1.mjs → index-BAUIp5vX.mjs} +15 -15
- package/lib/{index-DQp_O8iB.mjs → index-BCZtiDee.mjs} +4 -4
- package/lib/{index-BiS8vv7E.mjs → index-BGq4wC4S.mjs} +1 -1
- package/lib/{index-CBHIr2qc.mjs → index-BQuPDPUZ.mjs} +14 -14
- package/lib/{index-C1NzL1cw.mjs → index-BSj3tfTR.mjs} +3 -3
- package/lib/{index-CbVRI3aO.mjs → index-BV1jWLbR.mjs} +40 -40
- package/lib/{index-CXwf1C77.mjs → index-BXk8QNCQ.mjs} +6 -6
- package/lib/{index-DwX86vgy.mjs → index-BcAk5RDV.mjs} +31 -31
- package/lib/{index-BarjntIo.mjs → index-BgOkhLJ5.mjs} +4 -4
- package/lib/{index-BjbPJ-9w.js → index-BkPAiliF.js} +1 -1
- package/lib/{index-DLilRB-O.js → index-Bn-q9qez.js} +1 -1
- package/lib/{index-3pNz5RJC.js → index-Bt7K1A1Q.js} +1 -1
- package/lib/{index-BrjiGZLN.mjs → index-C-NwpT7M.mjs} +4 -4
- package/lib/{index-B2oGf_0Z.js → index-C7dcnZ_Y.js} +1 -1
- package/lib/{index-BuxGl_Bi.js → index-C9Mdci2_.js} +1 -1
- package/lib/index-CBBfcDND.js +335 -0
- package/lib/{index-BGsoGuxr.js → index-CGjibiRn.js} +1 -1
- package/lib/{index-Yra08X_i.js → index-CJ_ewe88.js} +1 -1
- package/lib/{index-CS1x3lLl.mjs → index-CMyIX4q3.mjs} +1 -1
- package/lib/{index-C6plXYir.mjs → index-CPq5TByt.mjs} +31052 -27169
- package/lib/{index-Czoo2lwG.mjs → index-Cd2G9Q0O.mjs} +2 -2
- package/lib/{index-iXUxUBar.js → index-D8YqkJyN.js} +1 -1
- package/lib/{index-BG9uNreI.js → index-DMtTF3lo.js} +1 -1
- package/lib/{index-DrcGXX5n.mjs → index-DRZtHRGC.mjs} +5 -5
- package/lib/{index-BZsgCHbh.js → index-DSFtUxH1.js} +1 -1
- package/lib/{index-B9Jj-myq.mjs → index-DYspQsyV.mjs} +4 -4
- package/lib/{index-BPdR4VSR.mjs → index-Difh_8Uq.mjs} +35 -35
- package/lib/{index-D2-kSqKC.mjs → index-Dl11esS0.mjs} +12 -12
- package/lib/{index-Dg1FDsF7.js → index-DlZQ535U.js} +1 -1
- package/lib/{index-DPZNqrkJ.mjs → index-DnaDROoD.mjs} +3 -3
- package/lib/{index-C6deIq6M.js → index-DocFg1hF.js} +1 -1
- package/lib/{index-BHv9flJb.js → index-DpEQBLtA.js} +1 -1
- package/lib/{index-OjOZm9KZ.mjs → index-DpSdWR-Q.mjs} +19 -19
- package/lib/{index-DCIXsPdt.js → index-DzxRHhWq.js} +1 -1
- package/lib/{index-BYNs7o4U.js → index-LMdITOCB.js} +1 -1
- package/lib/{index-C3JpIduu.js → index-cT-KFIxA.js} +1 -1
- package/lib/{index-TWJ3iDnH.js → index-k6e49slq.js} +1 -1
- package/lib/{index-t4mLpVUg.mjs → index-uuu1viWa.mjs} +1 -1
- package/lib/{index.es-CGmlPDhv.js → index.es-BYFwv7lT.js} +1 -1
- package/lib/{index.es-Cv23C4D_.mjs → index.es-BhhigIOQ.mjs} +3 -3
- package/lib/{index.es-C-nP3Wu4.mjs → index.es-DGqzeimm.mjs} +5 -5
- package/lib/{index.es-DOcp1QIZ.js → index.es-Fc3_m80E.js} +3 -3
- package/lib/index.js +1 -1
- package/lib/index.mjs +2 -2
- package/lib/mayan.js +9 -2
- package/lib/mayan.mjs +21900 -18117
- package/lib/{mint-DDRe5tvc.js → mint-C2AsTCD2.js} +1 -1
- package/lib/{mint-CwWYApOB.mjs → mint-CLB7p3ZL.mjs} +2 -2
- package/lib/ntt.js +1 -1
- package/lib/ntt.mjs +2370 -2323
- package/lib/{platform-Cdz3d-G9.js → platform-Cl1b31bn.js} +1 -1
- package/lib/{platform-C2My6P6V.js → platform-DV62YjSS.js} +1 -1
- package/lib/{platform-CkZe-n0U.js → platform-Dw5tN12f.js} +1 -1
- package/lib/{platform-B0QvkHbE.mjs → platform-bCY3DvqI.mjs} +14 -14
- package/lib/{platform-lg76WojY.mjs → platform-mkzPOtcO.mjs} +42 -21
- package/lib/{platform-IW8iV_CA.mjs → platform-pX0KL6zm.mjs} +6 -6
- package/lib/{provider-jsonrpc-Bd_Ha8XL.js → provider-jsonrpc-B0bAKP-a.js} +1 -1
- package/lib/{provider-jsonrpc-BXNY8lbA.mjs → provider-jsonrpc-DwKu1fjn.mjs} +120 -120
- package/lib/{secp256k1-BaYwfoJI.js → secp256k1-1EcPGQYM.js} +1 -1
- package/lib/{secp256k1-etdIygIN.mjs → secp256k1-6Zr6y_zm.mjs} +1 -1
- package/lib/{secp256k1-D3q9LbdQ.js → secp256k1-7IiVcfA7.js} +1 -1
- package/lib/{secp256k1-luy_3ZLQ.mjs → secp256k1-BeZAjIBs.mjs} +1 -1
- package/lib/{secp256k1-Cplgnjin.mjs → secp256k1-DXI-6Erh.mjs} +1 -1
- package/lib/{secp256k1-CuaGNRQC.js → secp256k1-Y38qxq0y.js} +1 -1
- package/lib/{signer-DKbAIeFy.mjs → signer-CzGPDOMI.mjs} +20 -20
- package/lib/{signer-BrSuBAB7.js → signer-D6-3r3Sp.js} +1 -1
- package/lib/{solana-BnirZbTQ.js → solana-Da7iWCux.js} +4 -4
- package/lib/solana-mjJtTggS.js +1 -0
- package/lib/{solana-DR8_Oms-.mjs → solana-os3Osxo6.mjs} +10 -10
- package/lib/solana-vo_l-zLm.mjs +18 -0
- package/lib/{solanaEmbed.esm-fUPiKqY3.mjs → solanaEmbed.esm-BBnVqCsz.mjs} +2 -2
- package/lib/{solanaEmbed.esm-BKWwcEou.js → solanaEmbed.esm-RhVD6vLR.js} +1 -1
- package/lib/src/AppRouter.d.ts.map +1 -1
- package/lib/src/components/AssetBadge.d.ts.map +1 -1
- package/lib/src/components/ConfigurablePageHeader.d.ts +4 -0
- package/lib/src/components/ConfigurablePageHeader.d.ts.map +1 -0
- package/lib/src/components/SampleApp/index.d.ts.map +1 -1
- package/lib/src/components/v3/AlertBanner.d.ts +14 -0
- package/lib/src/components/v3/AlertBanner.d.ts.map +1 -0
- package/lib/src/components/v3/Button.d.ts +22 -0
- package/lib/src/components/v3/Button.d.ts.map +1 -0
- package/lib/src/config/ui.d.ts +1 -1
- package/lib/src/config/ui.d.ts.map +1 -1
- package/lib/src/hooks/useAmountValidation.d.ts +2 -2
- package/lib/src/hooks/useAmountValidation.d.ts.map +1 -1
- package/lib/src/icons/Clock.d.ts +5 -0
- package/lib/src/icons/Clock.d.ts.map +1 -0
- package/lib/src/icons/SwapVertical.d.ts +5 -0
- package/lib/src/icons/SwapVertical.d.ts.map +1 -0
- package/lib/src/icons/TokenIcons.d.ts +1 -1
- package/lib/src/icons/TokenIcons.d.ts.map +1 -1
- package/lib/src/theme.d.ts +10 -3
- package/lib/src/theme.d.ts.map +1 -1
- package/lib/src/views/v3/Bridge/AmountInput/index.d.ts +21 -0
- package/lib/src/views/v3/Bridge/AmountInput/index.d.ts.map +1 -0
- package/lib/src/views/v3/Bridge/AmountValidationError.d.ts +11 -0
- package/lib/src/views/v3/Bridge/AmountValidationError.d.ts.map +1 -0
- package/lib/src/views/v3/Bridge/AssetPicker/ChainList.d.ts +16 -0
- package/lib/src/views/v3/Bridge/AssetPicker/ChainList.d.ts.map +1 -0
- package/lib/src/views/v3/Bridge/AssetPicker/PickerBottomSheet.d.ts +31 -0
- package/lib/src/views/v3/Bridge/AssetPicker/PickerBottomSheet.d.ts.map +1 -0
- package/lib/src/views/v3/Bridge/AssetPicker/PickerModal.d.ts +32 -0
- package/lib/src/views/v3/Bridge/AssetPicker/PickerModal.d.ts.map +1 -0
- package/lib/src/views/v3/Bridge/AssetPicker/SearchableList/SearchInput.d.ts +11 -0
- package/lib/src/views/v3/Bridge/AssetPicker/SearchableList/SearchInput.d.ts.map +1 -0
- package/lib/src/views/v3/Bridge/AssetPicker/SearchableList/index.d.ts +20 -0
- package/lib/src/views/v3/Bridge/AssetPicker/SearchableList/index.d.ts.map +1 -0
- package/lib/src/views/v3/Bridge/AssetPicker/TokenItem.d.ts +16 -0
- package/lib/src/views/v3/Bridge/AssetPicker/TokenItem.d.ts.map +1 -0
- package/lib/src/views/v3/Bridge/AssetPicker/TokenList.d.ts +24 -0
- package/lib/src/views/v3/Bridge/AssetPicker/TokenList.d.ts.map +1 -0
- package/lib/src/views/v3/Bridge/AssetPicker/index.d.ts +32 -0
- package/lib/src/views/v3/Bridge/AssetPicker/index.d.ts.map +1 -0
- package/lib/src/views/v3/Bridge/GasSlider/index.d.ts +11 -0
- package/lib/src/views/v3/Bridge/GasSlider/index.d.ts.map +1 -0
- package/lib/src/views/v3/Bridge/Routes/RouteBadge.d.ts +9 -0
- package/lib/src/views/v3/Bridge/Routes/RouteBadge.d.ts.map +1 -0
- package/lib/src/views/v3/Bridge/Routes/RoutesBottomSheet.d.ts +26 -0
- package/lib/src/views/v3/Bridge/Routes/RoutesBottomSheet.d.ts.map +1 -0
- package/lib/src/views/v3/Bridge/Routes/RoutesList.d.ts +20 -0
- package/lib/src/views/v3/Bridge/Routes/RoutesList.d.ts.map +1 -0
- package/lib/src/views/v3/Bridge/Routes/RoutesModal.d.ts +25 -0
- package/lib/src/views/v3/Bridge/Routes/RoutesModal.d.ts.map +1 -0
- package/lib/src/views/v3/Bridge/Routes/SingleRoute.d.ts +17 -0
- package/lib/src/views/v3/Bridge/Routes/SingleRoute.d.ts.map +1 -0
- package/lib/src/views/v3/Bridge/Routes/index.d.ts +13 -0
- package/lib/src/views/v3/Bridge/Routes/index.d.ts.map +1 -0
- package/lib/src/views/v3/Bridge/SwapInputs/index.d.ts +5 -0
- package/lib/src/views/v3/Bridge/SwapInputs/index.d.ts.map +1 -0
- package/lib/src/views/v3/Bridge/WalletConnector/Controller.d.ts +8 -0
- package/lib/src/views/v3/Bridge/WalletConnector/Controller.d.ts.map +1 -0
- package/lib/src/views/v3/Bridge/WalletConnector/ExplorerLink.d.ts +10 -0
- package/lib/src/views/v3/Bridge/WalletConnector/ExplorerLink.d.ts.map +1 -0
- package/lib/src/views/v3/Bridge/WalletConnector/Sidebar.d.ts +11 -0
- package/lib/src/views/v3/Bridge/WalletConnector/Sidebar.d.ts.map +1 -0
- package/lib/src/views/v3/Bridge/WalletConnector/index.d.ts +11 -0
- package/lib/src/views/v3/Bridge/WalletConnector/index.d.ts.map +1 -0
- package/lib/src/views/v3/Bridge/index.d.ts +5 -0
- package/lib/src/views/v3/Bridge/index.d.ts.map +1 -0
- package/lib/src/views/v3/Redeem/TransactionDetails/index.d.ts +4 -0
- package/lib/src/views/v3/Redeem/TransactionDetails/index.d.ts.map +1 -0
- package/lib/src/views/v3/Redeem/index.d.ts +5 -0
- package/lib/src/views/v3/Redeem/index.d.ts.map +1 -0
- package/lib/src/views/v3/TxHistory/Item/index.d.ts +8 -0
- package/lib/src/views/v3/TxHistory/Item/index.d.ts.map +1 -0
- package/lib/src/views/v3/TxHistory/Widget/Item.d.ts +9 -0
- package/lib/src/views/v3/TxHistory/Widget/Item.d.ts.map +1 -0
- package/lib/src/views/v3/TxHistory/Widget/index.d.ts +6 -0
- package/lib/src/views/v3/TxHistory/Widget/index.d.ts.map +1 -0
- package/lib/src/views/v3/TxHistory/index.d.ts +4 -0
- package/lib/src/views/v3/TxHistory/index.d.ts.map +1 -0
- package/lib/{sui-BTGAAvA9.js → sui-BCWT_MP3.js} +1 -1
- package/lib/{sui-BBqJwRM0.mjs → sui-CFKprzku.mjs} +3 -3
- package/lib/{sui-DTftSE5y.js → sui-CO5gTC2j.js} +1 -1
- package/lib/{sui-DAYuRjfB.mjs → sui-rzSF8U-3.mjs} +33 -33
- package/lib/{tokens-tq3iPasz.js → tokens-D2BbVV4x.js} +1 -1
- package/lib/{tokens-Bdu7ORRI.mjs → tokens-D74pLzp3.mjs} +3 -3
- package/lib/{units-Brhe0Yro.mjs → units-BGcsq4mJ.mjs} +24 -24
- package/lib/{units-CMwYFpwc.js → units-CFxZtEkH.js} +1 -1
- package/lib/{unsignedTransaction-Brbbx5Uc.mjs → unsignedTransaction-BHbKxuLa.mjs} +14 -14
- package/lib/{unsignedTransaction-q5Fk1S0o.js → unsignedTransaction-D14ic9We.js} +1 -1
- package/lib/{w3m-modal-BfRfCY9F.js → w3m-modal-253PNp3t.js} +1 -1
- package/lib/{w3m-modal-CtPzALaO.mjs → w3m-modal-BXoUHiVS.mjs} +2 -2
- package/lib/{w3m-modal-BhCXAHBR.js → w3m-modal-Dr98fjep.js} +1 -1
- package/lib/{w3m-modal-Dbhbe_NS.mjs → w3m-modal-vJ0TMybJ.mjs} +2 -2
- package/lib/{web3-Atnj-SZ3.mjs → web3-C7dEQmtr.mjs} +6 -6
- package/lib/{web3-DinKgkT9.js → web3-Co7tl8ed.js} +1 -1
- package/package.json +32 -33
- package/lib/address-BWzhA9di.js +0 -1
- package/lib/index-BjP-grbs.js +0 -299
- package/lib/solana-D_QkC8QG.mjs +0 -18
- package/lib/solana-pu7cIYt0.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var y=Object.defineProperty;var g=(d,e,t)=>e in d?y(d,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):d[e]=t;var o=(d,e,t)=>g(d,typeof e!="symbol"?e+"":e,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./address-
|
|
1
|
+
"use strict";var y=Object.defineProperty;var g=(d,e,t)=>e in d?y(d,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):d[e]=t;var o=(d,e,t)=>g(d,typeof e!="symbol"?e+"":e,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./address-DpQlJQKV.js"),i=require("./address-B2sdpJNe.js"),f=require("./platform-DV62YjSS.js"),w=require("./unsignedTransaction-C1YeEl4G.js"),T=[{name:"tokenBridgeAddress",...r.universalAddressItem},{name:"chain",...r.chainItem()},{name:"domainSeparator",binary:"bytes",custom:r.bytes.encode(i.APTOS_SEPARATOR),omit:!0},{name:"tokenId",...r.universalAddressItem},{name:"domainSeparator",binary:"bytes",custom:new Uint8Array([255]),omit:!0}],m=d=>r.serialize(T,d);class c{constructor(e,t,s,n){o(this,"network");o(this,"chain");o(this,"connection");o(this,"contracts");o(this,"chainId");o(this,"tokenBridgeAddress");this.network=e,this.chain=t,this.connection=s,this.contracts=n,this.chainId=r.toChainId(t);const a=n.tokenBridge;if(!a)throw new Error(`TokenBridge contract Address for chain ${t} not found`);this.tokenBridgeAddress=a}static async fromRpc(e,t){const[s,n]=await f.AptosPlatform.chainFromRpc(e),a=t[n];if(a.network!==s)throw new Error("Network mismatch "+a.network+" !== "+s);return new c(s,n,e,a.contracts)}async isWrappedAsset(e){try{return await this.getOriginalAsset(e),!0}catch{return!1}}async getOriginalAsset(e){const t=e.toString().split(i.APTOS_SEPARATOR),s=await this.connection.getAccountResource({accountAddress:t[0],resourceType:`${this.tokenBridgeAddress}::state::OriginInfo`});if(!s)throw r.ErrNotWrapped(e.toString());const n=r.toChain(parseInt(s.token_chain.number)),a=new r.UniversalAddress(s.token_address.external_address);return{chain:n,address:a}}async getTokenUniversalAddress(e){return new r.UniversalAddress(r.hex.encode(r.sha3_256(e.toString()),!0))}async getTokenNativeAddress(e,t){const s=e===this.chain?await this.getTypeFromExternalAddress(t.toString()):await this.getAssetFullyQualifiedType({chain:e,address:t});if(!s)throw new Error("Invalid asset address.");return new i.AptosAddress(s)}async hasWrappedAsset(e){try{return await this.getWrappedAsset(e),!0}catch{}return!1}async getWrappedAsset(e){if(r.isNative(e.address))throw new Error("native asset cannot be a wrapped asset");const t=await this.getAssetFullyQualifiedType(e);if(!t)throw new Error("Invalid asset address.");return await this.connection.getAccountResource({accountAddress:i.coalesceModuleAddress(t),resourceType:`${this.tokenBridgeAddress}::state::OriginInfo`}),r.toNative(this.chain,t)}async isTransferCompleted(e){const s=(await this.connection.getAccountResource({accountAddress:this.tokenBridgeAddress,resourceType:`${this.tokenBridgeAddress}::state::State`})).consumed_vaas.elems.handle;try{return await this.connection.getTableItem({handle:s,data:{key_type:"vector<u8>",value_type:"u8",key:`0x${r.dist.Buffer.from(r.keccak_256(e.hash)).toString("hex")}`}}),!0}catch{return!1}}async getWrappedNative(){return r.toNative(this.chain,i.APTOS_COIN)}async*createAttestation(e,t){const s={chain:this.chain,address:new i.AptosAddress(e)},n=await this.getAssetFullyQualifiedType(s);if(!n)throw new Error("Invalid asset address.");yield this.createUnsignedTx({function:`${this.tokenBridgeAddress}::attest_token::attest_token_entry`,typeArguments:[n],functionArguments:[]},"Aptos.AttestToken")}async*submitAttestation(e,t){yield this.createUnsignedTx({function:`${this.tokenBridgeAddress}::wrapped::create_wrapped_coin_type`,typeArguments:[],functionArguments:[r.serialize$1(e)]},"Aptos.CreateWrappedCoinType");const s=await this.getAssetFullyQualifiedType(e.payload.token);if(!s)throw new Error("Invalid asset address.");yield this.createUnsignedTx({function:`${this.tokenBridgeAddress}::wrapped::create_wrapped_coin`,typeArguments:[s],functionArguments:[r.serialize$1(e)]},"Aptos.CreateWrappedCoin")}async*transfer(e,t,s,n,a){const l=0n,h=0n,u=r.isNative(s)?i.APTOS_COIN:s.toString(),A=t.address.toUniversalAddress().toUint8Array(),p=r.toChainId(t.chain);a?yield this.createUnsignedTx({function:`${this.tokenBridgeAddress}::transfer_tokens::transfer_tokens_with_payload_entry`,typeArguments:[u],functionArguments:[n,p,A,h,a]},"Aptos.TransferTokensWithPayload"):yield this.createUnsignedTx({function:`${this.tokenBridgeAddress}::transfer_tokens::transfer_tokens_entry`,typeArguments:[u],functionArguments:[n,p,A,l,h]},"Aptos.TransferTokens")}async*redeem(e,t,s=!0){const n=t.payload.token.chain===this.chain?await this.getTypeFromExternalAddress(t.payload.token.address.toString()):await this.getAssetFullyQualifiedType(t.payload.token);if(!n)throw new Error("Invalid asset address.");yield this.createUnsignedTx({function:`${this.tokenBridgeAddress}::complete_transfer::submit_vaa_and_register_entry`,typeArguments:[n],functionArguments:[r.serialize$1(t)]},"Aptos.CompleteTransfer")}async getAssetFullyQualifiedType(e){return e.chain===this.chain?i.isValidAptosType(e.address.toString())?e.address.toString():null:`${c.getForeignAssetAddress(this.chain,this.tokenBridgeAddress,e)}::coin::T`}async getTypeFromExternalAddress(e){try{const t=await this.connection.getAccountResource({accountAddress:this.tokenBridgeAddress,resourceType:`${this.tokenBridgeAddress}::state::State`}),{handle:s}=t.native_infos,n=await this.connection.getTableItem({handle:s,data:{key_type:`${this.tokenBridgeAddress}::token_hash::TokenHash`,value_type:"0x1::type_info::TypeInfo",key:{hash:e}}});return n?[n.account_address,String.fromCharCode(...r.hex.decode(n.module_name)),String.fromCharCode(...r.hex.decode(n.struct_name))].join(i.APTOS_SEPARATOR):null}catch{return null}}static getForeignAssetAddress(e,t,s){if(r.isNative(s.address))throw new Error("Invalid token address");const n=m({chain:s.chain,tokenBridgeAddress:new i.AptosAddress(t).toUniversalAddress(),tokenId:s.address.toUniversalAddress()});return r.hex.encode(r.sha3_256(n),!0)}createUnsignedTx(e,t,s=!1){return new w.AptosUnsignedTransaction(e,this.network,this.chain,t,s)}}r.registerProtocol("Aptos","TokenBridge",c);exports.AptosTokenBridge=c;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
var v = Object.defineProperty;
|
|
2
2
|
var S = (a, e, t) => e in a ? v(a, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[e] = t;
|
|
3
3
|
var i = (a, e, t) => S(a, typeof e != "symbol" ? e + "" : e, t);
|
|
4
|
-
import { au as I, aq as f, as as x, f as U, aw as w,
|
|
5
|
-
import { f as A, d as u, g as W, e as _, i as N } from "./address-
|
|
6
|
-
import { A as O } from "./platform-
|
|
4
|
+
import { au as I, aq as f, as as x, f as U, aw as w, dm as E, ac as $, U as m, k as o, cJ as k, m as c, t as T, d as F, av as C, aD as h, aE as b } from "./address-YYxpimx3.mjs";
|
|
5
|
+
import { f as A, d as u, g as W, e as _, i as N } from "./address-DPWm1fbw.mjs";
|
|
6
|
+
import { A as O } from "./platform-pX0KL6zm.mjs";
|
|
7
7
|
import { A as Q } from "./unsignedTransaction-BDOQhqcZ.mjs";
|
|
8
8
|
const R = [
|
|
9
9
|
{ name: "tokenBridgeAddress", ...f },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var k=Object.defineProperty;var C=(g,s,t)=>s in g?k(g,s,{enumerable:!0,configurable:!0,writable:!0,value:t}):g[s]=t;var i=(g,s,t)=>C(g,typeof s!="symbol"?s+"":s,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("./platform-
|
|
1
|
+
"use strict";var k=Object.defineProperty;var C=(g,s,t)=>s in g?k(g,s,{enumerable:!0,configurable:!0,writable:!0,value:t}):g[s]=t;var i=(g,s,t)=>C(g,typeof s!="symbol"?s+"":s,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("./platform-Dw5tN12f.js"),d=require("./address-DpQlJQKV.js"),v=require("./unsignedTransaction-DzSLsK-p.js"),b=[["Testnet",{tokenMessengerState:"0x5252abd1137094ed1db3e0d75bc36abcd287aee4bc310f8e047727ef5682e7c2",messageTransmitterState:"0x98234bd0fa9ac12cc0a20a144a22e36d6a32f7e0a97baaeaf9c76cdc6d122d2e",usdcTreasury:"0x7170137d4a6431bf83351ac025baf462909bffe2877d87716374fb42b9629ebe"}],["Mainnet",{tokenMessengerState:"0x45993eecc0382f37419864992c12faee2238f5cfe22b98ad3bf455baf65c8a2f",messageTransmitterState:"0xf68268c3d9b1df3215f2439400c1c4ea08ac4ef4bb7d6f3ca6a2a239e17510af",usdcTreasury:"0x57d6725e7a8b49a7b2a612f6bd66ab5f39fc95332ca48be421c3229d514a6de7"}]],T=d.constMap(b,[0,1]);class p{constructor(s,t,r,e){i(this,"network");i(this,"chain");i(this,"provider");i(this,"contracts");i(this,"usdcId");i(this,"usdcTreasuryId");i(this,"tokenMessengerId");i(this,"tokenMessengerStateId");i(this,"messageTransmitterId");i(this,"messageTransmitterStateId");var u,m,f,l;if(this.network=s,this.chain=t,this.provider=r,this.contracts=e,s==="Devnet")throw new Error("CircleBridge not supported on Devnet");const n=d.usdcContract.get(this.network,this.chain);if(!n)throw new Error(`No USDC contract configured for network=${this.network} chain=${this.chain}`);const{tokenMessengerState:o,messageTransmitterState:a,usdcTreasury:c}=T(s);if(!((u=e.cctp)!=null&&u.tokenMessenger))throw new Error(`Circle Token Messenger contract for domain ${t} not found`);if(!((m=e.cctp)!=null&&m.messageTransmitter))throw new Error(`Circle Message Transmitter contract for domain ${t} not found`);this.usdcId=n,this.usdcTreasuryId=c,this.tokenMessengerId=(f=e.cctp)==null?void 0:f.tokenMessenger,this.messageTransmitterId=(l=e.cctp)==null?void 0:l.messageTransmitter,this.tokenMessengerStateId=o,this.messageTransmitterStateId=a}async*transfer(s,t,r){const e=new h.Transaction,n=d.circleChainId.get(this.network,t.chain),[o,...a]=await h.SuiPlatform.getCoins(this.provider,s,this.usdcId);if(o===void 0)throw new Error("No USDC in wallet");const c=e.object(o.coinObjectId);a.length>0&&e.mergeCoins(c,a.map(m=>e.object(m.coinObjectId)));const[u]=e.splitCoins(c,[r]);e.moveCall({target:`${this.tokenMessengerId}::deposit_for_burn::deposit_for_burn`,arguments:[u,e.pure.u32(n),e.pure.address(t.address.toUniversalAddress().toString()),e.object(this.tokenMessengerStateId),e.object(this.messageTransmitterStateId),e.object("0x403"),e.object(this.usdcTreasuryId)],typeArguments:[this.usdcId]}),yield this.createUnsignedTx(e,"Sui.CircleBridge.Transfer")}async isTransferCompleted(s){const t=new h.Transaction;t.moveCall({target:`${this.messageTransmitterId}::state::is_nonce_used`,arguments:[t.object(this.messageTransmitterStateId),t.pure.u32(s.sourceDomain),t.pure.u64(s.nonce)]});const r=await this.provider.devInspectTransactionBlock({sender:"0x0000000000000000000000000000000000000000000000000000000000000000",transactionBlock:t});try{return!!r.results[0].returnValues[0][0][0]}catch(e){return console.error(`Error reading if nonce was used: ${e}`),!1}}async*redeem(s,t,r){const e=new h.Transaction,[n]=e.moveCall({target:`${this.messageTransmitterId}::receive_message::receive_message`,arguments:[e.pure.vector("u8",d.CircleBridge.serialize(t)),e.pure.vector("u8",d.hex.decode(r)),e.object(this.messageTransmitterStateId)]});if(!n)throw new Error("Failed to produce receipt");const[o]=e.moveCall({target:`${this.tokenMessengerId}::handle_receive_message::handle_receive_message`,arguments:[n,e.object(this.tokenMessengerStateId),e.object("0x403"),e.object(this.usdcTreasuryId)],typeArguments:[this.usdcId]});if(!o)throw new Error("Failed to produce stamp receipt ticket with burn message");const[a]=e.moveCall({target:`${this.tokenMessengerId}::handle_receive_message::deconstruct_stamp_receipt_ticket_with_burn_message`,arguments:[o]});if(!a)throw new Error("Failed to produce stamp receipt ticket");const[c]=e.moveCall({target:`${this.messageTransmitterId}::receive_message::stamp_receipt`,arguments:[a,e.object(this.messageTransmitterStateId)],typeArguments:[`${this.tokenMessengerId}::message_transmitter_authenticator::MessageTransmitterAuthenticator`]});if(!c)throw new Error("Failed to produce stamped receipt");e.moveCall({target:`${this.messageTransmitterId}::receive_message::complete_receive_message`,arguments:[c,e.object(this.messageTransmitterStateId)]}),yield this.createUnsignedTx(e,"Sui.CircleBridge.Redeem")}async parseTransactionDetails(s){var w;const t=await this.provider.waitForTransaction({digest:s,options:{showEvents:!0,showEffects:!0,showInput:!0}});if(!t)throw new Error("Transaction not found");if(!t.events)throw new Error("Transaction events not found");const r=(w=t.events)==null?void 0:w.find(I=>I.type.includes("send_message::MessageSent"));if(!r)throw new Error("No MessageSent event found");const e=new Uint8Array((r==null?void 0:r.parsedJson).message),[n,o]=d.CircleBridge.deserialize(e),{payload:a}=n,c=a.messageSender,u=a.mintRecipient,m=d.toCircleChain(this.network,n.sourceDomain),f=d.toCircleChain(this.network,n.destinationDomain),l={chain:m,address:a.burnToken};return{from:{chain:m,address:c},to:{chain:f,address:u},token:l,amount:a.amount,message:n,id:{hash:o}}}static async fromRpc(s,t){const[r,e]=await h.SuiPlatform.chainFromRpc(s),n=t[e];if(n.network!==r)throw new Error(`Network mismatch: ${n.network} != ${r}`);return new p(r,e,s,n.contracts)}createUnsignedTx(s,t,r=!1){return new v.SuiUnsignedTransaction(s,this.network,this.chain,t,r)}}d.registerProtocol("Sui","CircleBridge",p);exports.SuiCircleBridge=p;exports._suiCircleObjects=b;exports.suiCircleObjects=T;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
var _ = Object.defineProperty;
|
|
2
|
-
var
|
|
3
|
-
var u = (p, e, t) =>
|
|
4
|
-
import { I as D, C as T } from "./contract-
|
|
5
|
-
import { m as I, k as b, aw as S,
|
|
6
|
-
import { EvmWormholeCore as tt } from "./index-
|
|
7
|
-
import { EvmTokenBridge as et } from "./index-
|
|
8
|
-
import { E as y } from "./platform-
|
|
2
|
+
var j = (p, e, t) => e in p ? _(p, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : p[e] = t;
|
|
3
|
+
var u = (p, e, t) => j(p, typeof e != "symbol" ? e + "" : e, t);
|
|
4
|
+
import { I as D, C as T } from "./contract-CjL0DzEO.mjs";
|
|
5
|
+
import { m as I, k as b, aw as S, aT as B, W as s, y as z, ay as F, bg as f, o as h, dj as G, aB as l, ac as H, aD as M, aa as Y, dk as J, aC as K, aE as X, aF as Z } from "./address-YYxpimx3.mjs";
|
|
6
|
+
import { EvmWormholeCore as tt } from "./index-DYspQsyV.mjs";
|
|
7
|
+
import { EvmTokenBridge as et } from "./index-Dl11esS0.mjs";
|
|
8
|
+
import { E as y } from "./platform-bCY3DvqI.mjs";
|
|
9
9
|
import { E as nt } from "./unsignedTransaction-C0V0UbsS.mjs";
|
|
10
10
|
const v = new D([
|
|
11
11
|
"function start((bytes32,address,address,address,address,address,uint256,uint256,uint256,uint256)) returns (address,uint16,uint64)",
|
|
@@ -72,7 +72,7 @@ class A {
|
|
|
72
72
|
u(this, "tokenBridge");
|
|
73
73
|
if (this.network = e, this.chain = t, this.provider = o, this.contracts = n, !n.portico)
|
|
74
74
|
throw new Error("Unsupported chain, no contract addresses for: " + t);
|
|
75
|
-
this.core = new tt(e, t, o, n), this.tokenBridge = new et(e, t, o, n), this.chainId =
|
|
75
|
+
this.core = new tt(e, t, o, n), this.tokenBridge = new et(e, t, o, n), this.chainId = z.get(e, t);
|
|
76
76
|
}
|
|
77
77
|
static async fromRpc(e, t) {
|
|
78
78
|
const [o, n] = await y.chainFromRpc(e), r = t[n];
|
|
@@ -86,7 +86,7 @@ class A {
|
|
|
86
86
|
throw new Error("Invalid min swap amount");
|
|
87
87
|
if (c === 0n)
|
|
88
88
|
throw new Error("Invalid min swap amount");
|
|
89
|
-
const w = new F(e).toString(), [k, E] = f(this.network, this.chain, o), [U, P] = f(this.network, t.chain, r),
|
|
89
|
+
const w = new F(e).toString(), [k, E] = f(this.network, this.chain, o), [U, P] = f(this.network, t.chain, r), g = h(E), q = h(await this.getTransferrableToken(g)), R = h(t), N = h(P), O = (/* @__PURE__ */ new Date()).valueOf() % 2 ** 4, W = G.serializeFlagSet({
|
|
90
90
|
flags: {
|
|
91
91
|
shouldWrapNative: k,
|
|
92
92
|
shouldUnwrapNative: U
|
|
@@ -99,7 +99,7 @@ class A {
|
|
|
99
99
|
}), $ = v.encodeFunctionData("start", [
|
|
100
100
|
[
|
|
101
101
|
W,
|
|
102
|
-
|
|
102
|
+
g.toLowerCase(),
|
|
103
103
|
q,
|
|
104
104
|
N.toLowerCase(),
|
|
105
105
|
R,
|
|
@@ -110,17 +110,17 @@ class A {
|
|
|
110
110
|
a.relayerFee.toString()
|
|
111
111
|
]
|
|
112
112
|
]), Q = this.getTokenGroup(E.address.toString()), C = this.getPorticoAddress(Q);
|
|
113
|
-
k || (yield* this.approve(
|
|
113
|
+
k || (yield* this.approve(g, w, n, C));
|
|
114
114
|
const L = await this.core.getMessageFee(), V = {
|
|
115
115
|
to: C,
|
|
116
116
|
data: $,
|
|
117
117
|
value: L + (k ? n : 0n)
|
|
118
118
|
};
|
|
119
|
-
yield this.createUnsignedTransaction(
|
|
119
|
+
yield this.createUnsignedTransaction(l(V, w), "PorticoBridge.Transfer");
|
|
120
120
|
}
|
|
121
121
|
async *redeem(e, t) {
|
|
122
|
-
const o =
|
|
123
|
-
yield this.createUnsignedTransaction(
|
|
122
|
+
const o = H(t.payload.payload.flagSet.recipientChain), n = t.payload.payload.finalTokenAddress.toNative(o).toString(), r = this.getTokenGroup(n), d = this.getPorticoAddress(r), i = await new T(d, v.fragments, this.provider).getFunction("receiveMessageAndSwap").populateTransaction(M(t)), c = new F(e).toString();
|
|
123
|
+
yield this.createUnsignedTransaction(l(i, c), "PorticoBridge.Redeem");
|
|
124
124
|
}
|
|
125
125
|
async isTransferCompleted(e) {
|
|
126
126
|
return await this.tokenBridge.tokenBridge.isTransferCompleted(Y(e.hash));
|
|
@@ -167,7 +167,7 @@ class A {
|
|
|
167
167
|
const r = y.getTokenImplementation(this.provider, e);
|
|
168
168
|
if (await r.allowance(t, n) < o) {
|
|
169
169
|
const a = await r.approve.populateTransaction(n, o);
|
|
170
|
-
yield this.createUnsignedTransaction(
|
|
170
|
+
yield this.createUnsignedTransaction(l(a, t), "PorticoBridge.Approve");
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
173
|
createUnsignedTransaction(e, t) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { T as f, A as c } from "./unsignedTransaction-
|
|
2
|
-
import { c as I } from "./unsignedTransaction-
|
|
3
|
-
import { P as e,
|
|
4
|
-
import { p as o, u as m, b as A } from "./web3-
|
|
1
|
+
import { T as f, A as c } from "./unsignedTransaction-BHbKxuLa.mjs";
|
|
2
|
+
import { c as I } from "./unsignedTransaction-BHbKxuLa.mjs";
|
|
3
|
+
import { P as e, a3 as p, an as s, a6 as O } from "./address-YYxpimx3.mjs";
|
|
4
|
+
import { p as o, u as m, b as A } from "./web3-C7dEQmtr.mjs";
|
|
5
5
|
class d extends Error {
|
|
6
6
|
constructor(r) {
|
|
7
7
|
super(r);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as y, e as b, x as w } from "./lit-element-DycUhI4a.mjs";
|
|
2
2
|
import { n as l, m as I, e as L } from "./class-map-fOoKVC1F.mjs";
|
|
3
|
-
import { r as S, k as W, e as D } from "./solana-
|
|
3
|
+
import { r as S, k as W, e as D } from "./solana-os3Osxo6.mjs";
|
|
4
4
|
const h = {
|
|
5
5
|
getSpacingStyles(i, t) {
|
|
6
6
|
if (Array.isArray(i))
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var y = (t, e, s) =>
|
|
4
|
-
import { P as u,
|
|
5
|
-
import { P as _, c as U, i as D } from "./index-
|
|
6
|
-
import { p as R, u as me, b as oe } from "./web3-
|
|
7
|
-
import { a as ue, S as le } from "./unsignedTransaction-
|
|
1
|
+
var Z = Object.defineProperty;
|
|
2
|
+
var j = (t, e, s) => e in t ? Z(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s;
|
|
3
|
+
var y = (t, e, s) => j(t, typeof e != "symbol" ? e + "" : e, s);
|
|
4
|
+
import { P as u, a3 as Y, an as I, a6 as ee, d as M, $ as O, a4 as ne, b6 as E, bl as N, k as se, aL as b, D as x, aM as T, b5 as ae, a0 as te, dl as B, aE as ie, aN as re } from "./address-YYxpimx3.mjs";
|
|
5
|
+
import { P as _, c as U, i as D } from "./index-uuu1viWa.mjs";
|
|
6
|
+
import { p as R, u as me, b as oe } from "./web3-C7dEQmtr.mjs";
|
|
7
|
+
import { a as ue, S as le } from "./unsignedTransaction-BHbKxuLa.mjs";
|
|
8
8
|
const h = new u("TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA");
|
|
9
9
|
new u("TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb");
|
|
10
10
|
const A = new u("ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL");
|
|
@@ -107,10 +107,10 @@ function F(t, e, s) {
|
|
|
107
107
|
return o("used_nonces", s, [a, z(t).toString()]).publicKey;
|
|
108
108
|
}
|
|
109
109
|
async function he(t, e, s, a, i, n) {
|
|
110
|
-
const r = M.Buffer.from(N.serialize(a)), m = M.Buffer.from(se.decode(i)), l = new u(s), d = new u(a.payload.burnToken.toUint8Array()), c = new b(a.payload.mintRecipient).unwrap(), f = n ? new u(n) : c, p = a.sourceDomain.toString(), S = o("message_transmitter", t), k = o("token_messenger", e), P = o("token_minter", e), v = o("local_token", e, [l]),
|
|
110
|
+
const r = M.Buffer.from(N.serialize(a)), m = M.Buffer.from(se.decode(i)), l = new u(s), d = new u(a.payload.burnToken.toUint8Array()), c = new b(a.payload.mintRecipient).unwrap(), f = n ? new u(n) : c, p = a.sourceDomain.toString(), S = o("message_transmitter", t), k = o("token_messenger", e), P = o("token_minter", e), v = o("local_token", e, [l]), H = o("remote_token_messenger", e, [p]), G = o("token_pair", e, [
|
|
111
111
|
p,
|
|
112
112
|
d
|
|
113
|
-
]), X = o("custody", e, [l]), $ = o("message_transmitter_authority", t, [e]).publicKey,
|
|
113
|
+
]), X = o("custody", e, [l]), $ = o("message_transmitter_authority", t, [e]).publicKey, q = F(a.nonce, a.sourceDomain, t), J = o("__event_authority", t), Q = o("__event_authority", e), g = [];
|
|
114
114
|
g.push({
|
|
115
115
|
isSigner: !1,
|
|
116
116
|
isWritable: !1,
|
|
@@ -118,7 +118,7 @@ async function he(t, e, s, a, i, n) {
|
|
|
118
118
|
}), g.push({
|
|
119
119
|
isSigner: !1,
|
|
120
120
|
isWritable: !1,
|
|
121
|
-
pubkey:
|
|
121
|
+
pubkey: H.publicKey
|
|
122
122
|
}), g.push({
|
|
123
123
|
isSigner: !1,
|
|
124
124
|
isWritable: !0,
|
|
@@ -130,7 +130,7 @@ async function he(t, e, s, a, i, n) {
|
|
|
130
130
|
}), g.push({
|
|
131
131
|
isSigner: !1,
|
|
132
132
|
isWritable: !1,
|
|
133
|
-
pubkey:
|
|
133
|
+
pubkey: G.publicKey
|
|
134
134
|
}), g.push({
|
|
135
135
|
isSigner: !1,
|
|
136
136
|
isWritable: !0,
|
|
@@ -146,7 +146,7 @@ async function he(t, e, s, a, i, n) {
|
|
|
146
146
|
}), g.push({
|
|
147
147
|
isSigner: !1,
|
|
148
148
|
isWritable: !1,
|
|
149
|
-
pubkey:
|
|
149
|
+
pubkey: Q.publicKey
|
|
150
150
|
}), g.push({
|
|
151
151
|
isSigner: !1,
|
|
152
152
|
isWritable: !1,
|
|
@@ -161,10 +161,10 @@ async function he(t, e, s, a, i, n) {
|
|
|
161
161
|
caller: f,
|
|
162
162
|
authorityPda: $,
|
|
163
163
|
messageTransmitter: S.publicKey,
|
|
164
|
-
usedNonces:
|
|
164
|
+
usedNonces: q,
|
|
165
165
|
receiver: e,
|
|
166
166
|
systemProgram: O.programId,
|
|
167
|
-
eventAuthority:
|
|
167
|
+
eventAuthority: J.publicKey,
|
|
168
168
|
program: K.programId
|
|
169
169
|
}).remainingAccounts(g).transaction();
|
|
170
170
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
var d = Object.defineProperty;
|
|
2
2
|
var h = (a, e, t) => e in a ? d(a, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[e] = t;
|
|
3
3
|
var o = (a, e, t) => h(a, typeof e != "symbol" ? e + "" : e, t);
|
|
4
|
-
import { aw as m, U as w, k as g, aE as p } from "./address-
|
|
5
|
-
import { A as u } from "./platform-
|
|
6
|
-
import { c as l } from "./create-
|
|
4
|
+
import { aw as m, U as w, k as g, aE as p } from "./address-YYxpimx3.mjs";
|
|
5
|
+
import { A as u } from "./platform-pX0KL6zm.mjs";
|
|
6
|
+
import { c as l } from "./create-BlfwwO0_.mjs";
|
|
7
7
|
class i {
|
|
8
8
|
constructor(e, t, r, s) {
|
|
9
9
|
o(this, "network");
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
var Z = Object.defineProperty;
|
|
2
|
-
var Q = (
|
|
3
|
-
var d = (
|
|
4
|
-
import { P as s, d as c, aw as h,
|
|
5
|
-
import { a as
|
|
6
|
-
import { deriveWrappedMetaKey as
|
|
7
|
-
import { P as he } from "./index-
|
|
8
|
-
import { p as
|
|
9
|
-
import { a as we, S as Se } from "./unsignedTransaction-
|
|
2
|
+
var Q = (n, t, e) => t in n ? Z(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
|
|
3
|
+
var d = (n, t, e) => Q(n, typeof t != "symbol" ? t + "" : t, e);
|
|
4
|
+
import { P as s, d as c, aw as h, a3 as X, an as E, a6 as Y, $ as j, a4 as J, aL as W, e as K, bn as $, a2 as x, a1 as ee, ag as N, ah as v, aE as te, aN as ne } from "./address-YYxpimx3.mjs";
|
|
5
|
+
import { a as ie, b as se, c as ae, e as re, f as oe, S as ce, h as de, d as ue } from "./index-BcAk5RDV.mjs";
|
|
6
|
+
import { deriveWrappedMetaKey as G, deriveTokenBridgeConfigKey as O, deriveAuthoritySignerKey as me, deriveSenderAccountKey as ge, deriveMintAuthorityKey as fe, deriveEndpointKey as le } from "./index-BXk8QNCQ.mjs";
|
|
7
|
+
import { P as he } from "./index-uuu1viWa.mjs";
|
|
8
|
+
import { p as L, u as pe, b as ye } from "./web3-C7dEQmtr.mjs";
|
|
9
|
+
import { a as we, S as Se } from "./unsignedTransaction-BHbKxuLa.mjs";
|
|
10
10
|
const ke = {
|
|
11
11
|
version: "0.1.0",
|
|
12
12
|
name: "wormhole_gateway",
|
|
@@ -967,23 +967,23 @@ const ke = {
|
|
|
967
967
|
}
|
|
968
968
|
]
|
|
969
969
|
};
|
|
970
|
-
function
|
|
971
|
-
return s.findProgramAddressSync([c.Buffer.from("redeemer")], new s(
|
|
970
|
+
function R(n) {
|
|
971
|
+
return s.findProgramAddressSync([c.Buffer.from("redeemer")], new s(n))[0];
|
|
972
972
|
}
|
|
973
|
-
function Me(
|
|
973
|
+
function Me(n, t) {
|
|
974
974
|
const e = c.Buffer.alloc(8);
|
|
975
|
-
return e.writeBigUInt64LE(t), s.findProgramAddressSync([c.Buffer.from("msg"), e], new s(
|
|
975
|
+
return e.writeBigUInt64LE(t), s.findProgramAddressSync([c.Buffer.from("msg"), e], new s(n))[0];
|
|
976
976
|
}
|
|
977
|
-
function Te(
|
|
977
|
+
function Te(n, t) {
|
|
978
978
|
const e = c.Buffer.alloc(2);
|
|
979
|
-
return e.writeUInt16LE(h(t)), s.findProgramAddressSync([c.Buffer.from("gateway-info"), e], new s(
|
|
979
|
+
return e.writeUInt16LE(h(t)), s.findProgramAddressSync([c.Buffer.from("gateway-info"), e], new s(n))[0];
|
|
980
980
|
}
|
|
981
981
|
const T = new s("Gj93RRt6QB7FjmyokAD5rcMAku7pq3Fk2Aa8y6nNbwsV");
|
|
982
982
|
function Be() {
|
|
983
983
|
return s.findProgramAddressSync([c.Buffer.from("config")], T)[0];
|
|
984
984
|
}
|
|
985
|
-
function be(
|
|
986
|
-
return s.findProgramAddressSync([c.Buffer.from("minter-info"),
|
|
985
|
+
function be(n) {
|
|
986
|
+
return s.findProgramAddressSync([c.Buffer.from("minter-info"), n.toBuffer()], T)[0];
|
|
987
987
|
}
|
|
988
988
|
const B = new s("TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA");
|
|
989
989
|
new s("TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb");
|
|
@@ -1002,26 +1002,26 @@ class Ce extends Ae {
|
|
|
1002
1002
|
}
|
|
1003
1003
|
const Pe = X([
|
|
1004
1004
|
E("mintAuthorityOption"),
|
|
1005
|
-
|
|
1005
|
+
L("mintAuthority"),
|
|
1006
1006
|
pe("supply"),
|
|
1007
1007
|
Y("decimals"),
|
|
1008
1008
|
ye("isInitialized"),
|
|
1009
1009
|
E("freezeAuthorityOption"),
|
|
1010
|
-
|
|
1010
|
+
L("freezeAuthority")
|
|
1011
1011
|
]);
|
|
1012
1012
|
Pe.span;
|
|
1013
|
-
async function M(
|
|
1013
|
+
async function M(n, t, e = !1, r = B, i = b) {
|
|
1014
1014
|
if (!e && !s.isOnCurve(t.toBuffer()))
|
|
1015
1015
|
throw new Ce();
|
|
1016
|
-
const [a] = await s.findProgramAddress([t.toBuffer(), r.toBuffer(),
|
|
1016
|
+
const [a] = await s.findProgramAddress([t.toBuffer(), r.toBuffer(), n.toBuffer()], i);
|
|
1017
1017
|
return a;
|
|
1018
1018
|
}
|
|
1019
|
-
function Ie(
|
|
1020
|
-
return Ee(
|
|
1019
|
+
function Ie(n, t, e, r, i = B, a = b) {
|
|
1020
|
+
return Ee(n, t, e, r, c.Buffer.alloc(0), i, a);
|
|
1021
1021
|
}
|
|
1022
|
-
function Ee(
|
|
1022
|
+
function Ee(n, t, e, r, i, a = B, o = b) {
|
|
1023
1023
|
const u = [
|
|
1024
|
-
{ pubkey:
|
|
1024
|
+
{ pubkey: n, isSigner: !0, isWritable: !0 },
|
|
1025
1025
|
{ pubkey: t, isSigner: !1, isWritable: !0 },
|
|
1026
1026
|
{ pubkey: e, isSigner: !1, isWritable: !1 },
|
|
1027
1027
|
{ pubkey: r, isSigner: !1, isWritable: !1 },
|
|
@@ -1031,11 +1031,11 @@ function Ee(i, t, e, r, n, a = B, o = b) {
|
|
|
1031
1031
|
return new J({
|
|
1032
1032
|
keys: u,
|
|
1033
1033
|
programId: o,
|
|
1034
|
-
data:
|
|
1034
|
+
data: i
|
|
1035
1035
|
});
|
|
1036
1036
|
}
|
|
1037
1037
|
class A {
|
|
1038
|
-
constructor(t, e, r,
|
|
1038
|
+
constructor(t, e, r, i) {
|
|
1039
1039
|
d(this, "network");
|
|
1040
1040
|
d(this, "chain");
|
|
1041
1041
|
d(this, "connection");
|
|
@@ -1043,7 +1043,7 @@ class A {
|
|
|
1043
1043
|
d(this, "gateway");
|
|
1044
1044
|
d(this, "tokenBridgeId");
|
|
1045
1045
|
d(this, "coreBridgeId");
|
|
1046
|
-
if (this.network = t, this.chain = e, this.connection = r, this.contracts =
|
|
1046
|
+
if (this.network = t, this.chain = e, this.connection = r, this.contracts = i, this.network !== "Mainnet")
|
|
1047
1047
|
throw new Error("TBTC is only supported on Mainnet");
|
|
1048
1048
|
if (!this.contracts.tbtc)
|
|
1049
1049
|
throw new Error("TBTC contract address is required");
|
|
@@ -1056,24 +1056,24 @@ class A {
|
|
|
1056
1056
|
}), this.tokenBridgeId = new s(this.contracts.tokenBridge), this.coreBridgeId = new s(this.contracts.coreBridge);
|
|
1057
1057
|
}
|
|
1058
1058
|
static async fromRpc(t, e) {
|
|
1059
|
-
const [r,
|
|
1059
|
+
const [r, i] = await we.chainFromRpc(t), a = e[i];
|
|
1060
1060
|
if (a.network !== r)
|
|
1061
1061
|
throw new Error(`Network mismatch: ${a.network} != ${r}`);
|
|
1062
|
-
return new A(r,
|
|
1062
|
+
return new A(r, i, t, a.contracts);
|
|
1063
1063
|
}
|
|
1064
1064
|
async *transfer(t, e, r) {
|
|
1065
|
-
const
|
|
1065
|
+
const i = new W(t).unwrap(), a = R(this.gateway.programId), { tbtcMint: o, wrappedTbtcToken: u, wrappedTbtcMint: m } = await this.gateway.account.custodian.fetch(a), p = G(this.tokenBridgeId, m), g = O(this.tokenBridgeId), f = me(this.tokenBridgeId), C = ie(this.coreBridgeId), { sequence: y } = await se(this.connection, this.tokenBridgeId, this.coreBridgeId), w = Me(this.gateway.programId, y), S = ae(this.coreBridgeId), l = re(this.tokenBridgeId), k = oe(l, this.coreBridgeId), U = Te(this.gateway.programId, e.chain), D = ge(this.gateway.programId), P = {
|
|
1066
1066
|
amount: new K.BN(r.toString()),
|
|
1067
1067
|
recipientChain: h(e.chain),
|
|
1068
1068
|
recipient: [...e.address.toUniversalAddress().toUint8Array()],
|
|
1069
1069
|
nonce: 0
|
|
1070
|
-
}, V = await M(o,
|
|
1070
|
+
}, V = await M(o, i), q = $.get(this.network, e.chain), I = {
|
|
1071
1071
|
custodian: a,
|
|
1072
1072
|
wrappedTbtcToken: u,
|
|
1073
1073
|
wrappedTbtcMint: m,
|
|
1074
1074
|
tbtcMint: o,
|
|
1075
1075
|
senderToken: V,
|
|
1076
|
-
sender:
|
|
1076
|
+
sender: i,
|
|
1077
1077
|
tokenBridgeConfig: g,
|
|
1078
1078
|
tokenBridgeWrappedAsset: p,
|
|
1079
1079
|
tokenBridgeTransferAuthority: f,
|
|
@@ -1095,7 +1095,7 @@ class A {
|
|
|
1095
1095
|
arbiterFee: new K.BN(0)
|
|
1096
1096
|
}).accounts(I).instruction(), { blockhash: F } = await this.connection.getLatestBlockhash(), z = N.compile({
|
|
1097
1097
|
instructions: [_],
|
|
1098
|
-
payerKey:
|
|
1098
|
+
payerKey: i,
|
|
1099
1099
|
recentBlockhash: F
|
|
1100
1100
|
}), H = new v(z);
|
|
1101
1101
|
yield this.createUnsignedTransaction({ transaction: H }, "TBTCBridge.Send");
|
|
@@ -1104,10 +1104,10 @@ class A {
|
|
|
1104
1104
|
if (e.payloadName !== "GatewayTransfer")
|
|
1105
1105
|
throw new Error("Invalid VAA payload");
|
|
1106
1106
|
yield* new ce(this.network, this.chain, this.connection, this.contracts).postVaa(t, e);
|
|
1107
|
-
const
|
|
1108
|
-
await this.connection.getAccountInfo(f) ||
|
|
1109
|
-
const y =
|
|
1110
|
-
|
|
1107
|
+
const i = [], a = new W(t).unwrap(), o = e.payload.payload.recipient.toNative(this.chain).unwrap(), u = R(this.gateway.programId), { tbtcMint: m, wrappedTbtcToken: p, wrappedTbtcMint: g } = await this.gateway.account.custodian.fetch(u), f = await M(m, o);
|
|
1108
|
+
await this.connection.getAccountInfo(f) || i.push(Ie(a, f, o, m));
|
|
1109
|
+
const y = G(this.tokenBridgeId, g), w = await M(g, o);
|
|
1110
|
+
i.push(await this.gateway.methods.receiveTbtc([...e.hash]).accounts({
|
|
1111
1111
|
payer: a,
|
|
1112
1112
|
custodian: u,
|
|
1113
1113
|
postedVaa: ue(this.coreBridgeId, c.Buffer.from(e.hash)),
|
|
@@ -1120,7 +1120,7 @@ class A {
|
|
|
1120
1120
|
recipientWrappedToken: w,
|
|
1121
1121
|
tbtcConfig: Be(),
|
|
1122
1122
|
tbtcMinterInfo: be(u),
|
|
1123
|
-
tokenBridgeConfig:
|
|
1123
|
+
tokenBridgeConfig: O(this.tokenBridgeId),
|
|
1124
1124
|
tokenBridgeRegisteredEmitter: le(this.tokenBridgeId, h(e.emitterChain), e.emitterAddress.toUint8Array()),
|
|
1125
1125
|
tokenBridgeWrappedAsset: y,
|
|
1126
1126
|
tokenBridgeMintAuthority: fe(this.tokenBridgeId),
|
|
@@ -1130,7 +1130,7 @@ class A {
|
|
|
1130
1130
|
coreBridgeProgram: this.coreBridgeId
|
|
1131
1131
|
}).instruction());
|
|
1132
1132
|
const { blockhash: S } = await this.connection.getLatestBlockhash(), l = N.compile({
|
|
1133
|
-
instructions:
|
|
1133
|
+
instructions: i,
|
|
1134
1134
|
payerKey: a,
|
|
1135
1135
|
recentBlockhash: S
|
|
1136
1136
|
}), k = new v(l);
|
|
@@ -1140,7 +1140,7 @@ class A {
|
|
|
1140
1140
|
return new Se(t, this.network, this.chain, e, !1);
|
|
1141
1141
|
}
|
|
1142
1142
|
}
|
|
1143
|
-
te(
|
|
1143
|
+
te(ne, "TBTCBridge", A);
|
|
1144
1144
|
export {
|
|
1145
1145
|
A as SolanaTBTCBridge
|
|
1146
1146
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
var mn = Object.defineProperty;
|
|
2
2
|
var fn = (t, e, r) => e in t ? mn(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
|
|
3
3
|
var m = (t, e, r) => fn(t, typeof e != "symbol" ? e + "" : e, r);
|
|
4
|
-
import { i as gn, j as hn, h as Y, d as X, B as pn, k as yn, l as wn, m as Re, g as zt, S as Lt, n as Sn, o as Mn } from "./index-
|
|
5
|
-
import { P as c, d as l,
|
|
6
|
-
import { P as be, c as _n } from "./index-
|
|
7
|
-
import { d as I, g as Ee, n as Nn, a as se } from "./account-
|
|
8
|
-
import { u as z, b as te, p as M } from "./web3-
|
|
9
|
-
import { a as Q, S as Ze } from "./unsignedTransaction-
|
|
4
|
+
import { i as gn, j as hn, h as Y, d as X, B as pn, k as yn, l as wn, m as Re, g as zt, S as Lt, n as Sn, o as Mn } from "./index-BcAk5RDV.mjs";
|
|
5
|
+
import { P as c, d as l, a3 as T, a4 as we, a6 as K, an as ee, ds as pt, dt as yt, a8 as kn, a7 as An, ao as Tn, ap as Bn, a2 as _, $ as P, aw as w, h as bn, U as qt, a1 as qe, b6 as v, aL as S, dm as ze, ac as Cn, m as D, t as De, a0 as ce, aM as G, f as vn, dq as Pn, au as wt, aV as In, aU as Rn, az as En, aH as St, ah as Mt, o as Wn, aE as Ve, aN as Ge } from "./address-YYxpimx3.mjs";
|
|
6
|
+
import { P as be, c as _n } from "./index-uuu1viWa.mjs";
|
|
7
|
+
import { d as I, g as Ee, n as Nn, a as se } from "./account-BXlWsVcD.mjs";
|
|
8
|
+
import { u as z, b as te, p as M } from "./web3-C7dEQmtr.mjs";
|
|
9
|
+
import { a as Q, S as Ze } from "./unsignedTransaction-BHbKxuLa.mjs";
|
|
10
10
|
const A = new c("TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA");
|
|
11
11
|
new c("TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb");
|
|
12
12
|
const $ = new c("ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"), F = new c("So11111111111111111111111111111111111111112");
|