/ common / components / DisclaimerModal.tsx
DisclaimerModal.tsx
 1  import React from 'react';
 2  
 3  import { HELP_ARTICLE } from 'config';
 4  import translate from 'translations';
 5  import { HelpLink } from 'components/ui';
 6  import Modal, { IButton } from 'components/ui/Modal';
 7  import './DisclaimerModal.scss';
 8  
 9  interface Props {
10    isOpen: boolean;
11    handleClose(): void;
12  }
13  
14  const DisclaimerModal: React.SFC<Props> = ({ isOpen, handleClose }) => {
15    const buttons: IButton[] = [
16      { text: translate('ACTION_10'), type: 'default', onClick: handleClose }
17    ];
18    return (
19      <Modal isOpen={isOpen} title="Disclaimer" buttons={buttons} handleClose={handleClose}>
20        <p>
21          <b>Be safe & secure: </b>
22          <HelpLink article={HELP_ARTICLE.SECURING_YOUR_ETH}>
23            We highly recommend that you read our guide on How to Prevent Loss & Theft for some
24            recommendations on how to be proactive about your security.
25          </HelpLink>
26        </p>
27        <p>
28          <b>Always backup your keys: </b>
29          MyCrypto.com & MyCrypto CX are not "web wallets". You do not create an account or give us
30          your funds to hold onto. No data leaves your computer / your browser. We make it easy for
31          you to create, save, and access your information and interact with the blockchain.
32        </p>
33        <p>
34          <b>We are not responsible for any loss: </b>
35          Ethereum, MyCrypto.com & MyCrypto CX, and some of the underlying Javascript libraries we use
36          are under active development. While we have thoroughly tested & tens of thousands of wallets
37          have been successfully created by people all over the globe, there is always the possibility
38          something unexpected happens that causes your funds to be lost. Please do not invest more
39          than you are willing to lose, and please be careful.
40        </p>
41        <p>
42          <b>Translations of MyCrypto: </b>
43          The community has done an amazing job translating MyCrypto into a variety of languages.
44          However, MyCrypto can only verify the validity and accuracy of the information provided in
45          English and, because of this, the English version of our website is the official text.
46        </p>
47        <p>
48          <b>MIT License</b>
49          <br />
50          Copyright (c) 2015-2017 MyEtherWallet LLC
51          <br />
52          Copyright (c) 2018 MyCrypto, Inc.
53        </p>
54        <p>
55          Permission is hereby granted, free of charge, to any person obtaining a copy of this
56          software and associated documentation files (the "Software"), to deal in the Software
57          without restriction, including without limitation the rights to use, copy, modify, merge,
58          publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons
59          to whom the Software is furnished to do so, subject to the following conditions:
60        </p>
61        <p>
62          The above copyright notice and this permission notice shall be included in all copies or
63          substantial portions of the Software.
64        </p>
65        <b>
66          THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
67          INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
68          PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
69          FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
70          OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
71          DEALINGS IN THE SOFTWARE.
72        </b>
73      </Modal>
74    );
75  };
76  
77  export default DisclaimerModal;