everest-npm-features 0.0.57 → 0.0.59

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/dist/{PlayArrow-jzz8Y3XD.js → PlayArrow-BlkZJiHn.js} +1 -1
  2. package/dist/{auth-jjVjqywi.js → auth-WhDJHZtr.js} +1 -1
  3. package/dist/{bank-BM66KfAv.js → bank-BaOrdTcI.js} +1 -1
  4. package/dist/components/RocketRamp/MinimalKyc/form.js +5 -4
  5. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +3 -3
  6. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -3
  7. package/dist/components/RocketRamp/Player/Buy/form.js +4 -4
  8. package/dist/components/RocketRamp/Player/Buy/index.js +5 -5
  9. package/dist/components/RocketRamp/Player/Dashboard/index.js +2 -2
  10. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +3 -3
  11. package/dist/components/RocketRamp/Player/Sell/form.js +4 -4
  12. package/dist/components/RocketRamp/Player/Sell/index.js +11 -10
  13. package/dist/components/RocketRamp/Player/SignIn/index.js +2 -2
  14. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +2 -2
  15. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +2 -2
  16. package/dist/components/RocketRamp/Player/SignUp/email.js +2 -2
  17. package/dist/components/RocketRamp/Player/SignUp/index.js +2 -2
  18. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
  19. package/dist/components/RocketRamp/ResetPassword/index.js +2 -2
  20. package/dist/components/RocketRamp/Store/SignUp/index.js +2 -2
  21. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +2 -2
  22. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +2 -2
  23. package/dist/components/RocketRamp/Transactions/index.js +2 -2
  24. package/dist/components/Shared/FullKyc/edd.js +5 -4
  25. package/dist/components/Shared/FullKyc/index.js +4 -4
  26. package/dist/components/Shared/FullKyc/pep.js +1 -1
  27. package/dist/components/Shared/FullKyc/personalDetails.js +2 -2
  28. package/dist/components/Shared/FullKyc/userInfo.js +3 -3
  29. package/dist/components/Shared/MinimalKyc/index.js +2 -2
  30. package/dist/components/Shared/Sumsub/index.d.ts +5 -0
  31. package/dist/components/Shared/Sumsub/index.js +83 -0
  32. package/dist/components/Wallet/Account/createIban.js +4 -3
  33. package/dist/components/Wallet/Account/eWallet.d.ts +4 -2
  34. package/dist/components/Wallet/Account/eWallet.js +30 -28
  35. package/dist/components/Wallet/Account/iban.d.ts +4 -2
  36. package/dist/components/Wallet/Account/iban.js +30 -28
  37. package/dist/components/Wallet/Account/ibanItem.d.ts +4 -2
  38. package/dist/components/Wallet/Account/ibanItem.js +180 -175
  39. package/dist/components/Wallet/Account/index.js +191 -177
  40. package/dist/components/Wallet/Account/sendIban.js +11 -11
  41. package/dist/components/Wallet/Buy/confirmTransaction.js +6 -5
  42. package/dist/components/Wallet/Buy/form.js +4 -4
  43. package/dist/components/Wallet/Buy/index.js +6 -6
  44. package/dist/components/Wallet/Deposit/index.js +4 -3
  45. package/dist/components/Wallet/EnterpriseKyc/edd.js +4 -3
  46. package/dist/components/Wallet/EnterpriseKyc/index.js +3 -3
  47. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +13 -12
  48. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +4 -3
  49. package/dist/components/Wallet/EnterpriseKyc/verify.js +4 -3
  50. package/dist/components/Wallet/History/index.js +2 -2
  51. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.d.ts +7 -13
  52. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +216 -231
  53. package/dist/components/Wallet/Portfolio/index.js +8 -7
  54. package/dist/components/Wallet/Portfolio/tokenRow.js +1 -1
  55. package/dist/components/Wallet/Profile/documents.js +15 -15
  56. package/dist/components/Wallet/Profile/index.js +4 -3
  57. package/dist/components/Wallet/Profile/storage.js +12 -12
  58. package/dist/components/Wallet/Receive/index.js +2 -2
  59. package/dist/components/Wallet/Sell/confirmTransaction.js +5 -4
  60. package/dist/components/Wallet/Sell/form.js +4 -4
  61. package/dist/components/Wallet/Sell/index.js +6 -6
  62. package/dist/components/Wallet/Send/index.js +14 -13
  63. package/dist/components/Wallet/Shared/Auth/otpForm.js +2 -2
  64. package/dist/components/Wallet/Shared/BankSelect/index.js +3 -3
  65. package/dist/components/Wallet/Shared/CardCorp/index.js +4 -3
  66. package/dist/components/Wallet/Shared/addBank.js +5 -4
  67. package/dist/components/Wallet/Shared/connectPlaidBank.js +2 -2
  68. package/dist/components/Wallet/Shared/manualSend.js +5 -4
  69. package/dist/components/Wallet/SignIn/index.js +2 -2
  70. package/dist/components/Wallet/SignUp/index.js +2 -2
  71. package/dist/components/Wallet/Stake/gems/index.d.ts +26 -2
  72. package/dist/components/Wallet/Stake/gems/index.js +74 -85
  73. package/dist/components/Wallet/Stake/id/index.d.ts +27 -1
  74. package/dist/components/Wallet/Stake/id/index.js +68 -78
  75. package/dist/components/Wallet/Stake/index.d.ts +4 -1
  76. package/dist/components/Wallet/Stake/index.js +233 -201
  77. package/dist/components/Wallet/Swap/form.js +7 -6
  78. package/dist/components/Wallet/Swap/index.js +5 -5
  79. package/dist/components/Wallet/Withdraw/bankSelect.js +4 -4
  80. package/dist/components/Wallet/Withdraw/confirmTransaction.js +3 -3
  81. package/dist/components/Wallet/Withdraw/form.js +4 -4
  82. package/dist/components/Wallet/Withdraw/index.js +5 -5
  83. package/dist/{constants-Dtk3Gd0Y.js → constants-DREDnCMu.js} +482 -481
  84. package/dist/{cryptoAssets-DT2afvDJ.js → cryptoAssets-DbyDgq4J.js} +1 -1
  85. package/dist/{index-BGJ8RVKA.js → index-BXutc9ik.js} +8 -7
  86. package/dist/index-CWoxdH_Z.js +543 -0
  87. package/dist/{index-CyPm8GTl.js → index-CuPCW3XC.js} +29 -29
  88. package/dist/{index-BUnkeQv6.js → index-DJ7xuxBy.js} +9 -8
  89. package/dist/{index-BEFNlxwM.js → index-DV1dVcrY.js} +31 -30
  90. package/dist/{index-B4pP4oLo.js → index-DYP5Ex_T.js} +9 -8
  91. package/dist/{index-JdlBukUO.js → index-PoMNqntN.js} +4 -4
  92. package/dist/index.esm-I_Bp2YLf.js +224 -0
  93. package/dist/kyc-D4s_B9Cf.js +33 -0
  94. package/dist/main.js +7 -7
  95. package/dist/{order-DuPcaU0K.js → order-DGBbo_Ox.js} +1 -1
  96. package/dist/{stake-WaB8Q4v-.js → stake-CdMc5H7D.js} +1 -1
  97. package/dist/{tokenRow-B-tustzZ.js → tokenRow-C-iMHhPj.js} +14 -12
  98. package/dist/util/constants.d.ts +5 -0
  99. package/dist/util/constants.js +105 -101
  100. package/dist/{wallet-BxwOFeSW.js → wallet-DvfdQOju.js} +10 -10
  101. package/package.json +4 -2
  102. package/dist/index-BU6Lajc_.js +0 -503
  103. package/dist/kyc-BOm2LCSg.js +0 -26
