import { capitalizationSeries } from "../capitalization.js";
import { units } from "../../../chart/units.js";
import { marketCapSection } from "./capitalization/market.js";
import { realizedCapSection } from "./capitalization/realized.js";

export const capitalizationSection = {
  title: "Capitalization",
  description:
    "Shows ways to value Bitcoin in US dollars. Market cap uses today's price, while realized cap uses the price when coins last moved on-chain.",
  chart: {
    title: "Capitalization",
    unit: units.usd,
    defaultType: /** @type {const} */ ("line"),
    series: capitalizationSeries,
  },
  children: [
    marketCapSection,
    realizedCapSection,
  ],
};
