Skip to content

shifts

One-line purpose. Bounded by: to be documented.

Responsibility

  • Owns: to be documented
  • Does NOT own: to be documented

Aggregates

AggregateFileNotes

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, plus own/legacy for historical records).

Events

Public API

Entities, value objects, repositories, and services exported from packages/shifts/index.ts.

ExportKindNotes

Dependencies

  • Upstream (this depends on): to be documented
  • Downstream (depends on this): to be documented
  • Runbooks: links to docs/system/runbooks/
  • ADRs: links to docs/decisions/
  • Flows: links to docs/system/events/flows/
  • Contexts index · System index