Documentation Index
Fetch the complete documentation index at: https://scalex.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.

Core Components
The protocol operates through eight integrated components:- Balance Manager - Maintains 1:1 peg, tracks yields, and issues synthetic tokens when users deposit assets
- Synthetic Tokens - ERC20 tokens representing 1:1 pegged underlying assets that trade on the order book while users earn yield from underlying deposits
- Order Book - High-performance CLOB with Red-Black Tree data structure for O(log n) price operations and integrated lending awareness
- Oracle - Multi-timeframe TWAP oracle providing manipulation-resistant pricing for trading, borrowing, and collateral valuation
- Lending Manager - Generates yield from real assets through native lending protocol with integrated order book access
- Agent - AI trading assistant layer, on-chain agents that autonomously trade, borrow, and earn yield on behalf of users within policy-defined limits
- ERC-8004 - On-chain identity standard that gives every agent a verifiable NFT identity, enabling accountability, reputation, and cross-protocol interoperability
- x402 - Pay-per-use payment gate that allows agents to monetize their trading strategies per trade, per session, or by subscription
