ENUM

ProposalState

Various states a proposal can transition through: Open ->

  • Passed -> Enacted.
  • Rejected. Proposal can enter Failed state from any other state.

link GraphQL Schema definition

1 enum ProposalState {
2
3 # Proposal became invalid and cannot be processed
4 Failed
5
6 # Proposal is open for voting
7 Open
8
9 # Proposal has gained enough support to be executed
10 Passed
11
12 # Proposal didn't get enough votes
13 Declined
14
15 # Proposal could not gain enough support to be executed
16 Rejected
17
18 # Proposal has been executed and the changes under this proposal have now been
19 # applied
20 Enacted
21
22 # Proposal is waiting for the node to run validation
23 WaitingForNodeVote
24 }