everest-npm-features 0.0.57 → 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.
- package/dist/{PlayArrow-jzz8Y3XD.js → PlayArrow-BRz9FV4L.js} +1 -1
- package/dist/{auth-jjVjqywi.js → auth-CD7qxhDF.js} +1 -1
- package/dist/{bank-BM66KfAv.js → bank-C2LtDonX.js} +1 -1
- package/dist/components/RocketRamp/MinimalKyc/form.js +2 -2
- 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 +5 -5
- 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/edd.js +2 -2
- package/dist/components/Shared/FullKyc/index.js +3 -3
- package/dist/components/Shared/FullKyc/pep.js +1 -1
- package/dist/components/Shared/FullKyc/personalDetails.js +2 -2
- package/dist/components/Shared/FullKyc/userInfo.js +3 -3
- package/dist/components/Shared/MinimalKyc/index.js +2 -2
- package/dist/components/Wallet/Account/createIban.js +1 -1
- package/dist/components/Wallet/Account/eWallet.d.ts +4 -2
- package/dist/components/Wallet/Account/eWallet.js +30 -28
- package/dist/components/Wallet/Account/iban.d.ts +4 -2
- package/dist/components/Wallet/Account/iban.js +30 -28
- package/dist/components/Wallet/Account/ibanItem.d.ts +4 -2
- package/dist/components/Wallet/Account/ibanItem.js +179 -175
- package/dist/components/Wallet/Account/index.js +190 -177
- package/dist/components/Wallet/Account/sendIban.js +2 -2
- package/dist/components/Wallet/Buy/confirmTransaction.js +4 -4
- package/dist/components/Wallet/Buy/form.js +4 -4
- package/dist/components/Wallet/Buy/index.js +6 -6
- package/dist/components/Wallet/Deposit/index.js +1 -1
- package/dist/components/Wallet/EnterpriseKyc/edd.js +1 -1
- package/dist/components/Wallet/EnterpriseKyc/index.js +3 -3
- package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +2 -2
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +1 -1
- package/dist/components/Wallet/EnterpriseKyc/verify.js +1 -1
- package/dist/components/Wallet/History/index.js +2 -2
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.d.ts +7 -13
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +215 -231
- package/dist/components/Wallet/Portfolio/index.js +5 -5
- package/dist/components/Wallet/Portfolio/tokenRow.js +1 -1
- package/dist/components/Wallet/Profile/documents.js +1 -1
- package/dist/components/Wallet/Profile/index.js +1 -1
- package/dist/components/Wallet/Profile/storage.js +1 -1
- package/dist/components/Wallet/Receive/index.js +2 -2
- package/dist/components/Wallet/Sell/confirmTransaction.js +3 -3
- package/dist/components/Wallet/Sell/form.js +4 -4
- package/dist/components/Wallet/Sell/index.js +6 -6
- package/dist/components/Wallet/Send/index.js +3 -3
- package/dist/components/Wallet/Shared/Auth/otpForm.js +2 -2
- package/dist/components/Wallet/Shared/BankSelect/index.js +3 -3
- package/dist/components/Wallet/Shared/CardCorp/index.js +1 -1
- package/dist/components/Wallet/Shared/addBank.js +2 -2
- package/dist/components/Wallet/Shared/connectPlaidBank.js +2 -2
- package/dist/components/Wallet/Shared/manualSend.js +3 -3
- package/dist/components/Wallet/SignIn/index.js +2 -2
- package/dist/components/Wallet/SignUp/index.js +2 -2
- package/dist/components/Wallet/Stake/gems/index.d.ts +26 -2
- package/dist/components/Wallet/Stake/gems/index.js +74 -85
- package/dist/components/Wallet/Stake/id/index.d.ts +27 -1
- package/dist/components/Wallet/Stake/id/index.js +68 -78
- package/dist/components/Wallet/Stake/index.d.ts +4 -1
- package/dist/components/Wallet/Stake/index.js +232 -201
- package/dist/components/Wallet/Swap/form.js +5 -5
- package/dist/components/Wallet/Swap/index.js +5 -5
- package/dist/components/Wallet/Withdraw/bankSelect.js +4 -4
- package/dist/components/Wallet/Withdraw/confirmTransaction.js +3 -3
- package/dist/components/Wallet/Withdraw/form.js +4 -4
- package/dist/components/Wallet/Withdraw/index.js +5 -5
- package/dist/{constants-Dtk3Gd0Y.js → constants-Styrbvke.js} +4 -4
- package/dist/{cryptoAssets-DT2afvDJ.js → cryptoAssets-CFtzXGbk.js} +1 -1
- package/dist/{index-BEFNlxwM.js → index-AVcxYfIV.js} +4 -4
- package/dist/{index-JdlBukUO.js → index-CKjKCXeQ.js} +4 -4
- package/dist/{index-BGJ8RVKA.js → index-DAla2tRU.js} +5 -5
- package/dist/{index-BUnkeQv6.js → index-DM6mBQ7L.js} +6 -6
- package/dist/{index-B4pP4oLo.js → index-Da-BlrMH.js} +6 -6
- package/dist/{index-CyPm8GTl.js → index-Du_jGnyO.js} +4 -4
- package/dist/{index-BU6Lajc_.js → index-g4Gy1BHB.js} +2 -2
- package/dist/{kyc-BOm2LCSg.js → kyc-Ee4qAZby.js} +1 -1
- package/dist/main.js +7 -7
- package/dist/{order-DuPcaU0K.js → order-uVUTqaQ2.js} +1 -1
- package/dist/{stake-WaB8Q4v-.js → stake-Dgx86wzO.js} +1 -1
- package/dist/{tokenRow-B-tustzZ.js → tokenRow-C-iMHhPj.js} +14 -12
- package/dist/util/constants.d.ts +1 -0
- package/dist/util/constants.js +54 -53
- package/dist/{wallet-BxwOFeSW.js → wallet-BkdExH6h.js} +10 -10
- package/package.json +2 -2
|
@@ -1,141 +1,132 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useState as
|
|
3
|
-
import { u as
|
|
4
|
-
import { C as
|
|
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
|
|
9
|
-
import { displayWalletAddress as
|
|
10
|
-
import { BACK_BTN_ICON as
|
|
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
|
|
13
|
-
import { a as
|
|
14
|
-
import { h as
|
|
15
|
-
import "../../../context/snackBarContext.js";
|
|
16
|
-
import
|
|
17
|
-
import { numberFormat as
|
|
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
|
|
30
|
-
import { T as
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import
|
|
37
|
-
|
|
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
|
-
}),
|
|
43
|
-
type:
|
|
37
|
+
}), ge = (r) => ({
|
|
38
|
+
type: Z,
|
|
44
39
|
payload: r
|
|
45
|
-
}),
|
|
46
|
-
type:
|
|
40
|
+
}), xe = (r) => ({
|
|
41
|
+
type: ee,
|
|
47
42
|
payload: r
|
|
48
|
-
}),
|
|
49
|
-
type:
|
|
43
|
+
}), Ee = (r) => ({
|
|
44
|
+
type: te,
|
|
50
45
|
payload: r
|
|
51
|
-
}),
|
|
52
|
-
type:
|
|
53
|
-
}),
|
|
54
|
-
container:
|
|
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
|
-
},
|
|
53
|
+
}, st = ({
|
|
59
54
|
token: r,
|
|
60
|
-
network:
|
|
61
|
-
tokenAddress:
|
|
62
|
-
depositAddress:
|
|
55
|
+
network: n,
|
|
56
|
+
tokenAddress: A,
|
|
57
|
+
depositAddress: S,
|
|
58
|
+
onBack: m,
|
|
59
|
+
initialBalance: d
|
|
63
60
|
}) => {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
},
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
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
|
|
80
|
-
for (let
|
|
81
|
-
if (
|
|
82
|
-
|
|
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
|
-
}, [
|
|
87
|
-
const
|
|
88
|
-
t ? /^([0-9.,]+)$/.test(t) &&
|
|
89
|
-
},
|
|
90
|
-
if (!
|
|
91
|
-
|
|
92
|
-
message:
|
|
93
|
-
})
|
|
94
|
-
|
|
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
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
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
|
-
}) :
|
|
130
|
-
amount:
|
|
131
|
-
fromAddress:
|
|
132
|
-
toAddress:
|
|
133
|
-
tokenAddress:
|
|
121
|
+
}) : xe({
|
|
122
|
+
amount: _,
|
|
123
|
+
fromAddress: l,
|
|
124
|
+
toAddress: S,
|
|
125
|
+
tokenAddress: A
|
|
134
126
|
}));
|
|
135
127
|
};
|
|
136
|
-
return /* @__PURE__ */
|
|
137
|
-
|
|
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:
|
|
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
|
-
|
|
145
|
+
u,
|
|
155
146
|
{
|
|
156
147
|
sx: { ml: 4, mt: "-20px !important" },
|
|
157
|
-
className:
|
|
148
|
+
className: y["heading-text"],
|
|
158
149
|
variant: "h5",
|
|
159
|
-
children: /* @__PURE__ */
|
|
150
|
+
children: /* @__PURE__ */ s("strong", { children: [
|
|
160
151
|
"Move ",
|
|
161
152
|
r,
|
|
162
153
|
" to ",
|
|
163
|
-
|
|
154
|
+
n
|
|
164
155
|
] })
|
|
165
156
|
}
|
|
166
157
|
),
|
|
167
|
-
/* @__PURE__ */
|
|
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
|
-
|
|
178
|
+
u,
|
|
170
179
|
{
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
children:
|
|
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
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
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__ */
|
|
235
|
-
|
|
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
|
-
!
|
|
248
|
-
|
|
212
|
+
!v && /* @__PURE__ */ e(
|
|
213
|
+
ue,
|
|
249
214
|
{
|
|
250
215
|
"aria-label": "close",
|
|
251
|
-
onClick: () =>
|
|
252
|
-
className:
|
|
253
|
-
children: /* @__PURE__ */ e(
|
|
216
|
+
onClick: () => E(!1),
|
|
217
|
+
className: y["close-btn"],
|
|
218
|
+
children: /* @__PURE__ */ e(j, {})
|
|
254
219
|
}
|
|
255
220
|
),
|
|
256
|
-
/* @__PURE__ */
|
|
257
|
-
/* @__PURE__ */ e(
|
|
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
|
-
|
|
224
|
+
n,
|
|
260
225
|
" Confirmation"
|
|
261
226
|
] }) }),
|
|
262
|
-
|
|
227
|
+
v ? /* @__PURE__ */ s(g, { children: [
|
|
263
228
|
/* @__PURE__ */ e(
|
|
264
|
-
|
|
229
|
+
u,
|
|
265
230
|
{
|
|
266
231
|
sx: { mt: 2, mb: 2 },
|
|
267
232
|
className: "text-center",
|
|
268
233
|
variant: "body1",
|
|
269
|
-
children:
|
|
234
|
+
children: v === "finished" ? /* @__PURE__ */ s(g, { children: [
|
|
270
235
|
r,
|
|
271
236
|
" has been successfully withdraw from ",
|
|
272
|
-
|
|
237
|
+
x,
|
|
273
238
|
" ",
|
|
274
239
|
"to ",
|
|
275
|
-
|
|
240
|
+
n,
|
|
276
241
|
"Network."
|
|
277
|
-
] }) : /* @__PURE__ */
|
|
242
|
+
] }) : /* @__PURE__ */ s(g, { children: [
|
|
278
243
|
r,
|
|
279
244
|
" withdraw from ",
|
|
280
|
-
|
|
245
|
+
x,
|
|
281
246
|
" to ",
|
|
282
|
-
|
|
247
|
+
n,
|
|
283
248
|
" network is currently ongoing. Please check balance after 2 minutes."
|
|
284
249
|
] })
|
|
285
250
|
}
|
|
286
251
|
),
|
|
287
|
-
/* @__PURE__ */ e(
|
|
288
|
-
|
|
252
|
+
/* @__PURE__ */ e(p, { sx: { px: { xs: 0, md: 12 } }, children: /* @__PURE__ */ e(
|
|
253
|
+
w,
|
|
289
254
|
{
|
|
290
255
|
sx: { mt: 2 },
|
|
291
|
-
onClick: () =>
|
|
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__ */
|
|
299
|
-
/* @__PURE__ */ e(
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
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(
|
|
314
|
-
/* @__PURE__ */
|
|
315
|
-
|
|
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
|
-
|
|
312
|
+
w,
|
|
323
313
|
{
|
|
324
314
|
sx: { mt: 4 },
|
|
325
|
-
onClick:
|
|
326
|
-
|
|
327
|
-
variant: "contained",
|
|
328
|
-
disabled: x,
|
|
315
|
+
onClick: Q,
|
|
316
|
+
isLoading: I,
|
|
329
317
|
fullWidth: !0,
|
|
330
|
-
children: /* @__PURE__ */ e("strong", { 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
|
-
}
|
|
327
|
+
};
|
|
344
328
|
export {
|
|
345
|
-
|
|
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-
|
|
4
|
-
import { i as WA } from "../../../wallet-
|
|
5
|
-
import { k as dA } from "../../../order-
|
|
6
|
-
import { c as xA } from "../../../stake-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
5
|
+
import "../../../constants-Styrbvke.js";
|
|
6
6
|
import { a as W, c as _ } from "../../../index-BQNs1mvn.js";
|
|
7
|
-
import { u as z } from "../../../wallet-
|
|
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-
|
|
7
|
+
import "../../../constants-Styrbvke.js";
|
|
8
8
|
import "../../../index-BQNs1mvn.js";
|
|
9
|
-
import "../../../order-
|
|
10
|
-
import { a as G } from "../../../index-
|
|
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";
|