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

# Guards catalog

> How to pick a guard, plus the live list from the compose manifest

A guard is an on-chain check attached to an op's output; if it fails at execution, the transaction reverts. For how simulation sets the bound, see [Simulation and guards](https://docs.li.fi/composer/composer-api/concepts/simulation-and-guards.md#when-guards-run). For syntax, see [Build a same-chain flow](https://docs.li.fi/composer/composer-api/guides/build-a-flow.md#guards-invariants-during-execution).

## Pick a guard

| Guard | Bound | Reported in the compile result | Typical use |
| - | - | - | - |
| [`slippage`](https://docs.li.fi/composer/composer-api/guards/slippage) | Floor at `bps` below the simulated value. | As `amount.minimum` on a resource output. | Minimum output of `lifi.zap`, `core.asResource`, Uniswap `liquidity`. |
| [`band`](https://docs.li.fi/composer/composer-api/guards/band) | Range at `bps` on both sides of the simulated value. | Nothing. | Pool price before a Uniswap deposit. |
| [`core.numericInvariant`](https://docs.li.fi/composer/composer-api/guards/numeric-invariant) | Comparison against a constant `threshold`. | Nothing. | Aave health factor, a contract return value. |

Ops whose output already carries a minimum, such as `lifi.swap` and `lifi.bridge`, accept no guard on that output: set `slippage` in their config instead. Future outputs accept no guard either.

## Live catalog

The list below is read from the production compose manifest when the page loads.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.