Summary
Add a circuit breaker to the bonding curve contract that pauses trading when a single transaction's price impact exceeds a configurable threshold, preventing large manipulative trades.
Scope
- max_price_impact_bps configured per key by creator
- Impact computed as percentage price change from pre- to post-trade price
- Trade rejected with CircuitBreakerTripped error when impact exceeds threshold
- set_circuit_breaker(key_id, max_bps) — creator-only config
- CircuitBreakerTripped event emitted with actual impact bps
Acceptance Criteria
ETA
24 hours
Summary
Add a circuit breaker to the bonding curve contract that pauses trading when a single transaction's price impact exceeds a configurable threshold, preventing large manipulative trades.
Scope
Acceptance Criteria
ETA
24 hours