/** * Quantum Time Window Protocol Constants * * These constants define the quantum time window system used for temporal * validation of signed operations across the protocol. * * CRITICAL: Changes to these values affect replay attack protection and * validator synchronization. All validators must use identical values. */ /** * Quantum Window Duration (seconds) * * Each quantum window is 60 seconds long. * Quantum timestamps always end in :00 seconds: 0, 60, 120, 180... * * Value: 60 seconds — MUST match `OperationAuthorizationRegistry.QUANTUM_WINDOW_SECONDS` * on every chain. Drift here causes spurious `QuantumOutsideWindow()` reverts because * the Lit Action signs a `quantumTimestamp` aligned to its window while the contract * floors it to its own window. A bad merge briefly bumped this to 100 — never again. * * Purpose: * - Improved UX with immediate signing (no waiting) * - 3-quantum validation window (past, current, next) = 180s total validity * - Prevents replay attacks across quantum boundaries * - Users can operate once per 60 seconds per position * * Security guarantee: Signatures valid across 3 quantums with replay prevention. * * Governance-adjustable: NO (protocol-level constant) */ export declare const QUANTUM_WINDOW_SECONDS = 60; /** * Dead Zone Duration (seconds) * * The dead zone spans the quantum boundary: 8 seconds before + 8 seconds after. * During this period, LIT Actions WAIT and Smart Contracts REJECT. * * Dead zone structure: * - Seconds 92-99: Last 8 seconds of quantum (before boundary) * - Seconds 0-7: First 8 seconds of quantum (after boundary) * - Total: 16 seconds * * Value: 16 seconds (8+8) * * Protects against: * 1. Clock desynchronization (NTP drift, network delays) * 2. Ethereum miner timestamp manipulation (validators can shift ±15 seconds) * 3. Quantum boundary confusion * * Security guarantee: 16-second buffer > 15-second miner manipulation = complete protection. * * Governance-adjustable: NO (protocol-level constant, security-critical) */ export declare const DEAD_ZONE_SECONDS = 16; /** * Safe Execution Window (seconds) * * Actual usable time in each quantum after excluding the dead zone. * * Value: 44 seconds (QUANTUM_WINDOW_SECONDS - DEAD_ZONE_SECONDS) * With 60s quantum: safe period is seconds 8-51 of each quantum * * Governance-adjustable: NO (derived from other constants) */ export declare const SAFE_EXECUTION_WINDOW_SECONDS: number; /** * Quantum Timestamp Offset (seconds) * * The offset added to the current quantum timestamp when building signed * message hashes. Set to the next quantum boundary to ensure the signature * remains valid through the current quantum and into the next. * * Value: 10 seconds — places the signed timestamp safely inside the upcoming * quantum window, matching the contract-side validation window. * * CRITICAL: Must match the offset expected by the smart contract validators. * * Governance-adjustable: NO (protocol-level constant, must match contract) */ export declare const QUANTUM_TIMESTAMP_OFFSET = 10; //# sourceMappingURL=quantum-time.d.ts.map