manifest.yml 40 KB

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