finalize_proposal
Close voting on a proposal and compute the final result based on threshold types like majority, two-thirds, unanimous, or quorum.
Instructions
Close voting on a proposal and compute the final result. The result depends on the threshold type (majority, two-thirds, unanimous, quorum).
Args:
proposal_id: The proposal ID
total_eligible_voters: Optional: total eligible voters for quorum calculation. If not provided, quorum is calculated based on votes cast.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| proposal_id | Yes | ||
| total_eligible_voters | No |