TrussDocs

Emergencies

Emergency controls

The controls that act at once when something goes wrong, who holds each, what keeps working while the vault is paused, and which guide to follow for each incident.

Every control that reduces risk acts at once, in one transaction. Every control that restores or raises risk waits its tier. So stopping something is fast, and starting it again takes time.

Key points

  • A vault pause stops new requests, pushes and instant withdrawals, but lets open requests settle and be claimed.
  • Lowering any limit, and revoking any operator role, is immediate.
  • A pause does not stop settlement, so when the NAV may be wrong, stop the settlers too.
  • Unpausing and raising limits wait the HIGH tier.

Controls that act at once

ControlFunctionWho
Pause the vault, or one sub-accountpauseSentry, VaultAdmin
Pause instant withdrawals, or clear their default sourcepauseInstant, clearDefaultSourceSentry, VaultManager, VaultAdmin
Lower the deposit cap or the instant window; tighten the freshness gatelowerDepositCap, lowerWindowCapacity, lowerWindowRefillRate, tightenFreshnessGateSentry, VaultManager, VaultAdmin
Lower a sub-account's cap, or its push, swap or lend limitslowerSubAccountCap, lowerRateLimitCapacity, lowerRateLimitRefillRateSentry, VaultAdmin
Bring capital back to the vaultreturnAssetsToVaultVaultManager, the sub-account's traders, VaultAdmin
Stop adding to an assetinitiateDeregistrationVaultManager, VaultAdmin
Invalidate an attested account's valueinvalidateNavNavGuardian, VaultAdmin
Revoke a permitted callrevokeCallShapeVaultAdmin
Remove an asset's price adapter (not USDC's)removeOracleAdapterForAssetVaultAdmin
Revoke an operator rolerevokeRole on the AccessManagerVaultAdmin; a vault manager for the Settler, Allocator, Donor, execute and return roles
Cancel a scheduled changecancel on the AccessManagerVaultAdmin, or the key that scheduled it
Move a holder's position, on a vault deployed with forced transfersforceTransferVaultManager, VaultAdmin

What still works while paused

A vault pause blocks new deposit and redemption requests, pushes into sub-accounts, and instant withdrawals. Everything else continues:

  • requests already open can still be settled, cancelled and claimed;
  • shares and pending requests can still be transferred;
  • capital can still be returned from the sub-accounts.

A settler can still settle a paused vault. When the NAV may be wrong, revoke the settlers' roles, or have the settling service stop, as well as pausing. A paused sub-account refuses new capital and every trade, but its USDC can still be returned. The vault's pause and each sub-account's pause are separate.

Incidents

IncidentGuide
A key has leakedA key has leaked
A price feed is wrong or has stoppedA price feed is wrong
An attested value is wrongAn attestation is wrong
A lending or swap venue is exploitedA venue is exploited

Getting back to normal

Restoring waits the tiers. unpause, unpauseInstant and every limit raise wait HIGH, and only the VaultAdmin holds them. A new price adapter, a new default source and a re-allowed call shape wait CRITICAL. A revoked settler is granted back at once, but a revoked allocator or execute role waits the HIGH grant delay. Plan for that delay before you pause, and tell holders how long a return to normal will take.

Where to read more

PageWhat it covers
Who can call whatEvery function's tier and holders
ProfilesThe Sentry, the NavGuardian and the other profiles
RisksWhat holders rely on in an incident