> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tplus.cx/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

Tplus is a decentralized Prime Exchange.

* **Performance, Non-custody, and Privacy**: The exchange runs in an offchain network of Intel TDX TEEs. All order submission, matching, and accounting occurs offchain. User deposits are stored in onchain vaults and controlled by the offchain network.
* [Composability](/composability): Tplus accounts can interact with any chain we have a deposit vault on via flash-loan style interactions called [settlements](/funds/settlement), and [cross-margin](/funds/cross-margining) external exchange funds onto Tplus. This allows Tplus users to utilize external exchange liquidity and assets within Tplus, and Tplus assets and liquidity in external venues.
* **Capital Efficiency**: Leverage is provided with an optimized spot-margin model called [Matched Book Margin](/matched-book-margin). Opposite-side leverage positions offset each other. This enables auto-delevering opposite-side positions and scaling OI without funding leverage with borrows of the underlying. Leverage positions are non-synthetic, so they remain fungible with spot. Imbalance in leverage demand creates skew rather than a premium.

Tplus is in alpha; fees and risk parameters in these docs are subject to change.

## Contents

| Section                                             | Covers                                             |
| --------------------------------------------------- | -------------------------------------------------- |
| [Architecture](/architecture)                       | Offchain & onchain components, action lifecycles   |
| [Matched Book Margin](/matched-book-margin)         | The leverage model                                 |
| [Composability](/composability)                     | Settlements and synchronous making                 |
| [Orders](/trading/orders)                           | Order types, time-in-force, triggers, validation   |
| [Margin](/trading/margin)                           | Account types, margin checks, caps                 |
| [Liquidations](/trading/liquidations)               | Liquidation mechanics, circuit breakers            |
| [Prices & oracles](/trading/prices)                 | Oracles and price types                            |
| [Fees & rates](/trading/fees-and-rates)             | Trading fees, funding, borrow rates                |
| [Deposits](/funds/deposits)                         | Chains, confirmation times, fungibility            |
| [Withdrawals](/funds/withdrawals)                   | Queue, approvals, fees                             |
| [Settlement](/funds/settlement)                     | Atomic onchain interactions                        |
| [Cross-margining](/funds/cross-margining)           | External exchange balances as margin collateral    |
| [TEEs](/security/tees)                              | Trusted execution environments and attestation     |
| [Consensus & finality](/security/consensus)         | Slots, finality, checkpoints, recovery             |
| [Trust model](/security/trust-model)                | Custody, attestation, failure modes                |
| [Contracts overview](/contracts/overview)           | Vaults, registry, credentials, and chain roles     |
| [Deposit Vault](/contracts/deposit-vault)           | Custody, deposits, withdrawals, settlements        |
| [Registry](/contracts/registry)                     | Assets, risk parameters, caps, and delays          |
| [Credential Manager](/contracts/credential-manager) | Operator credentials and approved TEE measurements |
| [API overview](/api-reference/overview)             | Auth, signing, conventions, SDKs                   |
| [WebSocket streams](/api-reference/websockets)      | Stream catalog and resync rules                    |
