graphops / graph-network-substreams

Graph Network Substreams
Apache License 2.0
1 stars 1 forks source link

Gap analysis of what is missing for core feature parity #45

Closed chriswessels closed 1 year ago

chriswessels commented 1 year ago

List of existing queries that indexer-agent is making: https://www.notion.so/indexer-agent-queries-a3375d44dbb44248819b1e738c880b7b

Missing core feature parity:

type Allocation {
  createdAtEpoch: Int!
  closedAtEpoch: Int
  ageInEpochs: Int!
  signalledTokens: BigInt!
  status: AllocationStatus!
}

type GraphNetworks {
    isPaused: Bool!
}

type SubgraphVersion {
  version: Int!
  createdAt: Int!
  deployment: String!
}

type Subgraph {
  id: String!
  versionCount: Int!
  versions: [SubgraphVersion]!
}

type SubgraphDeployment {
  ipfsHash: String!
  deniedAt: Int!
  indexerAllocations: [Allocation]!
}

type Allocation {
  status: AllocationStatus
  createdAtEpoch: number
  createdAtBlockHash: string
  createdAtBlockNumber: number
  closedAtEpoch: number
  closedAtEpochStartBlockHash: string 
  previousEpochStartBlockHash: string
  closedAtBlockHash: string
  poi: string
}

type Epoch {
  id: number
  startBlock: number
  startBlockHash: string | undefined
  endBlock: number
  signalledTokens: number
  stakeDeposited: number
  queryFeeRebates: number
  totalRewards: number
  totalIndexerRewards: number
  totalDelegatorRewards: number
}