# Synthetic Temporal Currency Engine (STCE)

## Overview

STCE generates and stabilizes currencies that exist across multiple timelines, adjust value based on future-past economic projections, and resolve temporal liquidity shocks. These currencies are called **TCUs (Temporal Currency Units)**.

## TCU Properties

### 1. Forward-Indexed Value
```
future_weight = projection(t+Δt)
```

### 2. Retro-Correction Factor
Applies backward alignment:
```
retro_factor = correction(t-Δt)
```

### 3. Prime Temporal Bonding
All TCUs remain bonded to Prime Ledger consistency states.

## TCU Stability Equation

```
TCU_value = present_value + future_weight - retro_factor + SSU_anchor
```

## Services

### StceEngineService
- `createTcu()` - Create a Temporal Currency Unit
- `generateTcuValue()` - Generate TCU value with stabilization
- `getAllTcus()` - Get all TCUs
- `getTcuByCode()` - Get TCU by code
- `updatePresentValue()` - Update TCU present value
- `suspendTcu()` - Suspend TCU

### StceProjectionService
- `createProjection()` - Create a temporal projection
- `calculateForwardProjection()` - Calculate forward-indexed value projection
- `calculateRetroCorrection()` - Calculate retro-correction factor
- `getProjectionsByTcu()` - Get projections for a TCU

### StceValuationService
- `calculateTcuValue()` - Calculate TCU value using stability equation
- `getCurrentStabilityState()` - Get current stability state for a TCU
- `getStabilityHistory()` - Get stability history for a TCU

## Database Models

- `TemporalCurrencyUnit` - TCU definitions
- `TemporalProjection` - Temporal projections (forward/retro)
- `TemporalStabilityState` - TCU stability calculations
- `TemporalCurrencyTransaction` - TCU transactions

