> For the complete documentation index, see [llms.txt](https://deliqfinance.gitbook.io/deliq-finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://deliqfinance.gitbook.io/deliq-finance/smart-contracts/evm-compatible-contracts/manager.sol-explained.md).

# Manager.sol explained

Manager contract coordinates the flow of capital across the protocols and deploys the pool liquidity to exchanges and other DeFi protocols . It couples the capital in Basic with pool with General pools to deploy liquidity to Sushiswap etc.

The Manager contract is very flexible in the actions it can perform to make those moves. Figuring out what those moves look like (how much, in what chunks, to where) is an operation that is currently computed on chain. Less gas costs on Solana and Avalanche allows for efficient and transparent and provable deployment.

There are three major roles in the contract for ensuring secure handling and deployment liquidity

* **Admin** - This the major role handling the most important and capital intensive tasks . This role will be handles by the *DeliqDAO multisig .* Major tasks of admin include creating new pools , adding more tokens to the basic pool etc.
* **Shuffler** - The role includes shuffling the capital from one pool to other or handling the withdrawal requests . Mostly used to distribute capital across pools to maintain the balance in the pools at the end of weekly phases.
* **Protector** - Role majorly includes IL mitigation in the pool and making sure LPs are properly made whole and rolling over the capital from one pools to other in case of Surplus capitals.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://deliqfinance.gitbook.io/deliq-finance/smart-contracts/evm-compatible-contracts/manager.sol-explained.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
