Description

Metrics related to MakerDAO protocols.

Single-Collateral DAI:

  • scd_locked_token - The volume of WETH locked in Single-Collateral DAI contract.
  • scd_collat_ratio - Single-Collateral DAI Collateralization Ratio

Multi-Collateral DAI:

  • mcd_locked_token - The volume of collateral locked in Multi-Collateral DAI contracts, measured by a token.
  • mcd_erc20_supply - DAI ERC20 token total supply
  • mcd_supply - The total amount of Multi-Collareral DAI tokens: DAI ERC20 Supply plus DAI in DSR
  • mcd_collat_ratio, mcd_collat_ratio_weth, daily_dai_collat_ratio_stablecoin, daily_dai_collat_ratio_wbtc - These metrics show the collateralization ratio of MCD collateral tokens.
  • mcd_dsr - This metric shows historical and current values for Dai Savings Rate. Dai Savings Rate is a parameter that specifies the interest rate paid to DAI deposited in the DSR contract
  • mcd_stability_fee - This metric shows values for Stability Fee for MCD Collateral Tokens.
  • dai_created - Amount of DAI created in a given time interval, segmented by the underlying collateral
  • dai_repaid - Amount of DAI destroyed in a given time interval, segmented by the underlying collateral

Collateralization Ratio Calculation

MCD Collateralization Ratio is calculated by the formula:


Access

Restricted Access.


Measuring Unit

  • mcd_locked_token, scd_locked_token, mcd_erc20_supply, mcd_supply, dai_created, dai_repaid - Amount of coins
  • Other - MakerDAO contract parameter values

Data Type

Timeseries Data


Frequency


Latency

Price Latency


Available Assets

Collateral assets of Single-Collateral DAI:

  • weth

Collateral assets of Multi-Collateral DAI:

  • weth
  • basic-attention-token
  • kyber-network
  • 0x
  • yearn-finance
  • wrapped-bitcoin
  • chainlink
  • loopring
  • weth-b
  • decentraland
  • balancer
  • compound

USD-based Stablecoin collaterals:

  • tether
  • paxos-standard-token
  • usdc-b
  • dai
  • trueusd
  • gemini-dollar

Assets available for metrics:

  • mcd_locked_token, mcd_stability_fee, dai_created, dai_repaid - all of the MakerDAO collateral assets
  • scd_locked_token, mcd_collat_ratio_weth, scd_collat_ratio - weth
  • mcd_collat_ratio - all the MakerDAO collateral assets except weth, wbtc and USD-based stablecoin collaterals
  • daily_dai_collat_ratio_stablecoin - USD-based stablecoin collaterals
  • daily_dai_collat_ratio_wbtc - wrapped-bitcoin
  • mcd_erc20_supply, mcd_supply, msd_dsr - multi-collateral-dai

SanAPI

Token Locked in Multi-Collateral CDPs

1
2
3
4
5
6
7
8
9
10
11
12
{
  getMetric(metric: "mcd_locked_token") {
    timeseriesData(
      slug: "weth"
      from: "2020-04-01T00:00:00Z"
      to: "2020-04-07T00:00:00Z"
      interval: "1d") {
        datetime
        value
    }
  }
}

Run in Explorer

DAI ERC20 token total supply:

1
2
3
4
5
6
7
8
9
10
11
12
{
  getMetric(metric: "mcd_erc20_supply") {
    timeseriesData(
      slug: "multi-collateral-dai"
      from: "2020-04-01T00:00:00Z"
      to: "2020-04-07T00:00:00Z"
      interval: "1d") {
        datetime
        value
    }
  }
}

Run in Explorer

DAI Total supply:

1
2
3
4
5
6
7
8
9
10
11
12
{
  getMetric(metric: "mcd_supply") {
    timeseriesData(
      slug: "multi-collateral-dai"
      from: "2020-04-02T00:00:00Z"
      to: "2020-04-03T00:00:00Z"
      interval: "5m") {
        datetime
        value
    }
  }
}

Run in Explorer

MCD Collateral Ratio:

1
2
3
4
5
6
7
8
9
10
11
12
{
  getMetric(metric: "mcd_collat_ratio") {
    timeseriesData(
      slug: "basic-attention-token"
      from: "2020-04-01T00:00:00Z"
      to: "2020-04-07T00:00:00Z"
      interval: "1d") {
        datetime
        value
    }
  }
}

Run in Explorer

SCD Collateral Ratio:

1
2
3
4
5
6
7
8
9
10
11
12
{
  getMetric(metric: "scd_collat_ratio") {
    timeseriesData(
      slug: "weth"
      from: "2020-04-01T00:00:00Z"
      to: "2020-04-07T00:00:00Z"
      interval: "1d") {
        datetime
        value
    }
  }
}

Run in Explorer

MCD Dai Savings Rate:

1
2
3
4
5
6
7
8
9
10
11
12
{
  getMetric(metric: "mcd_dsr") {
    timeseriesData(
      slug: "multi-collateral-dai"
      from: "2020-01-01T00:00:00Z"
      to: "2020-01-07T00:00:00Z"
      interval: "1d") {
        datetime
        value
    }
  }
}

Run in Explorer

MCD Stability Fee:

1
2
3
4
5
6
7
8
9
10
11
12
{
  getMetric(metric: "mcd_stability_fee") {
    timeseriesData(
      slug: "weth"
      from: "2020-01-01T00:00:00Z"
      to: "2020-01-07T00:00:00Z"
      interval: "1d") {
        datetime
        value
    }
  }
}

Run in Explorer

DAI Created:

1
2
3
4
5
6
7
8
9
10
11
12
{
  getMetric(metric: "dai_created") {
    timeseriesData(
      slug: "weth"
      from: "2020-01-01T00:00:00Z"
      to: "2020-01-02T00:00:00Z"
      interval: "5m") {
        datetime
        value
    }
  }
}

Run in Explorer

DAI Repaid:

1
2
3
4
5
6
7
8
9
10
11
12
{
  getMetric(metric: "dai_repaid") {
    timeseriesData(
      slug: "weth"
      from: "2020-01-01T00:00:00Z"
      to: "2020-01-02T00:00:00Z"
      interval: "5m") {
        datetime
        value
    }
  }
}

Run in Explorer

Was this article helpful?