Reference#
Neutral reference for the Seesaw protocol — facts and values, no instructions. Every constant, code, error, and capacity figure here reflects the live on-chain program; for the why behind design decisions see the explanation docs.
Product Trust Boundary#
Solana enforces market custody, order matching, and settlement. Indexing, analytics, Pyth/Hermes oracle transport, and external-proof providers remain off-chain dependencies.
The web and mobile apps use indexed data for discovery, history, aggregates, and other enriched views. Pyth/Hermes transports oracle updates, while Reclaim and other external-proof providers acquire or attest data outside the Seesaw program. Those services can affect data availability and the timing of user actions, but they do not replace the checks performed by the Solana program.
In This Section#
| Page | Description |
|---|---|
| constants.md | All named constants: time windows, price scale, order-book limits, fee curve parameters, compute budgets, and instruction discriminators |
| error-codes.md | Full SeesawError enum — every hex code, category, description, and user-facing recovery action |
| glossary.md | Definitions for all protocol-specific terms, abbreviations, and encoding conventions |
| market-capacity.md | Trader-ledger and deep-orderbook tiers, account sizes, refundable rent per tier, and allocation prelude requirements |
| market-detail-fields.md | Market detail page fields: open interest, settlement print, and data-freshness indicator states |
| deep-orderbook-live-surface.md | Deep orderbook account: public bids/asks model, capacity tiers, order-ID format, and SDK decoders |
| byo-oracle-keys.md | Bring-your-own Pyth/Reclaim credentials: where keys live, the unsupported-without-key matrix, and operator gates |
Reference Material Elsewhere in the Tree#
| Page | Description |
|---|---|
| architecture/accounts.md | Byte-level layout tables for every account type (offsets, field sizes, discriminators) |
| architecture/instructions.md | Every instruction discriminant, account list, argument struct, CU estimate, and side effects |
| architecture/pdas.md | PDA seeds, Rust and TypeScript derivation functions for every documented PDA type |
| security/invariants.md | Authoritative INV-* catalog — enforcement layers, source locations, and verification roadmap |
| api-reference/ | REST endpoints, WebSocket channels, response envelope, rate limits, and data types |