everest-npm-features 0.0.60 → 0.0.62
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/{Cancel-4lT7GZUA.js → Cancel-pHQsCjtK.js} +1 -1
- package/dist/{Close-CNwiMz_O.js → Close-DSxLLo08.js} +1 -1
- package/dist/{ContentCopy-coPwrEuz.js → ContentCopy-D0C0zbQj.js} +1 -1
- package/dist/{Delete-jpMstGIF.js → Delete-Bj8zmXnh.js} +1 -1
- package/dist/{ErrorOutline-CPQcnl2b.js → ErrorOutline-Bt7P4ChN.js} +1 -1
- package/dist/{FileDownload-Bt3R_NBr.js → FileDownload-DqREXR3D.js} +1 -1
- package/dist/{Info-BVeUSPyk.js → Info-DOoRR7sR.js} +1 -1
- package/dist/{PlayArrow-BlkZJiHn.js → PlayArrow-BVDyfxsQ.js} +2 -2
- package/dist/Portal-BeS9yJCZ.js +968 -0
- package/dist/assets/index7.css +1 -1
- package/dist/assets/index8.css +1 -1
- package/dist/{auth-WhDJHZtr.js → auth-DTJdu6mq.js} +11 -11
- package/dist/{bank-BaOrdTcI.js → bank-C4pmTe--.js} +1 -1
- package/dist/components/RocketRamp/MinimalKyc/form.js +46 -52
- package/dist/components/RocketRamp/MinimalKyc/index.js +6 -6
- package/dist/components/RocketRamp/Player/Buy/cardPayment.js +6 -8
- package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +5 -8
- package/dist/components/RocketRamp/Player/Buy/form.js +8 -17
- package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
- package/dist/components/RocketRamp/Player/Dashboard/balance.js +20 -26
- package/dist/components/RocketRamp/Player/Dashboard/index.js +4 -4
- package/dist/components/RocketRamp/Player/Dashboard/transaction.js +13 -16
- package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +6 -11
- package/dist/components/RocketRamp/Player/Sell/form.js +8 -17
- package/dist/components/RocketRamp/Player/Sell/index.js +9 -9
- package/dist/components/RocketRamp/Player/SignIn/index.js +23 -25
- package/dist/components/RocketRamp/Player/SignIn/loginForm.js +33 -35
- package/dist/components/RocketRamp/Player/SignIn/otpForm.js +31 -33
- package/dist/components/RocketRamp/Player/SignUp/email.js +21 -23
- package/dist/components/RocketRamp/Player/SignUp/index.js +49 -52
- package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +68 -74
- package/dist/components/RocketRamp/Player/SignUp/summary.js +23 -25
- package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +23 -25
- package/dist/components/RocketRamp/ResetPassword/index.js +23 -25
- package/dist/components/RocketRamp/Shared/Button/index.js +16 -17
- package/dist/components/RocketRamp/Shared/Input/index.js +27 -30
- package/dist/components/RocketRamp/Shared/backBtn.js +10 -11
- package/dist/components/RocketRamp/Shared/transactionItem.js +40 -45
- package/dist/components/RocketRamp/Store/Dashboard/balance.js +12 -17
- package/dist/components/RocketRamp/Store/Dashboard/index.js +11 -12
- package/dist/components/RocketRamp/Store/Dashboard/stats.js +12 -17
- package/dist/components/RocketRamp/Store/Dashboard/transaction.js +13 -16
- package/dist/components/RocketRamp/Store/SignUp/index.js +53 -56
- package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +48 -54
- package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +33 -37
- package/dist/components/RocketRamp/Store/SignUp/summary.js +21 -23
- package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +23 -25
- package/dist/components/RocketRamp/Transactions/index.js +23 -24
- package/dist/components/Shared/FullKyc/countryList.js +15 -17
- package/dist/components/Shared/FullKyc/edd.js +51 -54
- package/dist/components/Shared/FullKyc/index.js +13 -12
- package/dist/components/Shared/FullKyc/pep.js +35 -43
- package/dist/components/Shared/FullKyc/personalDetails.js +7 -8
- package/dist/components/Shared/FullKyc/userInfo.js +8 -14
- package/dist/components/Shared/HistoryItem/index.js +43 -48
- package/dist/components/Shared/Incode/index.js +31 -35
- package/dist/components/Shared/MinimalKyc/index.js +60 -65
- package/dist/components/Shared/Sumsub/index.js +75 -62
- package/dist/components/Shared/loader.js +4 -5
- package/dist/components/Shared/tooltip.js +2 -2
- package/dist/components/Shared/transition.js +4 -4
- package/dist/components/Wallet/Account/createIban.js +34 -38
- package/dist/components/Wallet/Account/eWallet.js +35 -39
- package/dist/components/Wallet/Account/iban.js +49 -53
- package/dist/components/Wallet/Account/ibanItem.js +70 -76
- package/dist/components/Wallet/Account/index.js +68 -76
- package/dist/components/Wallet/Account/sendIban.js +79 -88
- package/dist/components/Wallet/Buy/confirmTransaction.js +9 -12
- package/dist/components/Wallet/Buy/form.js +8 -18
- package/dist/components/Wallet/Buy/index.js +6 -6
- package/dist/components/Wallet/Deposit/index.js +16 -19
- package/dist/components/Wallet/EnterpriseKyc/edd.js +32 -34
- package/dist/components/Wallet/EnterpriseKyc/index.js +76 -81
- package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +23 -26
- package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +5 -7
- package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +1 -1
- package/dist/components/Wallet/EnterpriseKyc/kycType.js +23 -26
- package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +37 -39
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3591 -1483
- package/dist/components/Wallet/EnterpriseKyc/success.js +3 -4
- package/dist/components/Wallet/EnterpriseKyc/verify.js +23 -24
- package/dist/components/Wallet/History/index.js +23 -797
- package/dist/components/Wallet/Home/index.js +13 -14
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +91 -97
- package/dist/components/Wallet/Portfolio/dropdown.js +25 -30
- package/dist/components/Wallet/Portfolio/index.js +48 -52
- package/dist/components/Wallet/Portfolio/tokenRow.js +3 -4
- package/dist/components/Wallet/Profile/documents.js +125 -134
- package/dist/components/Wallet/Profile/index.js +38 -44
- package/dist/components/Wallet/Profile/storage.js +39 -47
- package/dist/components/Wallet/Receive/index.js +32 -37
- package/dist/components/Wallet/Sell/confirmTransaction.js +8 -11
- package/dist/components/Wallet/Sell/form.js +8 -18
- package/dist/components/Wallet/Sell/index.js +6 -6
- package/dist/components/Wallet/Send/index.js +336 -324
- package/dist/components/Wallet/Shared/Auth/emailForm.js +13 -15
- package/dist/components/Wallet/Shared/Auth/otpForm.js +9 -356
- package/dist/components/Wallet/Shared/BankSelect/index.js +45 -49
- package/dist/components/Wallet/Shared/CardCorp/index.js +18 -20
- package/dist/components/Wallet/Shared/CardPayment/index.js +14 -16
- package/dist/components/Wallet/Shared/ConnectWallet/index.js +22 -28
- package/dist/components/Wallet/Shared/Container/index.js +15 -16
- package/dist/components/Wallet/Shared/Input/index.js +3 -3
- package/dist/components/Wallet/Shared/Keyboard/keyboard.js +29 -30
- package/dist/components/Wallet/Shared/Order/paymentButton.js +13 -14
- package/dist/components/Wallet/Shared/TokenModal/index.js +55 -63
- package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +11 -13
- package/dist/components/Wallet/Shared/addBank.js +41 -46
- package/dist/components/Wallet/Shared/appButton.js +11 -15
- package/dist/components/Wallet/Shared/backBtn.js +8 -9
- package/dist/components/Wallet/Shared/button.js +7 -7
- package/dist/components/Wallet/Shared/connectPlaidBank.js +16 -17
- package/dist/components/Wallet/Shared/inputField.js +5 -5
- package/dist/components/Wallet/Shared/manualSend.js +9 -14
- package/dist/components/Wallet/Shared/noData.js +4 -5
- package/dist/components/Wallet/Shared/pin.js +25 -27
- package/dist/components/Wallet/Shared/radioButton.js +39 -5
- package/dist/components/Wallet/Shared/step.js +12 -13
- package/dist/components/Wallet/Shared/timer.js +1 -1
- package/dist/components/Wallet/SignIn/index.js +17 -17
- package/dist/components/Wallet/SignUp/index.js +63 -153
- package/dist/components/Wallet/SignUp/terms.js +1 -1
- package/dist/components/Wallet/Stake/gems/index.js +51 -58
- package/dist/components/Wallet/Stake/id/index.js +73 -81
- package/dist/components/Wallet/Stake/index.js +65 -69
- package/dist/components/Wallet/Swap/form.js +11 -21
- package/dist/components/Wallet/Swap/index.js +5 -5
- package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -5
- package/dist/components/Wallet/Withdraw/bankSelect.js +41 -45
- package/dist/components/Wallet/Withdraw/confirmTransaction.js +5 -8
- package/dist/components/Wallet/Withdraw/form.js +6 -17
- package/dist/components/Wallet/Withdraw/index.js +5 -5
- package/dist/{constants-DREDnCMu.js → constants-DrmtdI1J.js} +7 -7
- package/dist/{createSvgIcon-Cuzqm90l.js → createSvgIcon-B28GrUxG.js} +41 -45
- package/dist/{cryptoAssets-DbyDgq4J.js → cryptoAssets-DyGDknvq.js} +1 -1
- package/dist/hoc/withThemeProvider.js +5 -732
- package/dist/hooks/useDialog/index.js +22 -23
- package/dist/hooks/useRrDialog/index.js +43 -46
- package/dist/hooks/useSnackBar.js +24 -696
- package/dist/icons/buyIcon.js +1 -1
- package/dist/icons/canceledBuyIcon.js +1 -1
- package/dist/icons/canceledRedeemIcon.js +1 -1
- package/dist/icons/failedBuyIcon.js +2 -2
- package/dist/icons/failedRedeemIcon.js +2 -2
- package/dist/icons/pendingBuyIcon.js +1 -1
- package/dist/icons/pendingRedeemIcon.js +1 -1
- package/dist/icons/redeemIcon.js +1 -1
- package/dist/{index-DYP5Ex_T.js → index-3OQ4M69t.js} +89 -99
- package/dist/{index-B3HnUBnB.js → index-BBFbUCRZ.js} +123 -129
- package/dist/{index-PoMNqntN.js → index-C1WPCgkl.js} +130 -141
- package/dist/{index-BXutc9ik.js → index-CDwzoHu7.js} +134 -145
- package/dist/{index-DV1dVcrY.js → index-CK4kLRAw.js} +172 -182
- package/dist/{index-DJ7xuxBy.js → index-CYX3j0V7.js} +175 -185
- package/dist/{index-CuPCW3XC.js → index-ILpK4BCB.js} +154 -163
- package/dist/{kyc-D4s_B9Cf.js → kyc-ksV3vBP_.js} +1 -1
- package/dist/main.js +7 -7
- package/dist/memoTheme-DnE8lj0t.js +3481 -0
- package/dist/{order-DGBbo_Ox.js → order-DEp_Lmar.js} +1 -1
- package/dist/otpForm-fiNqeB5H.js +7378 -0
- package/dist/{stake-CdMc5H7D.js → stake-Ct7-_aWW.js} +1 -1
- package/dist/{tokenRow-C-iMHhPj.js → tokenRow-BiNtHOKV.js} +20 -21
- package/dist/tooltip-BW0UyWw7.js +2129 -0
- package/dist/{wallet-DvfdQOju.js → wallet-CauUBXou.js} +1 -1
- package/package.json +6 -6
- package/dist/Alert-DzsbFW3-.js +0 -369
- package/dist/Autocomplete-CE-OI2t8.js +0 -2429
- package/dist/Avatar-1XklXr4O.js +0 -281
- package/dist/Backdrop-CioURPVG.js +0 -359
- package/dist/Box-B0YSYLco.js +0 -59
- package/dist/Button-Df4vgU24.js +0 -663
- package/dist/ButtonBase-DLF5c6wi.js +0 -870
- package/dist/CardContent-D9wTdpu-.js +0 -141
- package/dist/CircularProgress-xZA3lvba.js +0 -252
- package/dist/Close-CxzDL3J-.js +0 -9
- package/dist/Container-urNKV7hm.js +0 -181
- package/dist/DefaultPropsProvider-CeF7UYM9.js +0 -92
- package/dist/DefaultPropsProvider-oAu9El-f.js +0 -226
- package/dist/DialogContent-BMwlOnbW.js +0 -567
- package/dist/DialogTitle-CfS0bb2K.js +0 -70
- package/dist/Divider-BShhMFf4.js +0 -297
- package/dist/FilledInput-DuNqnPjc.js +0 -1292
- package/dist/FormControl-RtZDQMdA.js +0 -258
- package/dist/FormControlLabel-BliKW48y.js +0 -519
- package/dist/GlobalStyles-ChMhDfTS.js +0 -59
- package/dist/Grid-CFe3amXO.js +0 -410
- package/dist/Grow-CnGtel3u.js +0 -196
- package/dist/HTMLElementType-BrQSV2FE.js +0 -13
- package/dist/IconButton-DHm-hucF.js +0 -297
- package/dist/InputAdornment-DMiED3JH.js +0 -173
- package/dist/Link-DBA9Yifs.js +0 -266
- package/dist/ListItemIcon-CUcyTEEm.js +0 -84
- package/dist/Menu-DLYFFrEk.js +0 -1239
- package/dist/MenuItem-DUdYOJr4.js +0 -271
- package/dist/Modal-CFIQ_s3T.js +0 -743
- package/dist/Paper-Bgt2WXI6.js +0 -186
- package/dist/Popper-BBAoiZKn.js +0 -1409
- package/dist/Portal-BMAxiQwe.js +0 -69
- package/dist/RadioGroup-nvoSN0JN.js +0 -189
- package/dist/Select-CB5yWmyn.js +0 -1886
- package/dist/Slide-B9Nw0LZ4.js +0 -235
- package/dist/Stack-k55YTxET.js +0 -172
- package/dist/SwitchBase-C8zFyg_x.js +0 -318
- package/dist/TextField-DPpRUQe3.js +0 -978
- package/dist/TransitionGroupContext-CYRQkQ6k.js +0 -49
- package/dist/Typography-pAaje37G.js +0 -260
- package/dist/chainPropTypes-D9lkm76m.js +0 -8
- package/dist/clsx-BTaloaeC.js +0 -264
- package/dist/createChainedFunction-C0nujS3O.js +0 -9
- package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
- package/dist/createTheme-CD19zQB7.js +0 -3825
- package/dist/debounce-46wSf_lW.js +0 -15
- package/dist/defaultTheme-C35y5cLB.js +0 -5
- package/dist/dividerClasses-BDxa2gAa.js +0 -10
- package/dist/elementAcceptingRef-CqLvP78G.js +0 -391
- package/dist/elementTypeAcceptingRef-BdsMpCbS.js +0 -23
- package/dist/emotion-react.browser.esm-BIrDfk-B.js +0 -246
- package/dist/exactProp-C1Lmtwf_.js +0 -13
- package/dist/extendSxProp-B8UjbJ56.js +0 -37
- package/dist/generateUtilityClasses-BRiE4Guh.js +0 -10
- package/dist/index-B0Z-Gjno.js +0 -22
- package/dist/index-DUcLo3x5.js +0 -43
- package/dist/isFocusVisible-CPZqtjv2.js +0 -12
- package/dist/isHostComponent-kiaBvYVo.js +0 -6
- package/dist/isMuiElement-DnSE4qG4.js +0 -13
- package/dist/memoTheme-yHaPezod.js +0 -15
- package/dist/ownerWindow-CRgpWY6I.js +0 -7
- package/dist/radioButton-CzlYB0Lh.js +0 -402
- package/dist/refType-BsTH3qnM.js +0 -56
- package/dist/tooltip-3UvETWtS.js +0 -740
- package/dist/useControlled-nm4pBabJ.js +0 -31
- package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
- package/dist/useFormControl-CatNKXAi.js +0 -10
- package/dist/useId-CK6Kn3Tn.js +0 -21
- package/dist/useSlot-CW7SOYlh.js +0 -125
- package/dist/useSlotProps-BfEOwJvJ.js +0 -25
- package/dist/useTheme-BQJ5lp0i.js +0 -11
- package/dist/useTheme-S5_DHFsQ.js +0 -17
- package/dist/useThemeProps-DN9MjdTl.js +0 -29
|
@@ -1,39 +1,31 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import F from "
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { jsxs as i, Fragment as B, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { Backdrop as F, CircularProgress as f, Grid as r, Box as a, Typography as t, IconButton as u, Divider as g, FormControl as M, TextField as Y } from "@mui/material";
|
|
3
|
+
import R from "../../Shared/noData.js";
|
|
4
|
+
import { M as x } from "../../../../tooltip-BW0UyWw7.js";
|
|
5
|
+
import { I as k } from "../../../../Info-DOoRR7sR.js";
|
|
6
|
+
import { STAKE_ID_MIN_DAYS as D, STAKE_ID_MID_DAYS as T, STAKE_ID_MAX_DAYS as v } from "../../../../util/constants.js";
|
|
7
|
+
import { s as n } from "../../../../styles.module-C1sNeKjL.js";
|
|
7
8
|
import c from "../../Shared/appButton.js";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
import { G as i } from "../../../../Grid-CFe3amXO.js";
|
|
11
|
-
import { B as a } from "../../../../Box-B0YSYLco.js";
|
|
12
|
-
import { T as n } from "../../../../Typography-pAaje37G.js";
|
|
13
|
-
import { I as D } from "../../../../IconButton-DHm-hucF.js";
|
|
14
|
-
import { D as I } from "../../../../Divider-BShhMFf4.js";
|
|
15
|
-
import { F as Y } from "../../../../FormControl-RtZDQMdA.js";
|
|
16
|
-
import { T as R } from "../../../../TextField-DPpRUQe3.js";
|
|
17
|
-
const ie = ({
|
|
18
|
-
loader: v,
|
|
9
|
+
const L = ({
|
|
10
|
+
loader: I,
|
|
19
11
|
stakeData: d,
|
|
20
12
|
totalStake: N,
|
|
21
13
|
totalReward: y,
|
|
22
|
-
StakeItem:
|
|
23
|
-
stakeStart:
|
|
14
|
+
StakeItem: z,
|
|
15
|
+
stakeStart: C,
|
|
24
16
|
amount: w,
|
|
25
|
-
setAmount:
|
|
26
|
-
stakeDuration:
|
|
27
|
-
setStakeDuration:
|
|
17
|
+
setAmount: h,
|
|
18
|
+
stakeDuration: l,
|
|
19
|
+
setStakeDuration: s,
|
|
28
20
|
balanceLoader: S,
|
|
29
|
-
balance:
|
|
21
|
+
balance: m,
|
|
30
22
|
onMoveToEthereum: A,
|
|
31
23
|
onMoveToEverChain: E,
|
|
32
24
|
ethereumBalance: $
|
|
33
25
|
}) => {
|
|
34
26
|
const b = (o) => {
|
|
35
|
-
o ? /^([0-9.,]+)$/.test(o) &&
|
|
36
|
-
},
|
|
27
|
+
o ? /^([0-9.,]+)$/.test(o) && h(o) : h("");
|
|
28
|
+
}, _ = [
|
|
37
29
|
"To earn reward tokens you must stake ID tokens in your EverWallet",
|
|
38
30
|
"Staking Rewards...",
|
|
39
31
|
`Commit for 90 days to earn 3% APY
|
|
@@ -44,55 +36,55 @@ Commit for 365 days to earn 18% APY`,
|
|
|
44
36
|
].join(`
|
|
45
37
|
|
|
46
38
|
`);
|
|
47
|
-
return /* @__PURE__ */
|
|
39
|
+
return /* @__PURE__ */ i(B, { children: [
|
|
48
40
|
/* @__PURE__ */ e(
|
|
49
|
-
|
|
41
|
+
F,
|
|
50
42
|
{
|
|
51
43
|
sx: {
|
|
52
44
|
color: "#fff",
|
|
53
45
|
zIndex: (o) => o.zIndex.drawer + 1e3
|
|
54
46
|
},
|
|
55
|
-
open:
|
|
56
|
-
children: /* @__PURE__ */ e(
|
|
47
|
+
open: I,
|
|
48
|
+
children: /* @__PURE__ */ e(f, { color: "inherit" })
|
|
57
49
|
}
|
|
58
50
|
),
|
|
59
|
-
/* @__PURE__ */
|
|
60
|
-
/* @__PURE__ */ e(
|
|
61
|
-
/* @__PURE__ */ e(
|
|
62
|
-
/* @__PURE__ */
|
|
63
|
-
/* @__PURE__ */ e(
|
|
64
|
-
/* @__PURE__ */ e(
|
|
51
|
+
/* @__PURE__ */ i(r, { spacing: 2, container: !0, width: "100%", children: [
|
|
52
|
+
/* @__PURE__ */ e(r, { size: { xs: 12, md: 5 }, children: /* @__PURE__ */ e(a, { className: n["inner-container"], children: /* @__PURE__ */ i(a, { p: 3, children: [
|
|
53
|
+
/* @__PURE__ */ e(t, { className: n["heading-text"], variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Current Stakes" }) }),
|
|
54
|
+
/* @__PURE__ */ i(r, { mt: 4, spacing: 1, container: !0, width: "100%", children: [
|
|
55
|
+
/* @__PURE__ */ e(r, { size: 6, children: /* @__PURE__ */ e(t, { className: "fs16", children: /* @__PURE__ */ e("strong", { children: "Total Staked" }) }) }),
|
|
56
|
+
/* @__PURE__ */ e(r, { size: 6, children: /* @__PURE__ */ i(t, { className: "text-right fs16 fw500", children: [
|
|
65
57
|
N,
|
|
66
58
|
" ID"
|
|
67
59
|
] }) }),
|
|
68
|
-
/* @__PURE__ */ e(
|
|
69
|
-
/* @__PURE__ */ e(
|
|
60
|
+
/* @__PURE__ */ e(r, { size: 6, children: /* @__PURE__ */ e(t, { className: "fs16", children: /* @__PURE__ */ e("strong", { children: "Total Reward" }) }) }),
|
|
61
|
+
/* @__PURE__ */ e(r, { size: 6, children: /* @__PURE__ */ i(t, { className: "text-right fs16 fw500", children: [
|
|
70
62
|
y,
|
|
71
63
|
" ID"
|
|
72
64
|
] }) })
|
|
73
65
|
] }),
|
|
74
|
-
/* @__PURE__ */
|
|
75
|
-
d.length === 0 && /* @__PURE__ */ e(
|
|
76
|
-
d.map((o, p) => /* @__PURE__ */ e(
|
|
66
|
+
/* @__PURE__ */ i(a, { mt: 6, children: [
|
|
67
|
+
d.length === 0 && /* @__PURE__ */ e(R, { text: "No ID are staked at the moment" }),
|
|
68
|
+
d.map((o, p) => /* @__PURE__ */ e(z, { data: o }, p))
|
|
77
69
|
] })
|
|
78
70
|
] }) }) }),
|
|
79
|
-
/* @__PURE__ */ e(
|
|
71
|
+
/* @__PURE__ */ e(r, { size: { xs: 12, md: 7 }, children: /* @__PURE__ */ i(a, { p: 3, className: n["inner-container"], children: [
|
|
80
72
|
/* @__PURE__ */ e(
|
|
81
|
-
|
|
73
|
+
t,
|
|
82
74
|
{
|
|
83
|
-
className:
|
|
75
|
+
className: n["heading-text"],
|
|
84
76
|
variant: "h6",
|
|
85
77
|
component: "span",
|
|
86
78
|
children: /* @__PURE__ */ e("strong", { children: "Stake Tokens" })
|
|
87
79
|
}
|
|
88
80
|
),
|
|
89
81
|
/* @__PURE__ */ e(
|
|
90
|
-
|
|
82
|
+
x,
|
|
91
83
|
{
|
|
92
|
-
title: /* @__PURE__ */ e(a, { sx: { whiteSpace: "pre-line" }, children:
|
|
84
|
+
title: /* @__PURE__ */ e(a, { sx: { whiteSpace: "pre-line" }, children: _ }),
|
|
93
85
|
placement: "bottom",
|
|
94
|
-
children: /* @__PURE__ */ e(
|
|
95
|
-
|
|
86
|
+
children: /* @__PURE__ */ e(u, { className: n["info-icon"], children: /* @__PURE__ */ e(
|
|
87
|
+
k,
|
|
96
88
|
{
|
|
97
89
|
sx: {
|
|
98
90
|
fontSize: "26px",
|
|
@@ -102,23 +94,23 @@ Commit for 365 days to earn 18% APY`,
|
|
|
102
94
|
) })
|
|
103
95
|
}
|
|
104
96
|
),
|
|
105
|
-
/* @__PURE__ */
|
|
106
|
-
/* @__PURE__ */ e(
|
|
107
|
-
S ? /* @__PURE__ */ e(
|
|
108
|
-
|
|
97
|
+
/* @__PURE__ */ i(a, { className: `${n["add-container"]} text-center`, children: [
|
|
98
|
+
/* @__PURE__ */ e(t, { variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Available ID on EverChain" }) }),
|
|
99
|
+
S ? /* @__PURE__ */ e(f, {}) : /* @__PURE__ */ e(
|
|
100
|
+
t,
|
|
109
101
|
{
|
|
110
102
|
sx: { mt: 2 },
|
|
111
103
|
className: "secondary-text-color",
|
|
112
104
|
variant: "h3",
|
|
113
|
-
children: /* @__PURE__ */
|
|
114
|
-
|
|
105
|
+
children: /* @__PURE__ */ i("strong", { children: [
|
|
106
|
+
m,
|
|
115
107
|
" ID"
|
|
116
108
|
] })
|
|
117
109
|
}
|
|
118
110
|
),
|
|
119
|
-
/* @__PURE__ */
|
|
120
|
-
/* @__PURE__ */ e(
|
|
121
|
-
/* @__PURE__ */ e("legend", { className:
|
|
111
|
+
/* @__PURE__ */ i(r, { className: "items-center", container: !0, mt: 4, width: "100%", children: [
|
|
112
|
+
/* @__PURE__ */ e(r, { size: 11, children: /* @__PURE__ */ i("fieldset", { className: n["move-id"], children: [
|
|
113
|
+
/* @__PURE__ */ e("legend", { className: n["move-id-text"], children: "Move ID Tokens" }),
|
|
122
114
|
/* @__PURE__ */ e(
|
|
123
115
|
c,
|
|
124
116
|
{
|
|
@@ -135,18 +127,18 @@ Commit for 365 days to earn 18% APY`,
|
|
|
135
127
|
ml: { md: 3 },
|
|
136
128
|
mt: { xs: 1, md: 0 }
|
|
137
129
|
},
|
|
138
|
-
onClick: () => A(Number(
|
|
130
|
+
onClick: () => A(Number(m)),
|
|
139
131
|
children: "To Ethereum"
|
|
140
132
|
}
|
|
141
133
|
)
|
|
142
134
|
] }) }),
|
|
143
|
-
/* @__PURE__ */ e(
|
|
144
|
-
|
|
135
|
+
/* @__PURE__ */ e(r, { size: 1, children: /* @__PURE__ */ e(
|
|
136
|
+
x,
|
|
145
137
|
{
|
|
146
138
|
title: "To stake your ID Token, the token must be on EverChain. To move ID Token from Ethereum to EverChain or back requires ETH to pay the network fees.",
|
|
147
139
|
placement: "top",
|
|
148
|
-
children: /* @__PURE__ */ e(
|
|
149
|
-
|
|
140
|
+
children: /* @__PURE__ */ e(u, { className: n["button-icon"], children: /* @__PURE__ */ e(
|
|
141
|
+
k,
|
|
150
142
|
{
|
|
151
143
|
sx: {
|
|
152
144
|
fontSize: "24px",
|
|
@@ -157,8 +149,8 @@ Commit for 365 days to earn 18% APY`,
|
|
|
157
149
|
}
|
|
158
150
|
) })
|
|
159
151
|
] }),
|
|
160
|
-
/* @__PURE__ */
|
|
161
|
-
|
|
152
|
+
/* @__PURE__ */ i(
|
|
153
|
+
r,
|
|
162
154
|
{
|
|
163
155
|
mt: 4,
|
|
164
156
|
sx: {
|
|
@@ -170,39 +162,39 @@ Commit for 365 days to earn 18% APY`,
|
|
|
170
162
|
width: "100%",
|
|
171
163
|
children: [
|
|
172
164
|
/* @__PURE__ */ e(
|
|
173
|
-
|
|
165
|
+
r,
|
|
174
166
|
{
|
|
175
|
-
className: `${
|
|
176
|
-
onClick: () =>
|
|
167
|
+
className: `${n["time-item"]} ${n["item-1st"]} ${l === D ? n.active : ""}`,
|
|
168
|
+
onClick: () => s(D),
|
|
177
169
|
size: 3.9,
|
|
178
|
-
children: /* @__PURE__ */ e(
|
|
170
|
+
children: /* @__PURE__ */ e(t, { children: /* @__PURE__ */ e("strong", { children: "90 Days" }) })
|
|
179
171
|
}
|
|
180
172
|
),
|
|
181
|
-
/* @__PURE__ */ e(
|
|
173
|
+
/* @__PURE__ */ e(r, { size: 0.01, children: /* @__PURE__ */ e(g, { orientation: "vertical" }) }),
|
|
182
174
|
/* @__PURE__ */ e(
|
|
183
|
-
|
|
175
|
+
r,
|
|
184
176
|
{
|
|
185
|
-
className: `${
|
|
186
|
-
onClick: () =>
|
|
177
|
+
className: `${n["time-item"]} ${l === T ? n.active : ""}`,
|
|
178
|
+
onClick: () => s(T),
|
|
187
179
|
size: 3.9,
|
|
188
|
-
children: /* @__PURE__ */ e(
|
|
180
|
+
children: /* @__PURE__ */ e(t, { children: /* @__PURE__ */ e("strong", { children: "180 Days" }) })
|
|
189
181
|
}
|
|
190
182
|
),
|
|
191
|
-
/* @__PURE__ */ e(
|
|
183
|
+
/* @__PURE__ */ e(r, { size: 0.01, children: /* @__PURE__ */ e(g, { orientation: "vertical" }) }),
|
|
192
184
|
/* @__PURE__ */ e(
|
|
193
|
-
|
|
185
|
+
r,
|
|
194
186
|
{
|
|
195
|
-
className: `${
|
|
196
|
-
onClick: () =>
|
|
187
|
+
className: `${n["time-item"]} ${n["item-last"]} ${l === v ? n.active : ""}`,
|
|
188
|
+
onClick: () => s(v),
|
|
197
189
|
size: 4,
|
|
198
|
-
children: /* @__PURE__ */ e(
|
|
190
|
+
children: /* @__PURE__ */ e(t, { children: /* @__PURE__ */ e("strong", { children: "365 Days" }) })
|
|
199
191
|
}
|
|
200
192
|
)
|
|
201
193
|
]
|
|
202
194
|
}
|
|
203
195
|
),
|
|
204
|
-
/* @__PURE__ */ e(
|
|
205
|
-
|
|
196
|
+
/* @__PURE__ */ e(M, { sx: { mt: 4 }, fullWidth: !0, children: /* @__PURE__ */ e(
|
|
197
|
+
Y,
|
|
206
198
|
{
|
|
207
199
|
variant: "filled",
|
|
208
200
|
placeholder: "Amount to Stake",
|
|
@@ -212,12 +204,12 @@ Commit for 365 days to earn 18% APY`,
|
|
|
212
204
|
onChange: (o) => b(o.target.value)
|
|
213
205
|
}
|
|
214
206
|
) }),
|
|
215
|
-
/* @__PURE__ */ e(c, { sx: { mt: 4 }, onClick: () =>
|
|
207
|
+
/* @__PURE__ */ e(c, { sx: { mt: 4 }, onClick: () => C(), fullWidth: !0, children: /* @__PURE__ */ e("strong", { children: "Stake" }) })
|
|
216
208
|
] })
|
|
217
209
|
] }) })
|
|
218
210
|
] })
|
|
219
211
|
] });
|
|
220
212
|
};
|
|
221
213
|
export {
|
|
222
|
-
|
|
214
|
+
L as default
|
|
223
215
|
};
|
|
@@ -2,45 +2,41 @@ import { jsx as t, Fragment as ne, jsxs as r } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as s, useEffect as w } from "react";
|
|
3
3
|
import Re from "./id/index.js";
|
|
4
4
|
import ye from "./gems/index.js";
|
|
5
|
+
import { Box as S, Grid as u, Typography as i, Dialog as Be, DialogContent as Ge, CircularProgress as Le } from "@mui/material";
|
|
5
6
|
import { u as W } from "../../../react-redux-C7I9-1M6.js";
|
|
6
|
-
import { ID_STAKE as
|
|
7
|
-
import "../../../constants-
|
|
8
|
-
import { a as
|
|
9
|
-
import { f as
|
|
10
|
-
import { s as
|
|
11
|
-
import { fromHuman as
|
|
7
|
+
import { ID_STAKE as c, STAKE_ID_MIN_DAYS as le, GEM_SYNTHETIC_TOKEN_SYMBOL as Fe, EVER_CHAIN_NETWORK as C, GEMS_TOKEN_SYMBOL as z, ETHEREUM_NETWORK as N, ID_TOKEN_SYMBOL as $, GEMS_STAKE as R, STAKE_GEM_MAX_DAYS as Ke, STAKE_ID_ICON as Pe, STAKE_GEM_ICON as Ye, STAKE_GEM_MAX_APY as Oe, STAKE_ID_MIN_APY as We, STAKE_ID_MID_DAYS as ze, STAKE_ID_MID_APY as $e, STAKE_ID_MAX_DAYS as He, STAKE_ID_MAX_APY as Xe } from "../../../util/constants.js";
|
|
8
|
+
import "../../../constants-DrmtdI1J.js";
|
|
9
|
+
import { a as je } from "../../../index-BQNs1mvn.js";
|
|
10
|
+
import { f as qe } from "../../../wallet-CauUBXou.js";
|
|
11
|
+
import { s as Ue, a as Ve, b as Je } from "../../../stake-Ct7-_aWW.js";
|
|
12
|
+
import { fromHuman as Qe, numberFormat as x, toHuman as y } from "../../../util/conversions.js";
|
|
12
13
|
import "../../../index-DlQqWbXG.js";
|
|
13
14
|
import ie from "../Shared/appButton.js";
|
|
14
|
-
import
|
|
15
|
-
import { decimalNumbersWithCommaOrDot as
|
|
16
|
-
import "
|
|
17
|
-
import { useSnackBarContext as
|
|
18
|
-
import
|
|
15
|
+
import Ze from "../../../hoc/withThemeProvider.js";
|
|
16
|
+
import { decimalNumbersWithCommaOrDot as et } from "../../../util/regex.js";
|
|
17
|
+
import "../../../otpForm-fiNqeB5H.js";
|
|
18
|
+
import { useSnackBarContext as tt } from "../../../context/snackBarContext.js";
|
|
19
|
+
import at from "../../../hooks/useEverestDispatch.js";
|
|
19
20
|
import "../../../index-CAoLi5Qq.js";
|
|
20
21
|
import "../../../react-webcam-B3cXh1XT.js";
|
|
21
22
|
import "../../Shared/transition.js";
|
|
22
|
-
import "../../../tooltip-
|
|
23
|
-
import "../Shared/pin.js";
|
|
23
|
+
import "../../../tooltip-BW0UyWw7.js";
|
|
24
24
|
import "../../../moment-h96o7c8I.js";
|
|
25
25
|
import "../../../index.esm-BsMAMhYW.js";
|
|
26
26
|
import "../../../web3-u4qDZYpo.js";
|
|
27
|
-
import
|
|
27
|
+
import ot from "../MoveToEthereumOrEverChain/index.js";
|
|
28
28
|
import "../../../index-ceeCtFuh.js";
|
|
29
29
|
import "../../../index.esm-I_Bp2YLf.js";
|
|
30
30
|
import "../../../context/dialogContext.js";
|
|
31
|
+
import "@mui/icons-material";
|
|
31
32
|
import { s as E } from "../../../styles.module-C1sNeKjL.js";
|
|
32
|
-
import { B as S } from "../../../Box-B0YSYLco.js";
|
|
33
|
-
import { G as u } from "../../../Grid-CFe3amXO.js";
|
|
34
|
-
import { T as c } from "../../../Typography-pAaje37G.js";
|
|
35
|
-
import { D as tt, a as at } from "../../../DialogContent-BMwlOnbW.js";
|
|
36
|
-
import { C as ot } from "../../../CircularProgress-xZA3lvba.js";
|
|
37
33
|
const st = ({
|
|
38
34
|
navigate: ce,
|
|
39
35
|
depositAddress: H,
|
|
40
36
|
gemTokenAddress: de,
|
|
41
37
|
idTokenAddress: me
|
|
42
38
|
}) => {
|
|
43
|
-
const
|
|
39
|
+
const b = at(), { showAlertMessage: m } = tt(), B = W(je).everWalletAddress, X = W((e) => e.user.wallets);
|
|
44
40
|
X.loader;
|
|
45
41
|
const G = X.data, ke = W((e) => e.stake), {
|
|
46
42
|
loader: j,
|
|
@@ -48,7 +44,7 @@ const st = ({
|
|
|
48
44
|
addLoader: ue,
|
|
49
45
|
error: F,
|
|
50
46
|
tx: q
|
|
51
|
-
} = ke, [a, U] = s(
|
|
47
|
+
} = ke, [a, U] = s(c), [V, he] = s(!0), [J, fe] = s(0), [pe, Se] = s(0), [Q, ge] = s(0), [_e, we] = s(0), [g, A] = s(null), [h, K] = s(""), [f, Z] = s(le), [P, xe] = s({
|
|
52
48
|
data: [],
|
|
53
49
|
totalStake: 0,
|
|
54
50
|
totalReward: 0
|
|
@@ -56,22 +52,22 @@ const st = ({
|
|
|
56
52
|
data: [],
|
|
57
53
|
totalStake: 0,
|
|
58
54
|
totalReward: 0
|
|
59
|
-
}), [Ae,
|
|
55
|
+
}), [Ae, D] = s(!1), [Te, ee] = s(""), [ve, te] = s(""), [be, ae] = s(
|
|
60
56
|
void 0
|
|
61
|
-
),
|
|
62
|
-
let I =
|
|
63
|
-
a ===
|
|
57
|
+
), De = a === c ? 18 : 6, Ie = Qe(h.toString(), De);
|
|
58
|
+
let I = Oe;
|
|
59
|
+
a === c && (I = We, f === ze ? I = $e : f === He && (I = Xe)), w(() => {
|
|
64
60
|
F && (Ce(), m({ message: F }));
|
|
65
61
|
}, [F]), w(() => {
|
|
66
|
-
q && (
|
|
62
|
+
q && (D(!1), m({
|
|
67
63
|
message: "Token has been successfully staked.",
|
|
68
64
|
type: "success"
|
|
69
65
|
}), ce("/dashboard"));
|
|
70
66
|
}, [q]), w(() => {
|
|
71
|
-
let e =
|
|
72
|
-
a ===
|
|
73
|
-
}, [a]), w(() => (
|
|
74
|
-
|
|
67
|
+
let e = Ke;
|
|
68
|
+
a === c && (e = le), Z(e), K("");
|
|
69
|
+
}, [a]), w(() => (b(Ue()), b(qe()), () => {
|
|
70
|
+
b(Ve());
|
|
75
71
|
}), []), w(() => {
|
|
76
72
|
if (B && G.length > 0) {
|
|
77
73
|
const e = G.find(
|
|
@@ -81,9 +77,9 @@ const st = ({
|
|
|
81
77
|
const o = e.tokens, l = o.length;
|
|
82
78
|
for (let d = 0; d < l; d++) {
|
|
83
79
|
const n = o[d], M = n.fmt_balance.replaceAll(",", ""), p = parseFloat(x(M)), k = n.network.toLowerCase();
|
|
84
|
-
n.symbol ===
|
|
80
|
+
n.symbol === Fe && k === C.toLowerCase() && ge(p), n.symbol === z && k === N.toLowerCase() && we(p), n.symbol === $ && (k === C.toLowerCase() ? fe(p) : k === N.toLowerCase() && Se(p));
|
|
85
81
|
}
|
|
86
|
-
|
|
82
|
+
he(!1);
|
|
87
83
|
}
|
|
88
84
|
}
|
|
89
85
|
}, [B, G]), w(() => {
|
|
@@ -93,7 +89,7 @@ const st = ({
|
|
|
93
89
|
let d = 0, n = 0, M = 0, p = 0;
|
|
94
90
|
for (let k = 0; k < e; k++) {
|
|
95
91
|
const _ = L[k], re = _.days_left;
|
|
96
|
-
if (_.token ===
|
|
92
|
+
if (_.token === c) {
|
|
97
93
|
const T = y(_.tokens_staked, 18), v = y(_.reward_tokens, 18);
|
|
98
94
|
o.push({
|
|
99
95
|
tokensStake: parseFloat(x(T)),
|
|
@@ -121,44 +117,44 @@ const st = ({
|
|
|
121
117
|
}
|
|
122
118
|
}, [L]);
|
|
123
119
|
const Me = () => {
|
|
124
|
-
|
|
125
|
-
|
|
120
|
+
b(
|
|
121
|
+
Je({
|
|
126
122
|
amount: Ie,
|
|
127
123
|
type: a,
|
|
128
|
-
period:
|
|
124
|
+
period: f.toString()
|
|
129
125
|
})
|
|
130
126
|
);
|
|
131
127
|
}, Ce = () => {
|
|
132
|
-
|
|
128
|
+
D(!1);
|
|
133
129
|
const { title: e, html: o, func: l } = oe();
|
|
134
130
|
ee(e), te(o), ae(() => l);
|
|
135
131
|
}, Ne = () => {
|
|
136
132
|
O("review");
|
|
137
133
|
}, O = (e) => {
|
|
138
|
-
if (!
|
|
134
|
+
if (!f) {
|
|
139
135
|
m({
|
|
140
136
|
message: "Please select the stake duration period"
|
|
141
137
|
});
|
|
142
138
|
return;
|
|
143
139
|
}
|
|
144
|
-
if (!
|
|
140
|
+
if (!h) {
|
|
145
141
|
m({ message: "Please provide the amount to stake" });
|
|
146
142
|
return;
|
|
147
143
|
}
|
|
148
|
-
if (!
|
|
144
|
+
if (!et.test(h)) {
|
|
149
145
|
m({
|
|
150
146
|
message: "Please provide the valid amount"
|
|
151
147
|
});
|
|
152
148
|
return;
|
|
153
149
|
}
|
|
154
|
-
const o = parseFloat(
|
|
150
|
+
const o = parseFloat(h.replaceAll(",", "."));
|
|
155
151
|
if (o * 1 <= 0) {
|
|
156
152
|
m({
|
|
157
153
|
message: "Please provide the amount greater than 0"
|
|
158
154
|
});
|
|
159
155
|
return;
|
|
160
156
|
}
|
|
161
|
-
if (a ===
|
|
157
|
+
if (a === c && o * 1 > J * 1) {
|
|
162
158
|
m({ message: "Insufficient balance to stake" });
|
|
163
159
|
return;
|
|
164
160
|
}
|
|
@@ -167,9 +163,9 @@ const st = ({
|
|
|
167
163
|
return;
|
|
168
164
|
}
|
|
169
165
|
let { title: l, html: d, func: n } = oe();
|
|
170
|
-
e === "review" && (l = "Please Review", d = `You are about to stake <strong>${
|
|
166
|
+
e === "review" && (l = "Please Review", d = `You are about to stake <strong>${h} ${a}</strong> Tokens for <strong>${f} days</strong> for ${a === R ? "up to" : ""} <strong>${I}% APY</strong>`, n = Me), ee(l), te(d), D(!0), ae(() => n);
|
|
171
167
|
}, oe = () => {
|
|
172
|
-
let e = "Are you sure?", o = `You will not have access to your ${a} Tokens during the staking period of <strong>${
|
|
168
|
+
let e = "Are you sure?", o = `You will not have access to your ${a} Tokens during the staking period of <strong>${f} days</strong>`;
|
|
173
169
|
return { title: e, html: o, func: Ne };
|
|
174
170
|
}, se = ({ data: e }) => /* @__PURE__ */ r(
|
|
175
171
|
S,
|
|
@@ -192,12 +188,12 @@ const st = ({
|
|
|
192
188
|
/* @__PURE__ */ t(
|
|
193
189
|
"img",
|
|
194
190
|
{
|
|
195
|
-
src: a ===
|
|
191
|
+
src: a === c ? Pe : Ye,
|
|
196
192
|
alt: "id",
|
|
197
193
|
width: 32
|
|
198
194
|
}
|
|
199
195
|
),
|
|
200
|
-
/* @__PURE__ */ t(
|
|
196
|
+
/* @__PURE__ */ t(i, { sx: { ml: "10px" }, variant: "h6", component: "span", children: /* @__PURE__ */ r("strong", { children: [
|
|
201
197
|
e.tokensStake,
|
|
202
198
|
" ",
|
|
203
199
|
a
|
|
@@ -206,10 +202,10 @@ const st = ({
|
|
|
206
202
|
}
|
|
207
203
|
),
|
|
208
204
|
/* @__PURE__ */ t(S, { sx: { padding: "20px" }, children: /* @__PURE__ */ r(u, { spacing: 1, container: !0, children: [
|
|
209
|
-
/* @__PURE__ */ t(u, { size: 6, children: /* @__PURE__ */ t(
|
|
210
|
-
/* @__PURE__ */ t(u, { size: 6, children: /* @__PURE__ */ t(
|
|
211
|
-
/* @__PURE__ */ t(u, { size: 6, children: /* @__PURE__ */ t(
|
|
212
|
-
/* @__PURE__ */ t(u, { size: 6, children: /* @__PURE__ */ r(
|
|
205
|
+
/* @__PURE__ */ t(u, { size: 6, children: /* @__PURE__ */ t(i, { className: "fs16", children: /* @__PURE__ */ t("strong", { children: "Days Remaining" }) }) }),
|
|
206
|
+
/* @__PURE__ */ t(u, { size: 6, children: /* @__PURE__ */ t(i, { className: "text-right fs16 fw500", children: e.days }) }),
|
|
207
|
+
/* @__PURE__ */ t(u, { size: 6, children: /* @__PURE__ */ t(i, { className: "fs16", children: /* @__PURE__ */ t("strong", { children: "Rewards" }) }) }),
|
|
208
|
+
/* @__PURE__ */ t(u, { size: 6, children: /* @__PURE__ */ r(i, { className: "text-right fs16 fw500", children: [
|
|
213
209
|
e.tokensReward,
|
|
214
210
|
" ID"
|
|
215
211
|
] }) })
|
|
@@ -218,7 +214,7 @@ const st = ({
|
|
|
218
214
|
}
|
|
219
215
|
);
|
|
220
216
|
return g ? /* @__PURE__ */ t(ne, { children: /* @__PURE__ */ t(
|
|
221
|
-
|
|
217
|
+
ot,
|
|
222
218
|
{
|
|
223
219
|
token: g.token,
|
|
224
220
|
network: g.network,
|
|
@@ -238,17 +234,17 @@ const st = ({
|
|
|
238
234
|
sx: { width: "250px", marginLeft: "-250px" },
|
|
239
235
|
children: [
|
|
240
236
|
/* @__PURE__ */ t(u, { className: E["sub-tabs-item"], size: 6, children: /* @__PURE__ */ t(
|
|
241
|
-
|
|
237
|
+
i,
|
|
242
238
|
{
|
|
243
239
|
fontSize: 25,
|
|
244
|
-
className: `font-bold ${a ===
|
|
240
|
+
className: `font-bold ${a === c ? E.active : ""}`,
|
|
245
241
|
variant: "h5",
|
|
246
|
-
onClick: () => U(
|
|
242
|
+
onClick: () => U(c),
|
|
247
243
|
children: "ID"
|
|
248
244
|
}
|
|
249
245
|
) }),
|
|
250
246
|
/* @__PURE__ */ t(u, { className: E["sub-tabs-item"], size: 6, children: /* @__PURE__ */ t(
|
|
251
|
-
|
|
247
|
+
i,
|
|
252
248
|
{
|
|
253
249
|
fontSize: 25,
|
|
254
250
|
className: `font-bold ${a === R ? E.active : ""}`,
|
|
@@ -260,7 +256,7 @@ const st = ({
|
|
|
260
256
|
]
|
|
261
257
|
}
|
|
262
258
|
) }),
|
|
263
|
-
a ===
|
|
259
|
+
a === c ? /* @__PURE__ */ t(
|
|
264
260
|
Re,
|
|
265
261
|
{
|
|
266
262
|
loader: j,
|
|
@@ -269,9 +265,9 @@ const st = ({
|
|
|
269
265
|
totalReward: P.totalReward,
|
|
270
266
|
StakeItem: se,
|
|
271
267
|
stakeStart: O,
|
|
272
|
-
amount:
|
|
268
|
+
amount: h,
|
|
273
269
|
setAmount: K,
|
|
274
|
-
stakeDuration:
|
|
270
|
+
stakeDuration: f,
|
|
275
271
|
setStakeDuration: Z,
|
|
276
272
|
balanceLoader: V,
|
|
277
273
|
balance: J,
|
|
@@ -298,7 +294,7 @@ const st = ({
|
|
|
298
294
|
totalReward: Y.totalReward,
|
|
299
295
|
StakeItem: se,
|
|
300
296
|
stakeStart: O,
|
|
301
|
-
amount:
|
|
297
|
+
amount: h,
|
|
302
298
|
setAmount: K,
|
|
303
299
|
balanceLoader: V,
|
|
304
300
|
balance: Q,
|
|
@@ -319,7 +315,7 @@ const st = ({
|
|
|
319
315
|
)
|
|
320
316
|
] }),
|
|
321
317
|
/* @__PURE__ */ t(
|
|
322
|
-
|
|
318
|
+
Be,
|
|
323
319
|
{
|
|
324
320
|
open: Ae,
|
|
325
321
|
fullWidth: !0,
|
|
@@ -330,10 +326,10 @@ const st = ({
|
|
|
330
326
|
}
|
|
331
327
|
}
|
|
332
328
|
},
|
|
333
|
-
children: /* @__PURE__ */ r(
|
|
334
|
-
/* @__PURE__ */ t(
|
|
329
|
+
children: /* @__PURE__ */ r(Ge, { sx: { mt: 3 }, className: "stake-modal-content", children: [
|
|
330
|
+
/* @__PURE__ */ t(i, { variant: "h4", className: "text-center", children: /* @__PURE__ */ t("strong", { children: Te }) }),
|
|
335
331
|
/* @__PURE__ */ t(
|
|
336
|
-
|
|
332
|
+
i,
|
|
337
333
|
{
|
|
338
334
|
sx: { mt: 5 },
|
|
339
335
|
variant: "h6",
|
|
@@ -342,9 +338,9 @@ const st = ({
|
|
|
342
338
|
}
|
|
343
339
|
),
|
|
344
340
|
ue ? /* @__PURE__ */ r(S, { mt: 4, sx: { color: "#00B171", textAlign: "center" }, children: [
|
|
345
|
-
/* @__PURE__ */ t(
|
|
341
|
+
/* @__PURE__ */ t(Le, { size: 30 }),
|
|
346
342
|
/* @__PURE__ */ r(
|
|
347
|
-
|
|
343
|
+
i,
|
|
348
344
|
{
|
|
349
345
|
className: "secondary-text-color",
|
|
350
346
|
variant: "h5",
|
|
@@ -357,12 +353,12 @@ const st = ({
|
|
|
357
353
|
}
|
|
358
354
|
)
|
|
359
355
|
] }) : /* @__PURE__ */ r(S, { px: { xs: 6, md: 15 }, children: [
|
|
360
|
-
/* @__PURE__ */ t(ie, { sx: { mt: 6 }, onClick:
|
|
356
|
+
/* @__PURE__ */ t(ie, { sx: { mt: 6 }, onClick: be, fullWidth: !0, children: /* @__PURE__ */ t("strong", { children: "Ok" }) }),
|
|
361
357
|
/* @__PURE__ */ t(
|
|
362
358
|
ie,
|
|
363
359
|
{
|
|
364
360
|
variantType: "cancel",
|
|
365
|
-
onClick: () =>
|
|
361
|
+
onClick: () => D(!1),
|
|
366
362
|
sx: { mt: 2 },
|
|
367
363
|
fullWidth: !0,
|
|
368
364
|
children: "Cancel"
|
|
@@ -373,7 +369,7 @@ const st = ({
|
|
|
373
369
|
}
|
|
374
370
|
)
|
|
375
371
|
] });
|
|
376
|
-
},
|
|
372
|
+
}, Kt = Ze(st);
|
|
377
373
|
export {
|
|
378
|
-
|
|
374
|
+
Kt as default
|
|
379
375
|
};
|