> ## Documentation Index
> Fetch the complete documentation index at: https://docs.celo.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Stability Mechanism

export const ColoredText = ({color = "#329F3B", darkColor = "#fcff52", children}) => {
  const isTWLight = typeof color === "string" && color.startsWith("text-");
  const isTWDark = typeof darkColor === "string" && darkColor.startsWith("text-");
  const Wrap = ({useColor, kids}) => typeof kids === "string" ? kids : <span style={{
    color: `${useColor} !important`
  }} className="!text-inherit">
        {kids}
      </span>;
  return <>
      {}
      <span className={`colored_text font-bold dark:hidden ${isTWLight ? `!${color}` : ""}`} style={!isTWLight ? {
    color,
    fontWeight: "bold"
  } : {
    fontWeight: "bold"
  }}>
        <Wrap useColor={isTWLight ? undefined : color} kids={children} />
      </span>

      {}
      <span className={`colored_text font-bold hidden dark:inline ${isTWDark ? `!${darkColor}` : ""}`} style={!isTWDark ? {
    color: darkColor,
    fontWeight: "bold"
  } : {
    fontWeight: "bold"
  }}>
        <Wrap useColor={isTWDark ? undefined : darkColor} kids={children} />
      </span>
    </>;
};

export const YouTube = ({videoId}) => {
  return <div className="relative w-full flex justify-center">
      <iframe src={`https://www.youtube.com/embed/${videoId}`} title="YouTube video player" className="w-full h-[65vh] max-h-[440px] rounded-lg shadow-lg" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowFullScreen />
    </div>;
};

<Note>
  Find updated information on Celo's Stability Protocol at [mento.org](https://mento.org).
</Note>

Overview of the Celo protocol's Stability Mechanisms.

<Warning>
  As of block height 31,056,500 (March 26, 2025, 3:00 AM UTC), Celo is no longer a standalone Layer 1 blockchain—it is now an Ethereum Layer 2!
  Some documentation may be outdated as updates are in progress. If you encounter issues, please [file a bug report](https://github.com/celo-org/docs/issues/new/choose).

  For the most up-to-date information, refer to our [Celo L2 documentation](/build#celo-l2-mainnet).
</Warning>

***

## Stability of Mento Stablecoin Protocol

<YouTube videoId="kYhDUmKuGCY" />

The Celo protocol's stability mechanism comprises the following:

* [Stability Algorithm (Mento)](/legacy/protocol/stability/doto)
* [Granda Mento](/legacy/protocol/stability/granda-mento)
* [Oracles](/legacy/protocol/stability/oracles)
* [Stability Fees](/legacy/protocol/stability/stability-fees)
* [Adding Stable Tokens](/legacy/protocol/stability/adding-stable-assets)
