DiffusalOrderBookCoordinator
Validation and match-preparation helper for the order-book flow
DiffusalOrderBookCoordinator is a deployed contract that performs validation and match preparation for DiffusalOptionsOrderBook.
In the current flow it validates signed order placement requests before the order book stores them by orderId.
It handles:
- signed-order placement validation
- series tradability checks
- tick-decimal lookup
- pre-trade margin simulation
- execution-tick computation for matched stored orders
Its address is passed into the order-book constructor during deployment.
Key Functions
prepareRegistration(...)
computeExecutionTick(...)prepareRegistration(...) is used by both direct registration and signature-based placement, but the recommended current integration path is the signature-first flow.