GTE Spot CLOB and Router

$15.00

Everything you need to learn for the GTE Spot CLOB and Router contest: 25 comprehensive code tours totaling over 375 steps, formulas presented in LaTeX, and a detailed glossary.

Click here to try out our interactive demo!

Code4rena, 24 Jul → 07 Aug 2025

Everything you need to learn for the GTE Spot CLOB and Router contest: 25 comprehensive code tours totaling over 375 steps, formulas presented in LaTeX, and a detailed glossary.

Click here to try out our interactive demo!

Code4rena, 24 Jul → 07 Aug 2025

Code Tours

  • 1.1 GTE High-Level Overview

  • 2.1 Operator: Overview

  • 2.2 Operator: Interface and Data Structures

  • 2.3 Operator: Core Implementation

  • 2.4 Operator: Helper Library and Integration

  • 3.1 AccountManager: Overview

  • 3.2 AccountManager: Implementation Details

  • 4.1 CLOBManager: Overview

  • 4.2 CLOBManager: Implementation Details

  • 5.1 CLOB Overview

  • 5.2 Order & OrderId

  • 5.3 Order Book Structure

  • 5.4 Price Index: RedBlackTree

  • 5.5 Fee Structures

  • 5.6 Transient Maker Credits

  • 5.7 LimitLens: Aggregated Order Views

  • 5.8 CLOB State & Initialization

  • 5.9 Posting Orders

  • 5.10 CLOB Matching Engine

  • 5.11 Cancellation & Amendments

  • 5.12 Trade Settlement

  • 6.1 Router: Overview

  • 6.2 Router: Deposits, Withdrawals & Order Management

  • 6.3 Router: Multi-Hop Routing

  • 6.4 Router: Security Analysis