= {
new: "New token",
custom: "Custom",
deprecating: "Deprecating",
+ unrated: "Unrated",
}
const normalizeRiskKey = (riskTier?: string | null) => riskTier?.toLowerCase().replace(/\s+/g, "") ?? ""
@@ -282,9 +283,14 @@ const RiskCell = ({
}) => {
const [tooltipPos, setTooltipPos] = useState
- —
-
- )
- }
-
const showTooltip = (event: Event) => {
setTooltipPos(getRiskTooltipPosition(event.currentTarget as HTMLElement))
}
diff --git a/src/features/feeds/content/marketPricingRiskTerms.ts b/src/features/feeds/content/marketPricingRiskTerms.ts
index 736c2ecf390..8f2bec132e4 100644
--- a/src/features/feeds/content/marketPricingRiskTerms.ts
+++ b/src/features/feeds/content/marketPricingRiskTerms.ts
@@ -7,6 +7,7 @@ export type MarketPricingRiskTerms = {
categoriesHeading: string
categoriesIntro: string
categoriesListIntro: string
+ categoriesUnratedNote: string
sectionIntro: string
newTokenListLabel: string
customListLabel: string
@@ -27,6 +28,8 @@ const FEEDS_TERMS: MarketPricingRiskTerms = {
"This categorization is put in place to inform users about the intended use cases of feeds and help highlight some of the inherent market integrity risks surrounding the data quality of these feeds.",
categoriesListIntro:
"Data feeds are grouped into the following categories based on the level of market pricing risk, based on multiple factors, from lowest to highest:",
+ categoriesUnratedNote:
+ "If a feed does not display one of these categories, it has not yet been evaluated for market pricing risk. Treat it as unevaluated and use it at your own risk.",
sectionIntro:
"These subsections describe standard market price feeds at each pricing risk level and correspond to the [category list](#data-feed-categories) above.",
newTokenListLabel: "New Token Feeds",
@@ -48,6 +51,8 @@ const STREAMS_TERMS: MarketPricingRiskTerms = {
"This categorization is put in place to inform users about the intended use cases of streams and help highlight some of the inherent market integrity risks surrounding the data quality of these streams.",
categoriesListIntro:
"Data streams are grouped into the following categories based on the level of market pricing risk, based on multiple factors, from lowest to highest:",
+ categoriesUnratedNote:
+ "If a stream does not display one of these categories, it has not yet been evaluated for market pricing risk. Treat it as unevaluated and use it at your own risk.",
sectionIntro:
"These subsections describe standard market price streams at each pricing risk level and correspond to the [category list](#data-stream-categories) above.",
newTokenListLabel: "New Token Streams",
diff --git a/src/features/feeds/content/marketPricingRiskTiers.ts b/src/features/feeds/content/marketPricingRiskTiers.ts
index 59751e22f1a..456956edeb5 100644
--- a/src/features/feeds/content/marketPricingRiskTiers.ts
+++ b/src/features/feeds/content/marketPricingRiskTiers.ts
@@ -124,6 +124,15 @@ export function getMarketPricingRiskTiers(terms: MarketPricingRiskTerms): Market
],
closingParagraphs: [],
},
+ {
+ id: "-unrated",
+ icon: "⚪",
+ title: "Unrated",
+ leadParagraphs: [
+ `These ${terms.productPlural} have not yet been evaluated for market pricing risk. Treat them as unevaluated and use them at your own risk.`,
+ ],
+ closingParagraphs: [],
+ },
]
}
@@ -140,5 +149,6 @@ export function getCategoryListItems(terms: MarketPricingRiskTerms) {
{ icon: "🆕", label: terms.newTokenListLabel, href: tierAnchor("new-token", terms) },
{ icon: "🔵", label: terms.customListLabel, href: tierAnchor("custom", terms) },
{ icon: "â•", label: "Deprecating", href: "#-deprecating" },
+ { icon: "⚪", label: "Unrated", href: "#-unrated" },
]
}