Documentation Index
Fetch the complete documentation index at: https://docs.superform.xyz/llms.txt
Use this file to discover all available pages before exploring further.

- Pause Vault — onchain contract-level pause / unpause.
- Pause Keepers — offchain per-vault service controls.
- Emergency Exit — per-yield-source liquidity drain through the Strategy Engine and OMS.
Pause Vault
Vault pause is an onchain control. It halts protocol-level vault operations until a manager signs an unpause transaction.Pause Keepers
Keeper service controls are offchain. Use them when you want to stop a worker without changing vault contract state.Emergency Exit
Emergency Exit drains liquidity from one whitelisted yield source. It is operator-armed, target-scoped, and designed for urgent source-level risk events. When armed for a source:- The paired
EMERGENCY_EXITstrategy transitions toRUNNING. - The Strategy Engine records an emergency lock keyed by that source’s
target_address. - User-defined strategies targeting the same address are blocked from publishing intents.
- Strategies targeting other yield sources continue normally unless they have their own lock.
- The emergency strategy emits withdrawal intents on every tick until stopped.
- In-flight OMS transactions continue to settle even after the operator stops the drain.
Prerequisites
Emergency Exit depends on:- The yield source being whitelisted.
- An active withdrawal hook for that source in the current merkle config.
- Published / available strategy proofs for the active merkle tree.
- A paired
EMERGENCY_EXITstrategy, created automatically when prerequisites are available. - OMS/session-key readiness for execution.
Arm an Emergency Exit
- Open Pause → Emergency Exit.
- Select the yield source.
- Review current allocation, APY/TVL metadata, and blocked strategies.
- Enter the confirmation suffix for the yield source address.
- Optionally enter a reason.
- Choose max slippage. Default is 50 bps.
- Click Arm emergency exit.
Stop an Emergency Exit
Stopping transitions the paired strategy back toIDLE and releases the emergency lock. User-defined strategies targeting that source are eligible again on the next tick.
Strategy Canvas Locking
While an emergency lock is active:- The Strategy Canvas shows a banner for active drains.
- Strategy toggles that target the locked source are disabled.
- Reorder controls are disabled only for lanes containing affected strategies.
- Emergency strategies are hidden from normal strategy editing by default and are read-only when shown.
emergency_locks entries with strategy_id, target_address, started_at, and optional reason.
Control Comparison
| Control | Scope | Onchain Tx? | Typical Use |
|---|---|---|---|
| Pause Vault | Entire vault contract | Yes | Protocol-level emergency |
| Pause Keepers | One or all offchain services | No | Maintenance or worker incident |
| Emergency Exit | One yield source target | Strategy/OMS execution | Drain a risky source |
API Reference
| Endpoint | Method | Description |
|---|---|---|
/api/v1/vaults/pause-status | GET | Batch onchain pause status |
/api/v1/vaults/emergency-pause/prepare | POST | Prepare pause transaction |
/api/v1/vaults/emergency-unpause/prepare | POST | Prepare unpause transaction |
/api/v1/vaults/{chain_id}/{vault}/services | GET | List keeper services |
/api/v1/vaults/{chain_id}/{vault}/services/{name}/pause | PUT | Pause one service |
/api/v1/vaults/{chain_id}/{vault}/services/{name}/resume | PUT | Resume one service |
/api/v1/vaults/{chain_id}/{vault}/services/enabled | PUT | Bulk enable / disable services |
/api/v1/strategies?kind=EMERGENCY_EXIT | GET | List paired emergency strategies |
/api/v1/strategies/{id}/state | PATCH | Arm or stop paired emergency strategy |
/api/v1/engine/shards/{vault_id}/state | GET | Read active emergency locks and allocations |
