mirror of
https://github.com/status-im/nim-codex.git
synced 2025-01-10 02:45:59 +00:00
16 lines
294 B
Nim
16 lines
294 B
Nim
import ../utils/statemachine
|
|
import ../market
|
|
import ../clock
|
|
|
|
export market
|
|
export clock
|
|
export statemachine
|
|
|
|
type
|
|
Purchase* = ref object of StateMachine
|
|
future*: Future[void]
|
|
market*: Market
|
|
clock*: Clock
|
|
request*: StorageRequest
|
|
PurchaseState* = ref object of AsyncState
|