123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172 |
- type ProposalCreatedEvent implements Event @entity {
- ### GENERIC DATA ###
- "(network}-{blockNumber}-{indexInBlock}"
- id: ID!
- "Hash of the extrinsic which caused the event to be emitted"
- inExtrinsic: String
- "Blocknumber of the block in which the event was emitted."
- inBlock: Int!
- "Network the block was produced in"
- network: Network!
- "Index of event in block from which it was emitted."
- indexInBlock: Int!
- ### SPECIFIC DATA ###
- # FIXME: https://github.com/Joystream/joystream/issues/2457
- "The created proposal"
- proposal: Proposal!
- }
- type ProposalStatusUpdatedEvent implements Event @entity {
- ### GENERIC DATA ###
- "(network}-{blockNumber}-{indexInBlock}"
- id: ID!
- "Hash of the extrinsic which caused the event to be emitted"
- inExtrinsic: String
- "Blocknumber of the block in which the event was emitted."
- inBlock: Int!
- "Network the block was produced in"
- network: Network!
- "Index of event in block from which it was emitted."
- indexInBlock: Int!
- ### SPECIFIC DATA ###
- "The proposal which status got updated"
- proposal: Proposal!
- "The new proposal intermediate status (Deciding/Gracing/Dormant)"
- newStatus: ProposalIntermediateStatus!
- }
- type ProposalDecisionMadeEvent implements Event @entity {
- ### GENERIC DATA ###
- "(network}-{blockNumber}-{indexInBlock}"
- id: ID!
- "Hash of the extrinsic which caused the event to be emitted"
- inExtrinsic: String
- "Blocknumber of the block in which the event was emitted."
- inBlock: Int!
- "Network the block was produced in"
- network: Network!
- "Index of event in block from which it was emitted."
- indexInBlock: Int!
- ### SPECIFIC DATA ###
- "The proposal which voting decision status was determined"
- proposal: Proposal!
- "The voting decision status"
- decisionStatus: ProposalDecisionStatus!
- }
- type ProposalExecutedEvent implements Event @entity {
- ### GENERIC DATA ###
- "(network}-{blockNumber}-{indexInBlock}"
- id: ID!
- "Hash of the extrinsic which caused the event to be emitted"
- inExtrinsic: String
- "Blocknumber of the block in which the event was emitted."
- inBlock: Int!
- "Network the block was produced in"
- network: Network!
- "Index of event in block from which it was emitted."
- indexInBlock: Int!
- ### SPECIFIC DATA ###
- "The proposal that was executed"
- proposal: Proposal!
- "The execution status"
- executionStatus: ProposalExecutionStatus!
- }
- enum ProposalVoteKind {
- APPROVE
- REJECT
- SLASH
- ABSTAIN
- }
- type ProposalVotedEvent implements Event @entity {
- ### GENERIC DATA ###
- "(network}-{blockNumber}-{indexInBlock}"
- id: ID!
- "Hash of the extrinsic which caused the event to be emitted"
- inExtrinsic: String
- "Blocknumber of the block in which the event was emitted."
- inBlock: Int!
- "Network the block was produced in"
- network: Network!
- "Index of event in block from which it was emitted."
- indexInBlock: Int!
- ### SPECIFIC DATA ###
- "The voting member"
- voter: Membership!
- "The kind of the vote that was casted"
- voteKind: ProposalVoteKind!
- "The proposal beeing voted on"
- proposal: Proposal!
- "The rationale behind the vote"
- rationale: String!
- "The voting round - number representing which Deciding period the vote was casted in (starting with 1), useful when the proposal must be approved during multiple council terms (constitution > 1)"
- votingRound: Int!
- }
- type ProposalCancelledEvent implements Event @entity {
- ### GENERIC DATA ###
- "(network}-{blockNumber}-{indexInBlock}"
- id: ID!
- "Hash of the extrinsic which caused the event to be emitted"
- inExtrinsic: String
- "Blocknumber of the block in which the event was emitted."
- inBlock: Int!
- "Network the block was produced in"
- network: Network!
- "Index of event in block from which it was emitted."
- indexInBlock: Int!
- ### SPECIFIC DATA ###
- "The proposal that was cancelled"
- proposal: Proposal!
- }
|