Skip to content

Add oracle price deviation monitoring and circuit breaker #381

@Smartdevs17

Description

@Smartdevs17

Description

Oracle price manipulation or failure can cause incorrect liquidations. Implement monitoring with automatic circuit breaker on price anomalies.

Acceptance Criteria

  • Price deviation between sources >2% triggers alert
  • Price deviation >10% triggers automatic pause
  • Staleness detection (no update for >1 hour)
  • Price volatility circuit breaker (>20% change in 10min)
  • Gradual unpause after price stabilization
  • Oracle incident report generation

Technical Scope

  • oracle/src/security/
  • stellar-lend/contracts/hello-world/src/oracle.rs
  • Edge: legitimate volatility (Flash Crash), multiple oracle simultaneous failure

Metadata

Metadata

Assignees

No one assigned

    Labels

    200-points200 point issueStellar WaveIssues in the Stellar wave programdrips-waveDrips Wave project taskhighHigh priority issue

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions