Trading pipeline
Users can deposit funds, withdraw funds, add orders and cancel orders ("Events") via the backend API.
All Events will enter a unified queue where they are processed sequentially.
Our backend will keep track of the real-time state of the Exchange and perform roll-ups into the smart contract.
The roll-ups consist of the same events, in the same order as they happen in real-time, ensuring the smart contract is in sync with the real-world state of the Exchange.
Last updated