|
@@ -0,0 +1,696 @@
|
|
|
+version: '3.0'
|
|
|
+description: Joystream query-node manifest file for olympia
|
|
|
+repository: https://github.com/Joystream/joystream
|
|
|
+hydraVersion: "3"
|
|
|
+dataSource:
|
|
|
+ kind: substrate
|
|
|
+ chain: joystream
|
|
|
+entities:
|
|
|
+ - generated/graphql-server/dist/src/modules/**/*.model.js
|
|
|
+typegen:
|
|
|
+ metadata:
|
|
|
+ source: ws://localhost:9944
|
|
|
+ events:
|
|
|
+ # Membership
|
|
|
+ - members.MembershipBought
|
|
|
+ - members.MemberProfileUpdated
|
|
|
+ - members.MemberAccountsUpdated
|
|
|
+ - members.MemberVerificationStatusUpdated
|
|
|
+ - members.InvitesTransferred
|
|
|
+ - members.MemberInvited
|
|
|
+ - members.StakingAccountAdded
|
|
|
+ - members.StakingAccountConfirmed
|
|
|
+ - members.StakingAccountRemoved
|
|
|
+ - members.InitialInvitationCountUpdated
|
|
|
+ - members.MembershipPriceUpdated
|
|
|
+ - members.ReferralCutUpdated
|
|
|
+ - members.InitialInvitationBalanceUpdated
|
|
|
+ - members.LeaderInvitationQuotaUpdated
|
|
|
+ # Working groups - use Storage Working Group as a reference group (all groups emit the same events)
|
|
|
+ - storageWorkingGroup.OpeningAdded
|
|
|
+ - storageWorkingGroup.AppliedOnOpening
|
|
|
+ - storageWorkingGroup.OpeningFilled
|
|
|
+ - storageWorkingGroup.LeaderSet
|
|
|
+ - storageWorkingGroup.WorkerRoleAccountUpdated
|
|
|
+ - storageWorkingGroup.LeaderUnset
|
|
|
+ - storageWorkingGroup.WorkerStartedLeaving
|
|
|
+ - storageWorkingGroup.WorkerExited
|
|
|
+ - storageWorkingGroup.TerminatedWorker
|
|
|
+ - storageWorkingGroup.TerminatedLeader
|
|
|
+ - storageWorkingGroup.StakeSlashed
|
|
|
+ - storageWorkingGroup.StakeDecreased
|
|
|
+ - storageWorkingGroup.StakeIncreased
|
|
|
+ - storageWorkingGroup.ApplicationWithdrawn
|
|
|
+ - storageWorkingGroup.OpeningCanceled
|
|
|
+ - storageWorkingGroup.BudgetSet
|
|
|
+ - storageWorkingGroup.WorkerRewardAccountUpdated
|
|
|
+ - storageWorkingGroup.WorkerRewardAmountUpdated
|
|
|
+ - storageWorkingGroup.StatusTextChanged
|
|
|
+ - storageWorkingGroup.BudgetSpending
|
|
|
+ - storageWorkingGroup.RewardPaid
|
|
|
+ - storageWorkingGroup.NewMissedRewardLevelReached
|
|
|
+ # Proposals
|
|
|
+ - proposalsCodex.ProposalCreated
|
|
|
+ - proposalsEngine.ProposalStatusUpdated
|
|
|
+ - proposalsEngine.ProposalDecisionMade
|
|
|
+ - proposalsEngine.ProposalExecuted
|
|
|
+ - proposalsEngine.Voted
|
|
|
+ - proposalsEngine.ProposalCancelled
|
|
|
+ # Proposals discussion
|
|
|
+ - proposalsDiscussion.ThreadCreated
|
|
|
+ - proposalsDiscussion.PostCreated
|
|
|
+ - proposalsDiscussion.PostUpdated
|
|
|
+ - proposalsDiscussion.ThreadModeChanged
|
|
|
+ - proposalsDiscussion.PostDeleted
|
|
|
+ # Forum
|
|
|
+ - forum.CategoryCreated
|
|
|
+ - forum.CategoryArchivalStatusUpdated
|
|
|
+ - forum.CategoryDeleted
|
|
|
+ - forum.ThreadCreated
|
|
|
+ - forum.ThreadModerated
|
|
|
+ - forum.ThreadMetadataUpdated
|
|
|
+ - forum.ThreadDeleted
|
|
|
+ - forum.ThreadMoved
|
|
|
+ - forum.VoteOnPoll
|
|
|
+ - forum.PostAdded
|
|
|
+ - forum.PostModerated
|
|
|
+ - forum.PostDeleted
|
|
|
+ - forum.PostTextUpdated
|
|
|
+ - forum.PostReacted
|
|
|
+ - forum.CategoryStickyThreadUpdate
|
|
|
+ - forum.CategoryMembershipOfModeratorUpdated
|
|
|
+ # Content directory
|
|
|
+ - content.CuratorGroupCreated
|
|
|
+ - content.CuratorGroupStatusSet
|
|
|
+ - content.CuratorAdded
|
|
|
+ - content.CuratorRemoved
|
|
|
+ - content.ChannelCreated
|
|
|
+ - content.ChannelUpdated
|
|
|
+ - content.ChannelAssetsRemoved
|
|
|
+ - content.ChannelCensorshipStatusUpdated
|
|
|
+ - content.ChannelOwnershipTransferRequested
|
|
|
+ - content.ChannelOwnershipTransferRequestWithdrawn
|
|
|
+ - content.ChannelOwnershipTransferred
|
|
|
+ - content.ChannelCategoryCreated
|
|
|
+ - content.ChannelCategoryUpdated
|
|
|
+ - content.ChannelCategoryDeleted
|
|
|
+ - content.VideoCategoryCreated
|
|
|
+ - content.VideoCategoryUpdated
|
|
|
+ - content.VideoCategoryDeleted
|
|
|
+ - content.VideoCreated
|
|
|
+ - content.VideoUpdated
|
|
|
+ - content.VideoDeleted
|
|
|
+ - content.VideoCensorshipStatusUpdated
|
|
|
+ - content.FeaturedVideosSet
|
|
|
+ # Storage
|
|
|
+ - data_directory.ContentAdded
|
|
|
+ - data_directory.ContentRemoved
|
|
|
+ - data_directory.ContentAccepted
|
|
|
+ - data_directory.ContentRejected
|
|
|
+ - data_directory.ContentUploadingStatusUpdated
|
|
|
+ # Council
|
|
|
+ - council.AnnouncingPeriodStarted
|
|
|
+ - council.NotEnoughCandidates
|
|
|
+ - council.VotingPeriodStarted
|
|
|
+ - council.NewCandidate
|
|
|
+ - council.NewCouncilElected
|
|
|
+ - council.NewCouncilNotElected
|
|
|
+ - council.CandidacyStakeRelease
|
|
|
+ - council.CandidacyWithdraw
|
|
|
+ - council.CandidacyNoteSet
|
|
|
+ - council.RewardPayment
|
|
|
+ - council.BudgetBalanceSet
|
|
|
+ - council.BudgetRefill
|
|
|
+ - council.BudgetRefillPlanned
|
|
|
+ - council.BudgetIncrementUpdated
|
|
|
+ - council.CouncilorRewardUpdated
|
|
|
+ - council.RequestFunded
|
|
|
+ # Referendum
|
|
|
+ - referendum.ReferendumStarted
|
|
|
+ - referendum.ReferendumStartedForcefully
|
|
|
+ - referendum.RevealingStageStarted
|
|
|
+ - referendum.ReferendumFinished
|
|
|
+ - referendum.VoteCast
|
|
|
+ - referendum.VoteRevealed
|
|
|
+ - referendum.StakeReleased
|
|
|
+ # Bounty
|
|
|
+ - bounty.BountyCreated
|
|
|
+ - bounty.BountyCanceled
|
|
|
+ - bounty.BountyVetoed
|
|
|
+ - bounty.BountyFunded
|
|
|
+ - bounty.BountyMaxFundingReached
|
|
|
+ - bounty.BountyFundingWithdrawal
|
|
|
+ - bounty.BountyCreatorCherryWithdrawal
|
|
|
+ - bounty.BountyRemoved
|
|
|
+ - bounty.WorkEntryAnnounced
|
|
|
+ - bounty.WorkEntryWithdrawn
|
|
|
+ - bounty.WorkEntrySlashed
|
|
|
+ - bounty.WorkSubmitted
|
|
|
+ - bounty.OracleJudgmentSubmitted
|
|
|
+ - bounty.WorkEntrantFundsWithdrawn
|
|
|
+ calls:
|
|
|
+ # Content directory
|
|
|
+ - content.create_curator_group
|
|
|
+ - content.set_curator_group_status
|
|
|
+ - content.add_curator_to_group
|
|
|
+ - content.remove_curator_from_group
|
|
|
+ - content.create_channel
|
|
|
+ - content.update_channel
|
|
|
+ - content.remove_channel_assets
|
|
|
+ - content.update_channel_censorship_status
|
|
|
+ - content.create_channel_category
|
|
|
+ - content.update_channel_category
|
|
|
+ - content.delete_channel_category
|
|
|
+ - content.request_channel_transfer
|
|
|
+ - content.cancel_channel_transfer_request
|
|
|
+ - content.accept_channel_transfer
|
|
|
+ - content.create_video
|
|
|
+ - content.update_video
|
|
|
+ - content.delete_video
|
|
|
+ - content.create_playlist
|
|
|
+ - content.update_playlist
|
|
|
+ - content.delete_playlist
|
|
|
+ - content.set_featured_videos
|
|
|
+ - content.create_video_category
|
|
|
+ - content.update_video_category
|
|
|
+ - content.delete_video_category
|
|
|
+ - content.remove_person_from_video
|
|
|
+ - content.update_video_censorship_status
|
|
|
+ # Storage
|
|
|
+ - data_directory.add_content
|
|
|
+ - data_directory.remove_content
|
|
|
+ - data_directory.accept_content
|
|
|
+ - data_directory.update_content_uploading_status
|
|
|
+ # Proposals discussion
|
|
|
+ - proposalsDiscussion.addPost
|
|
|
+ outDir: ./mappings/generated/types
|
|
|
+ customTypes:
|
|
|
+ lib: '@joystream/types/augment/all/types'
|
|
|
+ typedefsLoc: '../types/augment/all/defs.json'
|
|
|
+mappings:
|
|
|
+ # js module that exports the handler functions
|
|
|
+ mappingsModule: mappings/lib/src
|
|
|
+ # additinal libraries the processor loads
|
|
|
+ # typically it is a module with event and extrinsic types generated by hydra-typegen
|
|
|
+ imports:
|
|
|
+ - mappings/lib/generated/types
|
|
|
+ eventHandlers:
|
|
|
+ # Membership module
|
|
|
+ - event: members.MembershipBought
|
|
|
+ handler: members_MembershipBought
|
|
|
+ - event: members.MemberProfileUpdated
|
|
|
+ handler: members_MemberProfileUpdated
|
|
|
+ - event: members.MemberAccountsUpdated
|
|
|
+ handler: members_MemberAccountsUpdated
|
|
|
+ - event: members.MemberVerificationStatusUpdated
|
|
|
+ handler: members_MemberVerificationStatusUpdated
|
|
|
+ - event: members.InvitesTransferred
|
|
|
+ handler: members_InvitesTransferred
|
|
|
+ - event: members.MemberInvited
|
|
|
+ handler: members_MemberInvited
|
|
|
+ - event: members.StakingAccountAdded
|
|
|
+ handler: members_StakingAccountAdded
|
|
|
+ - event: members.StakingAccountConfirmed
|
|
|
+ handler: members_StakingAccountConfirmed
|
|
|
+ - event: members.StakingAccountRemoved
|
|
|
+ handler: members_StakingAccountRemoved
|
|
|
+ - event: members.InitialInvitationCountUpdated
|
|
|
+ handler: members_InitialInvitationCountUpdated
|
|
|
+ - event: members.MembershipPriceUpdated
|
|
|
+ handler: members_MembershipPriceUpdated
|
|
|
+ - event: members.ReferralCutUpdated
|
|
|
+ handler: members_ReferralCutUpdated
|
|
|
+ - event: members.InitialInvitationBalanceUpdated
|
|
|
+ handler: members_InitialInvitationBalanceUpdated
|
|
|
+ - event: members.LeaderInvitationQuotaUpdated
|
|
|
+ handler: members_LeaderInvitationQuotaUpdated
|
|
|
+ # Storage working group
|
|
|
+ - event: storageWorkingGroup.OpeningAdded
|
|
|
+ handler: workingGroups_OpeningAdded
|
|
|
+ - event: storageWorkingGroup.AppliedOnOpening
|
|
|
+ handler: workingGroups_AppliedOnOpening
|
|
|
+ - event: storageWorkingGroup.OpeningFilled
|
|
|
+ handler: workingGroups_OpeningFilled
|
|
|
+ - event: storageWorkingGroup.LeaderSet
|
|
|
+ handler: workingGroups_LeaderSet
|
|
|
+ - event: storageWorkingGroup.WorkerRoleAccountUpdated
|
|
|
+ handler: workingGroups_WorkerRoleAccountUpdated
|
|
|
+ - event: storageWorkingGroup.LeaderUnset
|
|
|
+ handler: workingGroups_LeaderUnset
|
|
|
+ - event: storageWorkingGroup.WorkerExited
|
|
|
+ handler: workingGroups_WorkerExited
|
|
|
+ - event: storageWorkingGroup.TerminatedWorker
|
|
|
+ handler: workingGroups_TerminatedWorker
|
|
|
+ - event: storageWorkingGroup.TerminatedLeader
|
|
|
+ handler: workingGroups_TerminatedLeader
|
|
|
+ - event: storageWorkingGroup.StakeSlashed
|
|
|
+ handler: workingGroups_StakeSlashed
|
|
|
+ - event: storageWorkingGroup.StakeDecreased
|
|
|
+ handler: workingGroups_StakeDecreased
|
|
|
+ - event: storageWorkingGroup.StakeIncreased
|
|
|
+ handler: workingGroups_StakeIncreased
|
|
|
+ - event: storageWorkingGroup.ApplicationWithdrawn
|
|
|
+ handler: workingGroups_ApplicationWithdrawn
|
|
|
+ - event: storageWorkingGroup.OpeningCanceled
|
|
|
+ handler: workingGroups_OpeningCanceled
|
|
|
+ - event: storageWorkingGroup.BudgetSet
|
|
|
+ handler: workingGroups_BudgetSet
|
|
|
+ - event: storageWorkingGroup.WorkerRewardAccountUpdated
|
|
|
+ handler: workingGroups_WorkerRewardAccountUpdated
|
|
|
+ - event: storageWorkingGroup.WorkerRewardAmountUpdated
|
|
|
+ handler: workingGroups_WorkerRewardAmountUpdated
|
|
|
+ - event: storageWorkingGroup.StatusTextChanged
|
|
|
+ handler: workingGroups_StatusTextChanged
|
|
|
+ - event: storageWorkingGroup.BudgetSpending
|
|
|
+ handler: workingGroups_BudgetSpending
|
|
|
+ - event: storageWorkingGroup.RewardPaid
|
|
|
+ handler: workingGroups_RewardPaid
|
|
|
+ - event: storageWorkingGroup.NewMissedRewardLevelReached
|
|
|
+ handler: workingGroups_NewMissedRewardLevelReached
|
|
|
+ - event: storageWorkingGroup.WorkerStartedLeaving
|
|
|
+ handler: workingGroups_WorkerStartedLeaving
|
|
|
+ # Forum working group
|
|
|
+ - event: forumWorkingGroup.OpeningAdded
|
|
|
+ handler: workingGroups_OpeningAdded
|
|
|
+ - event: forumWorkingGroup.AppliedOnOpening
|
|
|
+ handler: workingGroups_AppliedOnOpening
|
|
|
+ - event: forumWorkingGroup.OpeningFilled
|
|
|
+ handler: workingGroups_OpeningFilled
|
|
|
+ - event: forumWorkingGroup.LeaderSet
|
|
|
+ handler: workingGroups_LeaderSet
|
|
|
+ - event: forumWorkingGroup.WorkerRoleAccountUpdated
|
|
|
+ handler: workingGroups_WorkerRoleAccountUpdated
|
|
|
+ - event: forumWorkingGroup.LeaderUnset
|
|
|
+ handler: workingGroups_LeaderUnset
|
|
|
+ - event: forumWorkingGroup.WorkerExited
|
|
|
+ handler: workingGroups_WorkerExited
|
|
|
+ - event: forumWorkingGroup.TerminatedWorker
|
|
|
+ handler: workingGroups_TerminatedWorker
|
|
|
+ - event: forumWorkingGroup.TerminatedLeader
|
|
|
+ handler: workingGroups_TerminatedLeader
|
|
|
+ - event: forumWorkingGroup.StakeSlashed
|
|
|
+ handler: workingGroups_StakeSlashed
|
|
|
+ - event: forumWorkingGroup.StakeDecreased
|
|
|
+ handler: workingGroups_StakeDecreased
|
|
|
+ - event: forumWorkingGroup.StakeIncreased
|
|
|
+ handler: workingGroups_StakeIncreased
|
|
|
+ - event: forumWorkingGroup.ApplicationWithdrawn
|
|
|
+ handler: workingGroups_ApplicationWithdrawn
|
|
|
+ - event: forumWorkingGroup.OpeningCanceled
|
|
|
+ handler: workingGroups_OpeningCanceled
|
|
|
+ - event: forumWorkingGroup.BudgetSet
|
|
|
+ handler: workingGroups_BudgetSet
|
|
|
+ - event: forumWorkingGroup.WorkerRewardAccountUpdated
|
|
|
+ handler: workingGroups_WorkerRewardAccountUpdated
|
|
|
+ - event: forumWorkingGroup.WorkerRewardAmountUpdated
|
|
|
+ handler: workingGroups_WorkerRewardAmountUpdated
|
|
|
+ - event: forumWorkingGroup.StatusTextChanged
|
|
|
+ handler: workingGroups_StatusTextChanged
|
|
|
+ - event: forumWorkingGroup.BudgetSpending
|
|
|
+ handler: workingGroups_BudgetSpending
|
|
|
+ - event: forumWorkingGroup.RewardPaid
|
|
|
+ handler: workingGroups_RewardPaid
|
|
|
+ - event: forumWorkingGroup.NewMissedRewardLevelReached
|
|
|
+ handler: workingGroups_NewMissedRewardLevelReached
|
|
|
+ - event: forumWorkingGroup.WorkerStartedLeaving
|
|
|
+ handler: workingGroups_WorkerStartedLeaving
|
|
|
+ # Membership working group
|
|
|
+ - event: membershipWorkingGroup.OpeningAdded
|
|
|
+ handler: workingGroups_OpeningAdded
|
|
|
+ - event: membershipWorkingGroup.AppliedOnOpening
|
|
|
+ handler: workingGroups_AppliedOnOpening
|
|
|
+ - event: membershipWorkingGroup.OpeningFilled
|
|
|
+ handler: workingGroups_OpeningFilled
|
|
|
+ - event: membershipWorkingGroup.LeaderSet
|
|
|
+ handler: workingGroups_LeaderSet
|
|
|
+ - event: membershipWorkingGroup.WorkerRoleAccountUpdated
|
|
|
+ handler: workingGroups_WorkerRoleAccountUpdated
|
|
|
+ - event: membershipWorkingGroup.LeaderUnset
|
|
|
+ handler: workingGroups_LeaderUnset
|
|
|
+ - event: membershipWorkingGroup.WorkerExited
|
|
|
+ handler: workingGroups_WorkerExited
|
|
|
+ - event: membershipWorkingGroup.TerminatedWorker
|
|
|
+ handler: workingGroups_TerminatedWorker
|
|
|
+ - event: membershipWorkingGroup.TerminatedLeader
|
|
|
+ handler: workingGroups_TerminatedLeader
|
|
|
+ - event: membershipWorkingGroup.StakeSlashed
|
|
|
+ handler: workingGroups_StakeSlashed
|
|
|
+ - event: membershipWorkingGroup.StakeDecreased
|
|
|
+ handler: workingGroups_StakeDecreased
|
|
|
+ - event: membershipWorkingGroup.StakeIncreased
|
|
|
+ handler: workingGroups_StakeIncreased
|
|
|
+ - event: membershipWorkingGroup.ApplicationWithdrawn
|
|
|
+ handler: workingGroups_ApplicationWithdrawn
|
|
|
+ - event: membershipWorkingGroup.OpeningCanceled
|
|
|
+ handler: workingGroups_OpeningCanceled
|
|
|
+ - event: membershipWorkingGroup.BudgetSet
|
|
|
+ handler: workingGroups_BudgetSet
|
|
|
+ - event: membershipWorkingGroup.WorkerRewardAccountUpdated
|
|
|
+ handler: workingGroups_WorkerRewardAccountUpdated
|
|
|
+ - event: membershipWorkingGroup.WorkerRewardAmountUpdated
|
|
|
+ handler: workingGroups_WorkerRewardAmountUpdated
|
|
|
+ - event: membershipWorkingGroup.StatusTextChanged
|
|
|
+ handler: workingGroups_StatusTextChanged
|
|
|
+ - event: membershipWorkingGroup.BudgetSpending
|
|
|
+ handler: workingGroups_BudgetSpending
|
|
|
+ - event: membershipWorkingGroup.RewardPaid
|
|
|
+ handler: workingGroups_RewardPaid
|
|
|
+ - event: membershipWorkingGroup.NewMissedRewardLevelReached
|
|
|
+ handler: workingGroups_NewMissedRewardLevelReached
|
|
|
+ - event: membershipWorkingGroup.WorkerStartedLeaving
|
|
|
+ handler: workingGroups_WorkerStartedLeaving
|
|
|
+ # Content directory working group
|
|
|
+ - event: contentDirectoryWorkingGroup.OpeningAdded
|
|
|
+ handler: workingGroups_OpeningAdded
|
|
|
+ - event: contentDirectoryWorkingGroup.AppliedOnOpening
|
|
|
+ handler: workingGroups_AppliedOnOpening
|
|
|
+ - event: contentDirectoryWorkingGroup.OpeningFilled
|
|
|
+ handler: workingGroups_OpeningFilled
|
|
|
+ - event: contentDirectoryWorkingGroup.LeaderSet
|
|
|
+ handler: workingGroups_LeaderSet
|
|
|
+ - event: contentDirectoryWorkingGroup.WorkerRoleAccountUpdated
|
|
|
+ handler: workingGroups_WorkerRoleAccountUpdated
|
|
|
+ - event: contentDirectoryWorkingGroup.LeaderUnset
|
|
|
+ handler: workingGroups_LeaderUnset
|
|
|
+ - event: contentDirectoryWorkingGroup.WorkerExited
|
|
|
+ handler: workingGroups_WorkerExited
|
|
|
+ - event: contentDirectoryWorkingGroup.TerminatedWorker
|
|
|
+ handler: workingGroups_TerminatedWorker
|
|
|
+ - event: contentDirectoryWorkingGroup.TerminatedLeader
|
|
|
+ handler: workingGroups_TerminatedLeader
|
|
|
+ - event: contentDirectoryWorkingGroup.StakeSlashed
|
|
|
+ handler: workingGroups_StakeSlashed
|
|
|
+ - event: contentDirectoryWorkingGroup.StakeDecreased
|
|
|
+ handler: workingGroups_StakeDecreased
|
|
|
+ - event: contentDirectoryWorkingGroup.StakeIncreased
|
|
|
+ handler: workingGroups_StakeIncreased
|
|
|
+ - event: contentDirectoryWorkingGroup.ApplicationWithdrawn
|
|
|
+ handler: workingGroups_ApplicationWithdrawn
|
|
|
+ - event: contentDirectoryWorkingGroup.OpeningCanceled
|
|
|
+ handler: workingGroups_OpeningCanceled
|
|
|
+ - event: contentDirectoryWorkingGroup.BudgetSet
|
|
|
+ handler: workingGroups_BudgetSet
|
|
|
+ - event: contentDirectoryWorkingGroup.WorkerRewardAccountUpdated
|
|
|
+ handler: workingGroups_WorkerRewardAccountUpdated
|
|
|
+ - event: contentDirectoryWorkingGroup.WorkerRewardAmountUpdated
|
|
|
+ handler: workingGroups_WorkerRewardAmountUpdated
|
|
|
+ - event: contentDirectoryWorkingGroup.StatusTextChanged
|
|
|
+ handler: workingGroups_StatusTextChanged
|
|
|
+ - event: contentDirectoryWorkingGroup.BudgetSpending
|
|
|
+ handler: workingGroups_BudgetSpending
|
|
|
+ - event: contentDirectoryWorkingGroup.RewardPaid
|
|
|
+ handler: workingGroups_RewardPaid
|
|
|
+ - event: contentDirectoryWorkingGroup.NewMissedRewardLevelReached
|
|
|
+ handler: workingGroups_NewMissedRewardLevelReached
|
|
|
+ - event: contentDirectoryWorkingGroup.WorkerStartedLeaving
|
|
|
+ handler: workingGroups_WorkerStartedLeaving
|
|
|
+ # Operations working group
|
|
|
+ - event: operationsWorkingGroup.OpeningAdded
|
|
|
+ handler: workingGroups_OpeningAdded
|
|
|
+ - event: operationsWorkingGroup.AppliedOnOpening
|
|
|
+ handler: workingGroups_AppliedOnOpening
|
|
|
+ - event: operationsWorkingGroup.OpeningFilled
|
|
|
+ handler: workingGroups_OpeningFilled
|
|
|
+ - event: operationsWorkingGroup.LeaderSet
|
|
|
+ handler: workingGroups_LeaderSet
|
|
|
+ - event: operationsWorkingGroup.WorkerRoleAccountUpdated
|
|
|
+ handler: workingGroups_WorkerRoleAccountUpdated
|
|
|
+ - event: operationsWorkingGroup.LeaderUnset
|
|
|
+ handler: workingGroups_LeaderUnset
|
|
|
+ - event: operationsWorkingGroup.WorkerExited
|
|
|
+ handler: workingGroups_WorkerExited
|
|
|
+ - event: operationsWorkingGroup.TerminatedWorker
|
|
|
+ handler: workingGroups_TerminatedWorker
|
|
|
+ - event: operationsWorkingGroup.TerminatedLeader
|
|
|
+ handler: workingGroups_TerminatedLeader
|
|
|
+ - event: operationsWorkingGroup.StakeSlashed
|
|
|
+ handler: workingGroups_StakeSlashed
|
|
|
+ - event: operationsWorkingGroup.StakeDecreased
|
|
|
+ handler: workingGroups_StakeDecreased
|
|
|
+ - event: operationsWorkingGroup.StakeIncreased
|
|
|
+ handler: workingGroups_StakeIncreased
|
|
|
+ - event: operationsWorkingGroup.ApplicationWithdrawn
|
|
|
+ handler: workingGroups_ApplicationWithdrawn
|
|
|
+ - event: operationsWorkingGroup.OpeningCanceled
|
|
|
+ handler: workingGroups_OpeningCanceled
|
|
|
+ - event: operationsWorkingGroup.BudgetSet
|
|
|
+ handler: workingGroups_BudgetSet
|
|
|
+ - event: operationsWorkingGroup.WorkerRewardAccountUpdated
|
|
|
+ handler: workingGroups_WorkerRewardAccountUpdated
|
|
|
+ - event: operationsWorkingGroup.WorkerRewardAmountUpdated
|
|
|
+ handler: workingGroups_WorkerRewardAmountUpdated
|
|
|
+ - event: operationsWorkingGroup.StatusTextChanged
|
|
|
+ handler: workingGroups_StatusTextChanged
|
|
|
+ - event: operationsWorkingGroup.BudgetSpending
|
|
|
+ handler: workingGroups_BudgetSpending
|
|
|
+ - event: operationsWorkingGroup.RewardPaid
|
|
|
+ handler: workingGroups_RewardPaid
|
|
|
+ - event: operationsWorkingGroup.NewMissedRewardLevelReached
|
|
|
+ handler: workingGroups_NewMissedRewardLevelReached
|
|
|
+ - event: operationsWorkingGroup.WorkerStartedLeaving
|
|
|
+ handler: workingGroups_WorkerStartedLeaving
|
|
|
+ # Gateway working group
|
|
|
+ - event: gatewayWorkingGroup.OpeningAdded
|
|
|
+ handler: workingGroups_OpeningAdded
|
|
|
+ - event: gatewayWorkingGroup.AppliedOnOpening
|
|
|
+ handler: workingGroups_AppliedOnOpening
|
|
|
+ - event: gatewayWorkingGroup.OpeningFilled
|
|
|
+ handler: workingGroups_OpeningFilled
|
|
|
+ - event: gatewayWorkingGroup.LeaderSet
|
|
|
+ handler: workingGroups_LeaderSet
|
|
|
+ - event: gatewayWorkingGroup.WorkerRoleAccountUpdated
|
|
|
+ handler: workingGroups_WorkerRoleAccountUpdated
|
|
|
+ - event: gatewayWorkingGroup.LeaderUnset
|
|
|
+ handler: workingGroups_LeaderUnset
|
|
|
+ - event: gatewayWorkingGroup.WorkerExited
|
|
|
+ handler: workingGroups_WorkerExited
|
|
|
+ - event: gatewayWorkingGroup.TerminatedWorker
|
|
|
+ handler: workingGroups_TerminatedWorker
|
|
|
+ - event: gatewayWorkingGroup.TerminatedLeader
|
|
|
+ handler: workingGroups_TerminatedLeader
|
|
|
+ - event: gatewayWorkingGroup.StakeSlashed
|
|
|
+ handler: workingGroups_StakeSlashed
|
|
|
+ - event: gatewayWorkingGroup.StakeDecreased
|
|
|
+ handler: workingGroups_StakeDecreased
|
|
|
+ - event: gatewayWorkingGroup.StakeIncreased
|
|
|
+ handler: workingGroups_StakeIncreased
|
|
|
+ - event: gatewayWorkingGroup.ApplicationWithdrawn
|
|
|
+ handler: workingGroups_ApplicationWithdrawn
|
|
|
+ - event: gatewayWorkingGroup.OpeningCanceled
|
|
|
+ handler: workingGroups_OpeningCanceled
|
|
|
+ - event: gatewayWorkingGroup.BudgetSet
|
|
|
+ handler: workingGroups_BudgetSet
|
|
|
+ - event: gatewayWorkingGroup.WorkerRewardAccountUpdated
|
|
|
+ handler: workingGroups_WorkerRewardAccountUpdated
|
|
|
+ - event: gatewayWorkingGroup.WorkerRewardAmountUpdated
|
|
|
+ handler: workingGroups_WorkerRewardAmountUpdated
|
|
|
+ - event: gatewayWorkingGroup.StatusTextChanged
|
|
|
+ handler: workingGroups_StatusTextChanged
|
|
|
+ - event: gatewayWorkingGroup.BudgetSpending
|
|
|
+ handler: workingGroups_BudgetSpending
|
|
|
+ - event: gatewayWorkingGroup.RewardPaid
|
|
|
+ handler: workingGroups_RewardPaid
|
|
|
+ - event: gatewayWorkingGroup.NewMissedRewardLevelReached
|
|
|
+ handler: workingGroups_NewMissedRewardLevelReached
|
|
|
+ - event: gatewayWorkingGroup.WorkerStartedLeaving
|
|
|
+ handler: workingGroups_WorkerStartedLeaving
|
|
|
+ # Proposals
|
|
|
+ - event: proposalsCodex.ProposalCreated
|
|
|
+ handler: proposalsCodex_ProposalCreated
|
|
|
+ - event: proposalsEngine.ProposalStatusUpdated
|
|
|
+ handler: proposalsEngine_ProposalStatusUpdated
|
|
|
+ - event: proposalsEngine.ProposalDecisionMade
|
|
|
+ handler: proposalsEngine_ProposalDecisionMade
|
|
|
+ - event: proposalsEngine.ProposalExecuted
|
|
|
+ handler: proposalsEngine_ProposalExecuted
|
|
|
+ - event: proposalsEngine.Voted
|
|
|
+ handler: proposalsEngine_Voted
|
|
|
+ - event: proposalsEngine.ProposalCancelled
|
|
|
+ handler: proposalsEngine_ProposalCancelled
|
|
|
+ # Proposals discussion
|
|
|
+ - event: proposalsDiscussion.ThreadCreated
|
|
|
+ handler: proposalsDiscussion_ThreadCreated
|
|
|
+ - event: proposalsDiscussion.PostCreated
|
|
|
+ handler: proposalsDiscussion_PostCreated
|
|
|
+ - event: proposalsDiscussion.PostUpdated
|
|
|
+ handler: proposalsDiscussion_PostUpdated
|
|
|
+ - event: proposalsDiscussion.ThreadModeChanged
|
|
|
+ handler: proposalsDiscussion_ThreadModeChanged
|
|
|
+ - event: proposalsDiscussion.PostDeleted
|
|
|
+ handler: proposalsDiscussion_PostDeleted
|
|
|
+ # Forum
|
|
|
+ - event: forum.CategoryCreated
|
|
|
+ handler: forum_CategoryCreated
|
|
|
+ - event: forum.CategoryArchivalStatusUpdated
|
|
|
+ handler: forum_CategoryArchivalStatusUpdated
|
|
|
+ - event: forum.CategoryDeleted
|
|
|
+ handler: forum_CategoryDeleted
|
|
|
+ - event: forum.ThreadCreated
|
|
|
+ handler: forum_ThreadCreated
|
|
|
+ - event: forum.ThreadModerated
|
|
|
+ handler: forum_ThreadModerated
|
|
|
+ - event: forum.ThreadMetadataUpdated
|
|
|
+ handler: forum_ThreadMetadataUpdated
|
|
|
+ - event: forum.ThreadDeleted
|
|
|
+ handler: forum_ThreadDeleted
|
|
|
+ - event: forum.ThreadMoved
|
|
|
+ handler: forum_ThreadMoved
|
|
|
+ - event: forum.PostAdded
|
|
|
+ handler: forum_PostAdded
|
|
|
+ - event: forum.PostModerated
|
|
|
+ handler: forum_PostModerated
|
|
|
+ - event: forum.PostDeleted
|
|
|
+ handler: forum_PostDeleted
|
|
|
+ - event: forum.PostTextUpdated
|
|
|
+ handler: forum_PostTextUpdated
|
|
|
+ - event: forum.PostReacted
|
|
|
+ handler: forum_PostReacted
|
|
|
+ - event: forum.VoteOnPoll
|
|
|
+ handler: forum_VoteOnPoll
|
|
|
+ - event: forum.CategoryStickyThreadUpdate
|
|
|
+ handler: forum_CategoryStickyThreadUpdate
|
|
|
+ - event: forum.CategoryMembershipOfModeratorUpdated
|
|
|
+ handler: forum_CategoryMembershipOfModeratorUpdated
|
|
|
+ # Content directory
|
|
|
+ - event: content.CuratorGroupCreated
|
|
|
+ handler: content_CuratorGroupCreated
|
|
|
+ - event: content.CuratorGroupStatusSet
|
|
|
+ handler: content_CuratorGroupStatusSet
|
|
|
+ - event: content.CuratorAdded
|
|
|
+ handler: content_CuratorAdded
|
|
|
+ - event: content.CuratorRemoved
|
|
|
+ handler: content_CuratorRemoved
|
|
|
+ - event: content.ChannelCreated
|
|
|
+ handler: content_ChannelCreated
|
|
|
+ - event: content.ChannelUpdated
|
|
|
+ handler: content_ChannelUpdated
|
|
|
+ - event: content.ChannelAssetsRemoved
|
|
|
+ handler: content_ChannelAssetsRemoved
|
|
|
+ - event: content.ChannelCensorshipStatusUpdated
|
|
|
+ handler: content_ChannelCensorshipStatusUpdated
|
|
|
+ # these events are defined in runtime but never calles (at the time of writing)
|
|
|
+ #- event: content.ChannelOwnershipTransferRequested
|
|
|
+ # handler: content_ChannelOwnershipTransferRequested
|
|
|
+ #- event: content.ChannelOwnershipTransferRequestWithdrawn
|
|
|
+ # handler: content_ChannelOwnershipTransferRequestWithdrawn
|
|
|
+ #- event: content.ChannelOwnershipTransferred
|
|
|
+ # handler: content_ChannelOwnershipTransferred
|
|
|
+ - event: content.ChannelCategoryCreated
|
|
|
+ handler: content_ChannelCategoryCreated
|
|
|
+ - event: content.ChannelCategoryUpdated
|
|
|
+ handler: content_ChannelCategoryUpdated
|
|
|
+ - event: content.ChannelCategoryDeleted
|
|
|
+ handler: content_ChannelCategoryDeleted
|
|
|
+ - event: content.VideoCategoryCreated
|
|
|
+ handler: content_VideoCategoryCreated
|
|
|
+ - event: content.VideoCategoryUpdated
|
|
|
+ handler: content_VideoCategoryUpdated
|
|
|
+ - event: content.VideoCategoryDeleted
|
|
|
+ handler: content_VideoCategoryDeleted
|
|
|
+ - event: content.VideoCreated
|
|
|
+ handler: content_VideoCreated
|
|
|
+ - event: content.VideoUpdated
|
|
|
+ handler: content_VideoUpdated
|
|
|
+ - event: content.VideoDeleted
|
|
|
+ handler: content_VideoDeleted
|
|
|
+ - event: content.VideoCensorshipStatusUpdated
|
|
|
+ handler: content_VideoCensorshipStatusUpdated
|
|
|
+ - event: content.FeaturedVideosSet
|
|
|
+ handler: content_FeaturedVideosSet
|
|
|
+ # Storage
|
|
|
+ - event: dataDirectory.ContentAdded
|
|
|
+ handler: dataDirectory_ContentAdded
|
|
|
+ - event: dataDirectory.ContentRemoved
|
|
|
+ handler: dataDirectory_ContentRemoved
|
|
|
+ - event: dataDirectory.ContentAccepted
|
|
|
+ handler: dataDirectory_ContentAccepted
|
|
|
+ # not handled at the moment
|
|
|
+ #- event: dataDirectory.ContentUploadingStatusUpdated
|
|
|
+ # handler: data_directory_ContentUploadingStatusUpdated
|
|
|
+
|
|
|
+ # Council
|
|
|
+ - event: council.AnnouncingPeriodStarted
|
|
|
+ handler: council_AnnouncingPeriodStarted
|
|
|
+ - event: council.NotEnoughCandidates
|
|
|
+ handler: council_NotEnoughCandidates
|
|
|
+ - event: council.VotingPeriodStarted
|
|
|
+ handler: council_VotingPeriodStarted
|
|
|
+ - event: council.NewCandidate
|
|
|
+ handler: council_NewCandidate
|
|
|
+ - event: council.NewCouncilElected
|
|
|
+ handler: council_NewCouncilElected
|
|
|
+ - event: council.NewCouncilNotElected
|
|
|
+ handler: council_NewCouncilNotElected
|
|
|
+ - event: council.CandidacyStakeRelease
|
|
|
+ handler: council_CandidacyStakeRelease
|
|
|
+ - event: council.CandidacyWithdraw
|
|
|
+ handler: council_CandidacyWithdraw
|
|
|
+ - event: council.CandidacyNoteSet
|
|
|
+ handler: council_CandidacyNoteSet
|
|
|
+ - event: council.RewardPayment
|
|
|
+ handler: council_RewardPayment
|
|
|
+ - event: council.BudgetBalanceSet
|
|
|
+ handler: council_BudgetBalanceSet
|
|
|
+ - event: council.BudgetRefill
|
|
|
+ handler: council_BudgetRefill
|
|
|
+ - event: council.BudgetRefillPlanned
|
|
|
+ handler: council_BudgetRefillPlanned
|
|
|
+ - event: council.BudgetIncrementUpdated
|
|
|
+ handler: council_BudgetIncrementUpdated
|
|
|
+ - event: council.CouncilorRewardUpdated
|
|
|
+ handler: council_CouncilorRewardUpdated
|
|
|
+ - event: council.RequestFunded
|
|
|
+ handler: council_RequestFunded
|
|
|
+ # Referendum
|
|
|
+ - event: referendum.ReferendumStarted
|
|
|
+ handler: referendum_ReferendumStarted
|
|
|
+ - event: referendum.ReferendumStartedForcefully
|
|
|
+ handler: referendum_ReferendumStartedForcefully
|
|
|
+ - event: referendum.RevealingStageStarted
|
|
|
+ handler: referendum_RevealingStageStarted
|
|
|
+ - event: referendum.ReferendumFinished
|
|
|
+ handler: referendum_ReferendumFinished
|
|
|
+ - event: referendum.VoteCast
|
|
|
+ handler: referendum_VoteCast
|
|
|
+ - event: referendum.VoteRevealed
|
|
|
+ handler: referendum_VoteRevealed
|
|
|
+ - event: referendum.StakeReleased
|
|
|
+ handler: referendum_StakeReleased
|
|
|
+ # Bounty
|
|
|
+ - event: bounty.BountyCreated
|
|
|
+ handler: bounty_BountyCreated
|
|
|
+ - event: bounty.BountyCanceled
|
|
|
+ handler: bounty_BountyCanceled
|
|
|
+ - event: bounty.BountyVetoed
|
|
|
+ handler: bounty_BountyVetoed
|
|
|
+ - event: bounty.BountyFunded
|
|
|
+ handler: bounty_BountyFunded
|
|
|
+ - event: bounty.BountyMaxFundingReached
|
|
|
+ handler: bounty_BountyMaxFundingReached
|
|
|
+ - event: bounty.BountyFundingWithdrawal
|
|
|
+ handler: bounty_BountyFundingWithdrawal
|
|
|
+ - event: bounty.BountyCreatorCherryWithdrawal
|
|
|
+ handler: bounty_BountyCreatorCherryWithdrawal
|
|
|
+ - event: bounty.BountyRemoved
|
|
|
+ handler: bounty_BountyRemoved
|
|
|
+ - event: bounty.WorkEntryAnnounced
|
|
|
+ handler: bounty_WorkEntryAnnounced
|
|
|
+ - event: bounty.WorkEntryWithdrawn
|
|
|
+ handler: bounty_WorkEntryWithdrawn
|
|
|
+ - event: bounty.WorkEntrySlashed
|
|
|
+ handler: bounty_WorkEntrySlashed
|
|
|
+ - event: bounty.WorkSubmitted
|
|
|
+ handler: bounty_WorkSubmitted
|
|
|
+ - event: bounty.WorkEntrantFundsWithdrawn
|
|
|
+ handler: bounty_WorkEntrantFundsWithdrawn
|
|
|
+ extrinsicHandlers:
|
|
|
+ # infer defaults here
|
|
|
+ #- extrinsic: Balances.Transfer
|
|
|
+ #- extrinsic: Sudo.batchCall
|
|
|
+ # handler: handleSudoCall(DatabaseManager,SubstrateEvent)
|
|
|
+ preBlockHooks:
|
|
|
+ - handler: loadGenesisData
|
|
|
+ filter:
|
|
|
+ height: "[0,0]" # will be executed only at genesis
|
|
|
+ - handler: launchScheduler
|
|
|
+ postBlockHooks:
|