import { Button } from "@pythnetwork/component-library/Button";
import { useMemo } from "react";
import { Explain } from "../Explain";
import { FormattedDate } from "../FormattedDate";
export const ExplainAverage = ({
scoreTime,
}: {
scoreTime?: Date | undefined;
}) => {
return (
Each Price Feed Component that a Publisher provides has an
associated Score, which is determined by that component{"'"}s{" "}
Uptime, Price Deviation, and Staleness. The{" "}
Average Feed Score is the average of the scores for all{" "}
Price Feed Components.
This value is calculated based on feed performance from{" "}
This is the number of feeds which the publisher is permissioned for, where the publisher{"'"}s feed has 50% or better uptime over the last day.
This is the number of feeds which the publisher is permissioned for, but for which the publisher{"'"}s feed has less than 50% uptime over the last day.
Note that a publisher{"'"}s feed may not be considered either active or inactive if Pyth has not yet calculated quality rankings for it.
);