Compound V3 Protocol

    Description

    Compound V3 is the third version of the Compound protocol. New version represents a significant shift in the DeFi landscape by introducing a unified borrowing market model. In this model, the base asset can be borrowed against other assets.

    Currently, there are two markets: the USDC market and the ETH market. In the USDC market, users can supply WBTC, WETH, COMP, UNI, and LINK to borrow USDC. In the ETH market, users can supply wstETH and cbETH to borrow WETH.

    This transformation carries several advantages. First, it enhances security for users across all assets within the Compound ecosystem. Second, it allows for increased collateral ratios, providing more flexibility for borrowers. This also decreases the liability for each market since all debt is settled in the form of assets.

    Action metrics:

    • compound_v3_action_deposits - Amount of deposited tokens
    • compound_v3_action_deposits_usd - Amount of deposited tokens in USD
    • compound_v3_action_liquidations - Amount of liquidated tokens
    • compound_v3_action_liquidations_usd - Amount of liquidated tokens in USD
    • compound_v3_action_new_debt - Amount of borrowed tokens
    • compound_v3_action_new_debt_usd - Amount of borrowed tokens in USD
    • compound_v3_action_repayments - Amount of repaid tokens
    • compound_v3_action_repayments_usd - Amount of repaid tokens in USD

    Total supplied/borrowed metrics:

    • compound_v3_total_supplied - Total supplied tokens
    • compound_v3_total_supplied_usd - Total supplied tokens in USD
    • compound_v3_total_borrowed - Total borrowed tokens
    • compound_v3_total_borrowed_usd - Total borrowed tokens in USD

    Protocol total action metrics:

    • compound_v3_total_deposits_usd - Total amount of deposits on Compound V3 (combining all assets in USD)
    • compound_v3_total_liquidations_usd - Total amount of liquidations on Compound V3 (combining all assets in USD)
    • compound_v3_total_new_debt_usd - Total amount of borrowings on Compound V3 (combining all assets in USD)
    • compound_v3_total_repayments_usd - Total amount of repayments on Compound V3 (combining all assets in USD)

    Protocol total supplied/borrowed metrics:

    • compound_v3_protocol_total_supplied_usd - Total amount supplied on Compound V3 (combining all assets in USD)
    • compound_v3_protocol_total_borrowed_usd - Total amount borrowed on Compound V3 (combining all assets in USD)

    APY (annual percentage yield) metrics:

    • compound_v3_eth_market_supply_apy - ETH market supply APY
    • compound_v3_eth_market_borrow_apy - ETH market borrow APY
    • compound_v3_usdc_market_supply_apy - USDC market supply APY
    • compound_v3_usdc_market_borrow_apy - USDC market borrow APY

    Daily active addresses:

    • compound_v3_active_addresses - Daily active addresses on Compound V3

    Access

    Restricted Access.


    Measuring Unit

    • Amount in tokens/USD
    • APY metrics in percentages

    Data Type

    Timeseries Data


    Frequency

    Five-minute Intervals


    Latency

    On-Chain Latency


    Available Assets

    Metrics related to the entire protocol available for compound

    Other metrics: available for these assets


    SanAPI

    Action metrics: compound_v3_action_deposits<_usd>, compound_v3_action_liquidations<_usd>, compound_v3_action_new_debt<_usd> and compound_v3_action_repayments<_usd>

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    {
      getMetric(metric: "compound_v3_action_deposits_usd"){
        timeseriesData(
          slug: "wrapped-bitcoin"
          from: "2023-08-01T00:00:00Z"
          to: "2023-08-03T00:00:00Z"
          includeIncompleteData: true
          interval: "5m"){
            datetime
            value
          }
      }
    }

    Run in Explorer

    Total action metrics: compound_v3_total_deposits_usd, compound_v3_total_liquidations_usd, compound_v3_total_new_debt_usd and compound_v3_total_repayments_usd

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    {
      getMetric(metric: "compound_v3_total_new_debt_usd"){
        timeseriesData(
          slug: "compound"
          from: "2023-08-01T00:00:00Z"
          to: "2023-08-03T00:00:00Z"
          includeIncompleteData: true
          interval: "5m"){
            datetime
            value
          }
      }
    }

    Run in Explorer

    Total supplied/borrowed metrics: compound_v3_total_supplied<_usd> and compound_v3_total_borrowed<_usd>

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    {
      getMetric(metric: "compound_v3_total_supplied"){
        timeseriesData(
          slug: "wrapped-bitcoin"
          from: "2023-08-01T00:00:00Z"
          to: "2023-08-03T00:00:00Z"
          includeIncompleteData: true
          interval: "5m"){
            datetime
            value
          }
      }
    }

    Run in Explorer

    Protocol total supplied/borrowed metrics: compound_v3_protocol_total_supplied_usd and compound_v3_protocol_total_borrowed_usd

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    {
      getMetric(metric: "compound_v3_protocol_total_supplied_usd"){
        timeseriesData(
          slug: "compound"
          from: "2023-08-01T00:00:00Z"
          to: "2023-08-03T00:00:00Z"
          includeIncompleteData: true
          interval: "5m"){
            datetime
            value
          }
      }
    }

    Run in Explorer

    APY metrics: compound_v3_eth_market_supply_apy, compound_v3_eth_market_borrow_apy, compound_v3_usdc_market_supply_apy and compound_v3_usdc_market_borrow_apy

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    {
      getMetric(metric: "compound_v3_usdc_market_supply_apy"){
        timeseriesData(
          slug: "compound"
          from: "2023-08-01T00:00:00Z"
          to: "2023-08-07T00:00:00Z"
          includeIncompleteData: true
          interval: "5m"){
            datetime
            value
          }
      }
    }

    Run in Explorer

    Daily active addresses: compound_v3_active_addresses

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    {
      getMetric(metric: "compound_v3_active_addresses"){
        timeseriesData(
          slug: "compound"
          from: "2023-08-01T00:00:00Z"
          to: "2023-08-10T00:00:00Z"
          includeIncompleteData: true
          interval: "1d"){
            datetime
            value
          }
      }
    }

    Run in Explorer