Order Book User Guide
Last updated
Last updated
Users can stake tokens by interacting with the provided front-end user interface (UI) or by directly using the associated smart contract functions (deposit
/deposit_arc20
).
Users can place (buy/sell) or cancel orders via the front-end UI or by interacting with the relevant smart contract functions.
The backend server continuously listens for and matches orders off-chain, subsequently submitting the appropriate transactions for execution (knockdown).
On-chain transaction execution occurs, and orders are completed accordingly.
Users can stake tokens by interacting with the provided front-end user interface (UI) or by directly using the associated smart contract functions (deposit
/deposit_arc20
).
Users can place (buy/sell) orders via the front-end UI or by interacting with the relevant smart contract functions.
Upon order submission, the smart contract logic immediately examines the order book. If the conditions are met, the order is executed. Otherwise, the order enters a pending state.
Users can cancel orders that are in the pending state by interacting with the appropriate functions in the UI or the smart contract.
The following is the on-chain contract logic for the test version: