Skip to main content
The AssetInfoCard component displays detailed information about a collateral asset in the Compound III protocol, including collateral factors, supply caps, and other important parameters.

Usage

Props

Example

Displayed Information

The component displays the following information about the asset:
  • Asset address
  • Price feed address
  • Borrow collateral factor
  • Liquidate collateral factor
  • Liquidation factor
  • Supply cap

Loading and Error States

The component handles loading and error states automatically:
  • While data is being fetched, a loading indicator is displayed
  • If an error occurs during data fetching, an error message is displayed
  • If no asset information is available, a message is displayed

Customization

You can customize the appearance of the component using the className prop: