|
CCF
|
Proposal metadata stored in the KV. More...
#include <gov.h>
Public Attributes | |
| ccf::MemberId | proposer_id |
| ID of the member who originally created/submitted this proposal. | |
| ccf::ProposalState | state = ccf::ProposalState::OPEN |
| Current state of this proposal (eg - open, accepted, withdrawn) | |
| Ballots | ballots |
| std::optional< Votes > | final_votes = std::nullopt |
| std::optional< VoteFailures > | vote_failures = std::nullopt |
| std::optional< Failure > | failure = std::nullopt |
Proposal metadata stored in the KV.
| Ballots ccf::jsgov::ProposalInfo::ballots |
Collection of ballots (scripts) submitted for this proposal. Each ballot is a javascript module exporting a single 'vote' function, re-executed to determine the member's vote each proposal resolution. Keyed by each submitting member's ID
| std::optional<Failure> ccf::jsgov::ProposalInfo::failure = std::nullopt |
Exception details from execution of the proposal itself, either during resolution or application. Populated in the same circumstances as final_votes
| std::optional<Votes> ccf::jsgov::ProposalInfo::final_votes = std::nullopt |
Collection of boolean results of the submitted ballots, keyed by submitting member's ID, that caused a transition to a terminal state. Note that this is not present for open, withdrawn, or dropped proposals
| ccf::MemberId ccf::jsgov::ProposalInfo::proposer_id |
ID of the member who originally created/submitted this proposal.
| ccf::ProposalState ccf::jsgov::ProposalInfo::state = ccf::ProposalState::OPEN |
Current state of this proposal (eg - open, accepted, withdrawn)
| std::optional<VoteFailures> ccf::jsgov::ProposalInfo::vote_failures = std::nullopt |
Collection of exception details describing which ballots failed to execute successfully, keyed by submitting member's ID. Populated in the same circumstances as final_votes