# Integrating with a vault

> What a developer needs to integrate with a Truss vault, from request and claim calls to reading state and batching operator calls.

Source: https://docs.trusslabs.io/vaults/developers

A Truss vault is an ERC-7540 asynchronous vault: deposits and redemptions are requests that a settler fills later,
rather than swaps that complete at once. It adds ERC-8161, an extension that lets a pending request be transferred
to a new controller. Its share token is the vault contract itself, a plain ERC-20, as ERC-7575 allows. Most
integrations open requests, claim them, and read the vault's state. This group gives the calls; the
[Flow of funds](https://docs.trusslabs.io/vaults/flow-of-funds.md) pages explain what each step does.

> **Key points**
>
> - Every deposit and redemption is a request with an id, a controller and an owner. Claims follow settlement.
> - Some vaults also redeem instantly, through a call that opens and pays a redemption at once.
> - The vault departs from ERC-4626 in a few documented places, such as preview functions that revert.
> - The contracts are authoritative. These pages name the events and errors an integration needs where it uses them.

## The pages in this group

| Page | What it covers |
|---|---|
| [Deposits and redemptions](https://docs.trusslabs.io/vaults/developers/deposits-and-redemptions.md) | The request, claim, cancel and transfer calls, operators, and the instant path |
| [Standards and deviations](https://docs.trusslabs.io/vaults/developers/standards.md) | Where the vault departs from ERC-4626, ERC-7540, ERC-7575, ERC-8161 and ERC-20 |
| [Reading vault state](https://docs.trusslabs.io/vaults/developers/reading-state.md) | Share price, NAV, pending and claimable amounts, limits, fees and configuration |
| [Building multicall batches](https://docs.trusslabs.io/vaults/developers/multicall-batches.md) | Operator multicalls and the vault's own batching |

## Where the ABIs are

The interfaces an integration needs are `ITrussVault` for the vault's requests, claims and views, `IFeeController`
for fees, `IVaultState` for the vault's books, and `IInstantRedemptionPolicy` for instant quotes. A few calls live on
the concrete contracts only, such as `crystalliseFees()` and `queuedFeeAssets()` on `TrussVault`, so read those from
the contract's own ABI. Each deployed contract is verified on its network's block explorer.

Every contract of one vault is listed in its address book, which the factory returns from `bookOf(vault)`.

## Where to read more

| Page | What it covers |
|---|---|
| [Flow of funds](https://docs.trusslabs.io/vaults/flow-of-funds.md) | What each step does, and who must call it |
| [Architecture](https://docs.trusslabs.io/vaults/architecture.md) | The contracts in a vault and how they connect |
| [Who can call what](https://docs.trusslabs.io/vaults/roles/function-permissions.md) | Every restricted function, its tier and holders |
