everest-npm-features 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (250) hide show
  1. package/dist/ArrowDropDown-DRUQbGft.js +8 -0
  2. package/dist/ArrowRight-t-YgAHUn.js +8 -0
  3. package/dist/{Box-wAem3MQD.js → Box-BOgpENcC.js} +11 -11
  4. package/dist/{Button-fWdSk-yh.js → Button-DXdgxFxa.js} +8 -7
  5. package/dist/{ButtonBase-SYP7klDp.js → ButtonBase-AOLUTpPg.js} +204 -211
  6. package/dist/Cancel-BMPJ8ZAg.js +11 -0
  7. package/dist/CardContent-DEA5pnhr.js +141 -0
  8. package/dist/{CircularProgress-DcXA6nAu.js → CircularProgress-BAEiXRSn.js} +31 -30
  9. package/dist/Close-mXCsZSxZ.js +8 -0
  10. package/dist/{Container-CIMHcpEe.js → Container-BOehNoF1.js} +4 -4
  11. package/dist/{ContentCopy-CexUUXuC.js → ContentCopy-HD_Xx6nx.js} +1 -1
  12. package/dist/{createSimplePaletteValueFilter-CsgjlRAs.js → DefaultPropsProvider-DmUB0SYC.js} +54 -69
  13. package/dist/DefaultPropsProvider-tqUom3mB.js +329 -0
  14. package/dist/{DialogContent-JgT9A6nk.js → DialogContent-zttWtNJM.js} +91 -90
  15. package/dist/{Close-CdRA3xUs.js → DialogTitle-BqL8DXBp.js} +16 -21
  16. package/dist/{ArrowRight-C6tjImpU.js → Divider-EGEkrkBH.js} +50 -55
  17. package/dist/{FormControl-D4QuPCnV.js → FormControl-Nd-4LC8N.js} +60 -69
  18. package/dist/FormControlLabel-BMeMEwyK.js +738 -0
  19. package/dist/{GlobalStyles-BOnEiMUE.js → GlobalStyles-CModZHM-.js} +2 -2
  20. package/dist/{Grid-dtT_MVn3.js → Grid-EISqvBSJ.js} +5 -5
  21. package/dist/Grid2-B0mJbwjl.js +374 -0
  22. package/dist/{Grow-B3Swdn2Z.js → Grow-dkRwE_ok.js} +5 -5
  23. package/dist/{IconButton-CRGy76pJ.js → IconButton-DAR3jsEV.js} +12 -11
  24. package/dist/Info-CkE3Gsf2.js +8 -0
  25. package/dist/InputAdornment-DZJP9Njd.js +169 -0
  26. package/dist/ListItemIcon-JAntieDc.js +82 -0
  27. package/dist/{wallet-DN7ej6mj.js → MenuItem-D12FP5Iq.js} +64 -75
  28. package/dist/{Modal-0q_y4zbS.js → Modal-DceAu_d2.js} +324 -397
  29. package/dist/Paper-L8ipwfkc.js +183 -0
  30. package/dist/PlayArrow-D98xCL5M.js +21 -0
  31. package/dist/Portal-DxdKGEvu.js +86 -0
  32. package/dist/{Select-BNAaKK32.js → Select-DTQDmdn_.js} +39 -33
  33. package/dist/{Slide-BlS6unRJ.js → Slide-CWqC2RDG.js} +4 -3
  34. package/dist/Stack-CkCveRRR.js +174 -0
  35. package/dist/{TextField-CPZo0_di.js → TextField-BqIvz6Zw.js} +23 -21
  36. package/dist/{Typography-kyxogyUq.js → Typography-Dx54MRM5.js} +14 -13
  37. package/dist/_commonjsHelpers-BkfeUUK-.js +28 -0
  38. package/dist/assets/index.css +1 -1
  39. package/dist/assets/index10.css +1 -0
  40. package/dist/assets/index2.css +1 -1
  41. package/dist/assets/index3.css +1 -0
  42. package/dist/assets/index4.css +1 -0
  43. package/dist/assets/index5.css +1 -0
  44. package/dist/assets/index6.css +1 -0
  45. package/dist/assets/index7.css +1 -0
  46. package/dist/assets/index8.css +1 -0
  47. package/dist/assets/index9.css +1 -0
  48. package/dist/assets/{withThemeProvider.css → main.css} +1 -1
  49. package/dist/assets/styles.css +1 -1
  50. package/dist/assets/styles3.css +1 -0
  51. package/dist/auth-AwdxCQXF.js +46 -0
  52. package/dist/axios-BEX6n2A7.js +796 -0
  53. package/dist/bank-D2rGgUDP.js +23 -0
  54. package/dist/components/Account/index.d.ts +4 -0
  55. package/dist/components/Account/index.js +310 -0
  56. package/dist/components/History/index.d.ts +2 -0
  57. package/dist/components/History/index.js +804 -0
  58. package/dist/components/MoveToEthereumOrEverChain/index.d.ts +18 -0
  59. package/dist/components/MoveToEthereumOrEverChain/index.js +345 -0
  60. package/dist/components/Profile/documents.js +19 -14
  61. package/dist/components/Profile/index.js +128 -135
  62. package/dist/components/Receive/index.js +25 -23
  63. package/dist/components/RocketRamp/Buy/cardPayment.d.ts +3 -0
  64. package/dist/components/RocketRamp/Buy/cardPayment.js +17 -0
  65. package/dist/components/RocketRamp/Buy/confirmTransaction.d.ts +3 -0
  66. package/dist/components/RocketRamp/Buy/confirmTransaction.js +16 -0
  67. package/dist/components/RocketRamp/Buy/form.d.ts +3 -0
  68. package/dist/components/RocketRamp/Buy/form.js +26 -0
  69. package/dist/components/RocketRamp/Buy/index.d.ts +6 -0
  70. package/dist/components/RocketRamp/Buy/index.js +29 -0
  71. package/dist/components/RocketRamp/Buy/types.d.ts +32 -0
  72. package/dist/components/RocketRamp/Buy/types.js +1 -0
  73. package/dist/components/RocketRamp/Dashboard/balance.d.ts +9 -0
  74. package/dist/components/RocketRamp/Dashboard/balance.js +75 -0
  75. package/dist/components/RocketRamp/Dashboard/index.d.ts +5 -0
  76. package/dist/components/RocketRamp/Dashboard/index.js +36 -0
  77. package/dist/components/RocketRamp/Dashboard/transaction.d.ts +8 -0
  78. package/dist/components/RocketRamp/Dashboard/transaction.js +28 -0
  79. package/dist/components/RocketRamp/MinimalKyc/index.d.ts +6 -0
  80. package/dist/components/RocketRamp/MinimalKyc/index.js +254 -0
  81. package/dist/components/RocketRamp/Shared/Button/index.d.ts +10 -0
  82. package/dist/components/RocketRamp/Shared/Button/index.js +82 -0
  83. package/dist/components/RocketRamp/Shared/Input/index.d.ts +11 -0
  84. package/dist/components/RocketRamp/Shared/Input/index.js +46 -0
  85. package/dist/components/RocketRamp/Shared/backBtn.d.ts +5 -0
  86. package/dist/components/RocketRamp/Shared/backBtn.js +21 -0
  87. package/dist/components/RocketRamp/Shared/transactionItem.d.ts +7 -0
  88. package/dist/components/RocketRamp/Shared/transactionItem.js +125 -0
  89. package/dist/components/RocketRamp/SignIn/index.d.ts +3 -0
  90. package/dist/components/RocketRamp/SignIn/index.js +82 -0
  91. package/dist/components/RocketRamp/SignIn/loginForm.d.ts +3 -0
  92. package/dist/components/RocketRamp/SignIn/loginForm.js +81 -0
  93. package/dist/components/RocketRamp/SignIn/otpForm.d.ts +3 -0
  94. package/dist/components/RocketRamp/SignIn/otpForm.js +112 -0
  95. package/dist/components/RocketRamp/SignIn/types.d.ts +22 -0
  96. package/dist/components/RocketRamp/SignIn/types.js +1 -0
  97. package/dist/components/RocketRamp/SignUp/email.d.ts +3 -0
  98. package/dist/components/RocketRamp/SignUp/email.js +70 -0
  99. package/dist/components/RocketRamp/SignUp/index.d.ts +3 -0
  100. package/dist/components/RocketRamp/SignUp/index.js +163 -0
  101. package/dist/components/RocketRamp/SignUp/personalInfo.d.ts +3 -0
  102. package/dist/components/RocketRamp/SignUp/personalInfo.js +415 -0
  103. package/dist/components/RocketRamp/SignUp/summary.d.ts +3 -0
  104. package/dist/components/RocketRamp/SignUp/summary.js +57 -0
  105. package/dist/components/RocketRamp/SignUp/types.d.ts +50 -0
  106. package/dist/components/RocketRamp/SignUp/types.js +1 -0
  107. package/dist/components/RocketRamp/SignUp/validateEmail.d.ts +3 -0
  108. package/dist/components/RocketRamp/SignUp/validateEmail.js +99 -0
  109. package/dist/components/RocketRamp/Transactions/index.d.ts +5 -0
  110. package/dist/components/RocketRamp/Transactions/index.js +38 -0
  111. package/dist/components/Send/index.js +62 -51
  112. package/dist/components/Shared/ConnectWallet/index.d.ts +20 -0
  113. package/dist/components/Shared/ConnectWallet/index.js +25364 -0
  114. package/dist/components/Shared/HistoryItem/index.d.ts +5 -0
  115. package/dist/components/Shared/HistoryItem/index.js +120 -0
  116. package/dist/components/Shared/Keyboard/keyboard.js +3 -3
  117. package/dist/components/Shared/TokenModal/index.d.ts +10 -0
  118. package/dist/components/Shared/TokenModal/index.js +104 -0
  119. package/dist/components/Shared/TokenModal/tokenGrid.d.ts +7 -0
  120. package/dist/components/Shared/TokenModal/tokenGrid.js +51 -0
  121. package/dist/components/Shared/addBank.d.ts +2 -0
  122. package/dist/components/Shared/addBank.js +172 -0
  123. package/dist/components/Shared/button.js +1 -1
  124. package/dist/components/Shared/connectPlaidBank.d.ts +2 -0
  125. package/dist/components/Shared/connectPlaidBank.js +57 -0
  126. package/dist/components/Shared/incode.js +34 -32
  127. package/dist/components/Shared/inputField.js +1 -1
  128. package/dist/components/Shared/noData.d.ts +4 -0
  129. package/dist/components/Shared/noData.js +14 -0
  130. package/dist/components/Shared/pin.js +3 -3
  131. package/dist/components/Shared/step.js +2 -2
  132. package/dist/components/Shared/tooltip.d.ts +4 -0
  133. package/dist/components/Shared/tooltip.js +2107 -0
  134. package/dist/components/Shared/transition.js +1 -1
  135. package/dist/components/SignIn/index.js +26 -24
  136. package/dist/components/SignUp/index.js +108 -348
  137. package/dist/components/SignUp/pin.js +116 -844
  138. package/dist/components/SignUp/privacy.js +3 -3
  139. package/dist/components/SignUp/terms.js +3 -3
  140. package/dist/components/SignUp/types.d.ts +0 -1
  141. package/dist/components/SignUp/userInfo.js +4 -4
  142. package/dist/components/Stake/gems/index.d.ts +2 -0
  143. package/dist/components/Stake/gems/index.js +214 -0
  144. package/dist/components/Stake/id/index.d.ts +2 -0
  145. package/dist/components/Stake/id/index.js +233 -0
  146. package/dist/components/Stake/index.d.ts +5 -0
  147. package/dist/components/Stake/index.js +346 -0
  148. package/dist/components/Swap/index.d.ts +2 -0
  149. package/dist/components/Swap/index.js +489 -0
  150. package/dist/components/SwapAndUniSwap/index.d.ts +3 -0
  151. package/dist/components/SwapAndUniSwap/index.js +43 -0
  152. package/dist/components/WalletPortfolio/index.js +191 -263
  153. package/dist/components/WalletPortfolio/tokenRow.js +8 -5
  154. package/dist/constants-d3SWzaRo.js +3981 -0
  155. package/dist/countries-BVn1FubK.js +1925 -0
  156. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +17 -0
  157. package/dist/{createSvgIcon-CAZr4ukt.js → createSvgIcon-jkXneOQN.js} +6 -6
  158. package/dist/{createTheme-NrBCWesw.js → createTheme-F9Dk4FhK.js} +182 -174
  159. package/dist/data/countries.json.d.ts +1925 -0
  160. package/dist/defaultTheme-Bc00Q3Kt.js +5 -0
  161. package/dist/dividerClasses-SUAUDDqL.js +10 -0
  162. package/dist/{documents-CL4Ajr_B.js → documents-2UqIXbDq.js} +130 -129
  163. package/dist/elementTypeAcceptingRef-BufevUW8.js +23 -0
  164. package/dist/emotion-react.browser.esm-CI0uV1W5.js +233 -0
  165. package/dist/{extendSxProp-CuERe1TA.js → extendSxProp-Cm2UBzGf.js} +1 -1
  166. package/dist/generic-token-B_ptO5yb.js +4 -0
  167. package/dist/hoc/withThemeProvider.js +33 -32
  168. package/dist/hooks/useDialog/index.js +4 -4
  169. package/dist/hooks/useSnackBar.js +63 -60
  170. package/dist/icons/buyIcon.d.ts +2 -0
  171. package/dist/icons/buyIcon.js +19 -0
  172. package/dist/icons/canceledBuyIcon.d.ts +2 -0
  173. package/dist/icons/canceledBuyIcon.js +34 -0
  174. package/dist/icons/canceledRedeemIcon.d.ts +2 -0
  175. package/dist/icons/canceledRedeemIcon.js +35 -0
  176. package/dist/icons/failedBuyIcon.d.ts +2 -0
  177. package/dist/icons/failedBuyIcon.js +48 -0
  178. package/dist/icons/failedRedeemIcon.d.ts +2 -0
  179. package/dist/icons/failedRedeemIcon.js +48 -0
  180. package/dist/icons/pendingBuyIcon.d.ts +2 -0
  181. package/dist/icons/pendingBuyIcon.js +38 -0
  182. package/dist/icons/pendingRedeemIcon.d.ts +2 -0
  183. package/dist/icons/pendingRedeemIcon.js +34 -0
  184. package/dist/icons/redeemIcon.d.ts +2 -0
  185. package/dist/icons/redeemIcon.js +19 -0
  186. package/dist/index-B8QKlEgj.js +37095 -0
  187. package/dist/{index-Cq3eHOnB.js → index-BJlsh9ro.js} +1 -1
  188. package/dist/index-C3FYdQkQ.js +4050 -0
  189. package/dist/index-CrajlEO_.js +576 -0
  190. package/dist/index-DxLB0ZV1.js +760 -0
  191. package/dist/index-TElEjliR.js +9 -0
  192. package/dist/{index-iAyNk1r6.js → index-_kqRfgnc.js} +5 -5
  193. package/dist/index-ceeCtFuh.js +136 -0
  194. package/dist/index.esm-BsMAMhYW.js +237 -0
  195. package/dist/isFocusVisible-CPZqtjv2.js +12 -0
  196. package/dist/isMuiElement-DnSE4qG4.js +13 -0
  197. package/dist/main.d.ts +99 -0
  198. package/dist/main.js +34 -12
  199. package/dist/moment-h96o7c8I.js +2578 -0
  200. package/dist/order-Cry6kuj8.js +23 -0
  201. package/dist/ownerWindow-C-760D__.js +7 -0
  202. package/dist/providers/metaMask.d.ts +6 -0
  203. package/dist/providers/metaMask.js +24 -0
  204. package/dist/react-redux-B4BZippc.js +255 -0
  205. package/dist/react-webcam-B3cXh1XT.js +267 -0
  206. package/dist/resolveComponentProps-BdTgLKBb.js +80 -0
  207. package/dist/rr-primary-logo-CqI24c8v.js +4 -0
  208. package/dist/stake-Q_O90kTv.js +17 -0
  209. package/dist/store.d.ts +65 -0
  210. package/dist/store.js +1 -0
  211. package/dist/styled-BTIMwpiX.js +5 -0
  212. package/dist/{styles.module-KeND8lCR.js → styles.module-6SB62f3J.js} +1 -1
  213. package/dist/styles.module-O5VVND5e.js +22 -0
  214. package/dist/tokenRow-CgnPD-4U.js +206 -0
  215. package/dist/useControlled-BYdyS7Pn.js +31 -0
  216. package/dist/useFormControl-CfmEP6sW.js +18 -0
  217. package/dist/useSlot-DaP6eodX.js +50 -0
  218. package/dist/useTheme-BghcbbEW.js +9 -0
  219. package/dist/{useTheme-nlj1B_-c.js → useTheme-c0OHvtiA.js} +3 -3
  220. package/dist/{useThemeProps-BqWuFW3z.js → useThemeProps-CV9AmzHf.js} +4 -4
  221. package/dist/{useThemeWithoutDefault-BdYkMk0o.js → useThemeWithoutDefault-D8MaPbCK.js} +1 -1
  222. package/dist/useTimeout-D29bZ7Gz.js +56 -0
  223. package/dist/user-Dzur3Cro.js +24 -0
  224. package/dist/util/constants.d.ts +48 -0
  225. package/dist/util/constants.js +69 -21
  226. package/dist/util/conversions.js +54 -22271
  227. package/dist/util/functions.d.ts +5 -0
  228. package/dist/util/functions.js +81 -24
  229. package/dist/util/regex.d.ts +3 -0
  230. package/dist/util/regex.js +6 -0
  231. package/dist/{utils-_FXWkn40.js → utils-EFg3So7T.js} +163 -168
  232. package/dist/wallet-Dw896DF7.js +35 -0
  233. package/dist/web3-u4qDZYpo.js +22328 -0
  234. package/package.json +8 -3
  235. package/dist/DefaultPropsProvider-Y8MI-J-I.js +0 -555
  236. package/dist/__vite-browser-external-DYxpcVy9-DYxpcVy9.js +0 -4
  237. package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
  238. package/dist/auth-Cj5FKr_m.js +0 -19
  239. package/dist/axios-xPiQW9EP.js +0 -118114
  240. package/dist/defaultTheme-OIfL8Ia7.js +0 -5
  241. package/dist/dividerClasses-Z7VLlu5C.js +0 -10
  242. package/dist/index-DKTkUdik.js +0 -6
  243. package/dist/react-redux-VW99uJjf.js +0 -5908
  244. package/dist/react-webcam-Cov1TP0q.js +0 -639
  245. package/dist/styled-Da6GnxEE.js +0 -5
  246. package/dist/tokenRow-Cdd_jFjp.js +0 -206
  247. package/dist/useFormControl-Bo6Tf_xo.js +0 -46
  248. package/dist/useSlot-CURNJ3JC.js +0 -306
  249. package/dist/useTheme-DWRMvRU8.js +0 -9
  250. package/dist/useTimeout-lr7ryrda.js +0 -75
