everest-npm-features 0.0.62 → 0.0.64
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/ArrowBack-DEJjwfp0.js +8 -0
- package/dist/{PlayArrow-BVDyfxsQ.js → PlayArrow-WUr_Eyo1.js} +1 -1
- package/dist/assets/styles.css +1 -1
- package/dist/assets/styles2.css +1 -1
- package/dist/{auth-DTJdu6mq.js → auth-Cg-RJNB1.js} +1 -1
- package/dist/bank-CPJa0NOE.js +47 -0
- package/dist/components/RocketRamp/MinimalKyc/form.js +3 -3
- package/dist/components/RocketRamp/Player/Buy/cardPayment.js +3 -3
- package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -3
- package/dist/components/RocketRamp/Player/Buy/form.js +4 -4
- package/dist/components/RocketRamp/Player/Buy/index.js +5 -5
- package/dist/components/RocketRamp/Player/Dashboard/index.js +2 -2
- package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +3 -3
- package/dist/components/RocketRamp/Player/Sell/form.js +4 -4
- package/dist/components/RocketRamp/Player/Sell/index.js +6 -6
- package/dist/components/RocketRamp/Player/SignIn/index.js +2 -2
- package/dist/components/RocketRamp/Player/SignIn/loginForm.js +2 -2
- package/dist/components/RocketRamp/Player/SignIn/otpForm.js +2 -2
- package/dist/components/RocketRamp/Player/SignUp/email.js +2 -2
- package/dist/components/RocketRamp/Player/SignUp/index.js +2 -2
- package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
- package/dist/components/RocketRamp/ResetPassword/index.js +2 -2
- package/dist/components/RocketRamp/Store/SignUp/index.js +2 -2
- package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +2 -2
- package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +2 -2
- package/dist/components/RocketRamp/Transactions/index.js +2 -2
- package/dist/components/Shared/FullKyc/countryList.js +33 -30
- package/dist/components/Shared/FullKyc/edd.js +3 -3
- package/dist/components/Shared/FullKyc/index.js +11 -10
- package/dist/components/Shared/FullKyc/pep.js +68 -64
- package/dist/components/Shared/FullKyc/personalDetails.js +3 -3
- package/dist/components/Shared/FullKyc/userInfo.js +4 -4
- package/dist/components/Shared/MinimalKyc/index.js +2 -2
- package/dist/components/Shared/Sumsub/index.js +2 -2
- package/dist/components/Wallet/Account/createIban.d.ts +1 -2
- package/dist/components/Wallet/Account/createIban.js +14 -314
- package/dist/components/Wallet/Account/eWallet.js +33 -35
- package/dist/components/Wallet/Account/iban.d.ts +1 -0
- package/dist/components/Wallet/Account/iban.js +75 -54
- package/dist/components/Wallet/Account/ibanItem.js +3 -3
- package/dist/components/Wallet/Account/index.d.ts +1 -0
- package/dist/components/Wallet/Account/index.js +221 -184
- package/dist/components/Wallet/Account/sendIban.js +2 -2
- package/dist/components/Wallet/Buy/confirmTransaction.js +6 -6
- package/dist/components/Wallet/Buy/form.js +5 -5
- package/dist/components/Wallet/Buy/index.js +6 -6
- package/dist/components/Wallet/Deposit/index.js +2 -2
- package/dist/components/Wallet/EnterpriseKyc/edd.js +2 -2
- package/dist/components/Wallet/EnterpriseKyc/index.js +4 -4
- package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +3 -3
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +2 -2
- package/dist/components/Wallet/EnterpriseKyc/verify.js +2 -2
- package/dist/components/Wallet/History/index.js +2 -2
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +96 -95
- package/dist/components/Wallet/Portfolio/dropdown.js +42 -27
- package/dist/components/Wallet/Portfolio/index.js +5 -5
- package/dist/components/Wallet/Profile/documents.js +121 -124
- package/dist/components/Wallet/Profile/index.js +4 -4
- package/dist/components/Wallet/Profile/storage.js +15 -15
- package/dist/components/Wallet/Receive/index.js +3 -3
- package/dist/components/Wallet/Sell/confirmTransaction.js +5 -5
- package/dist/components/Wallet/Sell/form.js +5 -5
- package/dist/components/Wallet/Sell/index.js +6 -6
- package/dist/components/Wallet/Send/index.js +36 -36
- package/dist/components/Wallet/Shared/Auth/otpForm.js +3 -3
- package/dist/components/Wallet/Shared/BankSelect/index.js +4 -4
- package/dist/components/Wallet/Shared/CardCorp/index.js +2 -2
- package/dist/components/Wallet/Shared/Container/index.d.ts +2 -1
- package/dist/components/Wallet/Shared/Container/index.js +19 -18
- package/dist/components/Wallet/Shared/addBank.js +4 -4
- package/dist/components/Wallet/Shared/connectPlaidBank.js +7 -7
- package/dist/components/Wallet/Shared/manualSend.js +4 -4
- package/dist/components/Wallet/SignIn/index.js +3 -3
- package/dist/components/Wallet/SignUp/index.js +3 -3
- package/dist/components/Wallet/Stake/gems/index.js +74 -62
- package/dist/components/Wallet/Stake/id/index.js +69 -65
- package/dist/components/Wallet/Stake/index.js +6 -6
- package/dist/components/Wallet/Swap/form.js +7 -7
- package/dist/components/Wallet/Swap/index.js +5 -5
- package/dist/components/Wallet/Withdraw/bankSelect.js +5 -5
- package/dist/components/Wallet/Withdraw/confirmTransaction.js +4 -4
- package/dist/components/Wallet/Withdraw/form.js +4 -4
- package/dist/components/Wallet/Withdraw/index.js +5 -5
- package/dist/{constants-DrmtdI1J.js → constants-BRS2liAt.js} +216 -214
- package/dist/createIban-DKoCQ4o3.js +573 -0
- package/dist/{cryptoAssets-DyGDknvq.js → cryptoAssets-BD0cJpXM.js} +1 -1
- package/dist/{index-CDwzoHu7.js → index-BUtxhHso.js} +87 -86
- package/dist/{index-3OQ4M69t.js → index-C2weAjLp.js} +70 -69
- package/dist/{index-BQNs1mvn.js → index-CREgBh59.js} +4 -3
- package/dist/{index-ILpK4BCB.js → index-CZhiRUiE.js} +4 -4
- package/dist/{index-CYX3j0V7.js → index-D7Eq-pbC.js} +65 -64
- package/dist/{index-C1WPCgkl.js → index-DX8IEulu.js} +5 -5
- package/dist/{index-CK4kLRAw.js → index-hgn4Pjw3.js} +5 -5
- package/dist/index-oPbOSCUk.js +545 -0
- package/dist/{kyc-ksV3vBP_.js → kyc-C7NviI9l.js} +1 -1
- package/dist/main.js +7 -7
- package/dist/{order-DEp_Lmar.js → order-DBuLYKfx.js} +1 -1
- package/dist/{otpForm-fiNqeB5H.js → otpForm-DhVp5Gvi.js} +2 -2
- package/dist/{stake-Ct7-_aWW.js → stake-DGXpiw_Y.js} +1 -1
- package/dist/styles.module-C99UuHOT.js +22 -0
- package/dist/styles.module-DFoezEqS.js +28 -0
- package/dist/util/constants.d.ts +1 -0
- package/dist/util/constants.js +72 -71
- package/dist/{wallet-CauUBXou.js → wallet-BLx0XKpK.js} +1 -1
- package/package.json +7 -7
- package/dist/bank-C4pmTe--.js +0 -37
- package/dist/index-BBFbUCRZ.js +0 -537
- package/dist/styles.module-C1sNeKjL.js +0 -22
- package/dist/styles.module-CHPRGltL.js +0 -28
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../../hoc/withThemeProvider.js";
|
|
4
|
-
import { b as f, C as Y, F as b, M as d, P as l, i as u } from "../../../index-
|
|
4
|
+
import { b as f, C as Y, F as b, M as d, P as l, i as u } from "../../../index-D7Eq-pbC.js";
|
|
5
5
|
import "../../../react-redux-C7I9-1M6.js";
|
|
6
|
-
import "../../../constants-
|
|
7
|
-
import "../../../PlayArrow-
|
|
8
|
-
import "../../../cryptoAssets-
|
|
9
|
-
import "../../../wallet-
|
|
10
|
-
import "../../../order-
|
|
6
|
+
import "../../../constants-BRS2liAt.js";
|
|
7
|
+
import "../../../PlayArrow-WUr_Eyo1.js";
|
|
8
|
+
import "../../../cryptoAssets-BD0cJpXM.js";
|
|
9
|
+
import "../../../wallet-BLx0XKpK.js";
|
|
10
|
+
import "../../../order-DBuLYKfx.js";
|
|
11
11
|
import "../../../util/constants.js";
|
|
12
12
|
import "../../../context/snackBarContext.js";
|
|
13
13
|
import "../Shared/Container/index.js";
|
|
@@ -6,8 +6,8 @@ import p from "../../../hoc/withThemeProvider.js";
|
|
|
6
6
|
import "../../../index-DlQqWbXG.js";
|
|
7
7
|
import "../Shared/appButton.js";
|
|
8
8
|
import "react";
|
|
9
|
-
import "../../../otpForm-
|
|
10
|
-
import "../../../constants-
|
|
9
|
+
import "../../../otpForm-DhVp5Gvi.js";
|
|
10
|
+
import "../../../constants-BRS2liAt.js";
|
|
11
11
|
import { useSnackBarContext as h } from "../../../context/snackBarContext.js";
|
|
12
12
|
import "../../../util/conversions.js";
|
|
13
13
|
import "../../../index-CAoLi5Qq.js";
|
|
@@ -5,8 +5,8 @@ import { useRef as _, useState as A, createRef as w } from "react";
|
|
|
5
5
|
import b from "./input.js";
|
|
6
6
|
import "../../../index-DlQqWbXG.js";
|
|
7
7
|
import "../../../hoc/withThemeProvider.js";
|
|
8
|
-
import "../../../otpForm-
|
|
9
|
-
import "../../../constants-
|
|
8
|
+
import "../../../otpForm-DhVp5Gvi.js";
|
|
9
|
+
import "../../../constants-BRS2liAt.js";
|
|
10
10
|
import { useSnackBarContext as I } from "../../../context/snackBarContext.js";
|
|
11
11
|
import v from "../../../hooks/useEverestDispatch.js";
|
|
12
12
|
import "../../../util/conversions.js";
|
|
@@ -14,13 +14,13 @@ import me from "./orgInfo.js";
|
|
|
14
14
|
import pe from "./orgDetails.js";
|
|
15
15
|
import fe from "./verify.js";
|
|
16
16
|
import Te from "./success.js";
|
|
17
|
-
import { K as _e, a as y, b as h, c as b, d as ue, e as Ce, f as de } from "../../../constants-
|
|
18
|
-
import { r as u, k as De } from "../../../kyc-
|
|
17
|
+
import { K as _e, a as y, b as h, c as b, d as ue, e as Ce, f as de } from "../../../constants-BRS2liAt.js";
|
|
18
|
+
import { r as u, k as De } from "../../../kyc-C7NviI9l.js";
|
|
19
19
|
import { u as K } from "../../../react-redux-C7I9-1M6.js";
|
|
20
20
|
import Oe from "../../Shared/loader.js";
|
|
21
21
|
import "../../../index-DlQqWbXG.js";
|
|
22
22
|
import Ee from "../Shared/appButton.js";
|
|
23
|
-
import "../../../otpForm-
|
|
23
|
+
import "../../../otpForm-DhVp5Gvi.js";
|
|
24
24
|
import { useSnackBarContext as Ne } from "../../../context/snackBarContext.js";
|
|
25
25
|
import Ae from "../../../hooks/useEverestDispatch.js";
|
|
26
26
|
import "../../../util/conversions.js";
|
|
@@ -31,7 +31,7 @@ import "../../../moment-h96o7c8I.js";
|
|
|
31
31
|
import "../../../index.esm-BsMAMhYW.js";
|
|
32
32
|
import "../../../web3-u4qDZYpo.js";
|
|
33
33
|
import "../../../index-ceeCtFuh.js";
|
|
34
|
-
import { F as g } from "../../../index-
|
|
34
|
+
import { F as g } from "../../../index-oPbOSCUk.js";
|
|
35
35
|
import "../../../context/dialogContext.js";
|
|
36
36
|
import "@mui/icons-material";
|
|
37
37
|
const C = {
|
|
@@ -5,9 +5,9 @@ import { useRef as d, useState as S, useEffect as b, createRef as P } from "reac
|
|
|
5
5
|
import D from "./input.js";
|
|
6
6
|
import "../../../index-DlQqWbXG.js";
|
|
7
7
|
import "../../../hoc/withThemeProvider.js";
|
|
8
|
-
import "../../../otpForm-
|
|
9
|
-
import "../../../constants-
|
|
10
|
-
import { a } from "../../../kyc-
|
|
8
|
+
import "../../../otpForm-DhVp5Gvi.js";
|
|
9
|
+
import "../../../constants-BRS2liAt.js";
|
|
10
|
+
import { a } from "../../../kyc-C7NviI9l.js";
|
|
11
11
|
import { useSnackBarContext as q } from "../../../context/snackBarContext.js";
|
|
12
12
|
import G from "../../../hooks/useEverestDispatch.js";
|
|
13
13
|
import "../../../util/conversions.js";
|
|
@@ -7,7 +7,7 @@ import * as N from "react";
|
|
|
7
7
|
import I, { Children as Wn, isValidElement as xt, cloneElement as Pt, useRef as Vn, useState as zn } from "react";
|
|
8
8
|
import Zn from "react-dom";
|
|
9
9
|
import { P as o, b as F, a as K, s as k, u as J, g as dt, d as at, c as B, m as nt, e as $t, r as Hn, f as Yn } from "../../../memoTheme-DnE8lj0t.js";
|
|
10
|
-
import { e as Kn, c as St, i as Xn, L as wt, u as Qn, F as Jn, T as _n, M as qn } from "../../../otpForm-
|
|
10
|
+
import { e as Kn, c as St, i as Xn, L as wt, u as Qn, F as Jn, T as _n, M as qn } from "../../../otpForm-DhVp5Gvi.js";
|
|
11
11
|
import { _ as tr, a as er, T as ge, u as nr, b as rr, c as Jt, d as It, r as dr, e as rn, f as ar, g as Zt, h as ir } from "../../../Portal-BeS9yJCZ.js";
|
|
12
12
|
import { keyframes as Ct, css as dn } from "@emotion/react";
|
|
13
13
|
import { i as ye } from "../../../tooltip-BW0UyWw7.js";
|
|
@@ -17,7 +17,7 @@ import _ from "./input.js";
|
|
|
17
17
|
import { pick as lr } from "../../../util/functions.js";
|
|
18
18
|
import "../../../index-DlQqWbXG.js";
|
|
19
19
|
import "../../../hoc/withThemeProvider.js";
|
|
20
|
-
import "../../../constants-
|
|
20
|
+
import "../../../constants-BRS2liAt.js";
|
|
21
21
|
import { useSnackBarContext as ur } from "../../../context/snackBarContext.js";
|
|
22
22
|
import "../../../util/conversions.js";
|
|
23
23
|
import "../../../index-CAoLi5Qq.js";
|
|
@@ -8,8 +8,8 @@ import { c as C } from "../../../createSvgIcon-B28GrUxG.js";
|
|
|
8
8
|
import { useState as b } from "react";
|
|
9
9
|
import "../../../index-DlQqWbXG.js";
|
|
10
10
|
import "../../../hoc/withThemeProvider.js";
|
|
11
|
-
import "../../../otpForm-
|
|
12
|
-
import "../../../constants-
|
|
11
|
+
import "../../../otpForm-DhVp5Gvi.js";
|
|
12
|
+
import "../../../constants-BRS2liAt.js";
|
|
13
13
|
import { useSnackBarContext as k } from "../../../context/snackBarContext.js";
|
|
14
14
|
import "../../../util/conversions.js";
|
|
15
15
|
import "../../../index-CAoLi5Qq.js";
|
|
@@ -2,8 +2,8 @@ import { jsx as e, jsxs as p, Fragment as i } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as u, useEffect as h } from "react";
|
|
3
3
|
import f from "../../../hoc/withThemeProvider.js";
|
|
4
4
|
import { u as g } from "../../../react-redux-C7I9-1M6.js";
|
|
5
|
-
import "../../../constants-
|
|
6
|
-
import { a as x } from "../../../order-
|
|
5
|
+
import "../../../constants-BRS2liAt.js";
|
|
6
|
+
import { a as x } from "../../../order-DBuLYKfx.js";
|
|
7
7
|
import { Box as n, Pagination as P, CircularProgress as N, Typography as v } from "@mui/material";
|
|
8
8
|
import y from "../../Shared/HistoryItem/index.js";
|
|
9
9
|
import { AuthContainer as C } from "../Shared/Container/index.js";
|
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
import { jsxs as s, Fragment as
|
|
2
|
-
import { useState as
|
|
3
|
-
import { u as
|
|
4
|
-
import {
|
|
1
|
+
import { jsxs as s, Fragment as f, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useState as R, useEffect as _ } from "react";
|
|
3
|
+
import { u as b } from "../../../react-redux-C7I9-1M6.js";
|
|
4
|
+
import { Typography as u, Box as w, FormControl as j, TextField as $, Dialog as J, IconButton as X, DialogContent as Y, Grid as n } from "@mui/material";
|
|
5
5
|
import { C as Z } from "../../../Close-DSxLLo08.js";
|
|
6
6
|
import "../../../index-DlQqWbXG.js";
|
|
7
|
+
import { AuthContainer as ee } from "../Shared/Container/index.js";
|
|
7
8
|
import T from "../Shared/appButton.js";
|
|
8
9
|
import "../../../hoc/withThemeProvider.js";
|
|
9
|
-
import { displayWalletAddress as
|
|
10
|
-
import { BACK_BTN_ICON as
|
|
11
|
-
import "../../../otpForm-
|
|
12
|
-
import {
|
|
13
|
-
import { a as
|
|
14
|
-
import { h as
|
|
15
|
-
import { useSnackBarContext as
|
|
16
|
-
import
|
|
17
|
-
import { numberFormat as
|
|
10
|
+
import { displayWalletAddress as te } from "../../../util/functions.js";
|
|
11
|
+
import { BACK_BTN_ICON as re, EVER_CHAIN_NETWORK as z, ETHEREUM_NETWORK as N } from "../../../util/constants.js";
|
|
12
|
+
import "../../../otpForm-DhVp5Gvi.js";
|
|
13
|
+
import { av as se, aw as oe, ax as ne, ay as ae, az as ie } from "../../../constants-BRS2liAt.js";
|
|
14
|
+
import { a as ce } from "../../../index-CREgBh59.js";
|
|
15
|
+
import { h as le } from "../../../wallet-BLx0XKpK.js";
|
|
16
|
+
import { useSnackBarContext as de } from "../../../context/snackBarContext.js";
|
|
17
|
+
import me from "../../../hooks/useEverestDispatch.js";
|
|
18
|
+
import { numberFormat as he, fromHuman as ue, getGweiFromWei as pe, getUnFormattedValueFromWei as fe } from "../../../util/conversions.js";
|
|
18
19
|
import "../../../index-CAoLi5Qq.js";
|
|
19
20
|
import "../../../react-webcam-B3cXh1XT.js";
|
|
20
21
|
import "../../Shared/transition.js";
|
|
@@ -26,10 +27,7 @@ import "../../../index-ceeCtFuh.js";
|
|
|
26
27
|
import "../../../index.esm-I_Bp2YLf.js";
|
|
27
28
|
import "../../../context/dialogContext.js";
|
|
28
29
|
import "@mui/icons-material";
|
|
29
|
-
import '../../../assets/index6.css';const
|
|
30
|
-
type: se,
|
|
31
|
-
payload: r
|
|
32
|
-
}), ge = (r) => ({
|
|
30
|
+
import '../../../assets/index6.css';const ge = (r) => ({
|
|
33
31
|
type: oe,
|
|
34
32
|
payload: r
|
|
35
33
|
}), xe = (r) => ({
|
|
@@ -38,22 +36,25 @@ import '../../../assets/index6.css';const fe = (r) => ({
|
|
|
38
36
|
}), Ee = (r) => ({
|
|
39
37
|
type: ae,
|
|
40
38
|
payload: r
|
|
41
|
-
}), _e = () => ({
|
|
42
|
-
type:
|
|
43
|
-
|
|
44
|
-
|
|
39
|
+
}), _e = (r) => ({
|
|
40
|
+
type: ie,
|
|
41
|
+
payload: r
|
|
42
|
+
}), we = () => ({
|
|
43
|
+
type: se
|
|
44
|
+
}), Te = "_container_nw82g_1", k = {
|
|
45
|
+
container: Te,
|
|
45
46
|
"inner-container": "_inner-container_nw82g_13",
|
|
46
47
|
"heading-text": "_heading-text_nw82g_27",
|
|
47
48
|
"close-btn": "_close-btn_nw82g_41"
|
|
48
|
-
},
|
|
49
|
+
}, et = ({
|
|
49
50
|
token: r,
|
|
50
51
|
network: a,
|
|
51
|
-
tokenAddress:
|
|
52
|
-
depositAddress:
|
|
52
|
+
tokenAddress: M,
|
|
53
|
+
depositAddress: A,
|
|
53
54
|
onBack: d,
|
|
54
55
|
initialBalance: m
|
|
55
56
|
}) => {
|
|
56
|
-
const { showAlertMessage:
|
|
57
|
+
const { showAlertMessage: S } = de(), h = me(), i = b((t) => t.bridge), c = i.gasFee, W = i.loader, y = i.error, v = i.withdrawStatus, C = i.txId, q = (t) => t ? ("GasLimit" in t ? t.GasLimit : t.gasLimit) ?? 0 : 0, B = (t) => {
|
|
57
58
|
var o;
|
|
58
59
|
if (t)
|
|
59
60
|
return (o = "BaseGasPriceCap" in t ? t.BaseGasPriceCap : t.baseGasPriceCap) == null ? void 0 : o.toString();
|
|
@@ -61,67 +62,67 @@ import '../../../assets/index6.css';const fe = (r) => ({
|
|
|
61
62
|
var o;
|
|
62
63
|
if (t)
|
|
63
64
|
return (o = "TotalMaxEthSpent" in t ? t.TotalMaxEthSpent : t.totalMaxEthSpent) == null ? void 0 : o.toString();
|
|
64
|
-
},
|
|
65
|
-
|
|
66
|
-
const
|
|
67
|
-
|
|
68
|
-
h(
|
|
69
|
-
}), [m]),
|
|
70
|
-
i.showFeePopUp &&
|
|
71
|
-
}, [c, i.showFeePopUp]),
|
|
72
|
-
|
|
73
|
-
}, [
|
|
65
|
+
}, I = b((t) => t.user.wallets);
|
|
66
|
+
I.loader;
|
|
67
|
+
const P = I.data, g = a === z ? N : z, l = b(ce).everWalletAddress, [U, F] = R(m ?? ""), H = he(U), [G, O] = R(""), [V, x] = R(!1), E = ue(G, r === "ID" ? 18 : 6);
|
|
68
|
+
_(() => (m || h(le()), () => {
|
|
69
|
+
h(we());
|
|
70
|
+
}), [m]), _(() => {
|
|
71
|
+
i.showFeePopUp && q(c) > 0 && x(!0);
|
|
72
|
+
}, [c, i.showFeePopUp]), _(() => {
|
|
73
|
+
y && S({ message: y });
|
|
74
|
+
}, [y]), _(() => {
|
|
74
75
|
if (m) {
|
|
75
|
-
|
|
76
|
+
F(m);
|
|
76
77
|
return;
|
|
77
78
|
}
|
|
78
|
-
const t =
|
|
79
|
+
const t = P.find(
|
|
79
80
|
(o) => o.address === l
|
|
80
81
|
);
|
|
81
82
|
if (t) {
|
|
82
83
|
const o = t.tokens;
|
|
83
|
-
for (let
|
|
84
|
-
if (o[
|
|
85
|
-
|
|
84
|
+
for (let p = 0; p < o.length; p++)
|
|
85
|
+
if (o[p].network.toLowerCase() === g.toLowerCase() && o[p].symbol === r) {
|
|
86
|
+
F(o[p].fmt_balance.replaceAll(",", ""));
|
|
86
87
|
break;
|
|
87
88
|
}
|
|
88
89
|
}
|
|
89
|
-
}, [
|
|
90
|
+
}, [P, l, m]);
|
|
90
91
|
const K = (t) => {
|
|
91
|
-
t ? /^([0-9.,]+)$/.test(t) &&
|
|
92
|
+
t ? /^([0-9.,]+)$/.test(t) && O(t) : O("");
|
|
92
93
|
}, Q = () => {
|
|
93
94
|
if (!c) {
|
|
94
|
-
|
|
95
|
+
S({
|
|
95
96
|
message: "Gas fee data is not available. Please try again."
|
|
96
97
|
});
|
|
97
98
|
return;
|
|
98
99
|
}
|
|
99
|
-
h(a ===
|
|
100
|
+
h(a === N ? xe({
|
|
100
101
|
walletAddress: l,
|
|
101
|
-
amount:
|
|
102
|
+
amount: E,
|
|
102
103
|
token: r,
|
|
103
104
|
gas: c
|
|
104
|
-
}) :
|
|
105
|
-
amount:
|
|
105
|
+
}) : _e({
|
|
106
|
+
amount: E,
|
|
106
107
|
fromAddress: l,
|
|
107
|
-
toAddress:
|
|
108
|
-
tokenAddress:
|
|
108
|
+
toAddress: A,
|
|
109
|
+
tokenAddress: M,
|
|
109
110
|
gas: c
|
|
110
111
|
}));
|
|
111
|
-
},
|
|
112
|
-
h(a ===
|
|
112
|
+
}, D = () => {
|
|
113
|
+
h(a === N ? ge({
|
|
113
114
|
walletAddress: l,
|
|
114
|
-
amount:
|
|
115
|
+
amount: E,
|
|
115
116
|
token: r
|
|
116
|
-
}) :
|
|
117
|
-
amount:
|
|
117
|
+
}) : Ee({
|
|
118
|
+
amount: E,
|
|
118
119
|
fromAddress: l,
|
|
119
|
-
toAddress:
|
|
120
|
-
tokenAddress:
|
|
120
|
+
toAddress: A,
|
|
121
|
+
tokenAddress: M
|
|
121
122
|
}));
|
|
122
123
|
};
|
|
123
|
-
return /* @__PURE__ */ s(
|
|
124
|
-
/* @__PURE__ */
|
|
124
|
+
return /* @__PURE__ */ s(f, { children: [
|
|
125
|
+
/* @__PURE__ */ s(ee, { children: [
|
|
125
126
|
/* @__PURE__ */ e(
|
|
126
127
|
"img",
|
|
127
128
|
{
|
|
@@ -131,16 +132,16 @@ import '../../../assets/index6.css';const fe = (r) => ({
|
|
|
131
132
|
left: "-18px"
|
|
132
133
|
},
|
|
133
134
|
className: "cursor-pointer",
|
|
134
|
-
src:
|
|
135
|
+
src: re,
|
|
135
136
|
onClick: () => d ? d() : alert("backFunc"),
|
|
136
137
|
alt: "back"
|
|
137
138
|
}
|
|
138
139
|
),
|
|
139
140
|
/* @__PURE__ */ e(
|
|
140
|
-
|
|
141
|
+
u,
|
|
141
142
|
{
|
|
142
143
|
sx: { ml: 4, mt: "-20px !important" },
|
|
143
|
-
className:
|
|
144
|
+
className: k["heading-text"],
|
|
144
145
|
variant: "h5",
|
|
145
146
|
children: /* @__PURE__ */ s("strong", { children: [
|
|
146
147
|
"Move ",
|
|
@@ -150,9 +151,9 @@ import '../../../assets/index6.css';const fe = (r) => ({
|
|
|
150
151
|
] })
|
|
151
152
|
}
|
|
152
153
|
),
|
|
153
|
-
/* @__PURE__ */ s(
|
|
154
|
-
/* @__PURE__ */ s(
|
|
155
|
-
|
|
154
|
+
/* @__PURE__ */ s(w, { className: "container-padding text-center", children: [
|
|
155
|
+
/* @__PURE__ */ s(u, { variant: "h5", children: [
|
|
156
|
+
g,
|
|
156
157
|
" ",
|
|
157
158
|
r,
|
|
158
159
|
" Balance: ",
|
|
@@ -162,15 +163,15 @@ import '../../../assets/index6.css';const fe = (r) => ({
|
|
|
162
163
|
$,
|
|
163
164
|
{
|
|
164
165
|
label: `Amount to Move to ${a}`,
|
|
165
|
-
value:
|
|
166
|
+
value: G,
|
|
166
167
|
fullWidth: !0,
|
|
167
168
|
required: !0,
|
|
168
169
|
onChange: (t) => K(t.target.value),
|
|
169
|
-
onKeyPress: (t) => t.key === "Enter" &&
|
|
170
|
+
onKeyPress: (t) => t.key === "Enter" && D()
|
|
170
171
|
}
|
|
171
172
|
) }),
|
|
172
173
|
/* @__PURE__ */ e(
|
|
173
|
-
|
|
174
|
+
u,
|
|
174
175
|
{
|
|
175
176
|
className: "primary-text-color",
|
|
176
177
|
sx: { mt: 6 },
|
|
@@ -183,14 +184,14 @@ import '../../../assets/index6.css';const fe = (r) => ({
|
|
|
183
184
|
T,
|
|
184
185
|
{
|
|
185
186
|
sx: { mt: 4 },
|
|
186
|
-
onClick:
|
|
187
|
-
isLoading:
|
|
187
|
+
onClick: D,
|
|
188
|
+
isLoading: W,
|
|
188
189
|
fullWidth: !0,
|
|
189
190
|
children: /* @__PURE__ */ e("strong", { children: "Move" })
|
|
190
191
|
}
|
|
191
192
|
)
|
|
192
193
|
] })
|
|
193
|
-
] })
|
|
194
|
+
] }),
|
|
194
195
|
/* @__PURE__ */ s(
|
|
195
196
|
J,
|
|
196
197
|
{
|
|
@@ -204,58 +205,58 @@ import '../../../assets/index6.css';const fe = (r) => ({
|
|
|
204
205
|
}
|
|
205
206
|
},
|
|
206
207
|
children: [
|
|
207
|
-
!
|
|
208
|
+
!v && /* @__PURE__ */ e(
|
|
208
209
|
X,
|
|
209
210
|
{
|
|
210
211
|
"aria-label": "close",
|
|
211
|
-
onClick: () =>
|
|
212
|
-
className:
|
|
212
|
+
onClick: () => x(!1),
|
|
213
|
+
className: k["close-btn"],
|
|
213
214
|
children: /* @__PURE__ */ e(Z, {})
|
|
214
215
|
}
|
|
215
216
|
),
|
|
216
217
|
/* @__PURE__ */ s(Y, { sx: { py: 6 }, children: [
|
|
217
|
-
/* @__PURE__ */ e(
|
|
218
|
+
/* @__PURE__ */ e(u, { className: "text-center", variant: "h5", children: /* @__PURE__ */ s("strong", { children: [
|
|
218
219
|
"Move to ",
|
|
219
220
|
a,
|
|
220
221
|
" Confirmation"
|
|
221
222
|
] }) }),
|
|
222
|
-
|
|
223
|
+
v ? /* @__PURE__ */ s(f, { children: [
|
|
223
224
|
/* @__PURE__ */ e(
|
|
224
|
-
|
|
225
|
+
u,
|
|
225
226
|
{
|
|
226
227
|
sx: { mt: 2, mb: 2 },
|
|
227
228
|
className: "text-center",
|
|
228
229
|
variant: "body1",
|
|
229
|
-
children:
|
|
230
|
+
children: v === "finished" ? /* @__PURE__ */ s(f, { children: [
|
|
230
231
|
r,
|
|
231
232
|
" has been successfully withdraw from ",
|
|
232
|
-
|
|
233
|
+
g,
|
|
233
234
|
" ",
|
|
234
235
|
"to ",
|
|
235
236
|
a,
|
|
236
237
|
"Network."
|
|
237
|
-
] }) : /* @__PURE__ */ s(
|
|
238
|
+
] }) : /* @__PURE__ */ s(f, { children: [
|
|
238
239
|
r,
|
|
239
240
|
" withdraw from ",
|
|
240
|
-
|
|
241
|
+
g,
|
|
241
242
|
" to ",
|
|
242
243
|
a,
|
|
243
244
|
" network is currently ongoing. Please check balance after 2 minutes."
|
|
244
245
|
] })
|
|
245
246
|
}
|
|
246
247
|
),
|
|
247
|
-
/* @__PURE__ */ e(
|
|
248
|
+
/* @__PURE__ */ e(w, { sx: { px: { xs: 0, md: 12 } }, children: /* @__PURE__ */ e(
|
|
248
249
|
T,
|
|
249
250
|
{
|
|
250
251
|
sx: { mt: 2 },
|
|
251
|
-
onClick: () => d ? d() :
|
|
252
|
+
onClick: () => d ? d() : x(!1),
|
|
252
253
|
fullWidth: !0,
|
|
253
254
|
children: /* @__PURE__ */ e("strong", { children: "Go Back" })
|
|
254
255
|
}
|
|
255
256
|
) })
|
|
256
|
-
] }) :
|
|
257
|
+
] }) : C ? /* @__PURE__ */ s(f, { children: [
|
|
257
258
|
/* @__PURE__ */ e(
|
|
258
|
-
|
|
259
|
+
u,
|
|
259
260
|
{
|
|
260
261
|
sx: { mt: 2, mb: 2 },
|
|
261
262
|
className: "text-center",
|
|
@@ -263,24 +264,24 @@ import '../../../assets/index6.css';const fe = (r) => ({
|
|
|
263
264
|
children: "This transaction is under way, it is not yet completed, you can track status of transaction using Etherscan link provided."
|
|
264
265
|
}
|
|
265
266
|
),
|
|
266
|
-
/* @__PURE__ */ e(
|
|
267
|
+
/* @__PURE__ */ e(w, { sx: { textAlign: "center", mb: 2 }, children: /* @__PURE__ */ s(
|
|
267
268
|
"a",
|
|
268
269
|
{
|
|
269
270
|
style: { wordBreak: "break-all" },
|
|
270
|
-
href: "https://etherscan.io/tx/" +
|
|
271
|
+
href: "https://etherscan.io/tx/" + C,
|
|
271
272
|
rel: "noopener noreferrer",
|
|
272
273
|
target: "_blank",
|
|
273
274
|
children: [
|
|
274
275
|
"https://etherscan.io/tx/",
|
|
275
|
-
|
|
276
|
+
C
|
|
276
277
|
]
|
|
277
278
|
}
|
|
278
279
|
) }),
|
|
279
|
-
/* @__PURE__ */ e(
|
|
280
|
+
/* @__PURE__ */ e(w, { sx: { px: { xs: 0, md: 12 } }, children: /* @__PURE__ */ e(
|
|
280
281
|
T,
|
|
281
282
|
{
|
|
282
283
|
sx: { mt: 2 },
|
|
283
|
-
onClick: () => d ? d() :
|
|
284
|
+
onClick: () => d ? d() : x(!1),
|
|
284
285
|
fullWidth: !0,
|
|
285
286
|
children: /* @__PURE__ */ e("strong", { children: "Go Back" })
|
|
286
287
|
}
|
|
@@ -289,17 +290,17 @@ import '../../../assets/index6.css';const fe = (r) => ({
|
|
|
289
290
|
/* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Token Name" }) }),
|
|
290
291
|
/* @__PURE__ */ e(n, { className: "fw500 text-right", size: 6, children: r }),
|
|
291
292
|
/* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Amount" }) }),
|
|
292
|
-
/* @__PURE__ */ e(n, { className: "fw500 text-right", size: 6, children:
|
|
293
|
+
/* @__PURE__ */ e(n, { className: "fw500 text-right", size: 6, children: G }),
|
|
293
294
|
/* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Wallet Address" }) }),
|
|
294
|
-
/* @__PURE__ */ e(n, { className: "fw500 text-right", size: 6, children:
|
|
295
|
+
/* @__PURE__ */ e(n, { className: "fw500 text-right", size: 6, children: te(l) }),
|
|
295
296
|
/* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Gas Price" }) }),
|
|
296
297
|
/* @__PURE__ */ s(n, { className: "fw500 text-right", size: 6, children: [
|
|
297
|
-
|
|
298
|
+
pe(B(c) ?? ""),
|
|
298
299
|
" Gwei"
|
|
299
300
|
] }),
|
|
300
301
|
/* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Max Transaction Fee" }) }),
|
|
301
302
|
/* @__PURE__ */ s(n, { className: "fw500 text-right", size: 6, children: [
|
|
302
|
-
|
|
303
|
+
fe(L(c) ?? ""),
|
|
303
304
|
" ",
|
|
304
305
|
"ETH"
|
|
305
306
|
] }),
|
|
@@ -308,7 +309,7 @@ import '../../../assets/index6.css';const fe = (r) => ({
|
|
|
308
309
|
{
|
|
309
310
|
sx: { mt: 4 },
|
|
310
311
|
onClick: Q,
|
|
311
|
-
isLoading:
|
|
312
|
+
isLoading: W,
|
|
312
313
|
fullWidth: !0,
|
|
313
314
|
children: /* @__PURE__ */ e("strong", { children: "Move" })
|
|
314
315
|
}
|
|
@@ -321,5 +322,5 @@ import '../../../assets/index6.css';const fe = (r) => ({
|
|
|
321
322
|
] });
|
|
322
323
|
};
|
|
323
324
|
export {
|
|
324
|
-
|
|
325
|
+
et as default
|
|
325
326
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o, jsxs as t } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { Box as p, Button as
|
|
2
|
+
import y from "react";
|
|
3
|
+
import { Box as p, Button as C, Avatar as h, Typography as g, Menu as I, MenuItem as k } from "@mui/material";
|
|
4
4
|
import { c as v } from "../../../createSvgIcon-B28GrUxG.js";
|
|
5
5
|
const M = v(/* @__PURE__ */ o("path", {
|
|
6
6
|
d: "M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"
|
|
@@ -12,14 +12,14 @@ function B({
|
|
|
12
12
|
setValue: f,
|
|
13
13
|
allText: l
|
|
14
14
|
}) {
|
|
15
|
-
const [c,
|
|
16
|
-
|
|
17
|
-
},
|
|
18
|
-
|
|
19
|
-
}, e = a.find((n) => n.label === r),
|
|
15
|
+
const [c, s] = y.useState(null), x = !!c, m = (n) => {
|
|
16
|
+
s(n.currentTarget);
|
|
17
|
+
}, i = (n) => {
|
|
18
|
+
s(null), typeof n == "string" && f(n);
|
|
19
|
+
}, e = a.find((n) => n.label === r), d = u || (e == null ? void 0 : e.img);
|
|
20
20
|
return /* @__PURE__ */ t(p, { display: "flex", alignItems: "center", justifyContent: "center", gap: 1, children: [
|
|
21
21
|
/* @__PURE__ */ t(
|
|
22
|
-
|
|
22
|
+
C,
|
|
23
23
|
{
|
|
24
24
|
onClick: m,
|
|
25
25
|
sx: {
|
|
@@ -33,10 +33,10 @@ function B({
|
|
|
33
33
|
},
|
|
34
34
|
endIcon: /* @__PURE__ */ o(M, {}),
|
|
35
35
|
children: [
|
|
36
|
-
|
|
36
|
+
d && /* @__PURE__ */ o(
|
|
37
37
|
h,
|
|
38
38
|
{
|
|
39
|
-
src:
|
|
39
|
+
src: d,
|
|
40
40
|
alt: "dd-icon",
|
|
41
41
|
sx: { width: 24, height: 24, marginRight: 1 }
|
|
42
42
|
}
|
|
@@ -45,25 +45,40 @@ function B({
|
|
|
45
45
|
]
|
|
46
46
|
}
|
|
47
47
|
),
|
|
48
|
-
/* @__PURE__ */ o(
|
|
49
|
-
|
|
48
|
+
/* @__PURE__ */ o(
|
|
49
|
+
I,
|
|
50
50
|
{
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
{
|
|
57
|
-
|
|
58
|
-
alt: n.label,
|
|
59
|
-
sx: { width: 20, height: 20 }
|
|
51
|
+
anchorEl: c,
|
|
52
|
+
open: x,
|
|
53
|
+
onClose: () => i(null),
|
|
54
|
+
slotProps: {
|
|
55
|
+
paper: {
|
|
56
|
+
sx: {
|
|
57
|
+
borderRadius: "8px"
|
|
60
58
|
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
children: a.map((n, b) => /* @__PURE__ */ o(
|
|
62
|
+
k,
|
|
63
|
+
{
|
|
64
|
+
onClick: () => i(n.value),
|
|
65
|
+
value: n.value,
|
|
66
|
+
children: /* @__PURE__ */ t(p, { display: "flex", alignItems: "center", gap: 1, children: [
|
|
67
|
+
n.img && /* @__PURE__ */ o(
|
|
68
|
+
h,
|
|
69
|
+
{
|
|
70
|
+
src: n.img,
|
|
71
|
+
alt: n.label,
|
|
72
|
+
sx: { width: 20, height: 20 }
|
|
73
|
+
}
|
|
74
|
+
),
|
|
75
|
+
/* @__PURE__ */ o(g, { variant: "body2", children: n.label })
|
|
76
|
+
] })
|
|
77
|
+
},
|
|
78
|
+
b
|
|
79
|
+
))
|
|
80
|
+
}
|
|
81
|
+
)
|
|
67
82
|
] });
|
|
68
83
|
}
|
|
69
84
|
export {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as B, Fragment as HA, jsxs as s } from "react/jsx-runtime";
|
|
2
2
|
import { US_DOLLAR_ISO3 as h, EVER_CHAIN_NETWORK as k, EURO_ISO3 as NA, DIALOG_SUCCESS_ICON as hA, BACK_BTN_ICON as IA, DIALOG_ERROR_ICON as mA } from "../../../util/constants.js";
|
|
3
3
|
import { useTheme as WA, Box as o, Grid as t, Typography as P, CircularProgress as K } from "@mui/material";
|
|
4
|
-
import "../../../constants-
|
|
5
|
-
import { i as dA } from "../../../wallet-
|
|
6
|
-
import { k as xA } from "../../../order-
|
|
7
|
-
import { c as CA } from "../../../stake-
|
|
4
|
+
import "../../../constants-BRS2liAt.js";
|
|
5
|
+
import { i as dA } from "../../../wallet-BLx0XKpK.js";
|
|
6
|
+
import { k as xA } from "../../../order-DBuLYKfx.js";
|
|
7
|
+
import { c as CA } from "../../../stake-DGXpiw_Y.js";
|
|
8
8
|
import { useState as r, useEffect as M, createRef as F } from "react";
|
|
9
9
|
import { u as I } from "../../../react-redux-C7I9-1M6.js";
|
|
10
10
|
import { s as m, T as J } from "../../../tokenRow-BiNtHOKV.js";
|
|
@@ -14,7 +14,7 @@ import pA from "../../../hoc/withThemeProvider.js";
|
|
|
14
14
|
import "../../../index-DlQqWbXG.js";
|
|
15
15
|
import { AuthInnerContainer as ZA, AuthContainer as LA } from "../Shared/Container/index.js";
|
|
16
16
|
import $ from "../Shared/appButton.js";
|
|
17
|
-
import "../../../otpForm-
|
|
17
|
+
import "../../../otpForm-DhVp5Gvi.js";
|
|
18
18
|
import { useSnackBarContext as yA } from "../../../context/snackBarContext.js";
|
|
19
19
|
import TA from "../../../hooks/useEverestDispatch.js";
|
|
20
20
|
import "../../../index-CAoLi5Qq.js";
|