createCancelProposalInstruction
Builds a raw instruction to cancel an active governance proposal before it is executed. Only callable by the manager (or Exponent sentinel). This immediately transitions the proposal to a cancelled state, preventing any further voting or execution.Usage
Accounts
| Name | Signer | Writable | Description |
|---|---|---|---|
authority | Yes | No | Manager (or Exponent sentinel) authority |
vault | No | No | Vault account associated with the proposal |
proposal | No | Yes | Active proposal to cancel |
Returns
TransactionInstruction — a transaction instruction ready to be added to a transaction.