Cast an on-chain Governor vote from the Safe
governor_voteCasts an on-chain vote from a Safe on OpenZeppelin or Compound-style Governor proposals. Verify the proposal is Active and the Safe has voting power before this irreversible gas-costing transaction.
Instructions
Votes on an OpenZeppelin or Compound-style Governor by executing castVoteWithReason from the Safe. This is a real on-chain transaction that costs gas and cannot be undone or changed. Check governor_proposal_state first to confirm the proposal is Active and the Safe has voting power.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Public rationale stored on-chain with the vote. Costs extra gas but is strongly recommended for an agent vote. | |
| support | Yes | How to vote. Maps to Governor support values 1, 0 and 2. | |
| governor | Yes | Governor contract address | |
| proposalId | Yes | On-chain proposal id (decimal or 0x hex) | |
| skipChecks | No | Bypass the pre-flight state and voting-power checks. Only for unusual Governor forks that do not implement the standard view methods. |