Oracle Testing Harness
Production-grade mock oracle infrastructure for Foundry tests. Drop-in replacements for Chainlink, Pyth, Uniswap V3 TWAP, and L2 sequencer feeds with full control over price, staleness, and failure scenarios.
Features
- Mock Chainlink AggregatorV3 — Full interface with configurable rounds, timestamps, and decimals
- Mock Pyth Oracle — Price feed emulation with confidence intervals and EMA
- Mock Uniswap V3 Pool — TWAP oracle with configurable tick/liquidity observations
- Mock L2 Sequencer Feed — Simulate sequencer uptime/downtime on L2s
- Harness Controller — Single entry point to wire up and manipulate all mocks
- Scenario helpers — Stale price, zero price, negative price, extreme deviation, round gaps
🔒 Available in full product
Architecture
🔒 Available in full product
Usage
You’ve reached the end of the free preview
Get the full Oracle Testing Harness and unlock everything.
All Chapters
Get the complete guide with every chapter unlocked, including code samples, diagrams, and best practices.
Full Tool Suite
Access all interactive tools with complete data, all workload profiles, and the full scenario library.
Source Files
Downloadable source code, configuration files, and working examples from every chapter.
Lifetime Updates
Free updates for life. Every new chapter, tool, and improvement included.
Buy Now — $9 →
📦 Free sample included — download another copy for the full product.
Oracle Testing Harness v1.0.0 — Free Preview