Skip to main content
Schema: canton.gov Table: fact_vote_results Type: Incremental

Description

Tracks DSO governance vote results/outcomes through DsoRules_CloseVoteRequest events. Shows final outcomes including acceptance/rejection, vote counts, accepted/rejected SVs, and abstentions. Uses LATERAL FLATTEN to parse votes array.

Key Use Cases

  • Analyzing governance decision outcomes
  • Understanding vote tallies and participation
  • Tracking which SVs voted for/against proposals
  • Monitoring abstention and offboarded voter patterns
  • Analyzing proposal success/failure rates

Important Relationships

  • Final step after gov__fact_vote_requests and gov__fact_votes
  • Aggregates individual votes into final result
  • Includes embedded original request details

Commonly-used Fields

  • outcome: Result tag (typically ‘VRO_Accepted’ or ‘VRO_Rejected’)
  • accept_votes: Count of accept votes
  • reject_votes: Count of reject votes
  • accepted_svs: Array of SV parties who voted to accept
  • rejected_svs: Array of SV parties who voted to reject
  • abstaining_svs: Array of SVs who abstained
  • total_votes_cast: Total number of votes
  • completed_at: When voting concluded
  • requester: Original proposal requester
  • action: Original proposal action
  • reason_body: Original proposal reason

Columns

Column NameData TypeDescription
UPDATE_IDTEXTUnique identifier for the Canton update/transaction. An update contains one or more events and represents an atomic change to the blockchain state.
MIGRATION_IDTEXTCanton migration identifier. Used to track different phases or migrations in the Canton network’s evolution.
RECORD_TIMETEXTTimestamp when the update was recorded in the system.
EFFECTIVE_ATTEXTTimestamp when the event or update became effective on the blockchain. This is the canonical time for ordering and analyzing blockchain events.
EVENT_IDTEXTUnique identifier for the event within the Canton blockchain.
EVENT_INDEXTEXTOrdering index of events within an update. Events within the same update are sequentially numbered starting from 0.
CHOICETEXTThe choice/action/method being executed on a contract. Examples include ‘DsoRules_RequestVote’, ‘AmuletRules_Transfer’, ‘LockedAmulet_Unlock’, etc.
ACTING_PARTIESTEXTArray of party identifiers who are executing this action/choice.
REQUEST_CIDTEXTGeneric contract ID for a request.
AMULET_RULES_CIDTEXTContract ID for an AmuletRules contract.
CLOSING_SVTEXTParty identifier for the super validator closing a vote.
OUTCOMETEXTResult of a vote: typically ‘VRO_Accepted’ or ‘VRO_Rejected’.
OUTCOME_EFFECTIVE_ATTEXTTimestamp when a vote outcome becomes effective.
COMPLETED_ATTEXTTimestamp when voting was completed and closed.
ACCEPTED_SVSTEXTArray of super validator party IDs who voted to accept a proposal.
REJECTED_SVSTEXTArray of super validator party IDs who voted to reject a proposal.
ABSTAINING_SVSTEXTArray of super validator party IDs who abstained from voting.
OFFBOARDED_VOTERSTEXTArray of voter party IDs who were offboarded before voting completed.
TRACKING_CIDTEXTContract ID used for tracking a request through its lifecycle.
REQUESTERTEXTParty identifier for the party requesting a governance action or vote.
TARGET_EFFECTIVE_ATTEXTTarget timestamp for when a governance action should become effective.
VOTE_BEFORETEXTTimestamp by which votes must be cast.
ACTIONTEXTHigh-level action tag for a governance proposal.
DSO_ACTIONTEXTSpecific DSO-related action being proposed.
AMULET_RULES_ACTIONTEXTSpecific amulet rules action being proposed.
DSO_ACTION_VALUETEXTJSON value containing details of the DSO action.
AMULET_RULES_VALUETEXTJSON value containing details of the amulet rules action.
REASON_BODYTEXTText body explaining the reason for an action.
REASON_URLTEXTURL providing additional information or justification for an action.
TOTAL_VOTES_CASTTEXTTotal number of votes cast on a proposal.
ABSTAINING_COUNTTEXTCount of validators who abstained from voting.
OFFBOARDED_COUNTTEXTCount of validators who were offboarded before voting completed.
ACCEPT_VOTESTEXTCount of votes to accept a proposal.
REJECT_VOTESTEXTCount of votes to reject a proposal.
CONTRACT_IDTEXTUnique identifier for the contract being created or exercised in this event.
FACT_VOTE_RESULT_IDTEXTSurrogate key generated from event_id
INSERTED_TIMESTAMPTEXTTimestamp when the record was inserted into this table (Snowflake SYSDATE).
MODIFIED_TIMESTAMPTEXTTimestamp when the record was last modified in this table (Snowflake SYSDATE).
EVENT_JSONTEXTFull JSON object containing all event data. Useful for detailed analysis and accessing fields not explicitly extracted.