@me2em/pact
    Preparing search index...

    Function assembleAmend

    • Assembles AMEND against the verified prefix events (B-4/D23): the quorum is taken from the constitution BEFORE the event; keys are never touched by AMEND.

      Parameters

      • events: Event[]

        The verified journal prefix.

      • input: AmendInput

        The FULL new constitution; optional note (≤ 32 chars).

      • signerKeys: Uint8Array[]

        Pact keys of the signing members (quorum decides).

      • Optionalclock: Clock

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

      Returns Event

      The assembled, verified AMEND event.

      PactError on any verification failure (B-7).

      const amend = assembleAmend(events, { cn: stricter }, [founderKey]);