Wallet Transaction - Finite State Diagram
States:
PEN (initial)
CLO (final)
CAN
DEC
Transitions:
Transition number | Start state | End state | Description |
---|---|---|---|
1 | Start | PEN | The transaction was created. |
2 | PEN | CLO | The payee accepted the transfer. |
3 | PEN | CAN | The sender canceled the transaction. |
4 | PEN | DEC | The payee declined the transaction |