finalize_proposal
Close proposal voting and calculate the final outcome using the configured threshold type (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).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| proposal_id | Yes | The proposal ID | |
| total_eligible_voters | No | Optional: total eligible voters for quorum calculation. If not provided, quorum is calculated based on votes cast. |