@@ -1,141 +1,133 @@
1
- import { jsxs as o, Fragment as c, jsx as e } from "react/jsx-runtime";
2
- import { useState as f, useRef as Y, useEffect as T } from "react";
3
- import { u as S } from "../../../react-redux-C7I9-1M6.js";
4
- import { C as Z } from "../../../Close-CNwiMz_O.js";
5
- import ee from "../Shared/pin.js";
1
+ import { jsxs as s, Fragment as g, jsx as e } from "react/jsx-runtime";
2
+ import { useState as C, useEffect as T } from "react";
3
+ import { u as N } from "../../../react-redux-C7I9-1M6.js";
4
+ import { C as j } from "../../../Close-CNwiMz_O.js";
6
5
  import "../../../index-DlQqWbXG.js";
7
- import "../Shared/appButton.js";
8
- import te from "../../../hoc/withThemeProvider.js";
9
- import { displayWalletAddress as re } from "../../../util/functions.js";
10
- import { BACK_BTN_ICON as oe, EVER_CHAIN_NETWORK as F, ETHEREUM_NETWORK as G } from "../../../util/constants.js";
6
+ import w from "../Shared/appButton.js";
7
+ import "../../../hoc/withThemeProvider.js";
8
+ import { displayWalletAddress as $ } from "../../../util/functions.js";
9
+ import { BACK_BTN_ICON as J, EVER_CHAIN_NETWORK as B, ETHEREUM_NETWORK as M } from "../../../util/constants.js";
11
10
  import "../Shared/Auth/otpForm.js";
