Oracle Engine

The Oracle Engine is a critical component of Pike, responsible for managing price feeds for pTokens with advanced security features. It ensures accurate and validated asset prices through a dual-oracle architecture.

Overview

  • Advanced Oracle System: Pike uses dual-oracle architecture with primary and fallback providers (e.g., Chainlink, Pyth). Intelligent boundary validation automatically rejects fallback prices that deviate beyond configurable tolerance ranges, protecting against oracle manipulation and providing superior reliability.

  • The governor configures both main and fallback Oracle providers for each asset.

Integration with Pike

  1. Governor Configuration: Defines oracle providers and boundary ratios using setAssetConfig().

  2. Risk Engine Interaction: Provides validated pricing data for risk calculations.

  3. Multi-Provider Support: Supports multiple oracle providers (e.g., Chainlink, Pyth) for enhanced security.

Next Steps

  • Interactions: Learn about dual oracle configuration methods.

  • Access Control: Understand oracle configuration permissions.

Last updated