common.graphql 494 B

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