12
- import { al as se, am as ne, an as ae, ao as ie, ap as le } from "../../../constants-Dtk3Gd0Y.js";
13
- import { a as ce } from "../../../index-BQNs1mvn.js";
14
- import { h as me } from "../../../wallet-BxwOFeSW.js";
15
- import "../../../context/snackBarContext.js";
16
- import de from "../../../hooks/useEverestDispatch.js";
17
- import { numberFormat as he, fromHuman as ue, getGweiFromWei as pe, getUnFormattedValueFromWei as fe } from "../../../util/conversions.js";
11
+ import { an as X, ao as Y, ap as Z, aq as ee, ar as te } from "../../../constants-DREDnCMu.js";
12
+ import { a as re } from "../../../index-BQNs1mvn.js";
13
+ import { h as se } from "../../../wallet-DvfdQOju.js";
14
+ import { useSnackBarContext as oe } from "../../../context/snackBarContext.js";
15
+ import ae from "../../../hooks/useEverestDispatch.js";
16
+ import { numberFormat as ne, fromHuman as ie, getGweiFromWei as ce, getUnFormattedValueFromWei as le } from "../../../util/conversions.js";
18
17
  import "../../../index-CAoLi5Qq.js";
19
- import { useSnackBar as ge } from "../../../hooks/useSnackBar.js";
20
18
  import "../../../react-webcam-B3cXh1XT.js";
21
19
  import "../../Shared/transition.js";
22
20
  import "../../../tooltip-3UvETWtS.js";
21
+ import "../Shared/pin.js";
23
22
  import "../../../moment-h96o7c8I.js";
24
23
  import "../../../index.esm-BsMAMhYW.js";
25
24
  import "../../../web3-u4qDZYpo.js";
26
- import { decimalNumbersWithCommaOrDot as Ee } from "../../../util/regex.js";
27
25
  import "../../../index-ceeCtFuh.js";
26
+ import "../../../index.esm-I_Bp2YLf.js";
28
27
  import "../../../context/dialogContext.js";
