manifest.yml 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943
  1. version: '3.0'
  2. description: Joystream query-node manifest file for Olympia
  3. repository: https://github.com/Joystream/joystream
  4. hydraVersion: "3"
  5. dataSource:
  6. kind: substrate
  7. chain: joystream
  8. entities:
  9. - generated/graphql-server/dist/src/modules/**/*.model.js
  10. typegen:
  11. metadata:
  12. source: ../chain-metadata.json
  13. events:
  14. # Membership
  15. - members.MembershipBought
  16. - members.MemberProfileUpdated
  17. - members.MemberAccountsUpdated
  18. - members.MemberVerificationStatusUpdated
  19. - members.InvitesTransferred
  20. - members.MemberInvited
  21. - members.StakingAccountAdded
  22. - members.StakingAccountConfirmed
  23. - members.StakingAccountRemoved
  24. - members.InitialInvitationCountUpdated
  25. - members.MembershipPriceUpdated
  26. - members.ReferralCutUpdated
  27. - members.InitialInvitationBalanceUpdated
  28. - members.LeaderInvitationQuotaUpdated
  29. # Working groups - use Storage Working Group as a reference group (all groups emit the same events)
  30. - storageWorkingGroup.OpeningAdded
  31. - storageWorkingGroup.AppliedOnOpening
  32. - storageWorkingGroup.OpeningFilled
  33. - storageWorkingGroup.LeaderSet
  34. - storageWorkingGroup.WorkerRoleAccountUpdated
  35. - storageWorkingGroup.LeaderUnset
  36. - storageWorkingGroup.WorkerStartedLeaving
  37. - storageWorkingGroup.WorkerExited
  38. - storageWorkingGroup.TerminatedWorker
  39. - storageWorkingGroup.TerminatedLeader
  40. - storageWorkingGroup.StakeSlashed
  41. - storageWorkingGroup.StakeDecreased
  42. - storageWorkingGroup.StakeIncreased
  43. - storageWorkingGroup.ApplicationWithdrawn
  44. - storageWorkingGroup.OpeningCanceled
  45. - storageWorkingGroup.BudgetSet
  46. - storageWorkingGroup.WorkerRewardAccountUpdated
  47. - storageWorkingGroup.WorkerRewardAmountUpdated
  48. - storageWorkingGroup.StatusTextChanged
  49. - storageWorkingGroup.BudgetSpending
  50. - storageWorkingGroup.RewardPaid
  51. - storageWorkingGroup.NewMissedRewardLevelReached
  52. # Proposals
  53. - proposalsCodex.ProposalCreated
  54. - proposalsEngine.ProposalStatusUpdated
  55. - proposalsEngine.ProposalDecisionMade
  56. - proposalsEngine.ProposalExecuted
  57. - proposalsEngine.Voted
  58. - proposalsEngine.ProposalCancelled
  59. # Proposals discussion
  60. - proposalsDiscussion.ThreadCreated
  61. - proposalsDiscussion.PostCreated
  62. - proposalsDiscussion.PostUpdated
  63. - proposalsDiscussion.ThreadModeChanged
  64. - proposalsDiscussion.PostDeleted
  65. # Forum
  66. - forum.CategoryCreated
  67. - forum.CategoryArchivalStatusUpdated
  68. - forum.CategoryDeleted
  69. - forum.ThreadCreated
  70. - forum.ThreadModerated
  71. - forum.ThreadMetadataUpdated
  72. - forum.ThreadDeleted
  73. - forum.ThreadMoved
  74. - forum.VoteOnPoll
  75. - forum.PostAdded
  76. - forum.PostModerated
  77. - forum.PostDeleted
  78. - forum.PostTextUpdated
  79. - forum.PostReacted
  80. - forum.CategoryStickyThreadUpdate
  81. - forum.CategoryMembershipOfModeratorUpdated
  82. # Content directory
  83. - content.CuratorGroupCreated
  84. - content.CuratorGroupStatusSet
  85. - content.CuratorAdded
  86. - content.CuratorRemoved
  87. - content.ChannelCreated
  88. - content.ChannelUpdated
  89. - content.ChannelAssetsRemoved
  90. - content.ChannelCensorshipStatusUpdated
  91. - content.ChannelCategoryCreated
  92. - content.ChannelCategoryUpdated
  93. - content.ChannelCategoryDeleted
  94. - content.VideoCategoryCreated
  95. - content.VideoCategoryUpdated
  96. - content.VideoCategoryDeleted
  97. - content.VideoCreated
  98. - content.VideoUpdated
  99. - content.VideoDeleted
  100. - content.VideoCensorshipStatusUpdated
  101. - content.FeaturedVideosSet
  102. - content.ChannelDeleted
  103. # Storage
  104. - storage.StorageBucketCreated
  105. - storage.StorageBucketInvitationAccepted
  106. - storage.StorageBucketsUpdatedForBag
  107. - storage.DataObjectsUploaded
  108. - storage.StorageOperatorMetadataSet
  109. - storage.StorageBucketVoucherLimitsSet
  110. - storage.PendingDataObjectsAccepted
  111. - storage.StorageBucketInvitationCancelled
  112. - storage.StorageBucketOperatorInvited
  113. - storage.StorageBucketOperatorRemoved
  114. - storage.UploadingBlockStatusUpdated
  115. - storage.DataObjectPerMegabyteFeeUpdated
  116. - storage.StorageBucketsPerBagLimitUpdated
  117. - storage.StorageBucketsVoucherMaxLimitsUpdated
  118. - storage.DataObjectsMoved
  119. - storage.DataObjectsDeleted
  120. - storage.StorageBucketStatusUpdated
  121. - storage.UpdateBlacklist
  122. - storage.DynamicBagDeleted
  123. - storage.DynamicBagCreated
  124. - storage.VoucherChanged
  125. - storage.StorageBucketDeleted
  126. - storage.DistributionBucketFamilyCreated
  127. - storage.DistributionBucketFamilyDeleted
  128. - storage.DistributionBucketCreated
  129. - storage.DistributionBucketStatusUpdated
  130. - storage.DistributionBucketDeleted
  131. - storage.DistributionBucketsUpdatedForBag
  132. - storage.DistributionBucketsPerBagLimitUpdated
  133. - storage.DistributionBucketModeUpdated
  134. - storage.DistributionBucketOperatorInvited
  135. - storage.DistributionBucketInvitationCancelled
  136. - storage.DistributionBucketInvitationAccepted
  137. - storage.DistributionBucketMetadataSet
  138. - storage.DistributionBucketOperatorRemoved
  139. - storage.DistributionBucketFamilyMetadataSet
  140. # Not required:
  141. # - storage.NumberOfStorageBucketsInDynamicBagCreationPolicyUpdated
  142. # - storage.FamiliesInDynamicBagCreationPolicyUpdated
  143. # Council
  144. - council.AnnouncingPeriodStarted
  145. - council.NotEnoughCandidates
  146. - council.VotingPeriodStarted
  147. - council.NewCandidate
  148. - council.NewCouncilElected
  149. - council.NewCouncilNotElected
  150. - council.CandidacyStakeRelease
  151. - council.CandidacyWithdraw
  152. - council.CandidacyNoteSet
  153. - council.RewardPayment
  154. - council.BudgetBalanceSet
  155. - council.BudgetRefill
  156. - council.BudgetRefillPlanned
  157. - council.BudgetIncrementUpdated
  158. - council.CouncilorRewardUpdated
  159. - council.RequestFunded
  160. # Referendum
  161. - referendum.ReferendumStarted
  162. - referendum.ReferendumStartedForcefully
  163. - referendum.RevealingStageStarted
  164. - referendum.ReferendumFinished
  165. - referendum.VoteCast
  166. - referendum.VoteRevealed
  167. - referendum.StakeReleased
  168. # Bounty
  169. - bounty.BountyCreated
  170. - bounty.BountyCanceled
  171. - bounty.BountyVetoed
  172. - bounty.BountyFunded
  173. - bounty.BountyMaxFundingReached
  174. - bounty.BountyFundingWithdrawal
  175. - bounty.BountyCreatorCherryWithdrawal
  176. - bounty.BountyRemoved
  177. - bounty.WorkEntryAnnounced
  178. - bounty.WorkEntryWithdrawn
  179. - bounty.WorkEntrySlashed
  180. - bounty.WorkSubmitted
  181. - bounty.OracleJudgmentSubmitted
  182. - bounty.WorkEntrantFundsWithdrawn
  183. # content NFTs
  184. - content.AuctionStarted
  185. - content.NftIssued
  186. - content.AuctionBidMade
  187. - content.AuctionBidCanceled
  188. - content.AuctionCanceled
  189. - content.EnglishAuctionCompleted
  190. - content.BidMadeCompletingAuction
  191. - content.OpenAuctionBidAccepted
  192. - content.OfferStarted
  193. - content.OfferAccepted
  194. - content.OfferCanceled
  195. - content.NftSellOrderMade
  196. - content.NftBought
  197. - content.BuyNowCanceled
  198. # Utility
  199. - joystreamUtility.UpdatedWorkingGroupBudget
  200. outDir: ./mappings/generated/types
  201. customTypes:
  202. lib: '@joystream/types/augment/all/types'
  203. typedefsLoc: '../types/augment/all/defs.json'
  204. mappings:
  205. # js module that exports the handler functions
  206. mappingsModule: mappings/lib/src
  207. # additinal libraries the processor loads
  208. # typically it is a module with event and extrinsic types generated by hydra-typegen
  209. imports:
  210. - mappings/lib/generated/types
  211. eventHandlers:
  212. # Membership module
  213. - event: members.MembershipBought
  214. handler: members_MembershipBought
  215. - event: members.MemberProfileUpdated
  216. handler: members_MemberProfileUpdated
  217. - event: members.MemberAccountsUpdated
  218. handler: members_MemberAccountsUpdated
  219. - event: members.MemberVerificationStatusUpdated
  220. handler: members_MemberVerificationStatusUpdated
  221. - event: members.InvitesTransferred
  222. handler: members_InvitesTransferred
  223. - event: members.MemberInvited
  224. handler: members_MemberInvited
  225. - event: members.StakingAccountAdded
  226. handler: members_StakingAccountAdded
  227. - event: members.StakingAccountConfirmed
  228. handler: members_StakingAccountConfirmed
  229. - event: members.StakingAccountRemoved
  230. handler: members_StakingAccountRemoved
  231. - event: members.InitialInvitationCountUpdated
  232. handler: members_InitialInvitationCountUpdated
  233. - event: members.MembershipPriceUpdated
  234. handler: members_MembershipPriceUpdated
  235. - event: members.ReferralCutUpdated
  236. handler: members_ReferralCutUpdated
  237. - event: members.InitialInvitationBalanceUpdated
  238. handler: members_InitialInvitationBalanceUpdated
  239. - event: members.LeaderInvitationQuotaUpdated
  240. handler: members_LeaderInvitationQuotaUpdated
  241. # Storage working group
  242. - event: storageWorkingGroup.OpeningAdded
  243. handler: workingGroups_OpeningAdded
  244. - event: storageWorkingGroup.AppliedOnOpening
  245. handler: workingGroups_AppliedOnOpening
  246. - event: storageWorkingGroup.OpeningFilled
  247. handler: workingGroups_OpeningFilled
  248. - event: storageWorkingGroup.LeaderSet
  249. handler: workingGroups_LeaderSet
  250. - event: storageWorkingGroup.WorkerRoleAccountUpdated
  251. handler: workingGroups_WorkerRoleAccountUpdated
  252. - event: storageWorkingGroup.LeaderUnset
  253. handler: workingGroups_LeaderUnset
  254. - event: storageWorkingGroup.WorkerExited
  255. handler: workingGroups_WorkerExited
  256. - event: storageWorkingGroup.TerminatedWorker
  257. handler: workingGroups_TerminatedWorker
  258. - event: storageWorkingGroup.TerminatedLeader
  259. handler: workingGroups_TerminatedLeader
  260. - event: storageWorkingGroup.StakeSlashed
  261. handler: workingGroups_StakeSlashed
  262. - event: storageWorkingGroup.StakeDecreased
  263. handler: workingGroups_StakeDecreased
  264. - event: storageWorkingGroup.StakeIncreased
  265. handler: workingGroups_StakeIncreased
  266. - event: storageWorkingGroup.ApplicationWithdrawn
  267. handler: workingGroups_ApplicationWithdrawn
  268. - event: storageWorkingGroup.OpeningCanceled
  269. handler: workingGroups_OpeningCanceled
  270. - event: storageWorkingGroup.BudgetSet
  271. handler: workingGroups_BudgetSet
  272. - event: storageWorkingGroup.WorkerRewardAccountUpdated
  273. handler: workingGroups_WorkerRewardAccountUpdated
  274. - event: storageWorkingGroup.WorkerRewardAmountUpdated
  275. handler: workingGroups_WorkerRewardAmountUpdated
  276. - event: storageWorkingGroup.StatusTextChanged
  277. handler: workingGroups_StatusTextChanged
  278. - event: storageWorkingGroup.BudgetSpending
  279. handler: workingGroups_BudgetSpending
  280. - event: storageWorkingGroup.RewardPaid
  281. handler: workingGroups_RewardPaid
  282. - event: storageWorkingGroup.NewMissedRewardLevelReached
  283. handler: workingGroups_NewMissedRewardLevelReached
  284. - event: storageWorkingGroup.WorkerStartedLeaving
  285. handler: workingGroups_WorkerStartedLeaving
  286. # Forum working group
  287. - event: forumWorkingGroup.OpeningAdded
  288. handler: workingGroups_OpeningAdded
  289. - event: forumWorkingGroup.AppliedOnOpening
  290. handler: workingGroups_AppliedOnOpening
  291. - event: forumWorkingGroup.OpeningFilled
  292. handler: workingGroups_OpeningFilled
  293. - event: forumWorkingGroup.LeaderSet
  294. handler: workingGroups_LeaderSet
  295. - event: forumWorkingGroup.WorkerRoleAccountUpdated
  296. handler: workingGroups_WorkerRoleAccountUpdated
  297. - event: forumWorkingGroup.LeaderUnset
  298. handler: workingGroups_LeaderUnset
  299. - event: forumWorkingGroup.WorkerExited
  300. handler: workingGroups_WorkerExited
  301. - event: forumWorkingGroup.TerminatedWorker
  302. handler: workingGroups_TerminatedWorker
  303. - event: forumWorkingGroup.TerminatedLeader
  304. handler: workingGroups_TerminatedLeader
  305. - event: forumWorkingGroup.StakeSlashed
  306. handler: workingGroups_StakeSlashed
  307. - event: forumWorkingGroup.StakeDecreased
  308. handler: workingGroups_StakeDecreased
  309. - event: forumWorkingGroup.StakeIncreased
  310. handler: workingGroups_StakeIncreased
  311. - event: forumWorkingGroup.ApplicationWithdrawn
  312. handler: workingGroups_ApplicationWithdrawn
  313. - event: forumWorkingGroup.OpeningCanceled
  314. handler: workingGroups_OpeningCanceled
  315. - event: forumWorkingGroup.BudgetSet
  316. handler: workingGroups_BudgetSet
  317. - event: forumWorkingGroup.WorkerRewardAccountUpdated
  318. handler: workingGroups_WorkerRewardAccountUpdated
  319. - event: forumWorkingGroup.WorkerRewardAmountUpdated
  320. handler: workingGroups_WorkerRewardAmountUpdated
  321. - event: forumWorkingGroup.StatusTextChanged
  322. handler: workingGroups_StatusTextChanged
  323. - event: forumWorkingGroup.BudgetSpending
  324. handler: workingGroups_BudgetSpending
  325. - event: forumWorkingGroup.RewardPaid
  326. handler: workingGroups_RewardPaid
  327. - event: forumWorkingGroup.NewMissedRewardLevelReached
  328. handler: workingGroups_NewMissedRewardLevelReached
  329. - event: forumWorkingGroup.WorkerStartedLeaving
  330. handler: workingGroups_WorkerStartedLeaving
  331. # Membership working group
  332. - event: membershipWorkingGroup.OpeningAdded
  333. handler: workingGroups_OpeningAdded
  334. - event: membershipWorkingGroup.AppliedOnOpening
  335. handler: workingGroups_AppliedOnOpening
  336. - event: membershipWorkingGroup.OpeningFilled
  337. handler: workingGroups_OpeningFilled
  338. - event: membershipWorkingGroup.LeaderSet
  339. handler: workingGroups_LeaderSet
  340. - event: membershipWorkingGroup.WorkerRoleAccountUpdated
  341. handler: workingGroups_WorkerRoleAccountUpdated
  342. - event: membershipWorkingGroup.LeaderUnset
  343. handler: workingGroups_LeaderUnset
  344. - event: membershipWorkingGroup.WorkerExited
  345. handler: workingGroups_WorkerExited
  346. - event: membershipWorkingGroup.TerminatedWorker
  347. handler: workingGroups_TerminatedWorker
  348. - event: membershipWorkingGroup.TerminatedLeader
  349. handler: workingGroups_TerminatedLeader
  350. - event: membershipWorkingGroup.StakeSlashed
  351. handler: workingGroups_StakeSlashed
  352. - event: membershipWorkingGroup.StakeDecreased
  353. handler: workingGroups_StakeDecreased
  354. - event: membershipWorkingGroup.StakeIncreased
  355. handler: workingGroups_StakeIncreased
  356. - event: membershipWorkingGroup.ApplicationWithdrawn
  357. handler: workingGroups_ApplicationWithdrawn
  358. - event: membershipWorkingGroup.OpeningCanceled
  359. handler: workingGroups_OpeningCanceled
  360. - event: membershipWorkingGroup.BudgetSet
  361. handler: workingGroups_BudgetSet
  362. - event: membershipWorkingGroup.WorkerRewardAccountUpdated
  363. handler: workingGroups_WorkerRewardAccountUpdated
  364. - event: membershipWorkingGroup.WorkerRewardAmountUpdated
  365. handler: workingGroups_WorkerRewardAmountUpdated
  366. - event: membershipWorkingGroup.StatusTextChanged
  367. handler: workingGroups_StatusTextChanged
  368. - event: membershipWorkingGroup.BudgetSpending
  369. handler: workingGroups_BudgetSpending
  370. - event: membershipWorkingGroup.RewardPaid
  371. handler: workingGroups_RewardPaid
  372. - event: membershipWorkingGroup.NewMissedRewardLevelReached
  373. handler: workingGroups_NewMissedRewardLevelReached
  374. - event: membershipWorkingGroup.WorkerStartedLeaving
  375. handler: workingGroups_WorkerStartedLeaving
  376. # Content directory working group
  377. - event: contentWorkingGroup.OpeningAdded
  378. handler: workingGroups_OpeningAdded
  379. - event: contentWorkingGroup.AppliedOnOpening
  380. handler: workingGroups_AppliedOnOpening
  381. - event: contentWorkingGroup.OpeningFilled
  382. handler: workingGroups_OpeningFilled
  383. - event: contentWorkingGroup.LeaderSet
  384. handler: workingGroups_LeaderSet
  385. - event: contentWorkingGroup.WorkerRoleAccountUpdated
  386. handler: workingGroups_WorkerRoleAccountUpdated
  387. - event: contentWorkingGroup.LeaderUnset
  388. handler: workingGroups_LeaderUnset
  389. - event: contentWorkingGroup.WorkerExited
  390. handler: workingGroups_WorkerExited
  391. - event: contentWorkingGroup.TerminatedWorker
  392. handler: workingGroups_TerminatedWorker
  393. - event: contentWorkingGroup.TerminatedLeader
  394. handler: workingGroups_TerminatedLeader
  395. - event: contentWorkingGroup.StakeSlashed
  396. handler: workingGroups_StakeSlashed
  397. - event: contentWorkingGroup.StakeDecreased
  398. handler: workingGroups_StakeDecreased
  399. - event: contentWorkingGroup.StakeIncreased
  400. handler: workingGroups_StakeIncreased
  401. - event: contentWorkingGroup.ApplicationWithdrawn
  402. handler: workingGroups_ApplicationWithdrawn
  403. - event: contentWorkingGroup.OpeningCanceled
  404. handler: workingGroups_OpeningCanceled
  405. - event: contentWorkingGroup.BudgetSet
  406. handler: workingGroups_BudgetSet
  407. - event: contentWorkingGroup.WorkerRewardAccountUpdated
  408. handler: workingGroups_WorkerRewardAccountUpdated
  409. - event: contentWorkingGroup.WorkerRewardAmountUpdated
  410. handler: workingGroups_WorkerRewardAmountUpdated
  411. - event: contentWorkingGroup.StatusTextChanged
  412. handler: workingGroups_StatusTextChanged
  413. - event: contentWorkingGroup.BudgetSpending
  414. handler: workingGroups_BudgetSpending
  415. - event: contentWorkingGroup.RewardPaid
  416. handler: workingGroups_RewardPaid
  417. - event: contentWorkingGroup.NewMissedRewardLevelReached
  418. handler: workingGroups_NewMissedRewardLevelReached
  419. - event: contentWorkingGroup.WorkerStartedLeaving
  420. handler: workingGroups_WorkerStartedLeaving
  421. # Operations working group alpha
  422. - event: operationsWorkingGroupAlpha.OpeningAdded
  423. handler: workingGroups_OpeningAdded
  424. - event: operationsWorkingGroupAlpha.AppliedOnOpening
  425. handler: workingGroups_AppliedOnOpening
  426. - event: operationsWorkingGroupAlpha.OpeningFilled
  427. handler: workingGroups_OpeningFilled
  428. - event: operationsWorkingGroupAlpha.LeaderSet
  429. handler: workingGroups_LeaderSet
  430. - event: operationsWorkingGroupAlpha.WorkerRoleAccountUpdated
  431. handler: workingGroups_WorkerRoleAccountUpdated
  432. - event: operationsWorkingGroupAlpha.LeaderUnset
  433. handler: workingGroups_LeaderUnset
  434. - event: operationsWorkingGroupAlpha.WorkerExited
  435. handler: workingGroups_WorkerExited
  436. - event: operationsWorkingGroupAlpha.TerminatedWorker
  437. handler: workingGroups_TerminatedWorker
  438. - event: operationsWorkingGroupAlpha.TerminatedLeader
  439. handler: workingGroups_TerminatedLeader
  440. - event: operationsWorkingGroupAlpha.StakeSlashed
  441. handler: workingGroups_StakeSlashed
  442. - event: operationsWorkingGroupAlpha.StakeDecreased
  443. handler: workingGroups_StakeDecreased
  444. - event: operationsWorkingGroupAlpha.StakeIncreased
  445. handler: workingGroups_StakeIncreased
  446. - event: operationsWorkingGroupAlpha.ApplicationWithdrawn
  447. handler: workingGroups_ApplicationWithdrawn
  448. - event: operationsWorkingGroupAlpha.OpeningCanceled
  449. handler: workingGroups_OpeningCanceled
  450. - event: operationsWorkingGroupAlpha.BudgetSet
  451. handler: workingGroups_BudgetSet
  452. - event: operationsWorkingGroupAlpha.WorkerRewardAccountUpdated
  453. handler: workingGroups_WorkerRewardAccountUpdated
  454. - event: operationsWorkingGroupAlpha.WorkerRewardAmountUpdated
  455. handler: workingGroups_WorkerRewardAmountUpdated
  456. - event: operationsWorkingGroupAlpha.StatusTextChanged
  457. handler: workingGroups_StatusTextChanged
  458. - event: operationsWorkingGroupAlpha.BudgetSpending
  459. handler: workingGroups_BudgetSpending
  460. - event: operationsWorkingGroupAlpha.RewardPaid
  461. handler: workingGroups_RewardPaid
  462. - event: operationsWorkingGroupAlpha.NewMissedRewardLevelReached
  463. handler: workingGroups_NewMissedRewardLevelReached
  464. - event: operationsWorkingGroupAlpha.WorkerStartedLeaving
  465. handler: workingGroups_WorkerStartedLeaving
  466. # Operations working group beta
  467. - event: operationsWorkingGroupBeta.OpeningAdded
  468. handler: workingGroups_OpeningAdded
  469. - event: operationsWorkingGroupBeta.AppliedOnOpening
  470. handler: workingGroups_AppliedOnOpening
  471. - event: operationsWorkingGroupBeta.OpeningFilled
  472. handler: workingGroups_OpeningFilled
  473. - event: operationsWorkingGroupBeta.LeaderSet
  474. handler: workingGroups_LeaderSet
  475. - event: operationsWorkingGroupBeta.WorkerRoleAccountUpdated
  476. handler: workingGroups_WorkerRoleAccountUpdated
  477. - event: operationsWorkingGroupBeta.LeaderUnset
  478. handler: workingGroups_LeaderUnset
  479. - event: operationsWorkingGroupBeta.WorkerExited
  480. handler: workingGroups_WorkerExited
  481. - event: operationsWorkingGroupBeta.TerminatedWorker
  482. handler: workingGroups_TerminatedWorker
  483. - event: operationsWorkingGroupBeta.TerminatedLeader
  484. handler: workingGroups_TerminatedLeader
  485. - event: operationsWorkingGroupBeta.StakeSlashed
  486. handler: workingGroups_StakeSlashed
  487. - event: operationsWorkingGroupBeta.StakeDecreased
  488. handler: workingGroups_StakeDecreased
  489. - event: operationsWorkingGroupBeta.StakeIncreased
  490. handler: workingGroups_StakeIncreased
  491. - event: operationsWorkingGroupBeta.ApplicationWithdrawn
  492. handler: workingGroups_ApplicationWithdrawn
  493. - event: operationsWorkingGroupBeta.OpeningCanceled
  494. handler: workingGroups_OpeningCanceled
  495. - event: operationsWorkingGroupBeta.BudgetSet
  496. handler: workingGroups_BudgetSet
  497. - event: operationsWorkingGroupBeta.WorkerRewardAccountUpdated
  498. handler: workingGroups_WorkerRewardAccountUpdated
  499. - event: operationsWorkingGroupBeta.WorkerRewardAmountUpdated
  500. handler: workingGroups_WorkerRewardAmountUpdated
  501. - event: operationsWorkingGroupBeta.StatusTextChanged
  502. handler: workingGroups_StatusTextChanged
  503. - event: operationsWorkingGroupBeta.BudgetSpending
  504. handler: workingGroups_BudgetSpending
  505. - event: operationsWorkingGroupBeta.RewardPaid
  506. handler: workingGroups_RewardPaid
  507. - event: operationsWorkingGroupBeta.NewMissedRewardLevelReached
  508. handler: workingGroups_NewMissedRewardLevelReached
  509. - event: operationsWorkingGroupBeta.WorkerStartedLeaving
  510. handler: workingGroups_WorkerStartedLeaving
  511. # Operations working group gamma
  512. - event: operationsWorkingGroupGamma.OpeningAdded
  513. handler: workingGroups_OpeningAdded
  514. - event: operationsWorkingGroupGamma.AppliedOnOpening
  515. handler: workingGroups_AppliedOnOpening
  516. - event: operationsWorkingGroupGamma.OpeningFilled
  517. handler: workingGroups_OpeningFilled
  518. - event: operationsWorkingGroupGamma.LeaderSet
  519. handler: workingGroups_LeaderSet
  520. - event: operationsWorkingGroupGamma.WorkerRoleAccountUpdated
  521. handler: workingGroups_WorkerRoleAccountUpdated
  522. - event: operationsWorkingGroupGamma.LeaderUnset
  523. handler: workingGroups_LeaderUnset
  524. - event: operationsWorkingGroupGamma.WorkerExited
  525. handler: workingGroups_WorkerExited
  526. - event: operationsWorkingGroupGamma.TerminatedWorker
  527. handler: workingGroups_TerminatedWorker
  528. - event: operationsWorkingGroupGamma.TerminatedLeader
  529. handler: workingGroups_TerminatedLeader
  530. - event: operationsWorkingGroupGamma.StakeSlashed
  531. handler: workingGroups_StakeSlashed
  532. - event: operationsWorkingGroupGamma.StakeDecreased
  533. handler: workingGroups_StakeDecreased
  534. - event: operationsWorkingGroupGamma.StakeIncreased
  535. handler: workingGroups_StakeIncreased
  536. - event: operationsWorkingGroupGamma.ApplicationWithdrawn
  537. handler: workingGroups_ApplicationWithdrawn
  538. - event: operationsWorkingGroupGamma.OpeningCanceled
  539. handler: workingGroups_OpeningCanceled
  540. - event: operationsWorkingGroupGamma.BudgetSet
  541. handler: workingGroups_BudgetSet
  542. - event: operationsWorkingGroupGamma.WorkerRewardAccountUpdated
  543. handler: workingGroups_WorkerRewardAccountUpdated
  544. - event: operationsWorkingGroupGamma.WorkerRewardAmountUpdated
  545. handler: workingGroups_WorkerRewardAmountUpdated
  546. - event: operationsWorkingGroupGamma.StatusTextChanged
  547. handler: workingGroups_StatusTextChanged
  548. - event: operationsWorkingGroupGamma.BudgetSpending
  549. handler: workingGroups_BudgetSpending
  550. - event: operationsWorkingGroupGamma.RewardPaid
  551. handler: workingGroups_RewardPaid
  552. - event: operationsWorkingGroupGamma.NewMissedRewardLevelReached
  553. handler: workingGroups_NewMissedRewardLevelReached
  554. - event: operationsWorkingGroupGamma.WorkerStartedLeaving
  555. handler: workingGroups_WorkerStartedLeaving
  556. # Distribution working group
  557. - event: distributionWorkingGroup.OpeningAdded
  558. handler: workingGroups_OpeningAdded
  559. - event: distributionWorkingGroup.AppliedOnOpening
  560. handler: workingGroups_AppliedOnOpening
  561. - event: distributionWorkingGroup.OpeningFilled
  562. handler: workingGroups_OpeningFilled
  563. - event: distributionWorkingGroup.LeaderSet
  564. handler: workingGroups_LeaderSet
  565. - event: distributionWorkingGroup.WorkerRoleAccountUpdated
  566. handler: workingGroups_WorkerRoleAccountUpdated
  567. - event: distributionWorkingGroup.LeaderUnset
  568. handler: workingGroups_LeaderUnset
  569. - event: distributionWorkingGroup.WorkerExited
  570. handler: workingGroups_WorkerExited
  571. - event: distributionWorkingGroup.TerminatedWorker
  572. handler: workingGroups_TerminatedWorker
  573. - event: distributionWorkingGroup.TerminatedLeader
  574. handler: workingGroups_TerminatedLeader
  575. - event: distributionWorkingGroup.StakeSlashed
  576. handler: workingGroups_StakeSlashed
  577. - event: distributionWorkingGroup.StakeDecreased
  578. handler: workingGroups_StakeDecreased
  579. - event: distributionWorkingGroup.StakeIncreased
  580. handler: workingGroups_StakeIncreased
  581. - event: distributionWorkingGroup.ApplicationWithdrawn
  582. handler: workingGroups_ApplicationWithdrawn
  583. - event: distributionWorkingGroup.OpeningCanceled
  584. handler: workingGroups_OpeningCanceled
  585. - event: distributionWorkingGroup.BudgetSet
  586. handler: workingGroups_BudgetSet
  587. - event: distributionWorkingGroup.WorkerRewardAccountUpdated
  588. handler: workingGroups_WorkerRewardAccountUpdated
  589. - event: distributionWorkingGroup.WorkerRewardAmountUpdated
  590. handler: workingGroups_WorkerRewardAmountUpdated
  591. - event: distributionWorkingGroup.StatusTextChanged
  592. handler: workingGroups_StatusTextChanged
  593. - event: distributionWorkingGroup.BudgetSpending
  594. handler: workingGroups_BudgetSpending
  595. - event: distributionWorkingGroup.RewardPaid
  596. handler: workingGroups_RewardPaid
  597. - event: distributionWorkingGroup.NewMissedRewardLevelReached
  598. handler: workingGroups_NewMissedRewardLevelReached
  599. - event: distributionWorkingGroup.WorkerStartedLeaving
  600. handler: workingGroups_WorkerStartedLeaving
  601. # Gateway working group
  602. - event: gatewayWorkingGroup.OpeningAdded
  603. handler: workingGroups_OpeningAdded
  604. - event: gatewayWorkingGroup.AppliedOnOpening
  605. handler: workingGroups_AppliedOnOpening
  606. - event: gatewayWorkingGroup.OpeningFilled
  607. handler: workingGroups_OpeningFilled
  608. - event: gatewayWorkingGroup.LeaderSet
  609. handler: workingGroups_LeaderSet
  610. - event: gatewayWorkingGroup.WorkerRoleAccountUpdated
  611. handler: workingGroups_WorkerRoleAccountUpdated
  612. - event: gatewayWorkingGroup.LeaderUnset
  613. handler: workingGroups_LeaderUnset
  614. - event: gatewayWorkingGroup.WorkerExited
  615. handler: workingGroups_WorkerExited
  616. - event: gatewayWorkingGroup.TerminatedWorker
  617. handler: workingGroups_TerminatedWorker
  618. - event: gatewayWorkingGroup.TerminatedLeader
  619. handler: workingGroups_TerminatedLeader
  620. - event: gatewayWorkingGroup.StakeSlashed
  621. handler: workingGroups_StakeSlashed
  622. - event: gatewayWorkingGroup.StakeDecreased
  623. handler: workingGroups_StakeDecreased
  624. - event: gatewayWorkingGroup.StakeIncreased
  625. handler: workingGroups_StakeIncreased
  626. - event: gatewayWorkingGroup.ApplicationWithdrawn
  627. handler: workingGroups_ApplicationWithdrawn
  628. - event: gatewayWorkingGroup.OpeningCanceled
  629. handler: workingGroups_OpeningCanceled
  630. - event: gatewayWorkingGroup.BudgetSet
  631. handler: workingGroups_BudgetSet
  632. - event: gatewayWorkingGroup.WorkerRewardAccountUpdated
  633. handler: workingGroups_WorkerRewardAccountUpdated
  634. - event: gatewayWorkingGroup.WorkerRewardAmountUpdated
  635. handler: workingGroups_WorkerRewardAmountUpdated
  636. - event: gatewayWorkingGroup.StatusTextChanged
  637. handler: workingGroups_StatusTextChanged
  638. - event: gatewayWorkingGroup.BudgetSpending
  639. handler: workingGroups_BudgetSpending
  640. - event: gatewayWorkingGroup.RewardPaid
  641. handler: workingGroups_RewardPaid
  642. - event: gatewayWorkingGroup.NewMissedRewardLevelReached
  643. handler: workingGroups_NewMissedRewardLevelReached
  644. - event: gatewayWorkingGroup.WorkerStartedLeaving
  645. handler: workingGroups_WorkerStartedLeaving
  646. # Proposals
  647. - event: proposalsCodex.ProposalCreated
  648. handler: proposalsCodex_ProposalCreated
  649. - event: proposalsEngine.ProposalStatusUpdated
  650. handler: proposalsEngine_ProposalStatusUpdated
  651. - event: proposalsEngine.ProposalDecisionMade
  652. handler: proposalsEngine_ProposalDecisionMade
  653. - event: proposalsEngine.ProposalExecuted
  654. handler: proposalsEngine_ProposalExecuted
  655. - event: proposalsEngine.Voted
  656. handler: proposalsEngine_Voted
  657. - event: proposalsEngine.ProposalCancelled
  658. handler: proposalsEngine_ProposalCancelled
  659. # Proposals discussion
  660. - event: proposalsDiscussion.PostCreated
  661. handler: proposalsDiscussion_PostCreated
  662. - event: proposalsDiscussion.PostUpdated
  663. handler: proposalsDiscussion_PostUpdated
  664. - event: proposalsDiscussion.ThreadModeChanged
  665. handler: proposalsDiscussion_ThreadModeChanged
  666. - event: proposalsDiscussion.PostDeleted
  667. handler: proposalsDiscussion_PostDeleted
  668. # Forum
  669. - event: forum.CategoryCreated
  670. handler: forum_CategoryCreated
  671. - event: forum.CategoryArchivalStatusUpdated
  672. handler: forum_CategoryArchivalStatusUpdated
  673. - event: forum.CategoryDeleted
  674. handler: forum_CategoryDeleted
  675. - event: forum.ThreadCreated
  676. handler: forum_ThreadCreated
  677. - event: forum.ThreadModerated
  678. handler: forum_ThreadModerated
  679. - event: forum.ThreadMetadataUpdated
  680. handler: forum_ThreadMetadataUpdated
  681. - event: forum.ThreadDeleted
  682. handler: forum_ThreadDeleted
  683. - event: forum.ThreadMoved
  684. handler: forum_ThreadMoved
  685. - event: forum.PostAdded
  686. handler: forum_PostAdded
  687. - event: forum.PostModerated
  688. handler: forum_PostModerated
  689. - event: forum.PostDeleted
  690. handler: forum_PostDeleted
  691. - event: forum.PostTextUpdated
  692. handler: forum_PostTextUpdated
  693. - event: forum.PostReacted
  694. handler: forum_PostReacted
  695. - event: forum.VoteOnPoll
  696. handler: forum_VoteOnPoll
  697. - event: forum.CategoryStickyThreadUpdate
  698. handler: forum_CategoryStickyThreadUpdate
  699. - event: forum.CategoryMembershipOfModeratorUpdated
  700. handler: forum_CategoryMembershipOfModeratorUpdated
  701. # Content directory
  702. - event: content.CuratorGroupCreated
  703. handler: content_CuratorGroupCreated
  704. - event: content.CuratorGroupStatusSet
  705. handler: content_CuratorGroupStatusSet
  706. - event: content.CuratorAdded
  707. handler: content_CuratorAdded
  708. - event: content.CuratorRemoved
  709. handler: content_CuratorRemoved
  710. - event: content.ChannelCreated
  711. handler: content_ChannelCreated
  712. - event: content.ChannelUpdated
  713. handler: content_ChannelUpdated
  714. - event: content.ChannelAssetsRemoved
  715. handler: content_ChannelAssetsRemoved
  716. - event: content.ChannelCensorshipStatusUpdated
  717. handler: content_ChannelCensorshipStatusUpdated
  718. - event: content.ChannelCategoryCreated
  719. handler: content_ChannelCategoryCreated
  720. - event: content.ChannelCategoryUpdated
  721. handler: content_ChannelCategoryUpdated
  722. - event: content.ChannelCategoryDeleted
  723. handler: content_ChannelCategoryDeleted
  724. - event: content.VideoCategoryCreated
  725. handler: content_VideoCategoryCreated
  726. - event: content.VideoCategoryUpdated
  727. handler: content_VideoCategoryUpdated
  728. - event: content.VideoCategoryDeleted
  729. handler: content_VideoCategoryDeleted
  730. - event: content.VideoCreated
  731. handler: content_VideoCreated
  732. - event: content.VideoUpdated
  733. handler: content_VideoUpdated
  734. - event: content.VideoDeleted
  735. handler: content_VideoDeleted
  736. - event: content.VideoCensorshipStatusUpdated
  737. handler: content_VideoCensorshipStatusUpdated
  738. - event: content.FeaturedVideosSet
  739. handler: content_FeaturedVideosSet
  740. - event: content.ChannelDeleted
  741. handler: content_ChannelDeleted
  742. # content NFTs
  743. - event: content.AuctionStarted
  744. handler: contentNft_AuctionStarted
  745. - event: content.NftIssued
  746. handler: contentNft_NftIssued
  747. - event: content.AuctionBidMade
  748. handler: contentNft_AuctionBidMade
  749. - event: content.AuctionBidCanceled
  750. handler: contentNft_AuctionBidCanceled
  751. - event: content.AuctionCanceled
  752. handler: contentNft_AuctionCanceled
  753. - event: content.EnglishAuctionCompleted
  754. handler: contentNft_EnglishAuctionCompleted
  755. - event: content.BidMadeCompletingAuction
  756. handler: contentNft_BidMadeCompletingAuction
  757. - event: content.OpenAuctionBidAccepted
  758. handler: contentNft_OpenAuctionBidAccepted
  759. - event: content.OfferStarted
  760. handler: contentNft_OfferStarted
  761. - event: content.OfferAccepted
  762. handler: contentNft_OfferAccepted
  763. - event: content.OfferCanceled
  764. handler: contentNft_OfferCanceled
  765. - event: content.NftSellOrderMade
  766. handler: contentNft_NftSellOrderMade
  767. - event: content.NftBought
  768. handler: contentNft_NftBought
  769. - event: content.BuyNowCanceled
  770. handler: contentNft_BuyNowCanceled
  771. # storage v2
  772. - event: storage.StorageBucketCreated
  773. handler: storage_StorageBucketCreated
  774. - event: storage.StorageBucketInvitationAccepted
  775. handler: storage_StorageBucketInvitationAccepted
  776. - event: storage.StorageBucketsUpdatedForBag
  777. handler: storage_StorageBucketsUpdatedForBag
  778. - event: storage.DataObjectsUploaded
  779. handler: storage_DataObjectsUploaded
  780. - event: storage.StorageOperatorMetadataSet
  781. handler: storage_StorageOperatorMetadataSet
  782. - event: storage.StorageBucketVoucherLimitsSet
  783. handler: storage_StorageBucketVoucherLimitsSet
  784. - event: storage.PendingDataObjectsAccepted
  785. handler: storage_PendingDataObjectsAccepted
  786. - event: storage.StorageBucketInvitationCancelled
  787. handler: storage_StorageBucketInvitationCancelled
  788. - event: storage.StorageBucketOperatorInvited
  789. handler: storage_StorageBucketOperatorInvited
  790. - event: storage.StorageBucketOperatorRemoved
  791. handler: storage_StorageBucketOperatorRemoved
  792. - event: storage.UploadingBlockStatusUpdated
  793. handler: storage_UploadingBlockStatusUpdated
  794. - event: storage.DataObjectPerMegabyteFeeUpdated
  795. handler: storage_DataObjectPerMegabyteFeeUpdated
  796. - event: storage.StorageBucketsPerBagLimitUpdated
  797. handler: storage_StorageBucketsPerBagLimitUpdated
  798. - event: storage.StorageBucketsVoucherMaxLimitsUpdated
  799. handler: storage_StorageBucketsVoucherMaxLimitsUpdated
  800. - event: storage.DataObjectsMoved
  801. handler: storage_DataObjectsMoved
  802. - event: storage.DataObjectsDeleted
  803. handler: storage_DataObjectsDeleted
  804. - event: storage.StorageBucketStatusUpdated
  805. handler: storage_StorageBucketStatusUpdated
  806. - event: storage.UpdateBlacklist
  807. handler: storage_UpdateBlacklist
  808. - event: storage.DynamicBagDeleted
  809. handler: storage_DynamicBagDeleted
  810. - event: storage.DynamicBagCreated
  811. handler: storage_DynamicBagCreated
  812. - event: storage.VoucherChanged
  813. handler: storage_VoucherChanged
  814. - event: storage.StorageBucketDeleted
  815. handler: storage_StorageBucketDeleted
  816. - event: storage.DistributionBucketFamilyCreated
  817. handler: storage_DistributionBucketFamilyCreated
  818. - event: storage.DistributionBucketFamilyDeleted
  819. handler: storage_DistributionBucketFamilyDeleted
  820. - event: storage.DistributionBucketCreated
  821. handler: storage_DistributionBucketCreated
  822. - event: storage.DistributionBucketStatusUpdated
  823. handler: storage_DistributionBucketStatusUpdated
  824. - event: storage.DistributionBucketDeleted
  825. handler: storage_DistributionBucketDeleted
  826. - event: storage.DistributionBucketsUpdatedForBag
  827. handler: storage_DistributionBucketsUpdatedForBag
  828. - event: storage.DistributionBucketsPerBagLimitUpdated
  829. handler: storage_DistributionBucketsPerBagLimitUpdated
  830. - event: storage.DistributionBucketModeUpdated
  831. handler: storage_DistributionBucketModeUpdated
  832. - event: storage.DistributionBucketOperatorInvited
  833. handler: storage_DistributionBucketOperatorInvited
  834. - event: storage.DistributionBucketInvitationCancelled
  835. handler: storage_DistributionBucketInvitationCancelled
  836. - event: storage.DistributionBucketInvitationAccepted
  837. handler: storage_DistributionBucketInvitationAccepted
  838. - event: storage.DistributionBucketMetadataSet
  839. handler: storage_DistributionBucketMetadataSet
  840. - event: storage.DistributionBucketOperatorRemoved
  841. handler: storage_DistributionBucketOperatorRemoved
  842. - event: storage.DistributionBucketFamilyMetadataSet
  843. handler: storage_DistributionBucketFamilyMetadataSet
  844. # Council
  845. - event: council.AnnouncingPeriodStarted
  846. handler: council_AnnouncingPeriodStarted
  847. - event: council.NotEnoughCandidates
  848. handler: council_NotEnoughCandidates
  849. - event: council.VotingPeriodStarted
  850. handler: council_VotingPeriodStarted
  851. - event: council.NewCandidate
  852. handler: council_NewCandidate
  853. - event: council.NewCouncilElected
  854. handler: council_NewCouncilElected
  855. - event: council.NewCouncilNotElected
  856. handler: council_NewCouncilNotElected
  857. - event: council.CandidacyStakeRelease
  858. handler: council_CandidacyStakeRelease
  859. - event: council.CandidacyWithdraw
  860. handler: council_CandidacyWithdraw
  861. - event: council.CandidacyNoteSet
  862. handler: council_CandidacyNoteSet
  863. - event: council.RewardPayment
  864. handler: council_RewardPayment
  865. - event: council.BudgetBalanceSet
  866. handler: council_BudgetBalanceSet
  867. - event: council.BudgetRefill
  868. handler: council_BudgetRefill
  869. - event: council.BudgetRefillPlanned
  870. handler: council_BudgetRefillPlanned
  871. - event: council.BudgetIncrementUpdated
  872. handler: council_BudgetIncrementUpdated
  873. - event: council.CouncilorRewardUpdated
  874. handler: council_CouncilorRewardUpdated
  875. - event: council.RequestFunded
  876. handler: council_RequestFunded
  877. # Referendum
  878. - event: referendum.ReferendumStarted
  879. handler: referendum_ReferendumStarted
  880. - event: referendum.ReferendumStartedForcefully
  881. handler: referendum_ReferendumStartedForcefully
  882. - event: referendum.RevealingStageStarted
  883. handler: referendum_RevealingStageStarted
  884. - event: referendum.ReferendumFinished
  885. handler: referendum_ReferendumFinished
  886. - event: referendum.VoteCast
  887. handler: referendum_VoteCast
  888. - event: referendum.VoteRevealed
  889. handler: referendum_VoteRevealed
  890. - event: referendum.StakeReleased
  891. handler: referendum_StakeReleased
  892. # Bounty
  893. - event: bounty.BountyCreated
  894. handler: bounty_BountyCreated
  895. - event: bounty.BountyCanceled
  896. handler: bounty_BountyCanceled
  897. - event: bounty.BountyVetoed
  898. handler: bounty_BountyVetoed
  899. - event: bounty.BountyFunded
  900. handler: bounty_BountyFunded
  901. - event: bounty.BountyMaxFundingReached
  902. handler: bounty_BountyMaxFundingReached
  903. - event: bounty.BountyFundingWithdrawal
  904. handler: bounty_BountyFundingWithdrawal
  905. - event: bounty.BountyCreatorCherryWithdrawal
  906. handler: bounty_BountyCreatorCherryWithdrawal
  907. - event: bounty.BountyRemoved
  908. handler: bounty_BountyRemoved
  909. - event: bounty.WorkEntryAnnounced
  910. handler: bounty_WorkEntryAnnounced
  911. - event: bounty.WorkEntryWithdrawn
  912. handler: bounty_WorkEntryWithdrawn
  913. - event: bounty.WorkEntrySlashed
  914. handler: bounty_WorkEntrySlashed
  915. - event: bounty.WorkSubmitted
  916. handler: bounty_WorkSubmitted
  917. - event: bounty.OracleJudgmentSubmitted
  918. handler: bounty_OracleJudgmentSubmitted
  919. - event: bounty.WorkEntrantFundsWithdrawn
  920. handler: bounty_WorkEntrantFundsWithdrawn
  921. # ExtrinsicSuccess event handler - we're using an empty handler just for the purpose of triggering
  922. # preBlock/postBlock hooks for each block (instead of "catching-up" after some event/tx recognized by processor is fired)
  923. # ExtrinsicSuccess is emitted at least once per block due to timestamp.set extrinsic
  924. - event: system.ExtrinsicSuccess
  925. handler: system_ExtrinsicSuccess
  926. # Utility
  927. - event: joystreamUtility.UpdatedWorkingGroupBudget
  928. handler: joystreamUtility_UpdatedWorkingGroupBudget
  929. extrinsicHandlers:
  930. # infer defaults here
  931. #- extrinsic: Balances.Transfer
  932. #- extrinsic: Sudo.batchCall
  933. # handler: handleSudoCall(DatabaseManager,SubstrateEvent)
  934. preBlockHooks:
  935. - handler: bootstrapData
  936. filter:
  937. height: "[0,0]"
  938. postBlockHooks:
  939. - handler: runScheduler