• Closes Batch and the corresponding Proposal accounts for proposals in terminal states: Executed, Rejected, or Cancelled or stale proposals that aren't Approved.

    This instruction is only allowed to be executed when all VaultBatchTransaction accounts in the batch are already closed: batch.size == 0.

    Parameters

    • __namedParameters: {
          batchIndex: bigint;
          multisigPda: PublicKey;
          programId?: PublicKey;
          rentCollector: PublicKey;
      }
      • batchIndex: bigint
      • multisigPda: PublicKey
      • Optional programId?: PublicKey
      • rentCollector: PublicKey

    Returns TransactionInstruction

Generated using TypeDoc