Skip to content

State Machines

Index of every status enum in the system. State machines live here (transversal) rather than inside their owning context so that all the state machines in the system can be seen in one place.

StatusEntityOwner contextStatesDetail
ShiftStatusShiftshifts12doc
TransferStatusTransfershifts8doc
TransactionStatusTransactioncommon (VO); consumed by wallets6doc
CexAccountTradeStatusCexAccountTradecex-wallets5 (effectively 1 in practice)doc
PaymentRunTradeStatusPaymentRunTradepartners (projection of CexAccountTradeStatus)5doc
CexTransferStatus(no entity — DTO value object)cex-wallets4 (5 on input)doc
DueStatusDuepartners3doc
PaymentRunStatusPaymentRunpartners4doc
AlertStatusAlertalerts2doc

Document a state machine at docs/system/state-machines/<status-slug>.md using the state machine template. Update the table when adding a new machine or when the state count changes.