Skip to content

Commit 185900a

Browse files
authored
Merge pull request #2122 from cprussin/update-tos
chore(staking): update TOS
2 parents fb09981 + cb97990 commit 185900a

File tree

2 files changed

+53
-91
lines changed

2 files changed

+53
-91
lines changed

apps/staking/src/components/Header/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ export const Header = ({
2828
>
2929
<Logo className="hidden h-full lg:block" />
3030
<Logomark className="h-full lg:hidden" />
31+
<span className="sr-only">Pyth Staking</span>
3132
</Link>
3233
<Stats className="hidden gap-4 sm:flex lg:gap-6" />
3334
</div>

apps/staking/src/components/TermsOfService/index.tsx

Lines changed: 52 additions & 91 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import clsx from "clsx";
2-
import type { ReactNode, HTMLProps, ComponentProps } from "react";
2+
import type { ReactNode, ComponentProps } from "react";
33

44
import { Link as BaseLink } from "../Link";
55

66
export const TermsOfService = () => (
77
<main className="mx-auto flex max-w-prose flex-col gap-10 py-6 md:gap-16 md:py-20">
88
<div>
99
<h1 className="text-3xl font-light md:text-4xl">Terms of Service</h1>
10-
<h2 className="text-sm opacity-60">Last updated: September 2024</h2>
10+
<h2 className="text-sm opacity-60">Last updated: November 2024</h2>
1111
</div>
1212
<dl className="flex list-inside list-[upper-alpha] flex-col gap-10 md:gap-16">
1313
<Section title="Scope">
@@ -110,15 +110,15 @@ export const TermsOfService = () => (
110110
usefulness of information on the Site;
111111
</li>
112112
<li>
113-
agree that the ability of the Site to connect your third-party
113+
agree that the ability of the Services to connect your third-party
114114
digital wallet holding digital assets to smart contract systems
115115
offered by third parties that communicate with the Services is not
116116
an endorsement or recommendation thereof by or on behalf of the
117117
Association, and you must assume all responsibility for selecting
118118
and evaluating and incurring the risks of any bugs, defects,
119119
malfunctions or interruptions of any third-party smart contract
120120
systems you directly or indirectly use or connect to in connection
121-
with the Site;
121+
with the Services;
122122
</li>
123123
<li>comply with all applicable laws, rules and regulations;</li>
124124
<li>
@@ -218,7 +218,7 @@ export const TermsOfService = () => (
218218
and
219219
</li>
220220
<li>
221-
ensure that anyone who access or uses the Services through your
221+
ensure that anyone who accesses or uses the Services through your
222222
internet connection is aware of and complies with these Terms.
223223
</li>
224224
</UnorderedList>
@@ -257,7 +257,7 @@ export const TermsOfService = () => (
257257
SERVICES ARE NOT DEVELOPED FOR, AND ARE NOT AVAILABLE TO PERSONS OR
258258
ENTITIES WHO RESIDE IN, ARE LOCATED IN, ARE INCORPORATED IN, OR HAVE A
259259
REGISTERED OFFICE OR PRINCIPAL PLACE OF BUSINESS IN THE UNITED STATES
260-
OF AMERICA, OR THE UNITED KINGDOM, OR CANADA (COLLECTIVELY, “
260+
OF AMERICA OR OR THE UNITED KINGDOM (COLLECTIVELY, “{" "}
261261
<strong>BLOCKED PERSONS</strong>”). MOREOVER, THE SERVICES ARE NOT
262262
OFFERED TO PERSONS OR ENTITIES WHO RESIDE IN, ARE CITIZENS OF, ARE
263263
LOCATED IN, ARE INCORPORATED IN, OR HAVE A REGISTERED OFFICE OR
@@ -268,8 +268,8 @@ export const TermsOfService = () => (
268268
(BURMA), DONETSK AND LUHANSK REGIONS, OR ANY OTHER COUNTRY TO WHICH
269269
THE UNITED STATES, THE UNITED KINGDOM, THE EUROPEAN UNION, SWITZERLAND
270270
OR ANY OTHER JURISDICTIONS EMBARGOES GOODS OR IMPOSES SIMILAR
271-
SANCTIONS, INCLUDING THOSE LISTED ON OUR SERVICES (COLLECTIVELY, THE “
272-
<strong>RESTRICTED JURISDICTIONS</strong>” AND EACH A “
271+
SANCTIONS, INCLUDING THOSE LISTED ON OUR SERVICES (COLLECTIVELY, THE “{" "}
272+
<strong>RESTRICTED JURISDICTIONS</strong>” AND EACH A “{" "}
273273
<strong>RESTRICTED JURISDICTION</strong>”) OR ANY PERSON OWNED,
274274
CONTROLLED, LOCATED IN OR ORGANIZED UNDER THE LAWS OF ANY JURISDICTION
275275
UNDER EMBARGO OR CONNECTED OR AFFILIATED WITH ANY SUCH PERSON
@@ -294,12 +294,16 @@ export const TermsOfService = () => (
294294
digital assets or funds.
295295
</Paragraph>
296296
<Paragraph>
297-
The Services allow you to participate in different non-custodial
298-
staking mechanisms on Pyth Network (“<strong>Pyth Staking</strong>”),
299-
an open-source oracle network (“<strong>Pyth Network</strong>”)
300-
governed by the Pyth DAO that provides financial market data to
301-
blockchain-based applications powered by a blockchain protocol (“
302-
<strong>Pyth Protocol</strong>”). PLEASE NOTE THAT THE PYTH DAO IS AN
297+
The Services constitute a website-hosted user interface (“
298+
<strong>Interface</strong>”). The Interface is an open-sourced
299+
frontend software portal which allows you to participate in different
300+
non-custodial staking mechanisms on Pyth Network (“
301+
<strong>Pyth Staking</strong>”), an open-source oracle network (“
302+
<strong>Pyth Network</strong>”) governed by the Pyth DAO that provides
303+
financial market data to blockchain-based applications powered by a
304+
blockchain protocol (“<strong>Pyth Protocol</strong>”). All
305+
transactions conducted on the Pyth Protocol are run by related
306+
permissionless smart contracts. PLEASE NOTE THAT THE PYTH DAO IS AN
303307
INDEPENDENT THIRD-PARTY ENTITY, NOT CONTROLLED BY, NOR UNDER THE
304308
CONTROL OF THE ASSOCIATION.
305309
</Paragraph>
@@ -318,8 +322,7 @@ export const TermsOfService = () => (
318322
NETWORK AND CANNOT CONTROL ANY ACTIVITY ON PYTH NETWORK, INCLUDING
319323
PYTH STAKING, THE ACTIVITIES OF PERSONS WHO DEVELOP AND USE
320324
APPLICATIONS ON PYTH NETWORK, THE PRODUCTION OF DATA ON PYTH NETWORK,
321-
OR USE OF PYTH NETWORK. PYTH NETWORK IS AN OPEN-SOURCE PROTOCOL THAT
322-
IS GOVERNED BY THE PYTH DAO.
325+
OR USE OF PYTH NETWORK.
323326
</Paragraph>
324327
<Paragraph>
325328
We are not responsible for the keys to any digital assets or your seed
@@ -574,74 +577,40 @@ export const TermsOfService = () => (
574577
</Section>
575578
<Section title="Intellectual Property and Trademarks">
576579
<Paragraph>
577-
The Services and their entire contents, features, and functionality
578-
(including but not limited to all information, software, text,
579-
displays, images, video, and audio, and the design, selection, and
580-
arrangement thereof), other than third-party content, are owned by the
581-
Association, its licensors, or other providers of such material and
582-
are protected by copyright, trademark, patent, trade secret, and other
583-
intellectual property or proprietary rights laws.
580+
Each User, subject to and conditioned upon such User’s eligibility
581+
under and acceptance of and adherence to these Terms, is hereby
582+
granted a personal, revocable, non-exclusive, non-transferable,
583+
non-sub-licensable license to view and access the Site and use the
584+
Services in accordance with these Terms.
584585
</Paragraph>
585586
<Paragraph>
586-
Accessing or using the Services does not grant you any license or
587-
rights to use the intellectual property or trademarks of the
588-
Association, its licensors, its partners, or any third party, except
589-
as expressly permitted by these Terms. Any unauthorized use of such
590-
intellectual property may result in legal action.
591-
</Paragraph>
592-
<div>
593-
<Paragraph>
594-
You must not reproduce, distribute, modify, create derivative works
595-
of, publicly display, publicly perform, republish, download, store,
596-
or transmit any of the material on our Services, except as follows:
597-
</Paragraph>
598-
<UnorderedList>
599-
<li>
600-
your computer may temporarily store copies of such materials in
601-
RAM incidental to your accessing and viewing those materials;
602-
</li>
603-
<li>
604-
you may store files that are automatically cached by your web
605-
browser for display enhancement purposes; and/or
606-
</li>
607-
<li>
608-
you may print or download one copy of a reasonable number of pages
609-
of the Site for your own use and not for further reproduction,
610-
publication, or distribution.
611-
</li>
612-
</UnorderedList>
613-
</div>
614-
<div>
615-
<Paragraph>You must not:</Paragraph>
616-
<UnorderedList>
617-
<li>modify copies of any materials from the Services;</li>
618-
<li>
619-
use any illustrations, photographs, video or audio sequences, or
620-
any graphics separately from the accompanying text; and/or
621-
</li>
622-
<li>
623-
delete or alter any copyright, trademark, or other proprietary
624-
rights notices from copies of materials from the Services.
625-
</li>
626-
</UnorderedList>
627-
</div>
628-
<Paragraph>
629-
If you print, copy, modify, download, or otherwise use or provide any
630-
other person with access to any part of the Services in breach of the
631-
Terms, your right to access and/or use the Services will stop
632-
immediately and you must, at our option, return or destroy any copies
633-
of the materials you have made. No right, title, or interest in or to
634-
the Services or any content on the Services is transferred to you, and
635-
all rights not expressly granted are reserved by the Association. Any
636-
use of the Services not expressly permitted by these Terms is a breach
637-
of these Terms and may violate copyright, trademark, and other laws.
587+
The software code and text used in the Site, except certain
588+
proprietary third-party fonts, are irrevocably and perpetually granted
589+
to the general public by the Association pursuant to the terms and
590+
conditions of the Apache 2.0 open source license (such license, the “
591+
<strong>Open Source License</strong>”) and are available in the
592+
repository at{" "}
593+
<Link
594+
href="https://github.com/pyth-network/pyth-crosschain/tree/main/apps/staking"
595+
target="_blank"
596+
>
597+
https://github.com/pyth-network/pyth-crosschain/tree/main/apps/staking
598+
</Link>
599+
.
638600
</Paragraph>
639601
<Paragraph>
640602
The Association’s name, and all trademarks, logos, taglines, service
641-
names, designs, and slogans on the Services are trademarks of the
603+
names, designs, and slogans on the Site are trademarks of the
642604
Association or its affiliates or licensors. You must not use such
643605
marks without our prior written permission.
644606
</Paragraph>
607+
<Paragraph>
608+
Viewing and accessing the Site or using the Services does not grant
609+
you any license or rights to use trademarks of the Association, its
610+
licensors, its partners, or any third party, except as expressly
611+
permitted by these Terms. Any unauthorized use of such trademarks may
612+
result in legal action.
613+
</Paragraph>
645614
</Section>
646615
<Section title="Taxes and Fraud">
647616
<Paragraph>
@@ -705,7 +674,7 @@ export const TermsOfService = () => (
705674
<li>
706675
the disclosure is made to your and/or our professional advisers on
707676
a need-to-know basis and on terms that such professional advisers
708-
undertake to comply with this section L. in respect of such
677+
undertake to comply with this section N. in respect of such
709678
information as if they were a party to these Terms;
710679
</li>
711680
<li>
@@ -1141,7 +1110,7 @@ export const TermsOfService = () => (
11411110
related to these Terms shall be subject to the exclusive jurisdiction
11421111
of the Courts of Zug, ZG, Switzerland, subject to an appeal at the
11431112
Swiss Federal Court. However, we retain the right to bring any suit,
1144-
action, or proceeding against you for breach of this Policy in your
1113+
action, or proceeding against you for breach of these Terms in your
11451114
country of residence or any other relevant country. You waive any
11461115
objections to the exercise of jurisdiction over you by such courts and
11471116
to venue in such courts.
@@ -1163,32 +1132,24 @@ export const TermsOfService = () => (
11631132
</main>
11641133
);
11651134

1166-
type SectionProps = HTMLProps<HTMLElement> & {
1135+
type SectionProps = ComponentProps<"div"> & {
11671136
title: ReactNode;
11681137
children: ReactNode | ReactNode[];
11691138
};
11701139

11711140
const Section = ({ title, children, className, ...props }: SectionProps) => (
1172-
<section
1141+
<div
11731142
className={clsx("list-item marker:text-xl marker:font-bold", className)}
11741143
{...props}
11751144
>
11761145
<dd className="ml-2 inline text-xl font-bold">{title}</dd>
11771146
<dt className="mt-4 flex flex-col gap-4">{children}</dt>
1178-
</section>
1147+
</div>
11791148
);
11801149

1181-
const Paragraph = ({
1182-
className,
1183-
...props
1184-
}: HTMLProps<HTMLParagraphElement>) => (
1185-
<p className={clsx("", className)} {...props} />
1186-
);
1150+
const Paragraph = (props: ComponentProps<"p">) => <p {...props} />;
11871151

1188-
const UnorderedList = ({
1189-
className,
1190-
...props
1191-
}: HTMLProps<HTMLUListElement>) => (
1152+
const UnorderedList = ({ className, ...props }: ComponentProps<"ul">) => (
11921153
<ul className={clsx("ml-10 list-disc", className)} {...props} />
11931154
);
11941155

0 commit comments

Comments
 (0)