# Architecture

<figure><img src="/files/VWabToqz7DyjaOCaiU5z" alt=""><figcaption><p>Architectural Flow</p></figcaption></figure>

The following contracts are the part of unison's architecture.

**Deposit :** Unison uses *Squid Router* to enable cross-chain deposits from 50+ networks, the deposits take <20 Seconds and have the lowest fee.

**Vault :** The vault contract is hosted on Arbitrum, this is central part of the protocol where all assets are deposited and further deployed. The strategies from all chains report to vault on various metrics.

**Strategies :** Strategies deploy assets to major protocols across the ecosystem of all supported chains, and then harvests the rewards to auto-compound it's yield.

**Withdrawal :** The users initiates withdrawal from the Unison app, which then triggers the vault with parameters about amount.If vault has enough free-funds, the withdrawal takes place instantly between vault and the user. In case of insufficient free-funds, it informs the strategy one by one with the amount needed and withdrawal takes place based on impact on APR, and finally routes it back to user's wallet.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.unison.gg/implementation/architecture.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
