everest-npm-features 0.0.56 → 0.0.58

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 (98) hide show
  1. package/dist/{PlayArrow-jzz8Y3XD.js → PlayArrow-BRz9FV4L.js} +1 -1
  2. package/dist/{auth-jjVjqywi.js → auth-CD7qxhDF.js} +1 -1
  3. package/dist/{bank-BM66KfAv.js → bank-C2LtDonX.js} +1 -1
  4. package/dist/components/RocketRamp/MinimalKyc/form.js +2 -2
  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 +5 -5
  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 +2 -2
  25. package/dist/components/Shared/FullKyc/index.js +3 -3
  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/Wallet/Account/createIban.js +1 -1
  31. package/dist/components/Wallet/Account/eWallet.d.ts +4 -2
  32. package/dist/components/Wallet/Account/eWallet.js +49 -46
  33. package/dist/components/Wallet/Account/iban.d.ts +4 -2
  34. package/dist/components/Wallet/Account/iban.js +51 -48
  35. package/dist/components/Wallet/Account/ibanItem.d.ts +5 -2
  36. package/dist/components/Wallet/Account/ibanItem.js +184 -153
  37. package/dist/components/Wallet/Account/index.js +192 -196
  38. package/dist/components/Wallet/Account/sendIban.js +2 -2
  39. package/dist/components/Wallet/Buy/confirmTransaction.js +4 -4
  40. package/dist/components/Wallet/Buy/form.js +4 -4
  41. package/dist/components/Wallet/Buy/index.js +6 -6
  42. package/dist/components/Wallet/Deposit/index.js +1 -1
  43. package/dist/components/Wallet/EnterpriseKyc/edd.js +1 -1
  44. package/dist/components/Wallet/EnterpriseKyc/index.js +3 -3
  45. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +2 -2
  46. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +1 -1
  47. package/dist/components/Wallet/EnterpriseKyc/verify.js +1 -1
  48. package/dist/components/Wallet/History/index.js +2 -2
  49. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.d.ts +7 -13
  50. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +215 -231
  51. package/dist/components/Wallet/Portfolio/index.js +5 -5
  52. package/dist/components/Wallet/Portfolio/tokenRow.js +1 -1
  53. package/dist/components/Wallet/Profile/documents.js +1 -1
  54. package/dist/components/Wallet/Profile/index.js +1 -1
  55. package/dist/components/Wallet/Profile/storage.js +1 -1
  56. package/dist/components/Wallet/Receive/index.js +2 -2
  57. package/dist/components/Wallet/Sell/confirmTransaction.js +3 -3
  58. package/dist/components/Wallet/Sell/form.js +4 -4
  59. package/dist/components/Wallet/Sell/index.js +6 -6
  60. package/dist/components/Wallet/Send/index.js +3 -3
  61. package/dist/components/Wallet/Shared/Auth/otpForm.js +2 -2
  62. package/dist/components/Wallet/Shared/BankSelect/index.js +3 -3
  63. package/dist/components/Wallet/Shared/CardCorp/index.js +1 -1
  64. package/dist/components/Wallet/Shared/addBank.js +2 -2
  65. package/dist/components/Wallet/Shared/connectPlaidBank.js +2 -2
  66. package/dist/components/Wallet/Shared/manualSend.js +3 -3
  67. package/dist/components/Wallet/SignIn/index.js +2 -2
  68. package/dist/components/Wallet/SignUp/index.js +2 -2
  69. package/dist/components/Wallet/Stake/gems/index.d.ts +26 -2
  70. package/dist/components/Wallet/Stake/gems/index.js +74 -85
  71. package/dist/components/Wallet/Stake/id/index.d.ts +27 -1
  72. package/dist/components/Wallet/Stake/id/index.js +68 -78
  73. package/dist/components/Wallet/Stake/index.d.ts +4 -1
  74. package/dist/components/Wallet/Stake/index.js +232 -201
  75. package/dist/components/Wallet/Swap/form.js +5 -5
  76. package/dist/components/Wallet/Swap/index.js +5 -5
  77. package/dist/components/Wallet/Withdraw/bankSelect.js +4 -4
  78. package/dist/components/Wallet/Withdraw/confirmTransaction.js +3 -3
  79. package/dist/components/Wallet/Withdraw/form.js +4 -4
  80. package/dist/components/Wallet/Withdraw/index.js +5 -5
  81. package/dist/{constants-Dtk3Gd0Y.js → constants-Styrbvke.js} +4 -4
  82. package/dist/{cryptoAssets-DT2afvDJ.js → cryptoAssets-CFtzXGbk.js} +1 -1
  83. package/dist/{index-BEFNlxwM.js → index-AVcxYfIV.js} +4 -4
  84. package/dist/{index-JdlBukUO.js → index-CKjKCXeQ.js} +4 -4
  85. package/dist/{index-BGJ8RVKA.js → index-DAla2tRU.js} +5 -5
  86. package/dist/{index-BUnkeQv6.js → index-DM6mBQ7L.js} +6 -6
  87. package/dist/{index-B4pP4oLo.js → index-Da-BlrMH.js} +6 -6
  88. package/dist/{index-CyPm8GTl.js → index-Du_jGnyO.js} +4 -4
  89. package/dist/{index-BU6Lajc_.js → index-g4Gy1BHB.js} +2 -2
  90. package/dist/{kyc-BOm2LCSg.js → kyc-Ee4qAZby.js} +1 -1
  91. package/dist/main.js +7 -7
  92. package/dist/{order-DuPcaU0K.js → order-uVUTqaQ2.js} +1 -1
  93. package/dist/{stake-WaB8Q4v-.js → stake-Dgx86wzO.js} +1 -1
  94. package/dist/{tokenRow-B-tustzZ.js → tokenRow-C-iMHhPj.js} +14 -12
  95. package/dist/util/constants.d.ts +1 -0
  96. package/dist/util/constants.js +54 -53
  97. package/dist/{wallet-BxwOFeSW.js → wallet-BkdExH6h.js} +10 -10
  98. package/package.json +2 -2
