@funkit/connect 11.0.0 → 11.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +71 -0
- package/dist/clients/chunk-2576N7PQ.js +44 -0
- package/dist/clients/{chunk-II5CZTBC.js → chunk-3P2C436B.js} +3 -1
- package/dist/clients/chunk-63XTVHO3.js +19 -0
- package/dist/clients/chunk-6QCAWEAT.js +53 -0
- package/dist/clients/{chunk-6CYZKITE.js → chunk-6T6URLBM.js} +1 -1
- package/dist/clients/{chunk-LT4EWLDA.js → chunk-BPDLF2R6.js} +1 -0
- package/dist/clients/{chunk-JD2J5K6S.js → chunk-C45VNQXY.js} +161 -18
- package/dist/clients/chunk-DGBIV3ZS.js +36 -0
- package/dist/clients/{chunk-MGQLVTSH.js → chunk-FM7SFGAV.js} +27 -21
- package/dist/clients/{chunk-6PIIYPQK.js → chunk-IYCZWLAF.js} +5 -327
- package/dist/clients/{chunk-BNMZM23Q.js → chunk-JFDRLSYM.js} +3 -3
- package/dist/clients/chunk-PENJ5JGH.js +331 -0
- package/dist/clients/chunk-QQEGNLGD.js +40 -0
- package/dist/clients/chunk-SU3YSNMB.js +306 -0
- package/dist/clients/chunk-TZGKB6WY.js +160 -0
- package/dist/clients/{chunk-2FSEE3AW.js → chunk-UK64SY6N.js} +2 -89
- package/dist/clients/chunk-VIAEAD75.js +61 -0
- package/dist/clients/{chunk-L2KSNS7H.js → chunk-WZRW6WUM.js} +1 -1
- package/dist/clients/{chunk-C4SHJFOV.js → chunk-XJTRLB7W.js} +9 -9
- package/dist/clients/{chunk-YFHTV7DT.js → chunk-Y7WLUPTX.js} +1 -1
- package/dist/clients/chunk-YUZ3B2Q3.js +15 -0
- package/dist/clients/{chunk-2YWQL3AO.js → chunk-Z7HTQFEO.js} +26 -3
- package/dist/clients/fanatics.js +2 -1
- package/dist/clients/internal/nado/consts.d.ts +6 -0
- package/dist/clients/internal/nado/consts.js +5 -3
- package/dist/clients/internal/nado/encoding.d.ts +5 -2
- package/dist/clients/internal/nado/encoding.js +1 -1
- package/dist/clients/internal/nado/errors.d.ts +14 -1
- package/dist/clients/internal/nado/errors.js +7 -3
- package/dist/clients/internal/nado/fetch.js +2 -2
- package/dist/clients/internal/nado/gateway.d.ts +19 -20
- package/dist/clients/internal/nado/gateway.js +4 -6
- package/dist/clients/internal/nado/hooks.d.ts +8 -2
- package/dist/clients/internal/nado/hooks.js +10 -10
- package/dist/clients/internal/nado/indexer.js +4 -4
- package/dist/clients/internal/nado/typedData.js +4 -37
- package/dist/clients/internal/nado/withdrawalCallback.d.ts +20 -0
- package/dist/clients/internal/nado/withdrawalCallback.js +20 -0
- package/dist/clients/internal/nado/withdrawalConfig.d.ts +8 -3
- package/dist/clients/internal/nado/withdrawalConfig.js +7 -3
- package/dist/clients/internal/nado/withdrawalErrors.d.ts +14 -0
- package/dist/clients/internal/nado/withdrawalErrors.js +11 -0
- package/dist/clients/internal/nado/withdrawalForm.css +43 -35
- package/dist/clients/internal/nado/withdrawalForm.d.ts +9 -7
- package/dist/clients/internal/nado/withdrawalForm.js +81 -98
- package/dist/clients/internal/nado/withdrawalStatus.d.ts +41 -0
- package/dist/clients/internal/nado/withdrawalStatus.js +231 -0
- package/dist/clients/internal/nado/withdrawalTypes.d.ts +21 -7
- package/dist/clients/lighter.css +61 -53
- package/dist/clients/lighter.js +8 -7
- package/dist/clients/mallard.js +4 -3
- package/dist/clients/nado.d.ts +67 -0
- package/dist/clients/nado.js +73 -0
- package/dist/clients/polymarket/PolymarketDepositAccountDropdown.css +103 -95
- package/dist/clients/polymarket/PolymarketDepositAccountDropdown.js +9 -6
- package/dist/clients/polymarket/createPolymarketDepositConfig.js +3 -2
- package/dist/clients/polymarket/index.css +103 -95
- package/dist/clients/polymarket/index.js +9 -6
- package/dist/clients/polymarket/polymarket.js +2 -1
- package/dist/components/Dialog/Dialog.d.ts +3 -1
- package/dist/components/Dialog/DialogContent.css.d.ts +6 -0
- package/dist/components/FunCheckbox/FunCheckbox.d.ts +3 -1
- package/dist/components/FunTransactionSummary/PaymentFeesSummary.d.ts +2 -1
- package/dist/consts/customers.d.ts +1 -1
- package/dist/domains/nado.d.ts +11 -2
- package/dist/domains/quoteMode/types.d.ts +16 -0
- package/dist/domains/relay.d.ts +0 -3
- package/dist/hooks/track/analytics/events.d.ts +85 -0
- package/dist/hooks/track/analytics/mappers.d.ts +8 -0
- package/dist/hooks/track/analytics/useDepositAnalytics.d.ts +37 -0
- package/dist/hooks/track/useTrack.d.ts +3 -2
- package/dist/hooks/useFunkitTranslation.d.ts +5 -0
- package/dist/hooks/useTokenAndChainDropdown.d.ts +4 -1
- package/dist/index.css +43 -35
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4414 -3570
- package/dist/modals/CheckoutModal/InputAmount/InputAmount.d.ts +5 -1
- package/dist/modals/CheckoutModal/InputAmount/state.d.ts +13 -0
- package/dist/modals/CheckoutModal/InputAmount/useMeld.d.ts +4 -3
- package/dist/modals/CheckoutModal/InputAmount/utils.d.ts +9 -1
- package/dist/modals/CheckoutModal/MeldQuotes/MeldQuotes.d.ts +3 -1
- package/dist/modals/CheckoutModal/MeldRedirect/MeldRedirect.d.ts +4 -1
- package/dist/modals/CheckoutModal/SourceChange/useBottomBarCloseLabel.d.ts +7 -0
- package/dist/modals/WithdrawalModal/LockedReceiveDisplay.d.ts +22 -0
- package/dist/modals/WithdrawalModal/NadoWithdrawalSuccess.d.ts +20 -0
- package/dist/modals/WithdrawalModal/withdrawalFormHelpers.d.ts +18 -1
- package/dist/modals/WithdrawalModal/withdrawalHooks.d.ts +1 -1
- package/dist/providers/FunkitCheckoutContext/types.d.ts +4 -3
- package/dist/providers/FunkitStatsigProvider.d.ts +7 -0
- package/dist/providers/GeneralWalletProvider.d.ts +1 -0
- package/dist/utils/customer.d.ts +23 -230
- package/dist/utils/withdrawal.d.ts +11 -1
- package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
- package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
- package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
- package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
- package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
- package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
- package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
- package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
- package/dist/wallets/walletConnectors/index.js +33 -33
- package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
- package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
- package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
- package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
- package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
- package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
- package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
- package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
- package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
- package/package.json +4 -4
- package/dist/clients/chunk-SFDEST63.js +0 -18
- package/dist/clients/chunk-ZCCLJW6F.js +0 -99
- package/dist/wallets/walletConnectors/{chunk-W2LCLDPX.js → chunk-2VP2F6EK.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-IULPZP2Q.js → chunk-4T6ZSRJF.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-WAHGI5L7.js → chunk-6BW3HLBG.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-YO2K4MBH.js → chunk-CCQV2ZET.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-TKB2OY6G.js → chunk-CPI4TD43.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-OX37G4YT.js → chunk-F5XEEVG6.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-JPN6TWIT.js → chunk-HNRB7KJU.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-WKNQMP4A.js → chunk-HTHAK6XB.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-GUQM4QSL.js → chunk-MIQTHJ6X.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-4NV5BYRP.js → chunk-RB3HR4R2.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-SWFF3TWJ.js → chunk-RVOY537T.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-KI5Y2BBF.js → chunk-STVVP43G.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-OEEGYENV.js → chunk-UK7C2JXW.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-YQFGVZGR.js → chunk-VAPGUPHO.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-XCNHV3HS.js → chunk-VTM6EECM.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-NR2OGDHQ.js → chunk-X6CGV36L.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-AVDUNQUW.js → chunk-YEZM4CK4.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-KCRO2AGO.js → chunk-ZNX4EMPB.js} +3 -3
|
@@ -16120,7 +16120,7 @@
|
|
|
16120
16120
|
flex: 0 0 auto;
|
|
16121
16121
|
}
|
|
16122
16122
|
|
|
16123
|
-
/* vanilla-extract-css-ns:src/components/Dialog/DialogContent.css.ts.vanilla.css?source=#
|
|
16123
|
+
/* vanilla-extract-css-ns:src/components/Dialog/DialogContent.css.ts.vanilla.css?source=#H4sIAAAAAAAAA7VXS4_bOAy-91do0csEWA2ch2enHqAoeu-t9wUtMbYaWTJkOcnsYv77ws-xLGfG2raXBKL4kZT4kZTv_96W_9jDbr8l_34gpIArzVFkuU1IvIvL61MvvAhu84Rso-h8aWT9-hBHjc7Lh_vRTpJDdfex0rVhSFkOKkNaQoYbz8Fj58AHW31CRa0BVR3RhKJls6-EyqhQZy1YsPujAEs5WhAyFMq0OgpTgBVahWOLUqINDvcibM4NXEDSX2DiKPUl7MAKmaV47VL9_5wWmrfRK4vKBpioLlCWyKk4Gihw8yd5W4FKDVyozPcQex52nY5QA_X3j1FXDu56AtmHQw7hkLiFlMCbk1DTxR89TWQSj51ognpoUak2HM3gKyJ_iKLUxoKyjvLjPCqhhBUgJ3ExkOyu7QaEkn1UXjdP86RF1Tl3zYZUd9SAXdmn-IbF1RUfYnRFF1hlDt6_zLGruhnc9VSY5XoQL1z2mGGry9YINcBFXSXkDOaOUnNqBaIruG86FRI3M1jrJRCXamt14XqM_H3X9ILCQMxmR5_RNM0oIbngHNVTf4vDkV1-Q8DY8YgJQcS8gV5PwhsG1hDuBnTN2LmNfXtm3MIFjJ0VJm6MnTcO_N7Y8aBpeK_lLWRgIr1OuThKnxMCtdWNrGJGS5mCoVltLZqEVBZSie5e765WFbp9lycJvWB6EpaO2m0EXFSlhOcRM4b80B0gBXbKjK4Vp0xLbSZ1266rrnC_jmqbd_1Sm9dFOp0ab7WEzbooLBorwDx_x6tdE4IBdupC-LkD4jsH_F3Wk7xhyUofFTKt-OLtHF0WHCW2aW_-KRcGWVP4CWFa1kVLzqEKmsniVkEWasrn9EhCj9JKK5zXxmvF9EpdsUxCyp0Xzfh6WXrkOHN1VqbhBj4TLs7972L_uPVAAvKR5chOuraUC5A6Gx6vS5E4VvygZtv-fQ_dZanjzCZil8iEbMnWv-dp1N2Lux-7Q5sJvUHRotqBKTra6BKYsM8kut9VBKFCKhTVtXt7PzwYSEmi-3gGcROyi_tu7T8MJrZPXiJ7lO_u0LvrfS2Z_VIgF9CkBFERUJzcTebHXw-P5bWbPK_fHe1y_n1MyMtUadcrLc2i-TSaQfc-9LCbQ0eJAz0sQGMPuhhwugD1Aj68BvzyH4DFRhVXEAAA */
|
|
16124
16124
|
[data-rk] ._1pzt4231 {
|
|
16125
16125
|
max-height: 525px;
|
|
16126
16126
|
max-width: 100vw;
|
|
@@ -16176,24 +16176,27 @@
|
|
|
16176
16176
|
padding-right: 0;
|
|
16177
16177
|
padding-left: 0;
|
|
16178
16178
|
}
|
|
16179
|
-
[data-rk] .
|
|
16179
|
+
[data-rk] ._1pzt4236 {
|
|
16180
|
+
border-width: 0 !important;
|
|
16181
|
+
}
|
|
16182
|
+
[data-rk] ._1pzt4238 {
|
|
16180
16183
|
min-width: initial;
|
|
16181
16184
|
width: calc(100vw - 30px);
|
|
16182
16185
|
max-height: 80svh;
|
|
16183
16186
|
}
|
|
16184
|
-
[data-rk] .
|
|
16187
|
+
[data-rk] ._1pzt4238:has(#token-transfer-page) {
|
|
16185
16188
|
max-height: 80vh;
|
|
16186
16189
|
max-height: 95svh;
|
|
16187
16190
|
}
|
|
16188
|
-
[data-rk] .
|
|
16191
|
+
[data-rk] ._1pzt4238:has(#lightning-invoice-page) {
|
|
16189
16192
|
max-height: 80vh;
|
|
16190
16193
|
max-height: 95svh;
|
|
16191
16194
|
}
|
|
16192
|
-
[data-rk] .
|
|
16195
|
+
[data-rk] ._1pzt4238:has(#fiat-detail-page) {
|
|
16193
16196
|
max-height: 80vh;
|
|
16194
16197
|
max-height: 95svh;
|
|
16195
16198
|
}
|
|
16196
|
-
[data-rk] .
|
|
16199
|
+
[data-rk] ._1pzt423a {
|
|
16197
16200
|
min-width: initial;
|
|
16198
16201
|
width: 100vw;
|
|
16199
16202
|
padding-left: 20px;
|
|
@@ -16207,67 +16210,67 @@
|
|
|
16207
16210
|
overflow: hidden;
|
|
16208
16211
|
min-height: 0;
|
|
16209
16212
|
}
|
|
16210
|
-
[data-rk] .
|
|
16213
|
+
[data-rk] ._1pzt423a:has(#source-change-page) {
|
|
16211
16214
|
max-height: 80svh;
|
|
16212
16215
|
}
|
|
16213
|
-
[data-rk] .
|
|
16216
|
+
[data-rk] ._1pzt423a:has(#token-transfer-page) {
|
|
16214
16217
|
max-height: 80svh;
|
|
16215
16218
|
}
|
|
16216
|
-
[data-rk] .
|
|
16219
|
+
[data-rk] ._1pzt423a:has(#lightning-invoice-page) {
|
|
16217
16220
|
max-height: 80svh;
|
|
16218
16221
|
}
|
|
16219
|
-
[data-rk] .
|
|
16222
|
+
[data-rk] ._1pzt423a:has(#fiat-detail-page) {
|
|
16220
16223
|
max-height: 80svh;
|
|
16221
16224
|
}
|
|
16222
|
-
[data-rk] .
|
|
16225
|
+
[data-rk] ._1pzt423a:has(#confirmation-page) {
|
|
16223
16226
|
max-height: 80svh;
|
|
16224
16227
|
}
|
|
16225
|
-
[data-rk] .
|
|
16228
|
+
[data-rk] ._1pzt423a:has(#complete-page) {
|
|
16226
16229
|
max-height: 80svh;
|
|
16227
16230
|
}
|
|
16228
|
-
[data-rk] .
|
|
16231
|
+
[data-rk] ._1pzt423a:has(#withdrawal-complete-page) {
|
|
16229
16232
|
max-height: 80svh;
|
|
16230
16233
|
}
|
|
16231
|
-
[data-rk] .
|
|
16234
|
+
[data-rk] ._1pzt423a:has(#withdrawal-flow) {
|
|
16232
16235
|
max-height: 80svh;
|
|
16233
16236
|
}
|
|
16234
|
-
[data-rk] .
|
|
16237
|
+
[data-rk] ._1pzt423a:has(#connect-exchange) {
|
|
16235
16238
|
max-height: 80svh;
|
|
16236
16239
|
}
|
|
16237
|
-
[data-rk] .
|
|
16240
|
+
[data-rk] ._1pzt423b {
|
|
16238
16241
|
min-width: 380px;
|
|
16239
16242
|
width: 380px;
|
|
16240
16243
|
}
|
|
16241
|
-
[data-rk] .
|
|
16244
|
+
[data-rk] ._1pzt423d {
|
|
16242
16245
|
overflow-x: hidden;
|
|
16243
16246
|
overflow-y: auto;
|
|
16244
16247
|
scrollbar-gutter: stable;
|
|
16245
16248
|
scrollbar-width: unset;
|
|
16246
16249
|
}
|
|
16247
|
-
[data-rk] .
|
|
16250
|
+
[data-rk] ._1pzt423d::-webkit-scrollbar {
|
|
16248
16251
|
display: unset;
|
|
16249
16252
|
width: 6px;
|
|
16250
16253
|
background-color: var(--rk-colors-modalBackground);
|
|
16251
16254
|
}
|
|
16252
|
-
[data-rk] .
|
|
16255
|
+
[data-rk] ._1pzt423d::-webkit-scrollbar-thumb {
|
|
16253
16256
|
border-radius: var(--rk-radii-modal);
|
|
16254
16257
|
background-color: var(--rk-colors-tertiaryText);
|
|
16255
16258
|
}
|
|
16256
|
-
[data-rk] .
|
|
16259
|
+
[data-rk] ._1pzt423d::-webkit-scrollbar-track {
|
|
16257
16260
|
background-color: var(--rk-colors-modalBackground);
|
|
16258
16261
|
}
|
|
16259
|
-
[data-rk] .
|
|
16262
|
+
[data-rk] ._1pzt423e::-webkit-scrollbar-thumb {
|
|
16260
16263
|
background-color: var(--rk-colors-modalBackground);
|
|
16261
16264
|
}
|
|
16262
|
-
[data-rk] .
|
|
16265
|
+
[data-rk] ._1pzt423e::-webkit-scrollbar-thumb:hover {
|
|
16263
16266
|
background-color: var(--rk-colors-secondaryText);
|
|
16264
16267
|
}
|
|
16265
|
-
[data-rk] .
|
|
16268
|
+
[data-rk] ._1pzt423f {
|
|
16266
16269
|
display: flex;
|
|
16267
16270
|
flex-direction: column;
|
|
16268
16271
|
height: 100vh;
|
|
16269
16272
|
}
|
|
16270
|
-
[data-rk] .
|
|
16273
|
+
[data-rk] ._1pzt423g {
|
|
16271
16274
|
display: flex;
|
|
16272
16275
|
flex-direction: column;
|
|
16273
16276
|
scrollbar-gutter: unset;
|
|
@@ -16275,18 +16278,18 @@
|
|
|
16275
16278
|
overflow-y: hidden;
|
|
16276
16279
|
width: auto;
|
|
16277
16280
|
}
|
|
16278
|
-
[data-rk] .
|
|
16281
|
+
[data-rk] ._1pzt423h {
|
|
16279
16282
|
padding-left: 0;
|
|
16280
16283
|
padding-right: 0;
|
|
16281
16284
|
}
|
|
16282
|
-
[data-rk] .
|
|
16285
|
+
[data-rk] ._1pzt423a ._1pzt423d {
|
|
16283
16286
|
padding-left: 0;
|
|
16284
16287
|
padding-right: 0;
|
|
16285
16288
|
}
|
|
16286
|
-
[data-rk] .
|
|
16289
|
+
[data-rk] ._1pzt423a > div > div {
|
|
16287
16290
|
max-height: 80svh !important;
|
|
16288
16291
|
}
|
|
16289
|
-
[data-rk] .
|
|
16292
|
+
[data-rk] ._1pzt423a #checkout-dialog-content {
|
|
16290
16293
|
padding-left: 0 !important;
|
|
16291
16294
|
padding-right: 0 !important;
|
|
16292
16295
|
scrollbar-gutter: auto;
|
|
@@ -16294,19 +16297,19 @@
|
|
|
16294
16297
|
min-height: 0;
|
|
16295
16298
|
flex: 1 1 auto;
|
|
16296
16299
|
}
|
|
16297
|
-
[data-rk] .
|
|
16300
|
+
[data-rk] ._1pzt423a #checkout-modal-bottom-bar {
|
|
16298
16301
|
padding-left: 0;
|
|
16299
16302
|
padding-right: 0;
|
|
16300
16303
|
}
|
|
16301
|
-
[data-rk] .
|
|
16304
|
+
[data-rk] ._1pzt423i {
|
|
16302
16305
|
transition: opacity 0.2s ease-in-out;
|
|
16303
16306
|
}
|
|
16304
|
-
[data-rk] .
|
|
16307
|
+
[data-rk] ._1pzt423j {
|
|
16305
16308
|
transition: all 0.5s ease-in-out;
|
|
16306
16309
|
max-height: 250px;
|
|
16307
16310
|
overflow: hidden;
|
|
16308
16311
|
}
|
|
16309
|
-
[data-rk] .
|
|
16312
|
+
[data-rk] ._1pzt423k {
|
|
16310
16313
|
max-height: 0px;
|
|
16311
16314
|
transition: all 0.4s ease-out;
|
|
16312
16315
|
overflow: hidden;
|
|
@@ -16327,7 +16330,7 @@
|
|
|
16327
16330
|
min-width: 450px;
|
|
16328
16331
|
width: 450px;
|
|
16329
16332
|
}
|
|
16330
|
-
[data-rk] .
|
|
16333
|
+
[data-rk] ._1pzt423b {
|
|
16331
16334
|
min-width: 480px;
|
|
16332
16335
|
width: 480px;
|
|
16333
16336
|
}
|
|
@@ -16463,9 +16466,10 @@
|
|
|
16463
16466
|
animation-name: stgjxld;
|
|
16464
16467
|
}
|
|
16465
16468
|
|
|
16466
|
-
/* vanilla-extract-css-ns:src/modals/CheckoutModal/SwappedIframe/SwappedIframe.css.ts.vanilla.css?source=
|
|
16469
|
+
/* vanilla-extract-css-ns:src/modals/CheckoutModal/SwappedIframe/SwappedIframe.css.ts.vanilla.css?source=Lm94dGxjcDAgewogIGJhY2tncm91bmQtY29sb3I6IHRyYW5zcGFyZW50OwogIHNjcm9sbGJhci1ndXR0ZXI6IGF1dG87CiAgc2Nyb2xsYmFyLXdpZHRoOiB0aGluOwogIHNjcm9sbGJhci1jb2xvcjogdmFyKC0tcmstY29sb3JzLXRlcnRpYXJ5VGV4dCkgdmFyKC0tcmstY29sb3JzLW1vZGFsQmFja2dyb3VuZCk7Cn0KLm94dGxjcDA6Oi13ZWJraXQtc2Nyb2xsYmFyIHsKICB3aWR0aDogNnB4OwogIGJhY2tncm91bmQtY29sb3I6IHZhcigtLXJrLWNvbG9ycy1tb2RhbEJhY2tncm91bmQpOwp9Ci5veHRsY3AwOjotd2Via2l0LXNjcm9sbGJhci10aHVtYiB7CiAgYm9yZGVyLXJhZGl1czogdmFyKC0tcmstcmFkaWktbW9kYWwpOwogIGJhY2tncm91bmQtY29sb3I6IHZhcigtLXJrLWNvbG9ycy10ZXJ0aWFyeVRleHQpOwp9Ci5veHRsY3AwOjotd2Via2l0LXNjcm9sbGJhci10cmFjayB7CiAgYmFja2dyb3VuZC1jb2xvcjogdmFyKC0tcmstY29sb3JzLW1vZGFsQmFja2dyb3VuZCk7Cn0KLl8xcHp0NDIzMTpoYXMoLm94dGxjcDAgPiBpZnJhbWVbYXJpYS1oaWRkZW49J2ZhbHNlJ10pIHsKICBiYWNrZ3JvdW5kLWNvbG9yOiB0cmFuc3BhcmVudDsKICB0cmFuc2l0aW9uOiBiYWNrZ3JvdW5kLWNvbG9yIDBzIGxpbmVhciAxMDBtczsKfQ */
|
|
16467
16470
|
[data-rk] .oxtlcp0 {
|
|
16468
|
-
|
|
16471
|
+
background-color: transparent;
|
|
16472
|
+
scrollbar-gutter: auto;
|
|
16469
16473
|
scrollbar-width: thin;
|
|
16470
16474
|
scrollbar-color: var(--rk-colors-tertiaryText) var(--rk-colors-modalBackground);
|
|
16471
16475
|
}
|
|
@@ -16480,6 +16484,10 @@
|
|
|
16480
16484
|
[data-rk] .oxtlcp0::-webkit-scrollbar-track {
|
|
16481
16485
|
background-color: var(--rk-colors-modalBackground);
|
|
16482
16486
|
}
|
|
16487
|
+
[data-rk] ._1pzt4231:has(.oxtlcp0 > iframe[aria-hidden=false]) {
|
|
16488
|
+
background-color: transparent;
|
|
16489
|
+
transition: background-color 0s linear 100ms;
|
|
16490
|
+
}
|
|
16483
16491
|
|
|
16484
16492
|
/* vanilla-extract-css-ns:src/components/Icons/Icons.css.ts.vanilla.css?source=QGtleWZyYW1lcyBxZTIyMWEwIHsKICAwJSB7CiAgICB0cmFuc2Zvcm06IHJvdGF0ZSgwZGVnKTsKICB9CiAgMTAwJSB7CiAgICB0cmFuc2Zvcm06IHJvdGF0ZSgzNjBkZWcpOwogIH0KfQpAa2V5ZnJhbWVzIHFlMjIxYTEgewogIDAlIHsKICAgIHRyYW5zZm9ybTogcm90YXRlKDBkZWcpOwogIH0KICAxMDAlIHsKICAgIHRyYW5zZm9ybTogcm90YXRlKDM2MGRlZyk7CiAgfQp9Ci5xZTIyMWEyIHsKICBhbmltYXRpb246IHFlMjIxYTAgMC44cyBsaW5lYXIgaW5maW5pdGU7Cn0KLnFlMjIxYTMgewogIGFuaW1hdGlvbjogcWUyMjFhMCAzMDAwbXMgbGluZWFyIGluZmluaXRlOwp9Ci5xZTIyMWE0IHsKICBwb3NpdGlvbjogcmVsYXRpdmU7CiAgYm9yZGVyLXJhZGl1czogNTAlOwogIGRpc3BsYXk6IGlubGluZS1ibG9jazsKICBhbmltYXRpb246IHFlMjIxYTEgMC44cyBsaW5lYXIgaW5maW5pdGU7CiAgYXNwZWN0LXJhdGlvOiAxIC8gMTsKfQoucWUyMjFhNSB7CiAgcG9zaXRpb246IGFic29sdXRlOwogIHRvcDogNTAlOwogIGxlZnQ6IDUwJTsKICB0cmFuc2Zvcm06IHRyYW5zbGF0ZSgtNTAlLCAtNTAlKTsKICBib3JkZXItcmFkaXVzOiA1MCU7Cn0 */
|
|
16485
16493
|
@keyframes qe221a0 {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Orchestrates the Nado enter-amount screen:
|
|
3
|
-
*
|
|
4
|
-
*
|
|
2
|
+
* Orchestrates the Nado enter-amount screen: maps the selected symbol to a Nado
|
|
3
|
+
* product, tracks the borrow toggle, and exposes the withdrawable amount +
|
|
4
|
+
* sequencer fee in token units.
|
|
5
5
|
*
|
|
6
6
|
* - One-way dependency: never imports from `modals/`; WithdrawalContent maps
|
|
7
7
|
* these outputs onto its own props.
|
|
@@ -12,6 +12,7 @@ import type { NadoWithdrawalCustomerData } from './withdrawalTypes';
|
|
|
12
12
|
/** Structurally matches the shared flow's `clientAmountToggle` (no modals import). */
|
|
13
13
|
export interface NadoAmountToggle {
|
|
14
14
|
label: string;
|
|
15
|
+
tooltip?: string;
|
|
15
16
|
checked: boolean;
|
|
16
17
|
onChange(enabled: boolean): void;
|
|
17
18
|
}
|
|
@@ -19,15 +20,16 @@ export interface UseNadoWithdrawalFormResult {
|
|
|
19
20
|
isNado: boolean;
|
|
20
21
|
/** Borrow (spot leverage) checkbox, assembled here so shared code holds no Nado state. */
|
|
21
22
|
amountToggle: NadoAmountToggle | undefined;
|
|
22
|
-
/** Max withdrawable for the selection in token units (accounts for the borrow toggle). */
|
|
23
|
-
maxWithdrawableTokenUnits: string | undefined;
|
|
24
23
|
/**
|
|
25
|
-
* Balance the screen shows and the Max button fills:
|
|
26
|
-
*
|
|
24
|
+
* Balance the screen shows and the Max button fills: Nado's own
|
|
25
|
+
* `max_withdrawable` with the fee added back. Borrowing can lift it above the
|
|
26
|
+
* spot balance.
|
|
27
27
|
*/
|
|
28
28
|
withdrawableBalanceTokenUnits: string;
|
|
29
29
|
/** Sequencer fee in the selected product's token units; hard 0 outside Nado. */
|
|
30
30
|
sequencerFeeTokenAmount: number;
|
|
31
|
+
/** Same fee in USD for the breakdown's gas leg; 0 until the source price resolves. */
|
|
32
|
+
sequencerFeeUsd: number;
|
|
31
33
|
/** USD price of the selected source token (stables short-circuit to 1); undefined while loading. */
|
|
32
34
|
sourceTokenUsdPrice: number | undefined;
|
|
33
35
|
/** Submit-time customerData for the withdrawal callback; logs the decision. Undefined outside Nado. */
|
|
@@ -1,37 +1,44 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
useNadoFeeRates,
|
|
4
|
+
useNadoMaxWithdrawable
|
|
5
|
+
} from "../../chunk-FM7SFGAV.js";
|
|
6
|
+
import "../../chunk-JFDRLSYM.js";
|
|
2
7
|
import {
|
|
3
8
|
isNadoWithdrawalConfig
|
|
4
|
-
} from "../../chunk-
|
|
9
|
+
} from "../../chunk-QQEGNLGD.js";
|
|
5
10
|
import {
|
|
6
|
-
|
|
7
|
-
} from "../../chunk-
|
|
11
|
+
safeBigInt
|
|
12
|
+
} from "../../chunk-63XTVHO3.js";
|
|
13
|
+
import "../../chunk-DGBIV3ZS.js";
|
|
8
14
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
import "../../chunk-
|
|
14
|
-
import "../../chunk-
|
|
15
|
-
import "../../chunk-
|
|
16
|
-
import "../../chunk-L2KSNS7H.js";
|
|
17
|
-
import "../../chunk-2YWQL3AO.js";
|
|
15
|
+
x18ToRawBaseUnit,
|
|
16
|
+
x18ToTokenUnits
|
|
17
|
+
} from "../../chunk-6T6URLBM.js";
|
|
18
|
+
import "../../chunk-TZGKB6WY.js";
|
|
19
|
+
import "../../chunk-3P2C436B.js";
|
|
20
|
+
import "../../chunk-WZRW6WUM.js";
|
|
21
|
+
import "../../chunk-Z7HTQFEO.js";
|
|
18
22
|
import {
|
|
19
23
|
useGeneralWallet
|
|
20
|
-
} from "../../chunk-
|
|
24
|
+
} from "../../chunk-BPDLF2R6.js";
|
|
21
25
|
import "../../chunk-5MY7WMEJ.js";
|
|
26
|
+
import "../../chunk-6QCAWEAT.js";
|
|
22
27
|
import {
|
|
23
28
|
useFunkitConfig
|
|
24
|
-
} from "../../chunk-
|
|
25
|
-
import "../../chunk-UPZNKPYU.js";
|
|
29
|
+
} from "../../chunk-UK64SY6N.js";
|
|
26
30
|
import {
|
|
27
31
|
useFunkitTranslation
|
|
28
|
-
} from "../../chunk-
|
|
32
|
+
} from "../../chunk-YUZ3B2Q3.js";
|
|
33
|
+
import "../../chunk-UPZNKPYU.js";
|
|
34
|
+
import "../../chunk-C45VNQXY.js";
|
|
29
35
|
import {
|
|
30
36
|
logger
|
|
31
37
|
} from "../../chunk-AHYOV7AV.js";
|
|
32
38
|
|
|
33
39
|
// src/clients/internal/nado/withdrawalForm.ts
|
|
34
40
|
import { useEffect, useMemo, useState } from "react";
|
|
41
|
+
import { formatUnits } from "viem";
|
|
35
42
|
|
|
36
43
|
// src/hooks/useAssetPrice.ts
|
|
37
44
|
import {
|
|
@@ -53,25 +60,10 @@ import {
|
|
|
53
60
|
|
|
54
61
|
// src/hooks/useUserIpInfo.ts
|
|
55
62
|
import { useUserIpInfo as useCoreUserIpInfo } from "@funkit/connect-core";
|
|
56
|
-
|
|
57
|
-
// src/utils/safeBigInt.ts
|
|
58
|
-
function safeBigInt(value, fallback) {
|
|
59
|
-
if (typeof value === "bigint") {
|
|
60
|
-
return value;
|
|
61
|
-
}
|
|
62
|
-
if (typeof value === "number") {
|
|
63
|
-
return Number.isFinite(value) && Number.isInteger(value) ? BigInt(value) : fallback;
|
|
64
|
-
}
|
|
65
|
-
if (typeof value === "string" && /^-?\d+$/.test(value)) {
|
|
66
|
-
return BigInt(value);
|
|
67
|
-
}
|
|
68
|
-
return fallback;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
// src/hooks/useUserIpInfo.ts
|
|
72
63
|
function useUserIpInfo() {
|
|
64
|
+
const { apiKey } = useFunkitConfig();
|
|
73
65
|
const { isUserLoggedIn } = useGeneralWallet();
|
|
74
|
-
return useCoreUserIpInfo({ logger, enabled: isUserLoggedIn });
|
|
66
|
+
return useCoreUserIpInfo({ logger, apiKey, enabled: isUserLoggedIn });
|
|
75
67
|
}
|
|
76
68
|
|
|
77
69
|
// src/hooks/statsig/useDynamicConfig.ts
|
|
@@ -167,61 +159,62 @@ function useAssetAddressPrice({
|
|
|
167
159
|
// src/clients/internal/nado/withdrawalForm.ts
|
|
168
160
|
var PRICE_REFRESH_MS = 6e4;
|
|
169
161
|
function isNadoSourceToken(option) {
|
|
170
|
-
|
|
162
|
+
const decimals = option.asset?.decimals;
|
|
163
|
+
return option.customData?.type === "nado" && typeof decimals === "number" && Number.isInteger(decimals) && decimals >= 0;
|
|
164
|
+
}
|
|
165
|
+
function getMaxEnterableAmount({
|
|
166
|
+
maxWithdrawableX18,
|
|
167
|
+
sequencerFee,
|
|
168
|
+
decimals
|
|
169
|
+
}) {
|
|
170
|
+
const max = safeBigInt(maxWithdrawableX18, 0n);
|
|
171
|
+
if (max <= 0n || decimals === void 0) {
|
|
172
|
+
return "0";
|
|
173
|
+
}
|
|
174
|
+
const maxRaw = x18ToRawBaseUnit(max, decimals);
|
|
175
|
+
const feeRaw = x18ToRawBaseUnit(sequencerFee, decimals);
|
|
176
|
+
return formatUnits(maxRaw + feeRaw, decimals);
|
|
177
|
+
}
|
|
178
|
+
function getSequencerFee(feeRates, option) {
|
|
179
|
+
if (!option) {
|
|
180
|
+
return { x18: 0n, tokenAmount: 0 };
|
|
181
|
+
}
|
|
182
|
+
const x18 = safeBigInt(
|
|
183
|
+
feeRates?.withdraw_sequencer_fees?.[option.productId],
|
|
184
|
+
0n
|
|
185
|
+
);
|
|
186
|
+
return { x18, tokenAmount: Number(x18ToTokenUnits(x18, option.decimals)) };
|
|
171
187
|
}
|
|
172
188
|
function useNadoWithdrawalForm(config, selectedSourceToken) {
|
|
173
189
|
const nadoConfig = isNadoWithdrawalConfig(config) ? config : void 0;
|
|
174
190
|
const isNado = !!nadoConfig;
|
|
175
191
|
const subaccount = nadoConfig?.customerConfig.subaccount;
|
|
192
|
+
const { t } = useFunkitTranslation();
|
|
176
193
|
const [spotLeverage, setSpotLeverage] = useState(false);
|
|
194
|
+
const { data: feeRates } = useNadoFeeRates(subaccount);
|
|
177
195
|
useEffect(() => {
|
|
178
196
|
setSpotLeverage(false);
|
|
179
197
|
}, [subaccount]);
|
|
180
|
-
const
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
b.balance.amount
|
|
187
|
-
])
|
|
188
|
-
),
|
|
189
|
-
[subaccountInfo]
|
|
190
|
-
);
|
|
198
|
+
const amountToggle = {
|
|
199
|
+
label: t("withdrawal.enableBorrowing"),
|
|
200
|
+
tooltip: t("withdrawal.enableBorrowingTooltip"),
|
|
201
|
+
checked: spotLeverage,
|
|
202
|
+
onChange: setSpotLeverage
|
|
203
|
+
};
|
|
191
204
|
const sourceOptions = useMemo(
|
|
192
|
-
() => (nadoConfig?.sourceTokens ?? []).filter(isNadoSourceToken).map(({ asset, customData, symbol, iconSrc }) => {
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
(balanceX18 > 0n ? balanceX18 : 0n).toString(),
|
|
202
|
-
asset.decimals
|
|
203
|
-
),
|
|
204
|
-
decimals: asset.decimals,
|
|
205
|
-
tokenAddress: asset.tokenAddress,
|
|
206
|
-
tokenChainId: asset.tokenChainId,
|
|
207
|
-
iconSrc
|
|
208
|
-
};
|
|
209
|
-
}),
|
|
210
|
-
[nadoConfig?.sourceTokens, balanceX18ByProductId]
|
|
205
|
+
() => (nadoConfig?.sourceTokens ?? []).filter(isNadoSourceToken).map(({ asset, customData, symbol, iconSrc }) => ({
|
|
206
|
+
productId: customData.productId,
|
|
207
|
+
symbol,
|
|
208
|
+
decimals: asset.decimals,
|
|
209
|
+
tokenAddress: asset.tokenAddress,
|
|
210
|
+
tokenChainId: asset.tokenChainId,
|
|
211
|
+
iconSrc
|
|
212
|
+
})),
|
|
213
|
+
[nadoConfig?.sourceTokens]
|
|
211
214
|
);
|
|
212
215
|
const selectedOption = sourceOptions.find(
|
|
213
216
|
(option) => option.symbol === selectedSourceToken
|
|
214
217
|
);
|
|
215
|
-
const selectedProductId = selectedOption?.productId;
|
|
216
|
-
useEffect(() => {
|
|
217
|
-
if (selectedProductId === void 0) {
|
|
218
|
-
return;
|
|
219
|
-
}
|
|
220
|
-
logger.info("nado:withdrawal:sourceSelected", {
|
|
221
|
-
productId: selectedProductId,
|
|
222
|
-
symbol: selectedSourceToken
|
|
223
|
-
});
|
|
224
|
-
}, [selectedProductId, selectedSourceToken]);
|
|
225
218
|
const { price: sourceTokenUsdPrice } = useAssetAddressPrice({
|
|
226
219
|
chainId: selectedOption?.tokenChainId,
|
|
227
220
|
assetTokenAddress: selectedOption?.tokenAddress,
|
|
@@ -234,24 +227,13 @@ function useNadoWithdrawalForm(config, selectedSourceToken) {
|
|
|
234
227
|
sender: subaccount,
|
|
235
228
|
spotLeverage
|
|
236
229
|
});
|
|
237
|
-
const
|
|
238
|
-
const withdrawableBalanceTokenUnits =
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
if (feeX18 === void 0) {
|
|
245
|
-
return 0;
|
|
246
|
-
}
|
|
247
|
-
return Number(x18ToTokenUnits(feeX18, selectedOption.decimals));
|
|
248
|
-
}, [isNado, selectedOption, feeRates]);
|
|
249
|
-
const { t } = useFunkitTranslation();
|
|
250
|
-
const amountToggle = isNado ? {
|
|
251
|
-
label: t("withdrawal.enableBorrowing"),
|
|
252
|
-
checked: spotLeverage,
|
|
253
|
-
onChange: setSpotLeverage
|
|
254
|
-
} : void 0;
|
|
230
|
+
const sequencerFee = getSequencerFee(feeRates, selectedOption);
|
|
231
|
+
const withdrawableBalanceTokenUnits = getMaxEnterableAmount({
|
|
232
|
+
maxWithdrawableX18,
|
|
233
|
+
sequencerFee: sequencerFee.x18,
|
|
234
|
+
decimals: selectedOption?.decimals
|
|
235
|
+
});
|
|
236
|
+
const sequencerFeeUsd = sourceTokenUsdPrice ? sequencerFee.tokenAmount * sourceTokenUsdPrice : 0;
|
|
255
237
|
const buildSubmitCustomerData = () => {
|
|
256
238
|
if (!isNado || !selectedOption) {
|
|
257
239
|
return void 0;
|
|
@@ -259,21 +241,22 @@ function useNadoWithdrawalForm(config, selectedSourceToken) {
|
|
|
259
241
|
logger.info("nado:withdrawal:submit", {
|
|
260
242
|
productId: selectedOption.productId,
|
|
261
243
|
spotLeverage,
|
|
262
|
-
sequencerFeeTokenAmount
|
|
244
|
+
sequencerFeeTokenAmount: sequencerFee.tokenAmount,
|
|
245
|
+
selectedSourceToken: selectedOption
|
|
263
246
|
});
|
|
264
247
|
return {
|
|
265
248
|
customerName: "nado",
|
|
266
|
-
productId: selectedOption.productId,
|
|
267
249
|
spotLeverage,
|
|
268
|
-
sequencerFeeTokenAmount
|
|
250
|
+
sequencerFeeTokenAmount: sequencerFee.tokenAmount,
|
|
251
|
+
selectedSourceToken: selectedOption
|
|
269
252
|
};
|
|
270
253
|
};
|
|
271
254
|
return {
|
|
272
255
|
isNado,
|
|
273
|
-
amountToggle,
|
|
274
|
-
maxWithdrawableTokenUnits,
|
|
256
|
+
amountToggle: isNado ? amountToggle : void 0,
|
|
275
257
|
withdrawableBalanceTokenUnits,
|
|
276
|
-
sequencerFeeTokenAmount,
|
|
258
|
+
sequencerFeeTokenAmount: sequencerFee.tokenAmount,
|
|
259
|
+
sequencerFeeUsd,
|
|
277
260
|
sourceTokenUsdPrice,
|
|
278
261
|
buildSubmitCustomerData
|
|
279
262
|
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Follows a submitted Nado withdrawal through to the user's wallet.
|
|
3
|
+
*
|
|
4
|
+
* Nado sends to a Fun deposit address (UDA), and the eoa scanner records the
|
|
5
|
+
* arrival as a direct execution against the owner wallet rather than against the
|
|
6
|
+
* address, so this finds that DE in the wallet's recent list and follows its
|
|
7
|
+
* relay status.
|
|
8
|
+
*/
|
|
9
|
+
import { type MergedMultiStepDirectExecution } from '@funkit/connect-core';
|
|
10
|
+
import { type Address } from 'viem';
|
|
11
|
+
export type NadoWithdrawalStatus = 'pending' | 'completed' | 'failed';
|
|
12
|
+
/** The destination-chain transaction that delivered the funds. */
|
|
13
|
+
export interface NadoWithdrawalCompletionTx {
|
|
14
|
+
chainId: string;
|
|
15
|
+
txHash: string;
|
|
16
|
+
/** Set when the destination isn't served by the default explorer. */
|
|
17
|
+
customRedirectUrl: string | undefined;
|
|
18
|
+
}
|
|
19
|
+
export interface NadoWithdrawalTracking {
|
|
20
|
+
status: NadoWithdrawalStatus;
|
|
21
|
+
/** Only once delivered — a failed withdrawal has no completion. */
|
|
22
|
+
completionTx: NadoWithdrawalCompletionTx | undefined;
|
|
23
|
+
}
|
|
24
|
+
export declare function useNadoWithdrawalStatus({ depositAddress, pollIntervalMs, }: {
|
|
25
|
+
/** UDA the sequencer was told to send to. */
|
|
26
|
+
depositAddress: Address | undefined;
|
|
27
|
+
pollIntervalMs: number;
|
|
28
|
+
}): NadoWithdrawalTracking;
|
|
29
|
+
/**
|
|
30
|
+
* Ours is the direct execution at this UDA that appeared after we started
|
|
31
|
+
* watching.
|
|
32
|
+
*
|
|
33
|
+
* - The scanner stamps the address it saw the transfer at into `sourceOfFund`
|
|
34
|
+
* (`eoa_scanner|eoa|0x…`), the only field on a DE carrying the full UDA —
|
|
35
|
+
* `clientMetadata.depositAddress` comes back null.
|
|
36
|
+
* - `knownTxHashes` excludes earlier withdrawals that reused the same UDA. With
|
|
37
|
+
* one withdrawal in flight per destination that identifies ours exactly; two
|
|
38
|
+
* concurrent ones to the same destination can't be told apart by any field a
|
|
39
|
+
* DE carries.
|
|
40
|
+
*/
|
|
41
|
+
export declare function findDirectExecutionForDepositAddress(directExecutions: MergedMultiStepDirectExecution[] | undefined, depositAddress: Address | undefined, knownTxHashes: ReadonlySet<string>): MergedMultiStepDirectExecution | undefined;
|