@@ -1,7 +1,7 @@
1
1
  import { jsxs as r, jsx as e } from "react/jsx-runtime";
2
- import { s as t } from "../../styles.module-KeND8lCR.js";
3
- import { B as a } from "../../Box-wAem3MQD.js";
4
- import { T as o } from "../../Typography-kyxogyUq.js";
2
+ import { s as t } from "../../styles.module-6SB62f3J.js";
3
+ import { B as a } from "../../Box-BOgpENcC.js";
4
+ import { T as o } from "../../Typography-Dx54MRM5.js";
5
5
  const c = () => /* @__PURE__ */ r(a, { p: 1, className: t.tac, children: [
6
6
  /* @__PURE__ */ e(o, { variant: "h5", mt: 2, mb: 2, children: /* @__PURE__ */ r("strong", { children: [
7
7
  "Everest",
@@ -1,7 +1,7 @@
1
1
  import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
- import { s as r } from "../../styles.module-KeND8lCR.js";
3
- import { B as i } from "../../Box-wAem3MQD.js";
4
- import { T as t } from "../../Typography-kyxogyUq.js";
2
+ import { s as r } from "../../styles.module-6SB62f3J.js";
3
+ import { B as i } from "../../Box-BOgpENcC.js";
4
+ import { T as t } from "../../Typography-Dx54MRM5.js";
5
5
  const c = () => /* @__PURE__ */ o(i, { p: 1, className: r.tac, children: [
6
6
  /* @__PURE__ */ e(t, { variant: "h5", mt: 2, mb: 2, children: /* @__PURE__ */ o("strong", { children: [
7
7
  "Everest",
@@ -7,7 +7,6 @@ interface defaultProps {
7
7
  incodeOnBoardingUrl: string;
8
8
  }
9
9
  export interface SignUpProps extends defaultProps {
10
- apiBaseUrl: string;
11
10
  walletUrl: string;
12
11
  navigate: any;
13
12
  onCreactAccount: (uuid: string, token: string) => void;
@@ -1,11 +1,11 @@
1
1
  import { jsxs as u, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as o } from "react";
3
3
  import { useSnackBar as p } from "../../hooks/useSnackBar.js";
4
- import { s as h } from "../../styles.module-KeND8lCR.js";
4
+ import { s as h } from "../../styles.module-6SB62f3J.js";
5
5
  import x from "../Shared/button.js";
6
- import { C as g } from "../../Container-CIMHcpEe.js";
7
- import { T } from "../../Typography-kyxogyUq.js";
8
- import { T as v, F as y } from "../../TextField-CPZo0_di.js";
6
+ import { C as g } from "../../Container-BOehNoF1.js";
7
+ import { T } from "../../Typography-Dx54MRM5.js";
8
+ import { T as v, F as y } from "../../TextField-BqIvz6Zw.js";
9
9
  const j = ({ userInfo: l, setUserInfo: s, setShowScreen: i }) => {
10
10
  const { showAlertMessage: n, snackBar: m } = p(), [r, d] = o(l.email || ""), [t, a] = o(!1), c = () => {
11
11
  if (a(!1), !r)
@@ -0,0 +1,2 @@
1
+ declare const _default: import('react').FC<any>;
2
+ export default _default;
@@ -0,0 +1,214 @@
1
+ import { jsxs as i, Fragment as z, jsx as e } from "react/jsx-runtime";
2
+ import I from "../../Shared/noData.js";
3
+ import h from "../../Shared/tooltip.js";
4
+ import { I as p } from "../../../Info-CkE3Gsf2.js";
5
+ import C from "../../../hoc/withThemeProvider.js";
6
+ import { s as r } from "../../../styles.module-O5VVND5e.js";
7
+ import { B as G } from "../../../Modal-DceAu_d2.js";
8
+ import { C as f } from "../../../CircularProgress-BAEiXRSn.js";
9
+ import { G as t } from "../../../Grid2-B0mJbwjl.js";
10
+ import { B as a } from "../../../Box-BOgpENcC.js";
11
+ import { T as o } from "../../../Typography-Dx54MRM5.js";
12
+ import { I as u } from "../../../IconButton-DAR3jsEV.js";
13
+ import { B as s } from "../../../Button-DXdgxFxa.js";
14
+ import { F as M } from "../../../FormControl-Nd-4LC8N.js";
15
+ import { T as y } from "../../../TextField-BqIvz6Zw.js";
16
+ const B = ({
17
+ history: c,
18
+ loader: x,
19
+ stakeData: l,
20
+ totalStake: g,
21
+ totalReward: v,
22
+ StakeItem: k,
23
+ stakeStart: T,
24
+ amount: N,
25
+ setAmount: m,
26
+ balanceLoader: E,
27
+ balance: S
28
+ }) => {
29
+ const D = (n) => {
30
+ n ? /^([0-9.,]+)$/.test(n) && m(n) : m("");
31
+ }, w = [
32
+ "To earn reward tokens you must stake GEMS “to EverChain”",
33
+ "Staking GEMS for a 365 day commitment will earn up to 20% APY in ID tokens*",
34
+ "* there is a 10M maximum supply of IDs for staking GEMS",
35
+ "Price of ID is set at $0.10/ID, so APY may go much higher if ID price appreciates. ETH is required to pay gas fees to move to EverChain"
36
+ ].join(`
37
+
38
+ `);
39
+ return /* @__PURE__ */ i(z, { children: [
40
+ /* @__PURE__ */ e(
41
+ G,
42
+ {
43
+ sx: {
44
+ color: "#fff",
45
+ zIndex: (n) => n.zIndex.drawer + 1e3
46
+ },
47
+ open: x,
48
+ children: /* @__PURE__ */ e(f, { color: "inherit" })
49
+ }
50
+ ),
51
+ /* @__PURE__ */ i(t, { spacing: 2, container: !0, width: "100%", children: [
52
+ /* @__PURE__ */ e(t, { size: { xs: 12, md: 5 }, children: /* @__PURE__ */ e(a, { className: r["inner-container"], children: /* @__PURE__ */ i(a, { p: 3, children: [
53
+ /* @__PURE__ */ e(
54
+ o,
55
+ {
56
+ className: r["heading-text"],
57
+ variant: "h6",
58
+ children: /* @__PURE__ */ e("strong", { children: "Current Stakes" })
59
+ }
60
+ ),
61
+ /* @__PURE__ */ i(t, { mt: 4, spacing: 1, container: !0, width: "100%", children: [
62
+ /* @__PURE__ */ e(t, { size: 6, children: /* @__PURE__ */ e(o, { className: "fs16", children: /* @__PURE__ */ e("strong", { children: "Total Staked" }) }) }),
63
+ /* @__PURE__ */ e(t, { size: 6, children: /* @__PURE__ */ i(o, { className: "text-right fs16 fw500", children: [
64
+ g,
65
+ " GEMS"
66
+ ] }) }),
67
+ /* @__PURE__ */ e(t, { size: 6, children: /* @__PURE__ */ e(o, { className: "fs16", children: /* @__PURE__ */ e("strong", { children: "Total Reward" }) }) }),
68
+ /* @__PURE__ */ e(t, { size: 6, children: /* @__PURE__ */ i(o, { className: "text-right fs16 fw500", children: [
69
+ v,
70
+ " ID"
71
+ ] }) })
72
+ ] }),
73
+ /* @__PURE__ */ i(a, { mt: 6, children: [
74
+ l.length === 0 && /* @__PURE__ */ e(I, { text: "No GEM are staked at the moment" }),
75
+ l.map((n, d) => /* @__PURE__ */ e(k, { data: n }, d))
76
+ ] })
77
+ ] }) }) }),
78
+ /* @__PURE__ */ e(t, { size: { xs: 12, md: 7 }, children: /* @__PURE__ */ i(a, { p: 3, className: r["inner-container"], children: [
79
+ /* @__PURE__ */ e(
80
+ o,
81
+ {
82
+ className: r["heading-text"],
83
+ variant: "h6",
84
+ component: "span",
85
+ children: /* @__PURE__ */ e("strong", { children: "Stake Tokens" })
86
+ }
87
+ ),
88
+ /* @__PURE__ */ e(
89
+ h,
90
+ {
91
+ title: /* @__PURE__ */ e(a, { sx: { whiteSpace: "pre-line" }, children: w }),
92
+ placement: "bottom",
93
+ children: /* @__PURE__ */ e(u, { className: r["info-icon"], children: /* @__PURE__ */ e(
94
+ p,
95
+ {
96
+ sx: {
97
+ fontSize: "26px",
98
+ color: "#D9D9D9"
99
+ }
100
+ }
101
+ ) })
102
+ }
103
+ ),
104
+ /* @__PURE__ */ i(a, { className: `${r["add-container"]} text-center`, children: [
105
+ /* @__PURE__ */ e(o, { variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Available GEMS on EverChain" }) }),
106
+ E ? /* @__PURE__ */ e(f, {}) : /* @__PURE__ */ e(
107
+ o,
108
+ {
109
+ sx: { mt: 2 },
110
+ className: "secondary-text-color",
111
+ variant: "h3",
112
+ children: /* @__PURE__ */ i("strong", { children: [
113
+ S,
114
+ " GEMS"
115
+ ] })
116
+ }
117
+ ),
118
+ /* @__PURE__ */ i(t, { className: "items-center", container: !0, mt: 4, width: "100%", children: [
119
+ /* @__PURE__ */ e(t, { size: 11, children: /* @__PURE__ */ i("fieldset", { className: r["move-id"], children: [
120
+ /* @__PURE__ */ e("legend", { className: r["move-id-text"], style: { width: "135px" }, children: "Move GEMS Tokens" }),
121
+ /* @__PURE__ */ e(
122
+ s,
123
+ {
124
+ className: r["move-btn"],
125
+ variant: "contained",
126
+ onClick: () => c.push("/move/gems/everchain"),
127
+ children: "To EverChain"
128
+ }
129
+ ),
130
+ /* @__PURE__ */ e(
131
+ s,
132
+ {
133
+ sx: {
134
+ ml: { md: 3 },
135
+ mt: { xs: 1, md: 0 }
136
+ },
137
+ className: r["move-btn"],
138
+ variant: "contained",
139
+ onClick: () => c.push("/move/gems/ethereum"),
140
+ children: "To Ethereum"
141
+ }
142
+ )
143
+ ] }) }),
144
+ /* @__PURE__ */ e(t, { size: 1, children: /* @__PURE__ */ e(
145
+ h,
146
+ {
147
+ title: "To stake your GEMS token, the token must be on EverChain. To move GEMS from Ethereum to EverChain or back requires ETH to pay the network fees.",
148
+ placement: "top",
149
+ children: /* @__PURE__ */ e(u, { className: r["button-icon"], children: /* @__PURE__ */ e(
150
+ p,
151
+ {
152
+ sx: {
153
+ fontSize: "24px",
154
+ color: "#D9D9D9"
155
+ }
156
+ }
157
+ ) })
158
+ }
159
+ ) })
160
+ ] }),
161
+ /* @__PURE__ */ i(
162
+ t,
163
+ {
164
+ mt: 4,
165
+ sx: {
166
+ borderRadius: "4px",
167
+ color: "#BDBDBD"
168
+ },
169
+ container: !0,
170
+ width: "100%",
171
+ children: [
172
+ /* @__PURE__ */ e(t, { size: 4 }),
173
+ /* @__PURE__ */ e(
174
+ t,
175
+ {
176
+ className: `${r["time-item"]} ${r["item-last"]} ${r.active}`,
177
+ size: 4,
178
+ children: /* @__PURE__ */ e(o, { children: /* @__PURE__ */ e("strong", { children: "365 Days" }) })
179
+ }
180
+ ),
181
+ /* @__PURE__ */ e(t, { size: 4 })
182
+ ]
183
+ }
184
+ ),
185
+ /* @__PURE__ */ e(M, { sx: { mt: 4 }, fullWidth: !0, children: /* @__PURE__ */ e(
186
+ y,
187
+ {
188
+ variant: "filled",
189
+ placeholder: "Amount to Stake",
190
+ value: N,
191
+ fullWidth: !0,
192
+ required: !0,
193
+ onChange: (n) => D(n.target.value)
194
+ }
195
+ ) }),
196
+ /* @__PURE__ */ e(
197
+ s,
198
+ {
199
+ sx: { mt: 4 },
200
+ onClick: T,
201
+ className: "wallet-btn",
202
+ variant: "contained",
203
+ fullWidth: !0,
204
+ children: /* @__PURE__ */ e("strong", { children: "Stake" })
205
+ }
206
+ )
207
+ ] })
208
+ ] }) })
209
+ ] })
210
+ ] });
211
+ }, U = C(B);
212
+ export {
213
+ U as default
214
+ };
@@ -0,0 +1,2 @@
1
+ declare const StakeID: ({ history, loader, stakeData, totalStake, totalReward, StakeItem, stakeStart, amount, setAmount, stakeDuration, setStakeDuration, balanceLoader, balance, }: any) => import("react/jsx-runtime").JSX.Element;
2
+ export default StakeID;
@@ -0,0 +1,233 @@
1
+ import { jsxs as i, Fragment as B, jsx as e } from "react/jsx-runtime";
2
+ import $ from "../../Shared/noData.js";
3
+ import p from "../../Shared/tooltip.js";
4
+ import { I as u } from "../../../Info-CkE3Gsf2.js";
5
+ import { STAKE_ID_MIN_DAYS as g, STAKE_ID_MID_DAYS as x, STAKE_ID_MAX_DAYS as v } from "../../../util/constants.js";
6
+ import { s as r } from "../../../styles.module-O5VVND5e.js";
7
+ import { B as _ } from "../../../Modal-DceAu_d2.js";
8
+ import { C as k } from "../../../CircularProgress-BAEiXRSn.js";
9
+ import { G as t } from "../../../Grid2-B0mJbwjl.js";
10
+ import { B as a } from "../../../Box-BOgpENcC.js";
11
+ import { T as n } from "../../../Typography-Dx54MRM5.js";
12
+ import { I as D } from "../../../IconButton-DAR3jsEV.js";
13
+ import { B as c } from "../../../Button-DXdgxFxa.js";
14
+ import { D as T } from "../../../Divider-EGEkrkBH.js";
15
+ import { F } from "../../../FormControl-Nd-4LC8N.js";
16
+ import { T as Y } from "../../../TextField-BqIvz6Zw.js";
17
+ const ee = ({
18
+ history: d,
19
+ loader: I,
20
+ stakeData: m,
21
+ totalStake: N,
22
+ totalReward: C,
23
+ StakeItem: z,
24
+ stakeStart: w,
25
+ amount: S,
26
+ setAmount: h,
27
+ stakeDuration: s,
28
+ setStakeDuration: l,
29
+ balanceLoader: y,
30
+ balance: A
31
+ }) => {
32
+ const b = (o) => {
33
+ o ? /^([0-9.,]+)$/.test(o) && h(o) : h("");
34
+ }, E = [
35
+ "To earn reward tokens you must stake ID tokens in your EverWallet",
36
+ "Staking Rewards...",
37
+ `Commit for 90 days to earn 3% APY
38
+ Commit for 180 days to earn 8% APY
39
+ Commit for 365 days to earn 18% APY`,
40
+ "Staking rewards will be deposited at the end of the staking period",
41
+ "Holding rewards start accumulating after the initial 24-hours"
42
+ ].join(`
43
+
44
+ `);
45
+ return /* @__PURE__ */ i(B, { children: [
46
+ /* @__PURE__ */ e(
47
+ _,
48
+ {
49
+ sx: {
50
+ color: "#fff",
51
+ zIndex: (o) => o.zIndex.drawer + 1e3
52
+ },
53
+ open: I,
54
+ children: /* @__PURE__ */ e(k, { color: "inherit" })
55
+ }
56
+ ),
57
+ /* @__PURE__ */ i(t, { spacing: 2, container: !0, width: "100%", children: [
58
+ /* @__PURE__ */ e(t, { size: { xs: 12, md: 5 }, children: /* @__PURE__ */ e(a, { className: r["inner-container"], children: /* @__PURE__ */ i(a, { p: 3, children: [
59
+ /* @__PURE__ */ e(n, { className: r["heading-text"], variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Current Stakes" }) }),
60
+ /* @__PURE__ */ i(t, { mt: 4, spacing: 1, container: !0, width: "100%", children: [
61
+ /* @__PURE__ */ e(t, { size: 6, children: /* @__PURE__ */ e(n, { className: "fs16", children: /* @__PURE__ */ e("strong", { children: "Total Staked" }) }) }),
62
+ /* @__PURE__ */ e(t, { size: 6, children: /* @__PURE__ */ i(n, { className: "text-right fs16 fw500", children: [
63
+ N,
64
+ " ID"
65
+ ] }) }),
66
+ /* @__PURE__ */ e(t, { size: 6, children: /* @__PURE__ */ e(n, { className: "fs16", children: /* @__PURE__ */ e("strong", { children: "Total Reward" }) }) }),
67
+ /* @__PURE__ */ e(t, { size: 6, children: /* @__PURE__ */ i(n, { className: "text-right fs16 fw500", children: [
68
+ C,
69
+ " ID"
70
+ ] }) })
71
+ ] }),
72
+ /* @__PURE__ */ i(a, { mt: 6, children: [
73
+ m.length === 0 && /* @__PURE__ */ e($, { text: "No ID are staked at the moment" }),
74
+ m.map((o, f) => /* @__PURE__ */ e(z, { data: o }, f))
75
+ ] })
76
+ ] }) }) }),
77
+ /* @__PURE__ */ e(t, { size: { xs: 12, md: 7 }, children: /* @__PURE__ */ i(a, { p: 3, className: r["inner-container"], children: [
78
+ /* @__PURE__ */ e(
79
+ n,
80
+ {
81
+ className: r["heading-text"],
82
+ variant: "h6",
83
+ component: "span",
84
+ children: /* @__PURE__ */ e("strong", { children: "Stake Tokens" })
85
+ }
86
+ ),
87
+ /* @__PURE__ */ e(
88
+ p,
89
+ {
90
+ title: /* @__PURE__ */ e(a, { sx: { whiteSpace: "pre-line" }, children: E }),
91
+ placement: "bottom",
92
+ children: /* @__PURE__ */ e(D, { className: r["info-icon"], children: /* @__PURE__ */ e(
93
+ u,
94
+ {
95
+ sx: {
96
+ fontSize: "26px",
97
+ color: "#D9D9D9"
98
+ }
99
+ }
100
+ ) })
101
+ }
102
+ ),
103
+ /* @__PURE__ */ i(a, { className: `${r["add-container"]} text-center`, children: [
104
+ /* @__PURE__ */ e(n, { variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Available ID on EverChain" }) }),
105
+ y ? /* @__PURE__ */ e(k, {}) : /* @__PURE__ */ e(
106
+ n,
107
+ {
108
+ sx: { mt: 2 },
109
+ className: "secondary-text-color",
110
+ variant: "h3",
111
+ children: /* @__PURE__ */ i("strong", { children: [
112
+ A,
113
+ " ID"
114
+ ] })
115
+ }
116
+ ),
117
+ /* @__PURE__ */ i(t, { className: "items-center", container: !0, mt: 4, width: "100%", children: [
118
+ /* @__PURE__ */ e(t, { size: 11, children: /* @__PURE__ */ i("fieldset", { className: r["move-id"], children: [
119
+ /* @__PURE__ */ e("legend", { className: r["move-id-text"], children: "Move ID Tokens" }),
120
+ /* @__PURE__ */ e(
121
+ c,
122
+ {
123
+ className: r["move-btn"],
124
+ variant: "contained",
125
+ onClick: () => d.push("/move/id/everchain"),
126
+ children: "To EverChain"
127
+ }
128
+ ),
129
+ /* @__PURE__ */ e(
130
+ c,
131
+ {
132
+ sx: {
133
+ ml: { md: 3 },
134
+ mt: { xs: 1, md: 0 }
135
+ },
136
+ className: r["move-btn"],
137
+ variant: "contained",
138
+ onClick: () => d.push("/move/id/ethereum"),
139
+ children: "To Ethereum"
140
+ }
141
+ )
142
+ ] }) }),
143
+ /* @__PURE__ */ e(t, { size: 1, children: /* @__PURE__ */ e(
144
+ p,
145
+ {
146
+ 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
+ placement: "top",
148
+ children: /* @__PURE__ */ e(D, { className: r["button-icon"], children: /* @__PURE__ */ e(
149
+ u,
150
+ {
151
+ sx: {
152
+ fontSize: "24px",
153
+ color: "#D9D9D9"
154
+ }
155
+ }
156
+ ) })
157
+ }
158
+ ) })
159
+ ] }),
160
+ /* @__PURE__ */ i(
161
+ t,
162
+ {
163
+ mt: 4,
164
+ sx: {
165
+ borderRadius: "4px",
166
+ background: "#F0F0F0",
167
+ color: "#BDBDBD"
168
+ },
169
+ container: !0,
170
+ width: "100%",
171
+ children: [
172
+ /* @__PURE__ */ e(
173
+ t,
174
+ {
175
+ className: `${r["time-item"]} ${r["item-1st"]} ${s === g ? r.active : ""}`,
176
+ onClick: () => l(g),
177
+ size: 3.9,
178
+ children: /* @__PURE__ */ e(n, { children: /* @__PURE__ */ e("strong", { children: "90 Days" }) })
179
+ }
180
+ ),
181
+ /* @__PURE__ */ e(t, { size: 0.01, children: /* @__PURE__ */ e(T, { orientation: "vertical" }) }),
182
+ /* @__PURE__ */ e(
183
+ t,
184
+ {
185
+ className: `${r["time-item"]} ${s === x ? r.active : ""}`,
186
+ onClick: () => l(x),
187
+ size: 3.9,
188
+ children: /* @__PURE__ */ e(n, { children: /* @__PURE__ */ e("strong", { children: "180 Days" }) })
189
+ }
190
+ ),
191
+ /* @__PURE__ */ e(t, { size: 0.01, children: /* @__PURE__ */ e(T, { orientation: "vertical" }) }),
192
+ /* @__PURE__ */ e(
193
+ t,
194
+ {
195
+ className: `${r["time-item"]} ${r["item-last"]} ${s === v ? r.active : ""}`,
196
+ onClick: () => l(v),
197
+ size: 4,
198
+ children: /* @__PURE__ */ e(n, { children: /* @__PURE__ */ e("strong", { children: "365 Days" }) })
199
+ }
200
+ )
201
+ ]
202
+ }
203
+ ),
204
+ /* @__PURE__ */ e(F, { sx: { mt: 4 }, fullWidth: !0, children: /* @__PURE__ */ e(
205
+ Y,
206
+ {
207
+ variant: "filled",
208
+ placeholder: "Amount to Stake",
209
+ value: S,
210
+ fullWidth: !0,
211
+ required: !0,
212
+ onChange: (o) => b(o.target.value)
213
+ }
214
+ ) }),
215
+ /* @__PURE__ */ e(
216
+ c,
217
+ {
218
+ sx: { mt: 4 },
219
+ onClick: w,
220
+ className: "wallet-btn",
221
+ variant: "contained",
222
+ fullWidth: !0,
223
+ children: /* @__PURE__ */ e("strong", { children: "Stake" })
224
+ }
225
+ )
226
+ ] })
227
+ ] }) })
228
+ ] })
229
+ ] });
230
+ };
231
+ export {
232
+ ee as default
233
+ };
@@ -0,0 +1,5 @@
1
+ interface StakeProps {
2
+ router: any;
3
+ }
4
+ declare const _default: import('react').FC<StakeProps & import('../../hoc/withThemeProvider').WithThemeProviderProps>;
5
+ export default _default;