pub fn vault_batch_transaction_account_close(
ctx: Context<'_, '_, '_, '_, VaultBatchTransactionAccountClose<'_>>,
) -> Result<()>Expand description
Closes a VaultBatchTransaction belonging to the batch and proposal.
transaction can be closed if either:
- it’s marked as executed within the
batch; - the
proposalis in a terminal state:Executed,Rejected, orCancelled. - the
proposalis stale and notApproved.