29
- import { B as N } from "../../../Box-B0YSYLco.js";
30
- import { T as g } from "../../../Typography-pAaje37G.js";
31
- import { S as xe } from "../../../Slide-B9Nw0LZ4.js";
32
- import { F as we } from "../../../FormControl-RtZDQMdA.js";
33
- import { T as _e } from "../../../TextField-DPpRUQe3.js";
34
- import { B as M } from "../../../Button-Df4vgU24.js";
35
- import { C as H } from "../../../CircularProgress-xZA3lvba.js";
36
- import { D as ve, a as Te } from "../../../DialogContent-BMwlOnbW.js";
37
- import { I as Ne } from "../../../IconButton-DHm-hucF.js";
38
- import { G as n } from "../../../Grid-CFe3amXO.js";
39
- import '../../../assets/index6.css';const be = (r) => ({
40
- type: ne,
28
+ import { B as p } from "../../../Box-B0YSYLco.js";
29
+ import { T as u } from "../../../Typography-pAaje37G.js";
30
+ import { F as me } from "../../../FormControl-RtZDQMdA.js";
31
+ import { T as de } from "../../../TextField-DPpRUQe3.js";
32
+ import { D as he, a as pe } from "../../../DialogContent-BMwlOnbW.js";
33
+ import { I as ue } from "../../../IconButton-DHm-hucF.js";
34
+ import { G as a } from "../../../Grid-CFe3amXO.js";
35
+ import '../../../assets/index6.css';const fe = (r) => ({
36
+ type: Y,
41
37
  payload: r
42
- }), Re = (r) => ({
43
- type: ae,
38
+ }), ge = (r) => ({
39
+ type: Z,
44
40
  payload: r
45
- }), Ce = (r) => ({
46
- type: ie,
41
+ }), xe = (r) => ({
42
+ type: ee,
47
43
  payload: r
48
- }), ye = (r) => ({
49
- type: le,
44
+ }), Ee = (r) => ({
45
+ type: te,
50
46
  payload: r
51
- }), Se = () => ({
52
- type: se
53
- }), Ge = "_container_nw82g_1", b = {
54
- container: Ge,
47
+ }), _e = () => ({
48
+ type: X
49
+ }), Te = "_container_nw82g_1", y = {
50
+ container: Te,
55
51
  "inner-container": "_inner-container_nw82g_13",
56
52
  "heading-text": "_heading-text_nw82g_27",
57
53
  "close-btn": "_close-btn_nw82g_41"
58
- }, Me = ({
54
+ }, ot = ({
59
55
  token: r,
60
- network: a,
61
- tokenAddress: P,
62
- depositAddress: A
56
+ network: n,
57
+ tokenAddress: A,
58
+ depositAddress: S,
59
+ onBack: m,
60
+ initialBalance: d
63
61
  }) => {
64
- var q, k;
65
- const { showAlertMessage: E, snackBar: U } = ge(), m = de(), h = S((t) => t.bridge), s = h.gasFee, x = h.loader, u = h.error, R = h.withdrawStatus, B = S((t) => t.user.wallets);
66
- B.loader;
67
- const W = B.data, w = a === F ? G : F, i = S(ce).everWalletAddress, [I, V] = f(""), L = he(I), [O, _] = f("default"), [K, Q] = f(!1), [d, D] = f(""), [$, C] = f(!1), y = Y(""), v = ue(d, r === "ID" ? 18 : 6);
68
- T(() => (m(me()), () => {
69
- m(Se());
70
- }), []), T(() => {
71
- h.showFeePopUp && s.GasLimit > 0 && C(!0);
72
- }, [s]), T(() => {
73
- u && (E({ message: u }), (u === "invalid PIN" || u === "Pin must be 4-digit numeric value") && (Q(!0), _("pin"), C(!1)));
74
- }, [u]), T(() => {
75
- const t = W.find(
76
- (l) => l.address === i
62
+ const { showAlertMessage: W } = oe(), h = ae(), i = N((t) => t.bridge), c = i.gasFee, I = i.loader, G = i.error, v = i.withdrawStatus, R = i.txId, k = (t) => t ? ("GasLimit" in t ? t.GasLimit : t.gasLimit) ?? 0 : 0, z = (t) => {
63
+ var o;
64
+ if (t)
65
+ return (o = "BaseGasPriceCap" in t ? t.BaseGasPriceCap : t.baseGasPriceCap) == null ? void 0 : o.toString();
66
+ }, L = (t) => {
67
+ var o;
68
+ if (t)
69
+ return (o = "TotalMaxEthSpent" in t ? t.TotalMaxEthSpent : t.totalMaxEthSpent) == null ? void 0 : o.toString();
70
+ }, F = N((t) => t.user.wallets);
71
+ F.loader;
72
+ const P = F.data, x = n === B ? M : B, l = N(re).everWalletAddress, [U, D] = C(d ?? ""), H = ne(U), [b, O] = C(""), [V, E] = C(!1), _ = ie(b, r === "ID" ? 18 : 6);
73
+ T(() => (d || h(se()), () => {
74
+ h(_e());
75
+ }), [d]), T(() => {
76
+ i.showFeePopUp && k(c) > 0 && E(!0);
77
+ }, [c, i.showFeePopUp]), T(() => {
78
+ G && W({ message: G });
79
+ }, [G]), T(() => {
80
+ if (d) {
81
+ D(d);
82
+ return;
83
+ }
84
+ const t = P.find(
85
+ (o) => o.address === l
77
86
  );
78
87
  if (t) {
79
- const l = t.tokens;
80
- for (let p = 0; p < l.length; p++)
81
- if (l[p].network.toLowerCase() === w.toLowerCase() && l[p].symbol === r) {
82
- V(l[p].fmt_balance.replaceAll(",", ""));
88
+ const o = t.tokens;
89
+ for (let f = 0; f < o.length; f++)
90
+ if (o[f].network.toLowerCase() === x.toLowerCase() && o[f].symbol === r) {
91
+ D(o[f].fmt_balance.replaceAll(",", ""));
83
92
  break;
84
93
  }
85
94
  }
86
- }, [W, i]);
87
- const j = (t) => {
88
- t ? /^([0-9.,]+)$/.test(t) && D(t) : D("");
89
- }, z = () => {
90
- if (!d)
91
- return E({
92
- message: `Please provide the amount you want to move to ${a}`
93
- }), !1;
94
- if (!Ee.test(d))
95
- return E({
96
- message: "Please provide the valid amount"
97
- }), !1;
98
- if (parseFloat(d.replaceAll(",", ".")) > parseFloat(I))
99
- return E({
100
- message: "Insufficient balance to move to everChain"
101
- }), !1;
102
- _("pin");
103
- }, J = () => {
104
- if (a === G) {
105
- const t = {
106
- walletAddress: i,
107
- amount: v,
108
- token: r,
109
- gas: s,
110
- pin: y.current
111
- };
112
- m(Re(t));
113
- } else {
114
- const t = {
115
- amount: v,
116
- fromAddress: i,
117
- toAddress: A,
118
- tokenAddress: P,
119
- gas: s,
120
- pin: y.current
121
- };
122
- m(ye(t));
95
+ }, [P, l, d]);
96
+ const K = (t) => {
97
+ t ? /^([0-9.,]+)$/.test(t) && O(t) : O("");
98
+ }, Q = () => {
99
+ if (!c) {
100
+ W({
101
+ message: "Gas fee data is not available. Please try again."
102
+ });
103
+ return;
123
104
  }
124
- }, X = () => {
125
- m(a === G ? be({
126
- walletAddress: i,
127
- amount: v,
105
+ h(n === M ? ge({
106
+ walletAddress: l,
107
+ amount: _,
108
+ token: r,
109
+ gas: c
110
+ }) : Ee({
111
+ amount: _,
112
+ fromAddress: l,
113
+ toAddress: S,
114
+ tokenAddress: A,
115
+ gas: c
116
+ }));
117
+ }, q = () => {
118
+ h(n === M ? fe({
119
+ walletAddress: l,
120
+ amount: _,
128
121
  token: r
129
- }) : Ce({
130
- amount: v,
131
- fromAddress: i,
132
- toAddress: A,
133
- tokenAddress: P
122
+ }) : xe({
123
+ amount: _,
124
+ fromAddress: l,
125
+ toAddress: S,
126
+ tokenAddress: A
134
127
  }));
135
128
  };
136
- return /* @__PURE__ */ o(c, { children: [
137
- U,
138
- /* @__PURE__ */ e(N, { className: b.container, children: /* @__PURE__ */ o(N, { className: b["inner-container"], children: [
129
+ return /* @__PURE__ */ s(g, { children: [
130
+ /* @__PURE__ */ e(p, { className: y.container, children: /* @__PURE__ */ s(p, { className: y["inner-container"], children: [
139
131
  /* @__PURE__ */ e(
140
132
  "img",
141
133
  {
@@ -145,96 +137,70 @@ import '../../../assets/index6.css';const be = (r) => ({
145
137
  left: "-18px"
146
138
  },
147
139
  className: "cursor-pointer",
148
- src: oe,
149
- onClick: () => alert("backFunc"),
140
+ src: J,
141
+ onClick: () => m ? m() : alert("backFunc"),
150
142
  alt: "back"
151
143
  }
152
144
  ),
153
145
  /* @__PURE__ */ e(
154
- g,
146
+ u,
155
147
  {
156
148
  sx: { ml: 4, mt: "-20px !important" },
157
- className: b["heading-text"],
149
+ className: y["heading-text"],
158
150
  variant: "h5",
159
- children: /* @__PURE__ */ o("strong", { children: [
151
+ children: /* @__PURE__ */ s("strong", { children: [
160
152
  "Move ",
161
153
  r,
162
154
  " to ",
163
- a
155
+ n
164
156
  ] })
165
157
  }
166
158
  ),
167
- /* @__PURE__ */ o(N, { className: "container-padding text-center", children: [
159
+ /* @__PURE__ */ s(p, { className: "container-padding text-center", children: [
160
+ /* @__PURE__ */ s(u, { variant: "h5", children: [
161
+ x,
162
+ " ",
163
+ r,
164
+ " Balance: ",
165
+ /* @__PURE__ */ e("strong", { children: H })
166
+ ] }),
167
+ /* @__PURE__ */ e(me, { sx: { mt: 6 }, fullWidth: !0, children: /* @__PURE__ */ e(
168
+ de,
169
+ {
170
+ label: `Amount to Move to ${n}`,
171
+ value: b,
172
+ fullWidth: !0,
173
+ required: !0,
174
+ onChange: (t) => K(t.target.value),
175
+ onKeyPress: (t) => t.key === "Enter" && q()
176
+ }
177
+ ) }),
168
178
  /* @__PURE__ */ e(
169
- xe,
179
+ u,
170
180
  {
171
- direction: "left",
172
- in: O === "pin",
173
- mountOnEnter: !0,
174
- unmountOnExit: !0,
175
- children: /* @__PURE__ */ e(
176
- ee,
177
- {
178
- error: K,
179
- onCancel: () => _("default"),
180
- onSubmit: (t) => {
181
- y.current = t, X(), _("default");
182
- }
183
- }
184
- )
181
+ className: "primary-text-color",
182
+ sx: { mt: 6 },
183
+ variant: "caption",
184
+ component: "p",
185
+ children: "Please note: This transaction requires ETH to interact with Ethereum Mainnet. Fees may vary due to market conditions."
185
186
  }
186
187
  ),
187
- O === "default" && /* @__PURE__ */ o(c, { children: [
188
- /* @__PURE__ */ o(g, { variant: "h5", children: [
189
- w,
190
- " ",
191
- r,
192
- " Balance: ",
193
- /* @__PURE__ */ e("strong", { children: L })
194
- ] }),
195
- /* @__PURE__ */ e(we, { sx: { mt: 6 }, fullWidth: !0, children: /* @__PURE__ */ e(
196
- _e,
197
- {
198
- label: `Amount to Move to ${a}`,
199
- value: d,
200
- fullWidth: !0,
201
- required: !0,
202
- onChange: (t) => j(t.target.value),
203
- onKeyPress: (t) => t.key === "Enter" && z()
204
- }
205
- ) }),
206
- /* @__PURE__ */ e(
207
- g,
208
- {
209
- className: "primary-text-color",
210
- sx: { mt: 6 },
211
- variant: "caption",
212
- component: "p",
213
- children: "Please note: This transaction requires ETH to interact with Ethereum Mainnet. Fees may vary due to market conditions."
214
- }
215
- ),
216
- /* @__PURE__ */ e(
217
- M,
218
- {
219
- sx: { mt: 4 },
220
- onClick: z,
221
- disabled: x,
222
- className: "wallet-btn",
223
- variant: "contained",
224
- fullWidth: !0,
225
- children: /* @__PURE__ */ e("strong", { children: x ? /* @__PURE__ */ o(c, { children: [
226
- /* @__PURE__ */ e(H, { size: 15 }),
227
- "Processing..."
228
- ] }) : "Move" })
229
- }
230
- )
231
- ] })
188
+ /* @__PURE__ */ e(
189
+ w,
190
+ {
191
+ sx: { mt: 4 },
192
+ onClick: q,
193
+ isLoading: I,
194
+ fullWidth: !0,
195
+ children: /* @__PURE__ */ e("strong", { children: "Move" })
196
+ }
197
+ )
232
198
  ] })
233
199
  ] }) }),
234
- /* @__PURE__ */ o(
235
- ve,
200
+ /* @__PURE__ */ s(
201
+ he,
236
202
  {
237
- open: $,
203
+ open: V,
238
204
  fullWidth: !0,
239
205
  sx: {
240
206
  "& .MuiDialog-container": {
@@ -244,94 +210,113 @@ import '../../../assets/index6.css';const be = (r) => ({
244
210
  }
245
211
  },
246
212
  children: [
247
- !R && /* @__PURE__ */ e(
248
- Ne,
213
+ !v && /* @__PURE__ */ e(
214
+ ue,
249
215
  {
250
216
  "aria-label": "close",
251
- onClick: () => C(!1),
252
- className: b["close-btn"],
253
- children: /* @__PURE__ */ e(Z, {})
217
+ onClick: () => E(!1),
218
+ className: y["close-btn"],
219
+ children: /* @__PURE__ */ e(j, {})
254
220
  }
255
221
  ),
256
- /* @__PURE__ */ o(Te, { sx: { py: 6 }, children: [
257
- /* @__PURE__ */ e(g, { className: "text-center", variant: "h5", children: /* @__PURE__ */ o("strong", { children: [
222
+ /* @__PURE__ */ s(pe, { sx: { py: 6 }, children: [
223
+ /* @__PURE__ */ e(u, { className: "text-center", variant: "h5", children: /* @__PURE__ */ s("strong", { children: [
258
224
  "Move to ",
259
- a,
225
+ n,
260
226
  " Confirmation"
261
227
  ] }) }),
262
- R ? /* @__PURE__ */ o(c, { children: [
228
+ v ? /* @__PURE__ */ s(g, { children: [
263
229
  /* @__PURE__ */ e(
264
- g,
230
+ u,
265
231
  {
266
232
  sx: { mt: 2, mb: 2 },
267
233
  className: "text-center",
268
234
  variant: "body1",
269
- children: R === "finished" ? /* @__PURE__ */ o(c, { children: [
235
+ children: v === "finished" ? /* @__PURE__ */ s(g, { children: [
270
236
  r,
271
237
  " has been successfully withdraw from ",
272
- w,
238
+ x,
273
239
  " ",
274
240
  "to ",
275
- a,
241
+ n,
276
242
  "Network."
277
- ] }) : /* @__PURE__ */ o(c, { children: [
243
+ ] }) : /* @__PURE__ */ s(g, { children: [
278
244
  r,
279
245
  " withdraw from ",
280
- w,
246
+ x,
281
247
  " to ",
282
- a,
248
+ n,
283
249
  " network is currently ongoing. Please check balance after 2 minutes."
284
250
  ] })
285
251
  }
286
252
  ),
287
- /* @__PURE__ */ e(N, { sx: { px: { xs: 0, md: 12 } }, children: /* @__PURE__ */ e(
288
- M,
253
+ /* @__PURE__ */ e(p, { sx: { px: { xs: 0, md: 12 } }, children: /* @__PURE__ */ e(
254
+ w,
289
255
  {
290
256
  sx: { mt: 2 },
291
- onClick: () => alert("backFunc"),
292
- className: "wallet-btn",
293
- variant: "contained",
257
+ onClick: () => m ? m() : E(!1),
294
258
  fullWidth: !0,
295
259
  children: /* @__PURE__ */ e("strong", { children: "Go Back" })
296
260
  }
297
261
  ) })
298
- ] }) : /* @__PURE__ */ o(n, { mt: 4, container: !0, spacing: 2, sx: { padding: "0% 15%" }, children: [
299
- /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Token Name" }) }),
300
- /* @__PURE__ */ e(n, { className: "fw500 text-right", size: 6, children: r }),
301
- /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Amount" }) }),
302
- /* @__PURE__ */ e(n, { className: "fw500 text-right", size: 6, children: d }),
303
- /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Wallet Address" }) }),
304
- /* @__PURE__ */ e(n, { className: "fw500 text-right", size: 6, children: re(i) }),
305
- /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Gas Price" }) }),
306
- /* @__PURE__ */ o(n, { className: "fw500 text-right", size: 6, children: [
307
- pe(
308
- s != null && s.BaseGasPriceCap ? (q = s == null ? void 0 : s.BaseGasPriceCap) == null ? void 0 : q.toString() : ""
309
- ),
310
- " ",
311
- "Gwei"
262
+ ] }) : R ? /* @__PURE__ */ s(g, { children: [
263
+ /* @__PURE__ */ e(
264
+ u,
265
+ {
266
+ sx: { mt: 2, mb: 2 },
267
+ className: "text-center",
268
+ variant: "body1",
269
+ children: "This transaction is under way, it is not yet completed, you can track status of transaction using Etherscan link provided."
270
+ }
271
+ ),
272
+ /* @__PURE__ */ e(p, { sx: { textAlign: "center", mb: 2 }, children: /* @__PURE__ */ s(
273
+ "a",
274
+ {
275
+ style: { wordBreak: "break-all" },
276
+ href: "https://etherscan.io/tx/" + R,
277
+ rel: "noopener noreferrer",
278
+ target: "_blank",
279
+ children: [
280
+ "https://etherscan.io/tx/",
281
+ R
282
+ ]
283
+ }
284
+ ) }),
285
+ /* @__PURE__ */ e(p, { sx: { px: { xs: 0, md: 12 } }, children: /* @__PURE__ */ e(
286
+ w,
287
+ {
288
+ sx: { mt: 2 },
289
+ onClick: () => m ? m() : E(!1),
290
+ fullWidth: !0,
291
+ children: /* @__PURE__ */ e("strong", { children: "Go Back" })
292
+ }
293
+ ) })
294
+ ] }) : /* @__PURE__ */ s(a, { mt: 4, container: !0, spacing: 2, sx: { padding: "0% 15%" }, children: [
295
+ /* @__PURE__ */ e(a, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Token Name" }) }),
296
+ /* @__PURE__ */ e(a, { className: "fw500 text-right", size: 6, children: r }),
297
+ /* @__PURE__ */ e(a, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Amount" }) }),
298
+ /* @__PURE__ */ e(a, { className: "fw500 text-right", size: 6, children: b }),
299
+ /* @__PURE__ */ e(a, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Wallet Address" }) }),
300
+ /* @__PURE__ */ e(a, { className: "fw500 text-right", size: 6, children: $(l) }),
301
+ /* @__PURE__ */ e(a, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Gas Price" }) }),
302
+ /* @__PURE__ */ s(a, { className: "fw500 text-right", size: 6, children: [
303
+ ce(z(c) ?? ""),
304
+ " Gwei"
312
305
  ] }),
313
- /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Max Transaction Fee" }) }),
314
- /* @__PURE__ */ o(n, { className: "fw500 text-right", size: 6, children: [
315
- fe(
316
- s != null && s.TotalMaxEthSpent ? (k = s == null ? void 0 : s.TotalMaxEthSpent) == null ? void 0 : k.toString() : ""
317
- ),
306
+ /* @__PURE__ */ e(a, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Max Transaction Fee" }) }),
307
+ /* @__PURE__ */ s(a, { className: "fw500 text-right", size: 6, children: [
308
+ le(L(c) ?? ""),
318
309
  " ",
319
310
  "ETH"
320
311
  ] }),
321
312
  /* @__PURE__ */ e(
322
- M,
313
+ w,
323
314
  {
324
315
  sx: { mt: 4 },
325
- onClick: J,
326
- className: "wallet-btn",
327
- variant: "contained",
328
- disabled: x,
316
+ onClick: Q,
317
+ isLoading: I,
329
318
  fullWidth: !0,
330
- children: /* @__PURE__ */ e("strong", { children: x ? /* @__PURE__ */ o(c, { children: [
331
- /* @__PURE__ */ e(H, { size: 15, color: "inherit" }),
332
- " ",
333
- "Processing..."
334
- ] }) : "Move" })
319
+ children: /* @__PURE__ */ e("strong", { children: "Move" })
335
320
  }
336
321
  )
337
322
  ] })
@@ -340,7 +325,7 @@ import '../../../assets/index6.css';const be = (r) => ({
340
325
  }
341
326
  )
342
327
  ] });
343
- }, xt = te(Me);
328
+ };
344
329
  export {
345
- xt as default
330
+ ot as default
346
331
  };
@@ -1,12 +1,12 @@
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 mA, DIALOG_ERROR_ICON as IA } from "../../../util/constants.js";
3
- import "../../../constants-Dtk3Gd0Y.js";
4
- import { i as WA } from "../../../wallet-BxwOFeSW.js";
5
- import { k as dA } from "../../../order-DuPcaU0K.js";
6
- import { c as xA } from "../../../stake-WaB8Q4v-.js";
3
+ import "../../../constants-DREDnCMu.js";
4
+ import { i as WA } from "../../../wallet-DvfdQOju.js";
5
+ import { k as dA } from "../../../order-DGBbo_Ox.js";
6
+ import { c as xA } from "../../../stake-CdMc5H7D.js";
7
7
  import { useState as r, useEffect as M, createRef as K } from "react";
8
8
  import { u as m } from "../../../react-redux-C7I9-1M6.js";
9
- import { s as I, T as F } from "../../../tokenRow-B-tustzZ.js";
9
+ import { s as I, T as F } from "../../../tokenRow-C-iMHhPj.js";
10
10
  import { C as CA } from "../../../ContentCopy-coPwrEuz.js";
11
11
  import { displayWalletAddress as XA, getNetworkOptions as J, getCurrencySymbol as uA, tokenBalanceDisplay as qA } from "../../../util/functions.js";
12
12
  import EA from "../../../hoc/withThemeProvider.js";
@@ -26,6 +26,7 @@ import "../../../moment-h96o7c8I.js";
26
26
  import "../../../index.esm-BsMAMhYW.js";
27
27
  import "../../../web3-u4qDZYpo.js";
28
28
  import "../../../index-ceeCtFuh.js";
29
+ import "../../../index.esm-I_Bp2YLf.js";
29
30
  import { useDialogContext as TA } from "../../../context/dialogContext.js";
30
31
  import u from "./dropdown.js";
31
32
  import { u as UA } from "../../../useTheme-BQJ5lp0i.js";
@@ -541,7 +542,7 @@ const iA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAMAAABlApw1AA
541
542
  ))
542
543
  ] }) })
543
544
  ] }) }) });
544
- }, dB = EA(kA);
545
+ }, xB = EA(kA);
545
546
  export {
546
- dB as default
547
+ xB as default
547
548
  };
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "../../../generic-token-B_ptO5yb.js";
4
4
  import "../../../util/constants.js";
5
- import { T as l } from "../../../tokenRow-B-tustzZ.js";
5
+ import { T as l } from "../../../tokenRow-C-iMHhPj.js";
6
6
  import "../../../util/conversions.js";
7
7
  import "../Shared/appButton.js";
8
8
  import "../../../Grid-CFe3amXO.js";