Documentation Index
Fetch the complete documentation index at: https://v2-docs.exponent.finance/llms.txt
Use this file to discover all available pages before exploring further.
createSentinelSetVaultFlagsInstruction
Builds a raw instruction to set or clear vault status flags that block specific operation categories. Only callable by the sentinel role. Used for emergency controls such as pausing deposits, withdrawals, or strategy execution when a risk event is detected.Usage
Accounts
| Name | Signer | Writable | Description |
|---|---|---|---|
sentinel | Yes | No | The vault sentinel authority |
vault | No | Yes | The Strategy Vault account |
Args
| Name | Type | Description |
|---|---|---|
action | VaultFlagAction | Flag action to apply: { setFlag: u8 }, { clearFlag: u8 }, or { setAllFlags: u8 } |
Returns
TransactionInstruction — a transaction instruction ready to be added to a transaction.