@me2em/pact
    Preparing search index...

    Function assembleDissolve

    • Assembles DISSOLVE against the verified prefix events — default threshold any (A2, deadlock-free exit).

      Parameters

      • events: Event[]

        The verified journal prefix.

      • input: DissolveInput

        Optional reason (≤ 256 chars).

      • signerKeys: Uint8Array[]

        Pact keys of the signing members (≥ 1; the quorum defaults to any unless the constitution overrides DISSOLVE).

      • Optionalclock: Clock

        Optional clock injection (Р4); defaults to the system clock.

      Returns Event

      The assembled, verified DISSOLVE event.

      PactError MALFORMED @ assemble when no signer key is given; verification failures propagate from finalize.

      const dissolve = assembleDissolve(events, { rs: 'unrecoverable deadlock' }, [memberKey]);