123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563 |
- ################### Council ####################################################
- type AnnouncingPeriodStartedEvent 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 ###
- }
- type NotEnoughCandidatesEvent 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 ###
- }
- type VotingPeriodStartedEvent 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 ###
- "Number of candidates in the election."
- numOfCandidates: BigInt!
- }
- type NewCandidateEvent 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 ###
- "Related candidate."
- candidate: Candidate!
- "Candidate's account used to stake currency."
- stakingAccount: String!
- "Candidate's account that will be recieving rewards if candidate's elected."
- rewardAccount: String!
- "Amount of currency to be staked for the candidacy."
- balance: BigInt!
- }
- type NewCouncilElectedEvent 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 ###
- "Newly elected council."
- electedCouncil: ElectedCouncil!
- }
- type NewCouncilNotElectedEvent 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 ###
- }
- type CandidacyStakeReleaseEvent 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 ###
- "Related candidate."
- candidate: Candidate!
- }
- type CandidacyWithdrawEvent 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 ###
- "Related candidate."
- candidate: Candidate!
- }
- type CandidacyNoteSetEvent 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 ###
- "Related candidate."
- candidate: Candidate!
- "The metadata contained in note."
- noteMetadata: CandidacyNoteMetadata!
- }
- type RewardPaymentEvent 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 ###
- "Related council member."
- councilMember: CouncilMember!
- "Candidate's account that will be recieving rewards if candidate's elected."
- rewardAccount: String!
- "Amount paid to the council member"
- paidBalance: BigInt!
- "Amount that couldn't be paid and will be paid the next time."
- missingBalance: BigInt!
- }
- type BudgetBalanceSetEvent 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 ###
- "Budget balance that has been set."
- balance: BigInt!
- }
- type BudgetRefillEvent 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 ###
- "Balance that has been refilled."
- balance: BigInt!
- }
- type BudgetRefillPlannedEvent 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 ###
- nextRefillInBlock: Int!
- }
- type BudgetIncrementUpdatedEvent 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 ###
- "Amount that is added to the budget each time it's refilled."
- amount: BigInt!
- }
- type CouncilorRewardUpdatedEvent 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 ###
- "New reward amount paid each reward period."
- rewardAmount: BigInt!
- }
- type RequestFundedEvent 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 ###
- "Target account."
- account: String!
- "Funding amount."
- amount: BigInt!
- }
- ################### Referendum #################################################
- type ReferendumStartedEvent 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 ###
- "Amount of winning referendum options."
- winningTargetCount: BigInt!
- }
- type ReferendumStartedForcefullyEvent 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 ###
- "Amount of winning referendum options."
- winningTargetCount: BigInt!
- }
- type RevealingStageStartedEvent 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 ###
- }
- type ReferendumFinishedEvent 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 ###
- }
- type VoteCastEvent 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 ###
- "Vote cast."
- castVote: CastVote!
- }
- type VoteRevealedEvent 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 ###
- "Vote cast."
- castVote: CastVote!
- }
- type StakeReleasedEvent 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 ###
- "Account used to stake the value."
- stakingAccount: String!
- }
|