# 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: 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://deliqfinance.gitbook.io/deliq-finance/smart-contracts/evm-compatible-contracts/manager.sol-explained.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.
