# AVSManager

Looking much like WorkerManager, this smart contract manages everything around AVS. It handles enrollment and exit and manages AVS accounts. As a PoolManager and WorkerManager, AVSManager has a unique account for AVS/token pair.

AVS need accounts to hold funds that will be paid to workers for their work, so before any work can be scheduled for this AVS. If the amount is sufficient, then the work can be scheduled and executed.  Further, different payment options and models for AVS will be introduced to increase flexibility and customisability.

<figure><img src="/files/rKdkjLW41CDWS2ChjUEA" alt=""><figcaption></figcaption></figure>

In the current implementation, the conditions for delegating AVS work are quite simple and are as follows:

* Number of workers with minimum stake is more or equal to minimum workers
* AVS has enough funds on its accounts to pay for the services (number of workers used \* fee)


---

# 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.cambrian.one/cambrian-architecture-and-workflow/avsmanager.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.
