bountyEvents.graphql 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344
  1. type BountyCreatedEvent implements Event @entity {
  2. ### GENERIC DATA ###
  3. "(network}-{blockNumber}-{indexInBlock}"
  4. id: ID!
  5. "Hash of the extrinsic which caused the event to be emitted"
  6. inExtrinsic: String
  7. "Blocknumber of the block in which the event was emitted."
  8. inBlock: Int!
  9. "Network the block was produced in"
  10. network: Network!
  11. "Index of event in block from which it was emitted."
  12. indexInBlock: Int!
  13. ### SPECIFIC DATA ###
  14. "Related bounty"
  15. bounty: Bounty!
  16. }
  17. type BountyCanceledEvent implements Event @entity {
  18. ### GENERIC DATA ###
  19. "(network}-{blockNumber}-{indexInBlock}"
  20. id: ID!
  21. "Hash of the extrinsic which caused the event to be emitted"
  22. inExtrinsic: String
  23. "Blocknumber of the block in which the event was emitted."
  24. inBlock: Int!
  25. "Network the block was produced in"
  26. network: Network!
  27. "Index of event in block from which it was emitted."
  28. indexInBlock: Int!
  29. ### SPECIFIC DATA ###
  30. "Related bounty"
  31. bounty: Bounty!
  32. }
  33. type BountyVetoedEvent implements Event @entity {
  34. ### GENERIC DATA ###
  35. "(network}-{blockNumber}-{indexInBlock}"
  36. id: ID!
  37. "Hash of the extrinsic which caused the event to be emitted"
  38. inExtrinsic: String
  39. "Blocknumber of the block in which the event was emitted."
  40. inBlock: Int!
  41. "Network the block was produced in"
  42. network: Network!
  43. "Index of event in block from which it was emitted."
  44. indexInBlock: Int!
  45. ### SPECIFIC DATA ###
  46. "Related bounty"
  47. bounty: Bounty!
  48. }
  49. type BountyFundedEvent implements Event @entity {
  50. ### GENERIC DATA ###
  51. "(network}-{blockNumber}-{indexInBlock}"
  52. id: ID!
  53. "Hash of the extrinsic which caused the event to be emitted"
  54. inExtrinsic: String
  55. "Blocknumber of the block in which the event was emitted."
  56. inBlock: Int!
  57. "Network the block was produced in"
  58. network: Network!
  59. "Index of event in block from which it was emitted."
  60. indexInBlock: Int!
  61. ### SPECIFIC DATA ###
  62. "Related bounty contribution"
  63. contribution: BountyContribution!
  64. }
  65. type BountyMaxFundingReachedEvent implements Event @entity {
  66. ### GENERIC DATA ###
  67. "(network}-{blockNumber}-{indexInBlock}"
  68. id: ID!
  69. "Hash of the extrinsic which caused the event to be emitted"
  70. inExtrinsic: String
  71. "Blocknumber of the block in which the event was emitted."
  72. inBlock: Int!
  73. "Network the block was produced in"
  74. network: Network!
  75. "Index of event in block from which it was emitted."
  76. indexInBlock: Int!
  77. ### SPECIFIC DATA ###
  78. "Related bounty"
  79. bounty: Bounty!
  80. }
  81. type BountyFundingWithdrawalEvent implements Event @entity {
  82. ### GENERIC DATA ###
  83. "(network}-{blockNumber}-{indexInBlock}"
  84. id: ID!
  85. "Hash of the extrinsic which caused the event to be emitted"
  86. inExtrinsic: String
  87. "Blocknumber of the block in which the event was emitted."
  88. inBlock: Int!
  89. "Network the block was produced in"
  90. network: Network!
  91. "Index of event in block from which it was emitted."
  92. indexInBlock: Int!
  93. ### SPECIFIC DATA ###
  94. "Related bounty contribution"
  95. contribution: BountyContribution!
  96. }
  97. type BountyCreatorCherryWithdrawalEvent implements Event @entity {
  98. ### GENERIC DATA ###
  99. "(network}-{blockNumber}-{indexInBlock}"
  100. id: ID!
  101. "Hash of the extrinsic which caused the event to be emitted"
  102. inExtrinsic: String
  103. "Blocknumber of the block in which the event was emitted."
  104. inBlock: Int!
  105. "Network the block was produced in"
  106. network: Network!
  107. "Index of event in block from which it was emitted."
  108. indexInBlock: Int!
  109. ### SPECIFIC DATA ###
  110. "Related bounty"
  111. bounty: Bounty!
  112. }
  113. type BountyRemovedEvent implements Event @entity {
  114. ### GENERIC DATA ###
  115. "(network}-{blockNumber}-{indexInBlock}"
  116. id: ID!
  117. "Hash of the extrinsic which caused the event to be emitted"
  118. inExtrinsic: String
  119. "Blocknumber of the block in which the event was emitted."
  120. inBlock: Int!
  121. "Network the block was produced in"
  122. network: Network!
  123. "Index of event in block from which it was emitted."
  124. indexInBlock: Int!
  125. ### SPECIFIC DATA ###
  126. "Related bounty"
  127. bounty: Bounty!
  128. }
  129. type WorkEntryAnnouncedEvent implements Event @entity {
  130. ### GENERIC DATA ###
  131. "(network}-{blockNumber}-{indexInBlock}"
  132. id: ID!
  133. "Hash of the extrinsic which caused the event to be emitted"
  134. inExtrinsic: String
  135. "Blocknumber of the block in which the event was emitted."
  136. inBlock: Int!
  137. "Network the block was produced in"
  138. network: Network!
  139. "Index of event in block from which it was emitted."
  140. indexInBlock: Int!
  141. ### SPECIFIC DATA ###
  142. "Related work entry"
  143. entry: BountyEntry!
  144. }
  145. type WorkEntryWithdrawnEvent implements Event @entity {
  146. ### GENERIC DATA ###
  147. "(network}-{blockNumber}-{indexInBlock}"
  148. id: ID!
  149. "Hash of the extrinsic which caused the event to be emitted"
  150. inExtrinsic: String
  151. "Blocknumber of the block in which the event was emitted."
  152. inBlock: Int!
  153. "Network the block was produced in"
  154. network: Network!
  155. "Index of event in block from which it was emitted."
  156. indexInBlock: Int!
  157. ### SPECIFIC DATA ###
  158. "Related work entry"
  159. entry: BountyEntry!
  160. }
  161. type WorkEntrySlashedEvent implements Event @entity {
  162. ### GENERIC DATA ###
  163. "(network}-{blockNumber}-{indexInBlock}"
  164. id: ID!
  165. "Hash of the extrinsic which caused the event to be emitted"
  166. inExtrinsic: String
  167. "Blocknumber of the block in which the event was emitted."
  168. inBlock: Int!
  169. "Network the block was produced in"
  170. network: Network!
  171. "Index of event in block from which it was emitted."
  172. indexInBlock: Int!
  173. ### SPECIFIC DATA ###
  174. "Related work entry"
  175. entry: BountyEntry!
  176. }
  177. type WorkSubmittedEvent implements Event @entity {
  178. ### GENERIC DATA ###
  179. "(network}-{blockNumber}-{indexInBlock}"
  180. id: ID!
  181. "Hash of the extrinsic which caused the event to be emitted"
  182. inExtrinsic: String
  183. "Blocknumber of the block in which the event was emitted."
  184. inBlock: Int!
  185. "Network the block was produced in"
  186. network: Network!
  187. "Index of event in block from which it was emitted."
  188. indexInBlock: Int!
  189. ### SPECIFIC DATA ###
  190. "The entry this work was submitted into"
  191. entry: BountyEntry!
  192. "Title of the work"
  193. title: String
  194. "Description which contains the work itself as a URL, a BLOB, or just text"
  195. description: String
  196. }
  197. type OracleJudgmentSubmittedEvent implements Event @entity {
  198. ### GENERIC DATA ###
  199. "(network}-{blockNumber}-{indexInBlock}"
  200. id: ID!
  201. "Hash of the extrinsic which caused the event to be emitted"
  202. inExtrinsic: String
  203. "Blocknumber of the block in which the event was emitted."
  204. inBlock: Int!
  205. "Network the block was produced in"
  206. network: Network!
  207. "Index of event in block from which it was emitted."
  208. indexInBlock: Int!
  209. ### SPECIFIC DATA ###
  210. "Related bounty"
  211. bounty: Bounty!
  212. "Rationale of the judgment"
  213. rationale: String
  214. }
  215. type WorkEntrantFundsWithdrawnEvent implements Event @entity {
  216. ### GENERIC DATA ###
  217. "(network}-{blockNumber}-{indexInBlock}"
  218. id: ID!
  219. "Hash of the extrinsic which caused the event to be emitted"
  220. inExtrinsic: String
  221. "Blocknumber of the block in which the event was emitted."
  222. inBlock: Int!
  223. "Network the block was produced in"
  224. network: Network!
  225. "Index of event in block from which it was emitted."
  226. indexInBlock: Int!
  227. ### SPECIFIC DATA ###
  228. "Related work entry"
  229. entry: BountyEntry!
  230. }