|
| 1 | +Copyright © 2021 DFINITY Foundation |
| 2 | + |
| 3 | +Each file in this directory is licensed under the license as |
| 4 | +described in the LICENSE file in the same directory that contains the |
| 5 | +file or, if that doesn't exist, the first LICENSE file in any |
| 6 | +higher-level directory. |
| 7 | + |
| 8 | +Unless stated otherwise as described above, all files in and under |
| 9 | +this directory are licensed under the Internet Computer Shared |
| 10 | +Community Source License, Version 1.0, (the "License"); you may not |
| 11 | +use these files except in compliance with the License. |
| 12 | + |
| 13 | +A copy of the license can be found in this repository at |
| 14 | +/licenses/IC-shared-1.0.txt or downloaded from: |
| 15 | + |
| 16 | + http://dfinity.org/licenses/IC-shared-1.0 |
| 17 | + |
| 18 | +The license is also copied below: |
| 19 | + |
| 20 | + |
| 21 | +INTERNET COMPUTER SHARED COMMUNITY SOURCE LICENSE VERSION 1.0 |
| 22 | + |
| 23 | +License text copyright © 2021 DFINITY Foundation, All Rights Reserved. “Internet |
| 24 | +Computer Shared Community Source License” is a trademark of the DFINITY |
| 25 | +Foundation. |
| 26 | + |
| 27 | +TERMS AND CONDITIONS |
| 28 | + |
| 29 | +If you use this code (the “software”), you accept this license. If you do not |
| 30 | +accept the license, do not use the software. |
| 31 | + |
| 32 | +1. Definitions |
| 33 | + |
| 34 | + The terms “reproduce,” “reproduction,” “derivative works,” and “distribution” |
| 35 | + have the same meaning here as under U.S. copyright law. |
| 36 | + |
| 37 | + A “contribution” is the original software, or any additions or changes to the |
| 38 | + software. |
| 39 | + |
| 40 | + A “contributor” is any person that distributes its contribution under this |
| 41 | + license. |
| 42 | + |
| 43 | + “Ethereum” is an open-source, blockchain-based, decentralized software |
| 44 | + platform. |
| 45 | + |
| 46 | + "Foundation" shall mean DFINITY Stiftung. |
| 47 | + |
| 48 | + “Internet Computer” is the decentralized compute platform originated by the |
| 49 | + DFINITY Foundation and stewarded by the Internet Computer Association. |
| 50 | + |
| 51 | +2. Grant of Rights |
| 52 | + |
| 53 | + (A) Copyright Grant - Subject to the terms of this license, including the |
| 54 | + license conditions and limitations in Section 3, each contributor grants you |
| 55 | + a non-exclusive, worldwide, royalty-free copyright license to reproduce its |
| 56 | + contribution, prepare derivative works of its contribution, and distribute |
| 57 | + its contribution or any derivative works that you create. |
| 58 | + |
| 59 | + (B) Patent Grant - Subject to the terms of this license, including the |
| 60 | + license conditions and limitations in Section 3, each contributor grants you |
| 61 | + a non-exclusive, worldwide, royalty-free license under its licensed patents |
| 62 | + to make, have made, use, sell, offer for sale, import, and/or otherwise |
| 63 | + dispose of its contribution in the software or derivative works of the |
| 64 | + contribution in the software. |
| 65 | + |
| 66 | +3. Conditions and Limitations |
| 67 | + |
| 68 | + (A) Platform Limitation - The licenses granted in sections 2(A) and 2(B) |
| 69 | + extend only to the software or derivative works that you create that run |
| 70 | + directly on the Internet Computer platform or the Ethereum network. |
| 71 | + |
| 72 | + (B) This license does not grant you rights to use any contributors’ name, |
| 73 | + logo, or trademarks. |
| 74 | + |
| 75 | + (C) If you distribute any portion of the software, you must retain all |
| 76 | + copyright, patent, trademark, and attribution notices that are present in the |
| 77 | + software. |
| 78 | + |
| 79 | + (D) If you distribute any portion of the software in source code form, you |
| 80 | + may do so only under this license by including a complete copy of this |
| 81 | + license with your distribution. If you distribute any portion of the software |
| 82 | + in compiled or object code form, you may only do so under a license that |
| 83 | + complies with this license. |
| 84 | + |
| 85 | + (E) If you have modified the Software or created derivative works, and |
| 86 | + distribute such modifications or derivative works, you will cause the |
| 87 | + modified files to carry prominent notices so that recipients know that they |
| 88 | + are not receiving the original software. Such notices must state: (i) that |
| 89 | + you have changed the software; and (ii) the date of any changes. |
| 90 | + |
| 91 | + (F) THE SOFTWARE COMES "AS IS", WITH NO WARRANTIES. THIS MEANS THE |
| 92 | + CONTRIBUTORS GIVE NO EXPRESS, IMPLIED OR STATUTORY WARRANTY, INCLUDING |
| 93 | + WITHOUT LIMITATION, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR |
| 94 | + PURPOSE OR ANY WARRANTY OF TITLE OR NON-INFRINGEMENT. ALSO, YOU MUST PASS |
| 95 | + THIS DISCLAIMER ON WHENEVER YOU DISTRIBUTE THE SOFTWARE OR DERIVATIVE WORKS. |
| 96 | + |
| 97 | + (G) DFINITY WILL NOT BE LIABLE FOR ANY DAMAGES RELATED TO THE SOFTWARE OR |
| 98 | + THIS LICENSE, INCLUDING DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL OR |
| 99 | + INCIDENTAL DAMAGES, TO THE MAXIMUM EXTENT THE LAW PERMITS, NO MATTER WHAT |
| 100 | + LEGAL THEORY IT IS BASED ON (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR |
| 101 | + DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR |
| 102 | + A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF YOU OR |
| 103 | + OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. ALSO, YOU |
| 104 | + MUST PASS THIS LIMITATION OF LIABILITY ON WHENEVER YOU DISTRIBUTE THE |
| 105 | + SOFTWARE OR DERIVATIVE WORKS. |
| 106 | + |
| 107 | + (H) If you bring a patent claim against any contributor over patents that you |
| 108 | + claim are infringed by the software or a claim against anyone for their use |
| 109 | + of the software, your license the software automatically terminates. |
| 110 | + |
| 111 | + (I) Your rights under this license automatically terminates if you breach it |
| 112 | + in any way. |
| 113 | + |
| 114 | + (J) Each contributor grants to the Foundation the right to distribute the |
| 115 | + contribution of the contributor under a license which is more permissive than |
| 116 | + this license. A more permissive license shall be, in particular, a license |
| 117 | + with less restrictions on how the contribution can be reproduced, modified |
| 118 | + and distributed than this license. A more permissive license may be in |
| 119 | + particular understood as a license that sets asides the platform limitation |
| 120 | + in section 3 (A) of this license. A more permissive license shall include in |
| 121 | + particular the Apache License Version 2.0 (or future versions thereof) and |
| 122 | + the MIT License. The decision on such a distribution under a more permissive |
| 123 | + license is at the sole discretion of the Foundation. |
| 124 | + |
| 125 | + (K) The Foundation reserves all rights not expressly granted to you in this |
| 126 | + license. |
| 127 | + |
| 128 | +END OF TERMS AND CONDITIONS |
0 commit comments