@@ -1,141 +1,132 @@
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 k, 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 { al as X, am as Y, an as Z, ao as ee, ap as te } from "../../../constants-Styrbvke.js";
12
+ import { a as re } from "../../../index-BQNs1mvn.js";
13
+ import { h as se } from "../../../wallet-BkdExH6h.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";
28
26
  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,
27
+ import { B as p } from "../../../Box-B0YSYLco.js";
28
+ import { T as u } from "../../../Typography-pAaje37G.js";
29
+ import { F as me } from "../../../FormControl-RtZDQMdA.js";
30
+ import { T as de } from "../../../TextField-DPpRUQe3.js";
31
+ import { D as he, a as pe } from "../../../DialogContent-BMwlOnbW.js";
32
+ import { I as ue } from "../../../IconButton-DHm-hucF.js";
33
+ import { G as a } from "../../../Grid-CFe3amXO.js";
34
+ import '../../../assets/index6.css';const fe = (r) => ({
35
+ type: Y,
41
36
  payload: r
42
- }), Re = (r) => ({
43
- type: ae,
37
+ }), ge = (r) => ({
38
+ type: Z,
44
39
  payload: r
45
- }), Ce = (r) => ({
46
- type: ie,
40
+ }), xe = (r) => ({
41
+ type: ee,
47
42
  payload: r
48
- }), ye = (r) => ({
49
- type: le,
43
+ }), Ee = (r) => ({
44
+ type: te,
50
45
  payload: r
51
- }), Se = () => ({
52
- type: se
53
- }), Ge = "_container_nw82g_1", b = {
54
- container: Ge,
46
+ }), _e = () => ({
47
+ type: X
48
+ }), Te = "_container_nw82g_1", y = {
49
+ container: Te,
55
50
  "inner-container": "_inner-container_nw82g_13",
56
51
  "heading-text": "_heading-text_nw82g_27",
57
52
  "close-btn": "_close-btn_nw82g_41"
58
- }, Me = ({
53
+ }, st = ({
59
54
  token: r,
60
- network: a,
61
- tokenAddress: P,
62
- depositAddress: A
55
+ network: n,
56
+ tokenAddress: A,
57
+ depositAddress: S,
58
+ onBack: m,
59
+ initialBalance: d
63
60
  }) => {
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
61
+ 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, q = (t) => t ? ("GasLimit" in t ? t.GasLimit : t.gasLimit) ?? 0 : 0, z = (t) => {
62
+ var o;
63
+ if (t)
64
+ return (o = "BaseGasPriceCap" in t ? t.BaseGasPriceCap : t.baseGasPriceCap) == null ? void 0 : o.toString();
65
+ }, L = (t) => {
66
+ var o;
67
+ if (t)
68
+ return (o = "TotalMaxEthSpent" in t ? t.TotalMaxEthSpent : t.totalMaxEthSpent) == null ? void 0 : o.toString();
69
+ }, F = N((t) => t.user.wallets);
70
+ F.loader;
71
+ const P = F.data, x = n === k ? M : k, l = N(re).everWalletAddress, [U, D] = C(d ?? ""), H = ne(U), [b, O] = C(""), [V, E] = C(!1), _ = ie(b, r === "ID" ? 18 : 6);
72
+ T(() => (d || h(se()), () => {
73
+ h(_e());
74
+ }), [d]), T(() => {
75
+ i.showFeePopUp && q(c) > 0 && E(!0);
76
+ }, [c, i.showFeePopUp]), T(() => {
77
+ G && W({ message: G });
78
+ }, [G]), T(() => {
79
+ if (d) {
80
+ D(d);
81
+ return;
82
+ }
83
+ const t = P.find(
84
+ (o) => o.address === l
77
85
  );
78
86
  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(",", ""));
87
+ const o = t.tokens;
88
+ for (let f = 0; f < o.length; f++)
89
+ if (o[f].network.toLowerCase() === x.toLowerCase() && o[f].symbol === r) {
90
+ D(o[f].fmt_balance.replaceAll(",", ""));
83
91
  break;
84
92
  }
85
93
  }
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));
94
+ }, [P, l, d]);
95
+ const K = (t) => {
96
+ t ? /^([0-9.,]+)$/.test(t) && O(t) : O("");
97
+ }, Q = () => {
98
+ if (!c) {
99
+ W({
100
+ message: "Gas fee data is not available. Please try again."
101
+ });
102
+ return;
123
103
  }
124
- }, X = () => {
125
- m(a === G ? be({
126
- walletAddress: i,
127
- amount: v,
104
+ h(n === M ? ge({
105
+ walletAddress: l,
106
+ amount: _,
107
+ token: r,
108
+ gas: c
109
+ }) : Ee({
110
+ amount: _,
111
+ fromAddress: l,
112
+ toAddress: S,
113
+ tokenAddress: A,
114
+ gas: c
115
+ }));
116
+ }, B = () => {
117
+ h(n === M ? fe({
118
+ walletAddress: l,
119
+ amount: _,
128
120
  token: r
129
- }) : Ce({
130
- amount: v,
131
- fromAddress: i,
132
- toAddress: A,
133
- tokenAddress: P
121
+ }) : xe({
122
+ amount: _,
123
+ fromAddress: l,
124
+ toAddress: S,
125
+ tokenAddress: A
134
126
  }));
135
127
  };
136
- return /* @__PURE__ */ o(c, { children: [
137
- U,
138
- /* @__PURE__ */ e(N, { className: b.container, children: /* @__PURE__ */ o(N, { className: b["inner-container"], children: [
128
+ return /* @__PURE__ */ s(g, { children: [
129
+ /* @__PURE__ */ e(p, { className: y.container, children: /* @__PURE__ */ s(p, { className: y["inner-container"], children: [
139
130
  /* @__PURE__ */ e(
140
131
  "img",
141
132
  {
@@ -145,96 +136,70 @@ import '../../../assets/index6.css';const be = (r) => ({
145
136
  left: "-18px"
146
137
  },
147
138
  className: "cursor-pointer",
148
- src: oe,
149
- onClick: () => alert("backFunc"),
139
+ src: J,
140
+ onClick: () => m ? m() : alert("backFunc"),
150
141
  alt: "back"
151
142
  }
152
143
  ),
153
144
  /* @__PURE__ */ e(
154
- g,
145
+ u,
155
146
  {
156
147
  sx: { ml: 4, mt: "-20px !important" },
157
- className: b["heading-text"],
148
+ className: y["heading-text"],
158
149
  variant: "h5",
159
- children: /* @__PURE__ */ o("strong", { children: [
150
+ children: /* @__PURE__ */ s("strong", { children: [
160
151
  "Move ",
161
152
  r,
162
153
  " to ",
163
- a
154
+ n
164
155
  ] })
165
156
  }
166
157
  ),
167
- /* @__PURE__ */ o(N, { className: "container-padding text-center", children: [
158
+ /* @__PURE__ */ s(p, { className: "container-padding text-center", children: [
159
+ /* @__PURE__ */ s(u, { variant: "h5", children: [
160
+ x,
161
+ " ",
162
+ r,
163
+ " Balance: ",
164
+ /* @__PURE__ */ e("strong", { children: H })
165
+ ] }),
166
+ /* @__PURE__ */ e(me, { sx: { mt: 6 }, fullWidth: !0, children: /* @__PURE__ */ e(
167
+ de,
168
+ {
169
+ label: `Amount to Move to ${n}`,
170
+ value: b,
171
+ fullWidth: !0,
172
+ required: !0,
173
+ onChange: (t) => K(t.target.value),
174
+ onKeyPress: (t) => t.key === "Enter" && B()
175
+ }
176
+ ) }),
168
177
  /* @__PURE__ */ e(
169
- xe,
178
+ u,
170
179
  {
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
- )
180
+ className: "primary-text-color",
181
+ sx: { mt: 6 },
182
+ variant: "caption",
183
+ component: "p",
184
+ children: "Please note: This transaction requires ETH to interact with Ethereum Mainnet. Fees may vary due to market conditions."
185
185
  }
186
186
  ),
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
- ] })
187
+ /* @__PURE__ */ e(
188
+ w,
189
+ {
190
+ sx: { mt: 4 },
191
+ onClick: B,
192
+ isLoading: I,
193
+ fullWidth: !0,
194
+ children: /* @__PURE__ */ e("strong", { children: "Move" })
195
+ }
196
+ )
232
197
  ] })
233
198
  ] }) }),
234
- /* @__PURE__ */ o(
235
- ve,
199
+ /* @__PURE__ */ s(
200
+ he,
236
201
  {
237
- open: $,
202
+ open: V,
238
203
  fullWidth: !0,
239
204
  sx: {
240
205
  "& .MuiDialog-container": {
@@ -244,94 +209,113 @@ import '../../../assets/index6.css';const be = (r) => ({
244
209
  }
245
210
  },
246
211
  children: [
247
- !R && /* @__PURE__ */ e(
248
- Ne,
212
+ !v && /* @__PURE__ */ e(
213
+ ue,
249
214
  {
250
215
  "aria-label": "close",
251
- onClick: () => C(!1),
252
- className: b["close-btn"],
253
- children: /* @__PURE__ */ e(Z, {})
216
+ onClick: () => E(!1),
217
+ className: y["close-btn"],
218
+ children: /* @__PURE__ */ e(j, {})
254
219
  }
255
220
  ),
256
- /* @__PURE__ */ o(Te, { sx: { py: 6 }, children: [
257
- /* @__PURE__ */ e(g, { className: "text-center", variant: "h5", children: /* @__PURE__ */ o("strong", { children: [
221
+ /* @__PURE__ */ s(pe, { sx: { py: 6 }, children: [
222
+ /* @__PURE__ */ e(u, { className: "text-center", variant: "h5", children: /* @__PURE__ */ s("strong", { children: [
258
223
  "Move to ",
259
- a,
224
+ n,
260
225
  " Confirmation"
261
226
  ] }) }),
262
- R ? /* @__PURE__ */ o(c, { children: [
227
+ v ? /* @__PURE__ */ s(g, { children: [
263
228
  /* @__PURE__ */ e(
264
- g,
229
+ u,
265
230
  {
266
231
  sx: { mt: 2, mb: 2 },
267
232
  className: "text-center",
268
233
  variant: "body1",
269
- children: R === "finished" ? /* @__PURE__ */ o(c, { children: [
234
+ children: v === "finished" ? /* @__PURE__ */ s(g, { children: [
270
235
  r,
271
236
  " has been successfully withdraw from ",
272
- w,
237
+ x,
273
238
  " ",
274
239
  "to ",
275
- a,
240
+ n,
276
241
  "Network."
277
- ] }) : /* @__PURE__ */ o(c, { children: [
242
+ ] }) : /* @__PURE__ */ s(g, { children: [
278
243
  r,
279
244
  " withdraw from ",
280
- w,
245
+ x,
281
246
  " to ",
282
- a,
247
+ n,
283
248
  " network is currently ongoing. Please check balance after 2 minutes."
284
249
  ] })
285
250
  }
286
251
  ),
287
- /* @__PURE__ */ e(N, { sx: { px: { xs: 0, md: 12 } }, children: /* @__PURE__ */ e(
288
- M,
252
+ /* @__PURE__ */ e(p, { sx: { px: { xs: 0, md: 12 } }, children: /* @__PURE__ */ e(
253
+ w,
289
254
  {
290
255
  sx: { mt: 2 },
291
- onClick: () => alert("backFunc"),
292
- className: "wallet-btn",
293
- variant: "contained",
256
+ onClick: () => m ? m() : E(!1),
294
257
  fullWidth: !0,
295
258
  children: /* @__PURE__ */ e("strong", { children: "Go Back" })
296
259
  }
297
260
  ) })
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"
261
+ ] }) : R ? /* @__PURE__ */ s(g, { children: [
262
+ /* @__PURE__ */ e(
263
+ u,
264
+ {
265
+ sx: { mt: 2, mb: 2 },
266
+ className: "text-center",
267
+ variant: "body1",
268
+ children: "This transaction is under way, it is not yet completed, you can track status of transaction using Etherscan link provided."
269
+ }
270
+ ),
271
+ /* @__PURE__ */ e(p, { sx: { textAlign: "center", mb: 2 }, children: /* @__PURE__ */ s(
272
+ "a",
273
+ {
274
+ style: { wordBreak: "break-all" },
275
+ href: "https://etherscan.io/tx/" + R,
276
+ rel: "noopener noreferrer",
277
+ target: "_blank",
278
+ children: [
279
+ "https://etherscan.io/tx/",
280
+ R
281
+ ]
282
+ }
283
+ ) }),
284
+ /* @__PURE__ */ e(p, { sx: { px: { xs: 0, md: 12 } }, children: /* @__PURE__ */ e(
285
+ w,
286
+ {
287
+ sx: { mt: 2 },
288
+ onClick: () => m ? m() : E(!1),
289
+ fullWidth: !0,
290
+ children: /* @__PURE__ */ e("strong", { children: "Go Back" })
291
+ }
292
+ ) })
293
+ ] }) : /* @__PURE__ */ s(a, { mt: 4, container: !0, spacing: 2, sx: { padding: "0% 15%" }, children: [
294
+ /* @__PURE__ */ e(a, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Token Name" }) }),
295
+ /* @__PURE__ */ e(a, { className: "fw500 text-right", size: 6, children: r }),
296
+ /* @__PURE__ */ e(a, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Amount" }) }),
297
+ /* @__PURE__ */ e(a, { className: "fw500 text-right", size: 6, children: b }),
298
+ /* @__PURE__ */ e(a, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Wallet Address" }) }),
299
+ /* @__PURE__ */ e(a, { className: "fw500 text-right", size: 6, children: $(l) }),
300
+ /* @__PURE__ */ e(a, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Gas Price" }) }),
301
+ /* @__PURE__ */ s(a, { className: "fw500 text-right", size: 6, children: [
302
+ ce(z(c) ?? ""),
303
+ " Gwei"
312
304
  ] }),
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
- ),
305
+ /* @__PURE__ */ e(a, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Max Transaction Fee" }) }),
306
+ /* @__PURE__ */ s(a, { className: "fw500 text-right", size: 6, children: [
307
+ le(L(c) ?? ""),
318
308
  " ",
319
309
  "ETH"
320
310
  ] }),
321
311
  /* @__PURE__ */ e(
322
- M,
312
+ w,
323
313
  {
324
314
  sx: { mt: 4 },
325
- onClick: J,
326
- className: "wallet-btn",
327
- variant: "contained",
328
- disabled: x,
315
+ onClick: Q,
316
+ isLoading: I,
329
317
  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" })
318
+ children: /* @__PURE__ */ e("strong", { children: "Move" })
335
319
  }
336
320
  )
337
321
  ] })
@@ -340,7 +324,7 @@ import '../../../assets/index6.css';const be = (r) => ({
340
324
  }
341
325
  )
342
326
  ] });
343
- }, xt = te(Me);
327
+ };
344
328
  export {
345
- xt as default
329
+ st as default
346
330
  };
@@ -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-Styrbvke.js";
4
+ import { i as WA } from "../../../wallet-BkdExH6h.js";
5
+ import { k as dA } from "../../../order-uVUTqaQ2.js";
6
+ import { c as xA } from "../../../stake-Dgx86wzO.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";
@@ -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";
@@ -10,7 +10,7 @@ import { c as ae } from "../../../createSvgIcon-Cuzqm90l.js";
10
10
  import se from "../../Shared/transition.js";
11
11
  import { getDocName as le } from "../../../util/functions.js";
12
12
  import { u as me } from "../../../react-redux-C7I9-1M6.js";
13
- import { ar as de, as as ue, at as he, au as pe, av as fe, aw as ge } from "../../../constants-Dtk3Gd0Y.js";
13
+ import { ar as de, as as ue, at as he, au as pe, av as fe, aw as ge } from "../../../constants-Styrbvke.js";
14
14
  import { e as xe } from "../../../index-BQNs1mvn.js";
15
15
  import { s as i } from "../../../styles.module-CHPRGltL.js";
16
16
  import { RIGHT_ARROW as M, DELETE_ICON as De } from "../../../util/constants.js";
@@ -1,7 +1,7 @@
1
1
  import { jsxs as r, Fragment as U, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as Z, useEffect as _ } from "react";
3
3
  import { u as R } from "../../../react-redux-C7I9-1M6.js";
4
- import { ah as W, ai as q, aj as Q, ak as X, c as b, K as j } from "../../../constants-Dtk3Gd0Y.js";
4
+ import { ah as W, ai as q, aj as Q, ak as X, c as b, K as j } from "../../../constants-Styrbvke.js";
5
5
  import { a as $ } from "../../../index-BQNs1mvn.js";
6
6
  import { s as o } from "../../../styles.module-CHPRGltL.js";
7
7
  import l from "../Shared/inputField.js";
@@ -7,7 +7,7 @@ import { s as C } from "../../../styles.module-CHPRGltL.js";
7
7
  import f from "../Shared/appButton.js";
8
8
  import W from "../Shared/noData.js";
9
9
  import { R as z } from "../../../radioButton-CzlYB0Lh.js";
10
- import { ax as D, ay as L, az as P, aA as M, aB as j } from "../../../constants-Dtk3Gd0Y.js";
10
+ import { ax as D, ay as L, az as P, aA as M, aB as j } from "../../../constants-Styrbvke.js";
11
11
  import { STORAGE_SUCCESS as q, CLOUD_ICON as F } from "../../../util/constants.js";
12
12
  import H from "../../../hooks/useEverestDispatch.js";
13
13
  import { B as s } from "../../../Box-B0YSYLco.js";
@@ -2,9 +2,9 @@ import { jsxs as n, Fragment as d, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as y, useEffect as p } from "react";
3
3
  import { u } from "../../../react-redux-C7I9-1M6.js";
4
4
  import { Q as S } from "../../../index-CAoLi5Qq.js";
5
- import "../../../constants-Dtk3Gd0Y.js";
5
+ import "../../../constants-Styrbvke.js";
6
6
  import { a as W, c as _ } from "../../../index-BQNs1mvn.js";
7
- import { u as z } from "../../../wallet-BxwOFeSW.js";
7
+ import { u as z } from "../../../wallet-BkdExH6h.js";
8
8
  import { C as A } from "../../../ContentCopy-coPwrEuz.js";
9
9
  import { useSnackBar as B } from "../../../hooks/useSnackBar.js";
10
10
  import N from "../../../hoc/withThemeProvider.js";
@@ -4,10 +4,10 @@ import "../Shared/backBtn.js";
4
4
  import "../../../util/functions.js";
5
5
  import "../../../styles.module-DMd29SPQ.js";
6
6
  import "../Shared/appButton.js";
7
- import "../../../constants-Dtk3Gd0Y.js";
7
+ import "../../../constants-Styrbvke.js";
8
8
  import "../../../index-BQNs1mvn.js";
9
- import "../../../order-DuPcaU0K.js";
10
- import { a as G } from "../../../index-BGJ8RVKA.js";
9
+ import "../../../order-uVUTqaQ2.js";
10
+ import { a as G } from "../../../index-DAla2tRU.js";
11
11
  import "../../../util/constants.js";
12
12
  import "../../../react-redux-C7I9-1M6.js";
13
13
  import "../../../index-DlQqWbXG.js";