protofire / makerdao-scd-subgraph

MakerDAO Single-Collateral Dai subgraph
https://thegraph.com/explorer/subgraph/protofire/makerdao
GNU Lesser General Public License v3.0
1 stars 2 forks source link

Add CDP Summary entity #16

Closed cristianmalfesi closed 5 years ago

cristianmalfesi commented 5 years ago

Estimated time: 1pt To Do:

  1. Add new Summary pearent entity of CDP with calculated fields
  2. Possible Schema of the new Entity "CDP Summary": type Summary @entity { id: ID! cdpCount: Int! openCdpCount: Int! totalColateral: BigDecimal! totalDebt: BigDecimal! } And check other possible values:
    • OpenUniqueOwners
    • UniqueOwners
    • Last Block processed
    • LastModifiedDate
    • Total closed

Acceptance Criteria:  - Execute the graphql query that returns the last status of all fields from the CDP Summary entity   Links and resources: https://thegraph.com/explorer/subgraph/protofire/makerdao

nicosampler commented 5 years ago

Resolved in PR #32