# Modules

Here we introduce the system modules of Allstake, by illustrating how Allstake works between NEAR and Solana.

**Allstake Hub**, living on NEAR Protocol, is built with the modules below:&#x20;

1. **Strategy Manager**: track the deposit and stake states of LST strategies across multiple chains like NEAR and Solana
2. **Delegation Manager**: register operator to AVS/App chain; allow delegation from restakers to operators
3. **AVS/App chain Directory**: register AVS/App chain by AVS/App chain developers
4. **Slasher**: slash operators for under-performance according to network's performance evaluation criteria
5. **Payment Coordinator**: distribute rewards to operators and restakers based on operator performance and delegation amount

**Client Contracts on Solana**, enable native restaking with LSTs on Solana:

1. **Strategy Manager**: accept deposit and stake native LSTs (e.g. mSOL) on Solana.
2. **Delegation Manager**: allow restaked LSTs to be delegated to operators registered on Allstake Hub;
3. **Operator Manager**: manage slashing and reward distribution to delegators on Solana;

**Cross-Chain Interoperability,** powered by Chain Signature and Light Clients:&#x20;

1. The states of Strategy Manager and Delegation Manager on Solana are relayed to **Light Clients** on NEAR, and are accessible with **Connector** contracts on NEAR.
2. Powered by [**Chain Signature**](https://docs.near.org/build/chain-abstraction/chain-signatures), Allstake Hub can synchronize AVSs/App chains and operators registration states to Solana, and slash and reward restakers on Solana in real time.&#x20;

**AVS/App chain**, built with middleware and SDKs provided by Allstake, can register on Allstake Hub. The **Stake Registry** can read delegation shares from both NEAR and Solana Delegation Managers, and secure AVSs with restaked assets from both NEAR and Solana.

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


---

# 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.allstake.org/technical-architecture/modules.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.
