Protocol Overview
The GTE CLOB is a modular implementation of a central-limit order book in Solidity. New markets are deployed and managed through the CLOBFactory contract. The protocol uses the proxy pattern for upgradeable contracts, enabling updates to logic without redeploying markets. The order book is maintained using a red-black tree library, ensuring efficient order matching and retrieval.
Protocol Glossary
If you are not familiar with order book terminology or the units system, it is highly recommended that you read the glossary before continuing.
Navigation
Key Structures
An overview of the most relevant data structures used in the CLOB protocol
Contracts
Documentation for each of the CLOB protocol’s contracts, specifying functions and their interactions.
Interfaces
Documentation for each of the CLOB protocol’s interfaces, their function signatures, defined structs and enums, and associated events.
Libraries
Documentation for the CLOB protocol’s libraries, which manage various aspects such as account balances, order matching, and market data.