common.graphql 501 B

12345678910111213141516171819202122232425
  1. enum Network {
  2. BABYLON
  3. ALEXANDRIA
  4. ROME
  5. GIZA
  6. OLYMPIA
  7. }
  8. # FIXME: https://github.com/Joystream/hydra/issues/359
  9. interface Event @entity {
  10. "(network}-{blockNumber}-{indexInBlock}"
  11. id: ID!
  12. "Hash of the extrinsic which caused the event to be emitted"
  13. inExtrinsic: String
  14. "Blocknumber of the block in which the event was emitted."
  15. inBlock: Int!
  16. "Network the block was produced in"
  17. network: Network!
  18. "Index of event in block from which it was emitted."
  19. indexInBlock: Int!
  20. }