diff --git a/apps/web/src/lib/format.ts b/apps/web/src/lib/format.ts index 8bd1912..f0569ff 100644 --- a/apps/web/src/lib/format.ts +++ b/apps/web/src/lib/format.ts @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Sub Rosa contributors export function shortAddr(g: string, n = 6): string { if (g.length <= n * 2 + 3) return g; return `${g.slice(0, n)}…${g.slice(-n)}`; diff --git a/apps/web/src/lib/hex.ts b/apps/web/src/lib/hex.ts index 0bed602..e693e92 100644 --- a/apps/web/src/lib/hex.ts +++ b/apps/web/src/lib/hex.ts @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Sub Rosa contributors export function hexToBytes(hex: string): Uint8Array { const clean = hex.trim().replace(/^0x/i, ""); if (clean.length % 2 !== 0 || !/^[0-9a-fA-F]*$/.test(clean)) { diff --git a/apps/web/src/lib/round-phase.ts b/apps/web/src/lib/round-phase.ts index 4a79c49..6f376bf 100644 --- a/apps/web/src/lib/round-phase.ts +++ b/apps/web/src/lib/round-phase.ts @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Sub Rosa contributors import type { RoundStatus } from "../dashboard/types"; export type RoundPhase = "Open" | "Reveal" | "Settled"; diff --git a/apps/web/src/lib/round-status.ts b/apps/web/src/lib/round-status.ts index bf0fdb2..3b6c5bb 100644 --- a/apps/web/src/lib/round-status.ts +++ b/apps/web/src/lib/round-status.ts @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Sub Rosa contributors export type BadgeState = "loading" | "empty" | "error" | "stale" | "found"; export interface RoundStatusInfo {