Skip to content
1 viewer
View

Proposal reference

0 pages, 7 routes, 7 connections and 0 CLI commands, generated from the declarations of Proposal without reading storage or running anything.

AboutCode

Code · 0 files

No ingested source sits in a crate named for this app. Either its crate has not been ingested, or the app's name does not match its crate.

Connections · 7

Proposal.Cancel

Proposer withdraws an open proposal.

Calls and output
  • Output keyproposal.result
  • Classificationreal
  • POST /proposal/cancelHTTP route

Proposal.Create

Create a new proposal. Auto-opens for voting. Mutation payload is domain-specific JSON the ratifier interprets after tally passes.

Calls and output
  • Output keyproposal.result
  • Classificationreal
  • POST /proposalHTTP route

Proposal.Get

Fetch proposal + current tally + votes by id.

Calls and output
  • Output keyproposal.result
  • Classificationroute_handler
  • GET /proposalHTTP route

Proposal.List

List proposals, optional filter by scope + status.

Calls and output
  • Output keyproposal.result
  • Classificationroute_handler
  • GET /proposal/listHTTP route

Proposal.Ratify

Lock a passing tally and return the mutation payload. Domain caller applies the mutation; proposal flips to Ratified.

Calls and output
  • Output keyproposal.result
  • Classificationreal
  • POST /proposal/ratifyHTTP route

Proposal.Tally

Live tally for a proposal (yes/no/abstain weights, quorum, threshold, passes).

Calls and output
  • Output keyproposal.result
  • Classificationroute_handler
  • GET /proposal/tallyHTTP route

Proposal.Vote

Cast (or change) a vote. Latest per (proposal, voter) wins. Returns the post-vote tally.

Calls and output
  • Output keyproposal.result
  • Classificationreal
  • POST /proposal/voteHTTP route

Schema and data model

Declared storage and kinds. Linked kinds open their app pages.

Declared storage
  • Authorityhyper
  • Preferred truthhyper
  • App ownerProposal
  • SQL projectionnone · DDL declarations: 0
Hyper vertex kinds read
  • Proposal
  • Vote
Hyper vertex kinds written
  • Proposal
  • Vote
Hyper edge kinds written
  • None declared.
Asset namespaces read
  • None declared.
Asset namespaces minted
  • None declared.
Model warnings
  • No model warnings were reported.