Skip to content

Add emergency circuit breaker with tiered triggers #334

@Smartdevs17

Description

@Smartdevs17

Description

Implement an emergency circuit breaker system that can pause protocol operations at different tiers (single pool, all pools, entire protocol) based on severity.

Acceptance Criteria

  • Tier 1: Single pool pause (oracle issues, pool manipulation)
  • Tier 2: All lending paused (systemic risk detected)
  • Tier 3: Full protocol halt (critical vulnerability)
  • Automatic trigger conditions (price deviation >20%, abnormal utilization)
  • Guardian multisig for manual trigger
  • Governance vote required for Tier 3 unpause

Technical Scope

  • stellar-lend/contracts/hello-world/src/circuit_breaker.rs
  • stellar-lend/contracts/lending/src/
  • Edge: false trigger during high volatility, circuit breaker DoS, governance vs guardian authority

Metadata

Metadata

Assignees

No one assigned

    Labels

    200-points200 point issuedrips-waveDrips Wave project taskhighHigh priority issue

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions