DiffusalOrderBookAuth
EIP-712 hashing and signer-recovery helper for the order-book flow
DiffusalOrderBookAuth is a deployed contract that provides EIP-712 hashing and signer recovery for DiffusalOptionsOrderBook.
It underpins the signature-first placement and cancellation flow used by placeOrderWithSignature(...), placeOrderWithSeriesParamsWithSignature(...), and cancelOrderWithSignature(...).
It handles:
- place-order typed-data hashing
- lazy-series place-order hashing
- cancellation hashing
- signer recovery for EIP-712 payloads
Its address is passed into the order-book constructor during deployment.
Key Functions
recoverPlaceOrderSigner(...)
recoverPlaceOrderWithSeriesParamsSigner(...)
recoverCancelOrderSigner(...)These helpers recover the maker address from the exact typed-data payload that the order-book contract validates before registering or cancelling a stored order.