Skip to content

Latest commit

 

History

History
30 lines (29 loc) · 510 Bytes

README.md

File metadata and controls

30 lines (29 loc) · 510 Bytes

Description

Squid for DeepDAO that allows to get a history of chain states and governance proposals

Sample query

query MyQuery {
  proposals(where: {type_eq: CouncilMotion}, limit: 10) {
    index
    hash
    proposer
    proposedCall {
      section
      method
      description
    }
    status
    threshold {
      ... on MotionThreshold {
        __typename
        value
      }
    }
    type
    voting(limit: 10) {
      voter
      decision
    }
  }
}