+
+ This is the number of Price Feeds that a Publisher has
+ permissions to publish to. The publisher is not necessarily push data
+ for all the feeds they have access to, and some feeds may not be live
+ yet.
+
+ {scoreTime && }
+
+ );
+};
+
export const ExplainAverage = ({
scoreTime,
}: {
diff --git a/apps/insights/src/components/Publishers/index.tsx b/apps/insights/src/components/Publishers/index.tsx
index cd650359f1..f08c69ff86 100644
--- a/apps/insights/src/components/Publishers/index.tsx
+++ b/apps/insights/src/components/Publishers/index.tsx
@@ -147,6 +147,7 @@ export const Publishers = async () => {
const toTableRow = ({
key,
rank,
+ permissionedFeeds,
inactiveFeeds,
activeFeeds,
averageScore,
@@ -155,8 +156,9 @@ const toTableRow = ({
return {
id: key,
ranking: rank,
- activeFeeds: activeFeeds,
- inactiveFeeds: inactiveFeeds,
+ permissionedFeeds,
+ activeFeeds,
+ inactiveFeeds,
averageScore,
...(knownPublisher && {
name: knownPublisher.name,
diff --git a/apps/insights/src/components/Publishers/publishers-card.tsx b/apps/insights/src/components/Publishers/publishers-card.tsx
index 56918ac736..33f3a1f2b3 100644
--- a/apps/insights/src/components/Publishers/publishers-card.tsx
+++ b/apps/insights/src/components/Publishers/publishers-card.tsx
@@ -24,7 +24,11 @@ import styles from "./publishers-card.module.scss";
import { useQueryParamFilterPagination } from "../../hooks/use-query-param-filter-pagination";
import { CLUSTER_NAMES } from "../../services/pyth";
import { EntityList } from "../EntityList";
-import { ExplainActive, ExplainInactive } from "../Explanations";
+import {
+ ExplainPermissioned,
+ ExplainActive,
+ ExplainInactive,
+} from "../Explanations";
import { NoResults } from "../NoResults";
import { PublisherTag } from "../PublisherTag";
import { Ranking } from "../Ranking";
@@ -43,6 +47,7 @@ type Props = {
type Publisher = {
id: string;
ranking: number;
+ permissionedFeeds: number;
activeFeeds: number;
inactiveFeeds: number;
averageScore: number;
@@ -99,6 +104,7 @@ const ResolvedPublishersCard = ({
(a, b, { column, direction }) => {
switch (column) {
case "ranking":
+ case "permissionedFeeds":
case "activeFeeds":
case "inactiveFeeds":
case "averageScore": {
@@ -131,6 +137,7 @@ const ResolvedPublishersCard = ({
id,
ranking,
averageScore,
+ permissionedFeeds,
activeFeeds,
inactiveFeeds,
...publisher
@@ -149,6 +156,7 @@ const ResolvedPublishersCard = ({
})}
/>
),
+ permissionedFeeds,
activeFeeds: (