shifts
One-line purpose. Bounded by: to be documented.
Responsibility
- Owns: to be documented
- Does NOT own: to be documented
Aggregates
| Aggregate | File | Notes |
|---|---|---|
State Machines
ShiftStatus— 12 states, Shift lifecycle from waiting to confirmed/refunded.TransferStatus— 8 states, transfer lifecycle (outbound payment or refund leg).
Value Objects
TransferSender— dispatch channel of a transfer: custodial (sws) or CEX (binance,htx,kucoin, plusown/legacyfor historical records).
Events
Public API
Entities, value objects, repositories, and services exported from packages/shifts/index.ts.
| Export | Kind | Notes |
|---|---|---|
Dependencies
- Upstream (this depends on): to be documented
- Downstream (depends on this): to be documented
Related
- Runbooks: links to
docs/system/runbooks/ - ADRs: links to
docs/decisions/ - Flows: links to
docs/system/events/flows/ - Contexts index · System index
