Skip to content

Commit a7bbfda

Browse files
authored
Merge pull request #12229 from gabrieltemtsen/gabe-dev
added disclaimer (for Algorithimic stablecoins) to stablecoin page
2 parents 19f663c + 9b062bc commit a7bbfda

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

src/intl/en/page-stablecoins.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
"page-stablecoins-algorithmic-con-1": "You need to trust (or be able to read) the algorithm.",
5757
"page-stablecoins-algorithmic-con-2": "Your balance of coins will change based on total supply.",
5858
"page-stablecoins-algorithmic-description": "These stablecoins aren't backed by any other asset. Instead an algorithm will sell tokens if the price falls below the desired value and supply tokens if the value goes beyond the desired amount. Because the number of these tokens in circulation changes regularly, the number of tokens you own will change, but will always reflect your share.",
59+
"page-stablecoins-algorithmic-disclaimer": "Algorithmic stablecoins are experimental technology. You should be aware of the risks before using them.",
5960
"page-stablecoins-algorithmic-pro-1": "No collateral needed.",
6061
"page-stablecoins-algorithmic-pro-2": "Controlled by a public algorithm.",
6162
"page-stablecoins-bank-apy": "0.05%",

src/pages/stablecoins.tsx

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,7 @@ const StablecoinsPage = ({ markets, marketsHasError }) => {
291291
{
292292
title: t("page-stablecoins-algorithmic"),
293293
description: t("page-stablecoins-algorithmic-description"),
294+
disclaimer: t("page-stablecoins-algorithmic-disclaimer"),
294295
emoji: ":chart_with_downwards_trend:",
295296
pros: [
296297
t("page-stablecoins-algorithmic-pro-1"),
@@ -599,6 +600,9 @@ const StablecoinsPage = ({ markets, marketsHasError }) => {
599600
<Icon ms={2} fill="'text" name="info" boxSize={4} />
600601
</Tooltip>
601602
</H3>
603+
<InfoBanner emoji="⚠️" isWarning>
604+
{t("page-stablecoins-algorithmic-disclaimer")}
605+
</InfoBanner>
602606
<Text>
603607
{t("page-stablecoins-top-coins-intro")}{" "}
604608
{t("page-stablecoins-top-coins-intro-code")}
@@ -712,16 +716,16 @@ const StablecoinsPage = ({ markets, marketsHasError }) => {
712716
/>
713717
))}
714718
</Grid>
715-
<InfoBanner isWarning shouldCenter>
716-
<H3 mt={0} mb={4}>
717-
{t("page-stablecoins-research-warning-title")}
718-
</H3>
719-
{t("page-stablecoins-research-warning")}
720-
</InfoBanner>
721719
</Content>
722720
<Divider />
723721
<Content id="how">
724722
<H2 mt={0}>{t("page-stablecoins-types-of-stablecoin")}</H2>
723+
<InfoBanner emoji="⚠️" isWarning>
724+
<H3 mt={0} mb={4}>
725+
{t("page-stablecoins-research-warning-title")}
726+
</H3>
727+
{t("page-stablecoins-algorithmic-disclaimer")}
728+
</InfoBanner>
725729
<StablecoinBoxGrid items={features} />
726730
</Content>
727731
<Box id="tools" py={12} px={8} w="full">

0 commit comments

Comments
 (0)