everest-npm-features 0.0.41 → 0.0.43
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-C6lnbwD4.js → PlayArrow-Cd3sLvFW.js} +3 -3
- package/dist/{auth-BMzyEvqd.js → auth-CzQ2SiN_.js} +1 -1
- package/dist/{bank-Bp23LpvN.js → bank-DJqJqzwJ.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 +6 -6
- 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/iban.js +5 -5
- package/dist/components/Wallet/Account/ibanItem.js +1 -1
- package/dist/components/Wallet/Account/index.js +11 -11
- package/dist/components/Wallet/Account/sendIban.js +2 -2
- package/dist/components/Wallet/Buy/confirmTransaction.js +3 -3
- package/dist/components/Wallet/Buy/form.js +5 -5
- package/dist/components/Wallet/Buy/index.d.ts +2 -0
- package/dist/components/Wallet/Buy/index.js +15 -11
- package/dist/components/Wallet/Deposit/index.d.ts +4 -0
- package/dist/components/Wallet/Deposit/index.js +62 -50
- 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.js +25 -25
- package/dist/components/Wallet/Portfolio/index.js +195 -186
- package/dist/components/Wallet/Profile/documents.js +3 -3
- package/dist/components/Wallet/Profile/index.js +10 -10
- package/dist/components/Wallet/Receive/index.js +3 -3
- package/dist/components/Wallet/Sell/confirmTransaction.js +4 -4
- 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 +12 -12
- package/dist/components/Wallet/Shared/Auth/otpForm.js +2 -2
- package/dist/components/Wallet/Shared/BankSelect/index.d.ts +4 -0
- package/dist/components/Wallet/Shared/BankSelect/index.js +71 -0
- package/dist/components/Wallet/Shared/CardCorp/index.d.ts +11 -0
- package/dist/components/Wallet/Shared/CardCorp/index.js +72 -0
- package/dist/components/Wallet/Shared/Order/types.d.ts +3 -0
- package/dist/components/Wallet/Shared/addBank.js +3 -3
- package/dist/components/Wallet/Shared/connectPlaidBank.js +3 -3
- 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/index.js +4 -4
- package/dist/components/Wallet/Swap/form.js +6 -6
- package/dist/components/Wallet/Swap/index.js +5 -5
- package/dist/components/Wallet/Withdraw/bankSelect.js +69 -19
- package/dist/components/Wallet/Withdraw/confirmTransaction.js +4 -4
- package/dist/components/Wallet/Withdraw/form.js +5 -5
- package/dist/components/Wallet/Withdraw/index.js +11 -10
- package/dist/{constants-9grj4Du1.js → constants-BQibkMPf.js} +119 -118
- package/dist/{cryptoAssets-Cf7xMoh9.js → cryptoAssets-CI_6_gpT.js} +1 -1
- package/dist/{documents-vj042AkQ.js → documents-DhAyY9OB.js} +2 -2
- package/dist/{index-FwnHkXdK.js → index-BQNs1mvn.js} +2 -2
- package/dist/{index-ufcy2D20.js → index-BmnzQEjv.js} +2 -2
- package/dist/{index-DVQ-d6A4.js → index-C3ZgWBrd.js} +6 -6
- package/dist/{index-Y7QJR4pX.js → index-C4Z1sQwf.js} +7 -7
- package/dist/index-ChAYuyXl.js +592 -0
- package/dist/{index-Cf_gfO-E.js → index-Dh9NbI7I.js} +4 -4
- package/dist/{index-CUBxw5s4.js → index-DpOHb_Wl.js} +4 -4
- package/dist/index-e2FmUhS_.js +760 -0
- package/dist/{kyc-MeOwOyUF.js → kyc-BbIvXp_G.js} +1 -1
- package/dist/main.js +7 -7
- package/dist/order-BQbk7Nb4.js +55 -0
- package/dist/{stake-ClJWsrHb.js → stake-DWzckUqA.js} +1 -1
- package/dist/util/constants.d.ts +1 -0
- package/dist/util/constants.js +63 -62
- package/dist/{wallet-nsVuNagB.js → wallet-CHtpHvyK.js} +3 -3
- package/package.json +2 -2
- package/dist/index-BXj7Wdol.js +0 -730
- package/dist/index-CUhPCwCD.js +0 -643
- package/dist/order-Cs5_3wOs.js +0 -51
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "../../../PlayArrow-
|
|
3
|
+
import "../../../PlayArrow-Cd3sLvFW.js";
|
|
4
4
|
import "../../../Info-BVeUSPyk.js";
|
|
5
5
|
import "../../../generic-token-B_ptO5yb.js";
|
|
6
6
|
import "../../../util/constants.js";
|
|
7
|
-
import "../../../constants-
|
|
8
|
-
import "../../../index-
|
|
9
|
-
import "../../../order-
|
|
7
|
+
import "../../../constants-BQibkMPf.js";
|
|
8
|
+
import "../../../index-BQNs1mvn.js";
|
|
9
|
+
import "../../../order-BQbk7Nb4.js";
|
|
10
10
|
import "../../../tooltip-3UvETWtS.js";
|
|
11
11
|
import "../../../util/functions.js";
|
|
12
12
|
import "../Shared/appButton.js";
|
|
13
|
-
import { B as E } from "../../../index-
|
|
13
|
+
import { B as E } from "../../../index-e2FmUhS_.js";
|
|
14
14
|
import "../../../styles.module-CHEBh2ID.js";
|
|
15
15
|
import "../Shared/TokenModal/index.js";
|
|
16
16
|
import "../../../react-redux-B4BZippc.js";
|
|
@@ -2,6 +2,8 @@ import { BuyProps } from '../Shared/Order/types';
|
|
|
2
2
|
export declare const FORM_SCREEN = "FORM_SCREEN";
|
|
3
3
|
export declare const CONFIRM_SCREEN = "CONFIRM_SCREEN";
|
|
4
4
|
export declare const PAYMENT_SCREEN = "PAYMENT_SCREEN";
|
|
5
|
+
export declare const BANK_SCREEN = "BANK_SCREEN";
|
|
6
|
+
export declare const CARD_CORP_SCREEN = "CARD_CORP_SCREEN";
|
|
5
7
|
export declare const MINIMAL_KYC_SCREEN = "MINIMAL_KYC_SCREEN";
|
|
6
8
|
declare const _default: import('react').FC<BuyProps & import('../../../hoc/withThemeProvider').WithThemeProviderProps>;
|
|
7
9
|
export default _default;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../../hoc/withThemeProvider.js";
|
|
4
|
-
import {
|
|
4
|
+
import { b as e, c as f, C as K, F as Y, M as b, P as c, i as d } from "../../../index-e2FmUhS_.js";
|
|
5
5
|
import "../../../react-redux-B4BZippc.js";
|
|
6
|
-
import "../../../constants-
|
|
7
|
-
import "../../../PlayArrow-
|
|
8
|
-
import "../../../cryptoAssets-
|
|
9
|
-
import "../../../wallet-
|
|
10
|
-
import "../../../order-
|
|
6
|
+
import "../../../constants-BQibkMPf.js";
|
|
7
|
+
import "../../../PlayArrow-Cd3sLvFW.js";
|
|
8
|
+
import "../../../cryptoAssets-CI_6_gpT.js";
|
|
9
|
+
import "../../../wallet-CHtpHvyK.js";
|
|
10
|
+
import "../../../order-BQbk7Nb4.js";
|
|
11
11
|
import "../../../util/constants.js";
|
|
12
12
|
import "../../../context/snackBarContext.js";
|
|
13
13
|
import "../Shared/Container/index.js";
|
|
@@ -15,10 +15,14 @@ import "../Shared/CardPayment/index.js";
|
|
|
15
15
|
import "../../Shared/MinimalKyc/index.js";
|
|
16
16
|
import "../Shared/Input/index.js";
|
|
17
17
|
import "../Shared/appButton.js";
|
|
18
|
+
import "../Shared/CardCorp/index.js";
|
|
19
|
+
import "../Shared/BankSelect/index.js";
|
|
18
20
|
export {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
e as BANK_SCREEN,
|
|
22
|
+
f as CARD_CORP_SCREEN,
|
|
23
|
+
K as CONFIRM_SCREEN,
|
|
24
|
+
Y as FORM_SCREEN,
|
|
25
|
+
b as MINIMAL_KYC_SCREEN,
|
|
26
|
+
c as PAYMENT_SCREEN,
|
|
27
|
+
d as default
|
|
24
28
|
};
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
interface DepositProps {
|
|
2
2
|
navigate: (path: string) => void;
|
|
3
|
+
btcDepositAddress: string;
|
|
4
|
+
solDepositAddress: string;
|
|
5
|
+
ethDepositAddress: string;
|
|
6
|
+
trxDepositAddress: string;
|
|
3
7
|
}
|
|
4
8
|
declare const _default: import('react').FC<DepositProps & import('../../../hoc/withThemeProvider').WithThemeProviderProps>;
|
|
5
9
|
export default _default;
|
|
@@ -1,57 +1,53 @@
|
|
|
1
|
-
import { jsxs as i, jsx as
|
|
2
|
-
import { C as
|
|
3
|
-
import { AuthContainer as
|
|
4
|
-
import
|
|
1
|
+
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { C as a } from "../../../ContentCopy-coPwrEuz.js";
|
|
3
|
+
import { AuthContainer as d } from "../Shared/Container/index.js";
|
|
4
|
+
import m from "../../../hoc/withThemeProvider.js";
|
|
5
5
|
import "../../../index-DlQqWbXG.js";
|
|
6
6
|
import "../Shared/appButton.js";
|
|
7
7
|
import "react";
|
|
8
8
|
import "../Shared/Auth/otpForm.js";
|
|
9
|
-
import "../../../constants-
|
|
9
|
+
import "../../../constants-BQibkMPf.js";
|
|
10
10
|
import { useSnackBarContext as c } from "../../../context/snackBarContext.js";
|
|
11
11
|
import "../../../util/conversions.js";
|
|
12
12
|
import "../../../index-CAoLi5Qq.js";
|
|
13
13
|
import "../../../react-webcam-B3cXh1XT.js";
|
|
14
14
|
import "../../Shared/transition.js";
|
|
15
|
-
import { T as
|
|
15
|
+
import { T as l } from "../../../tooltip-3UvETWtS.js";
|
|
16
16
|
import "../Shared/pin.js";
|
|
17
17
|
import "../../../moment-h96o7c8I.js";
|
|
18
18
|
import "../../../index.esm-BsMAMhYW.js";
|
|
19
19
|
import "../../../web3-u4qDZYpo.js";
|
|
20
20
|
import "../../../index-ceeCtFuh.js";
|
|
21
21
|
import "../../../context/dialogContext.js";
|
|
22
|
-
import { T as
|
|
23
|
-
import { G as
|
|
22
|
+
import { T as s } from "../../../Typography-pAaje37G.js";
|
|
23
|
+
import { G as r } from "../../../Grid-CFe3amXO.js";
|
|
24
24
|
import { B as p } from "../../../Box-B0YSYLco.js";
|
|
25
|
-
import { I as
|
|
26
|
-
const
|
|
25
|
+
import { I as h } from "../../../IconButton-DHm-hucF.js";
|
|
26
|
+
const g = [
|
|
27
27
|
{
|
|
28
28
|
name: "BTC",
|
|
29
|
-
address: "1B1W3XY7nLpTzpn9dhfN6nQNthFc7nUsdt",
|
|
30
29
|
logo: "https://assets.coingecko.com/coins/images/1/small/bitcoin.png"
|
|
31
30
|
},
|
|
32
31
|
{
|
|
33
32
|
name: "ETH",
|
|
34
|
-
address: "0x60B8e0A7995178e300099738BD81F31F07dA0AbE",
|
|
35
33
|
logo: "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png"
|
|
36
34
|
},
|
|
37
35
|
{
|
|
38
36
|
name: "SOL",
|
|
39
|
-
address: "54mWV6k28gfwWeECWMT22uh8BPqFXZGADxGh5Rr4hGD3",
|
|
40
37
|
logo: "https://assets.coingecko.com/coins/images/4128/standard/solana.png"
|
|
41
38
|
},
|
|
42
39
|
{
|
|
43
40
|
name: "TRON",
|
|
44
|
-
address: "TAAHtssi4vnrt7i58Mv3HPac2GGsqPh6UB",
|
|
45
41
|
logo: "https://assets.coingecko.com/coins/images/1094/standard/tron-logo.png"
|
|
46
42
|
}
|
|
47
|
-
],
|
|
48
|
-
const { showAlertMessage:
|
|
43
|
+
], x = (o) => {
|
|
44
|
+
const { showAlertMessage: n } = c();
|
|
49
45
|
return /* @__PURE__ */ i(
|
|
50
|
-
|
|
46
|
+
r,
|
|
51
47
|
{
|
|
52
48
|
onClick: () => {
|
|
53
|
-
navigator.clipboard.writeText(
|
|
54
|
-
message: `${
|
|
49
|
+
navigator.clipboard.writeText(o.address), n({
|
|
50
|
+
message: `${o.name} address has been copied successfully.`,
|
|
55
51
|
type: "success"
|
|
56
52
|
});
|
|
57
53
|
},
|
|
@@ -71,12 +67,12 @@ const h = [
|
|
|
71
67
|
},
|
|
72
68
|
container: !0,
|
|
73
69
|
children: [
|
|
74
|
-
/* @__PURE__ */
|
|
75
|
-
/* @__PURE__ */
|
|
76
|
-
/* @__PURE__ */
|
|
70
|
+
/* @__PURE__ */ e(r, { size: { xs: 3 }, children: /* @__PURE__ */ i(p, { display: "flex", alignItems: "center", gap: 1.5, children: [
|
|
71
|
+
/* @__PURE__ */ e("img", { alt: o.name, src: o.logo, width: 24 }),
|
|
72
|
+
/* @__PURE__ */ e(s, { fontWeight: 600, variant: "body1", children: o.name })
|
|
77
73
|
] }) }),
|
|
78
|
-
/* @__PURE__ */
|
|
79
|
-
|
|
74
|
+
/* @__PURE__ */ e(r, { size: { xs: 7 }, children: /* @__PURE__ */ e(
|
|
75
|
+
s,
|
|
80
76
|
{
|
|
81
77
|
variant: "body1",
|
|
82
78
|
sx: {
|
|
@@ -85,37 +81,53 @@ const h = [
|
|
|
85
81
|
textOverflow: "ellipsis",
|
|
86
82
|
flex: 1
|
|
87
83
|
},
|
|
88
|
-
children:
|
|
84
|
+
children: o.address
|
|
89
85
|
}
|
|
90
86
|
) }),
|
|
91
|
-
/* @__PURE__ */
|
|
87
|
+
/* @__PURE__ */ e(r, { size: { xs: 2 }, textAlign: "right", children: /* @__PURE__ */ e(l, { title: "Copy address", children: /* @__PURE__ */ e(h, { size: "small", children: /* @__PURE__ */ e(a, { fontSize: "small", sx: { color: "#000" } }) }) }) })
|
|
92
88
|
]
|
|
93
89
|
}
|
|
94
90
|
);
|
|
95
|
-
},
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
91
|
+
}, f = (o) => {
|
|
92
|
+
const n = {
|
|
93
|
+
BTC: o.btcDepositAddress,
|
|
94
|
+
ETH: o.ethDepositAddress,
|
|
95
|
+
SOL: o.solDepositAddress,
|
|
96
|
+
TRON: o.trxDepositAddress
|
|
97
|
+
};
|
|
98
|
+
return /* @__PURE__ */ i(d, { addPadding: !0, children: [
|
|
99
|
+
/* @__PURE__ */ e(s, { variant: "h4", fontWeight: "bold", children: "Deposit" }),
|
|
100
|
+
/* @__PURE__ */ i(s, { mt: 2, variant: "body1", children: [
|
|
101
|
+
"Only send supported tokens from a",
|
|
102
|
+
" ",
|
|
103
|
+
/* @__PURE__ */ e(
|
|
104
|
+
s,
|
|
105
|
+
{
|
|
106
|
+
variant: "body1",
|
|
107
|
+
component: "span",
|
|
108
|
+
color: "primary",
|
|
109
|
+
sx: {
|
|
110
|
+
textDecoration: "underline",
|
|
111
|
+
fontWeight: "bold",
|
|
112
|
+
cursor: "pointer"
|
|
113
|
+
},
|
|
114
|
+
onClick: () => o.navigate("/accounts"),
|
|
115
|
+
children: "connected wallet"
|
|
116
|
+
}
|
|
117
|
+
),
|
|
118
|
+
", and send to the correct network address. Incorrect deposits may be lost."
|
|
119
|
+
] }),
|
|
120
|
+
g.map((t) => /* @__PURE__ */ e(
|
|
121
|
+
x,
|
|
102
122
|
{
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
onClick: () => e("/accounts"),
|
|
112
|
-
children: "connected wallet"
|
|
113
|
-
}
|
|
114
|
-
),
|
|
115
|
-
", and send to the correct network address. Incorrect deposits may be lost."
|
|
116
|
-
] }),
|
|
117
|
-
h.map((r) => /* @__PURE__ */ o(g, { network: r }, r.name))
|
|
118
|
-
] }), q = d(x);
|
|
123
|
+
name: t.name,
|
|
124
|
+
logo: t.logo,
|
|
125
|
+
address: n[t.name]
|
|
126
|
+
},
|
|
127
|
+
t.name
|
|
128
|
+
))
|
|
129
|
+
] });
|
|
130
|
+
}, P = m(f);
|
|
119
131
|
export {
|
|
120
|
-
|
|
132
|
+
P as default
|
|
121
133
|
};
|
|
@@ -6,7 +6,7 @@ import "../../../index-DlQqWbXG.js";
|
|
|
6
6
|
import "../../../hoc/withThemeProvider.js";
|
|
7
7
|
import { u as I } from "../../../react-redux-B4BZippc.js";
|
|
8
8
|
import "../Shared/Auth/otpForm.js";
|
|
9
|
-
import "../../../constants-
|
|
9
|
+
import "../../../constants-BQibkMPf.js";
|
|
10
10
|
import { useSnackBarContext as b } from "../../../context/snackBarContext.js";
|
|
11
11
|
import "../../../util/conversions.js";
|
|
12
12
|
import "../../../index-CAoLi5Qq.js";
|
|
@@ -13,8 +13,8 @@ import re from "./orgInfo.js";
|
|
|
13
13
|
import se from "./orgDetails.js";
|
|
14
14
|
import ie from "./verify.js";
|
|
15
15
|
import ae from "./success.js";
|
|
16
|
-
import { K as ne, a as F, b as y, c as ce, d as me, e as le, f as pe } from "../../../constants-
|
|
17
|
-
import { r as u, k as fe } from "../../../kyc-
|
|
16
|
+
import { K as ne, a as F, b as y, c as ce, d as me, e as le, f as pe } from "../../../constants-BQibkMPf.js";
|
|
17
|
+
import { r as u, k as fe } from "../../../kyc-BbIvXp_G.js";
|
|
18
18
|
import { u as Te, a as h } from "../../../react-redux-B4BZippc.js";
|
|
19
19
|
import _e from "../../Shared/loader.js";
|
|
20
20
|
import "../../../index-DlQqWbXG.js";
|
|
@@ -30,7 +30,7 @@ import "../../../moment-h96o7c8I.js";
|
|
|
30
30
|
import "../../../index.esm-BsMAMhYW.js";
|
|
31
31
|
import "../../../web3-u4qDZYpo.js";
|
|
32
32
|
import "../../../index-ceeCtFuh.js";
|
|
33
|
-
import { F as b } from "../../../index-
|
|
33
|
+
import { F as b } from "../../../index-BmnzQEjv.js";
|
|
34
34
|
import "../../../context/dialogContext.js";
|
|
35
35
|
import { u as de } from "../../../useTheme-BQJ5lp0i.js";
|
|
36
36
|
import { D as De, a as Oe } from "../../../DialogContent-BMwlOnbW.js";
|
|
@@ -6,8 +6,8 @@ import "../../../index-DlQqWbXG.js";
|
|
|
6
6
|
import "../../../hoc/withThemeProvider.js";
|
|
7
7
|
import { u as P } from "../../../react-redux-B4BZippc.js";
|
|
8
8
|
import "../Shared/Auth/otpForm.js";
|
|
9
|
-
import "../../../constants-
|
|
10
|
-
import { a as D } from "../../../kyc-
|
|
9
|
+
import "../../../constants-BQibkMPf.js";
|
|
10
|
+
import { a as D } from "../../../kyc-BbIvXp_G.js";
|
|
11
11
|
import { useSnackBarContext as q } from "../../../context/snackBarContext.js";
|
|
12
12
|
import "../../../util/conversions.js";
|
|
13
13
|
import "../../../index-CAoLi5Qq.js";
|
|
@@ -20,7 +20,7 @@ import { pick as Kd } from "../../../util/functions.js";
|
|
|
20
20
|
import "../../../index-DlQqWbXG.js";
|
|
21
21
|
import "../../../hoc/withThemeProvider.js";
|
|
22
22
|
import "../Shared/Auth/otpForm.js";
|
|
23
|
-
import "../../../constants-
|
|
23
|
+
import "../../../constants-BQibkMPf.js";
|
|
24
24
|
import { useSnackBarContext as Xd } from "../../../context/snackBarContext.js";
|
|
25
25
|
import "../../../util/conversions.js";
|
|
26
26
|
import "../../../index-CAoLi5Qq.js";
|
|
@@ -8,7 +8,7 @@ import { useState as C } from "react";
|
|
|
8
8
|
import "../../../index-DlQqWbXG.js";
|
|
9
9
|
import "../../../hoc/withThemeProvider.js";
|
|
10
10
|
import "../Shared/Auth/otpForm.js";
|
|
11
|
-
import "../../../constants-
|
|
11
|
+
import "../../../constants-BQibkMPf.js";
|
|
12
12
|
import { useSnackBarContext as g } from "../../../context/snackBarContext.js";
|
|
13
13
|
import "../../../util/conversions.js";
|
|
14
14
|
import "../../../index-CAoLi5Qq.js";
|
|
@@ -3,8 +3,8 @@ import * as q from "react";
|
|
|
3
3
|
import { useState as et, useEffect as ot } from "react";
|
|
4
4
|
import st from "../../../hoc/withThemeProvider.js";
|
|
5
5
|
import { u as nt, a as rt } from "../../../react-redux-B4BZippc.js";
|
|
6
|
-
import "../../../constants-
|
|
7
|
-
import {
|
|
6
|
+
import "../../../constants-BQibkMPf.js";
|
|
7
|
+
import { a as it } from "../../../order-BQbk7Nb4.js";
|
|
8
8
|
import lt from "../../Shared/HistoryItem/index.js";
|
|
9
9
|
import { AuthContainer as pt } from "../Shared/Container/index.js";
|
|
10
10
|
import { B as _ } from "../../../Box-B0YSYLco.js";
|
|
@@ -7,11 +7,11 @@ import "../../../index-DlQqWbXG.js";
|
|
|
7
7
|
import "../Shared/appButton.js";
|
|
8
8
|
import re from "../../../hoc/withThemeProvider.js";
|
|
9
9
|
import { displayWalletAddress as oe } from "../../../util/functions.js";
|
|
10
|
-
import { BACK_BTN_ICON as
|
|
10
|
+
import { BACK_BTN_ICON as ae, EVER_CHAIN_NETWORK as F, ETHEREUM_NETWORK as G } from "../../../util/constants.js";
|
|
11
11
|
import "../Shared/Auth/otpForm.js";
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
12
|
+
import { aj as se, ak as ne, al as ie, am as le, an as ce } from "../../../constants-BQibkMPf.js";
|
|
13
|
+
import { a as me } from "../../../index-BQNs1mvn.js";
|
|
14
|
+
import { h as de } from "../../../wallet-CHtpHvyK.js";
|
|
15
15
|
import "../../../context/snackBarContext.js";
|
|
16
16
|
import { numberFormat as he, fromHuman as ue, getGweiFromWei as pe, getUnFormattedValueFromWei as fe } from "../../../util/conversions.js";
|
|
17
17
|
import "../../../index-CAoLi5Qq.js";
|
|
@@ -34,7 +34,7 @@ import { B as M } from "../../../Button-Df4vgU24.js";
|
|
|
34
34
|
import { C as H } from "../../../CircularProgress-xZA3lvba.js";
|
|
35
35
|
import { D as ve, a as Te } from "../../../DialogContent-BMwlOnbW.js";
|
|
36
36
|
import { I as Ne } from "../../../IconButton-DHm-hucF.js";
|
|
37
|
-
import { G as
|
|
37
|
+
import { G as s } from "../../../Grid-CFe3amXO.js";
|
|
38
38
|
import '../../../assets/index6.css';const be = (r) => ({
|
|
39
39
|
type: ne,
|
|
40
40
|
payload: r
|
|
@@ -48,7 +48,7 @@ import '../../../assets/index6.css';const be = (r) => ({
|
|
|
48
48
|
type: ce,
|
|
49
49
|
payload: r
|
|
50
50
|
}), Se = () => ({
|
|
51
|
-
type:
|
|
51
|
+
type: se
|
|
52
52
|
}), Ge = "_container_nw82g_1", b = {
|
|
53
53
|
container: Ge,
|
|
54
54
|
"inner-container": "_inner-container_nw82g_13",
|
|
@@ -61,14 +61,14 @@ import '../../../assets/index6.css';const be = (r) => ({
|
|
|
61
61
|
depositAddress: A
|
|
62
62
|
}) => {
|
|
63
63
|
var k, q;
|
|
64
|
-
const { showAlertMessage: E, snackBar: U } = ge(), m = Z(), h = S((t) => t.bridge),
|
|
64
|
+
const { showAlertMessage: E, snackBar: U } = ge(), m = Z(), h = S((t) => t.bridge), a = h.gasFee, x = h.loader, u = h.error, R = h.withdrawStatus, B = S((t) => t.user.wallets);
|
|
65
65
|
B.loader;
|
|
66
66
|
const W = B.data, w = n === F ? G : F, i = S(me).everWalletAddress, [I, V] = f(""), L = he(I), [O, _] = f("default"), [K, Q] = f(!1), [d, D] = f(""), [j, C] = f(!1), y = Y(""), v = ue(d, r === "ID" ? 18 : 6);
|
|
67
67
|
T(() => (m(de()), () => {
|
|
68
68
|
m(Se());
|
|
69
69
|
}), []), T(() => {
|
|
70
|
-
h.showFeePopUp &&
|
|
71
|
-
}, [
|
|
70
|
+
h.showFeePopUp && a.GasLimit > 0 && C(!0);
|
|
71
|
+
}, [a]), T(() => {
|
|
72
72
|
u && (E({ message: u }), (u === "invalid PIN" || u === "Pin must be 4-digit numeric value") && (Q(!0), _("pin"), C(!1)));
|
|
73
73
|
}, [u]), T(() => {
|
|
74
74
|
const t = W.find(
|
|
@@ -105,7 +105,7 @@ import '../../../assets/index6.css';const be = (r) => ({
|
|
|
105
105
|
walletAddress: i,
|
|
106
106
|
amount: v,
|
|
107
107
|
token: r,
|
|
108
|
-
gas:
|
|
108
|
+
gas: a,
|
|
109
109
|
pin: y.current
|
|
110
110
|
};
|
|
111
111
|
m(Re(t));
|
|
@@ -115,7 +115,7 @@ import '../../../assets/index6.css';const be = (r) => ({
|
|
|
115
115
|
fromAddress: i,
|
|
116
116
|
toAddress: A,
|
|
117
117
|
tokenAddress: P,
|
|
118
|
-
gas:
|
|
118
|
+
gas: a,
|
|
119
119
|
pin: y.current
|
|
120
120
|
};
|
|
121
121
|
m(ye(t));
|
|
@@ -144,7 +144,7 @@ import '../../../assets/index6.css';const be = (r) => ({
|
|
|
144
144
|
left: "-18px"
|
|
145
145
|
},
|
|
146
146
|
className: "cursor-pointer",
|
|
147
|
-
src:
|
|
147
|
+
src: ae,
|
|
148
148
|
onClick: () => alert("backFunc"),
|
|
149
149
|
alt: "back"
|
|
150
150
|
}
|
|
@@ -294,25 +294,25 @@ import '../../../assets/index6.css';const be = (r) => ({
|
|
|
294
294
|
children: /* @__PURE__ */ e("strong", { children: "Go Back" })
|
|
295
295
|
}
|
|
296
296
|
) })
|
|
297
|
-
] }) : /* @__PURE__ */ o(
|
|
298
|
-
/* @__PURE__ */ e(
|
|
299
|
-
/* @__PURE__ */ e(
|
|
300
|
-
/* @__PURE__ */ e(
|
|
301
|
-
/* @__PURE__ */ e(
|
|
302
|
-
/* @__PURE__ */ e(
|
|
303
|
-
/* @__PURE__ */ e(
|
|
304
|
-
/* @__PURE__ */ e(
|
|
305
|
-
/* @__PURE__ */ o(
|
|
297
|
+
] }) : /* @__PURE__ */ o(s, { mt: 4, container: !0, spacing: 2, sx: { padding: "0% 15%" }, children: [
|
|
298
|
+
/* @__PURE__ */ e(s, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Token Name" }) }),
|
|
299
|
+
/* @__PURE__ */ e(s, { className: "fw500 text-right", size: 6, children: r }),
|
|
300
|
+
/* @__PURE__ */ e(s, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Amount" }) }),
|
|
301
|
+
/* @__PURE__ */ e(s, { className: "fw500 text-right", size: 6, children: d }),
|
|
302
|
+
/* @__PURE__ */ e(s, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Wallet Address" }) }),
|
|
303
|
+
/* @__PURE__ */ e(s, { className: "fw500 text-right", size: 6, children: oe(i) }),
|
|
304
|
+
/* @__PURE__ */ e(s, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Gas Price" }) }),
|
|
305
|
+
/* @__PURE__ */ o(s, { className: "fw500 text-right", size: 6, children: [
|
|
306
306
|
pe(
|
|
307
|
-
|
|
307
|
+
a != null && a.BaseGasPriceCap ? (k = a == null ? void 0 : a.BaseGasPriceCap) == null ? void 0 : k.toString() : ""
|
|
308
308
|
),
|
|
309
309
|
" ",
|
|
310
310
|
"Gwei"
|
|
311
311
|
] }),
|
|
312
|
-
/* @__PURE__ */ e(
|
|
313
|
-
/* @__PURE__ */ o(
|
|
312
|
+
/* @__PURE__ */ e(s, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Max Transaction Fee" }) }),
|
|
313
|
+
/* @__PURE__ */ o(s, { className: "fw500 text-right", size: 6, children: [
|
|
314
314
|
fe(
|
|
315
|
-
|
|
315
|
+
a != null && a.TotalMaxEthSpent ? (q = a == null ? void 0 : a.TotalMaxEthSpent) == null ? void 0 : q.toString() : ""
|
|
316
316
|
),
|
|
317
317
|
" ",
|
|
318
318
|
"ETH"
|