# Architecture

## **MoreMarkets Architecture**&#x20;

<figure><img src="https://3939430316-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpkuCQdIPo5l6ElM4z077%2Fuploads%2FLQg6SCyiYfXmahdfCviY%2Fimage.png?alt=media&#x26;token=ecaf4aff-a737-41eb-a906-8440d3499f12" alt=""><figcaption><p>MoreMarkets System Architecture</p></figcaption></figure>

The MoreMarkets architecture is designed to enable seamless cross-chain liquidity access and management. Here’s a quick breakdown of the key components and their interactions:

***

**1. Principal Chain**

* **Primary BoringVault:** Stores native assets deposited from the Principal Chain and issues vault shares.
* **ReceiptTeller (Wormhole):** Facilitates cross-chain message passing, deposits and issues receipts.
* **Null Manager & Null Strategist**: For now this component is not enabled, but eventually will allow strategy managers to manage remote strategies directly from principal chain.

***

**2. Receipt Chain**

* **ReceiptTeller (Wormhole):** Receives cross-chain message passing to the Receipt Chain.
* **Primary BoringVault**: Mints receipts based on verified deposits.
* **RouterTeller**: Manages positions and interacts with the Receipt BoringVault.
* **Receipt BoringVault**: Core liquidity pool for deposited assets.
* **Root Manager**: Administrative component for vault governance.
* **Strategist**: Implements yield strategies for deposited assets.
* **Application**: End-user protocols that utilize the liquidity (with liquidation/slashing capabilities).

***

**3. Manager & Strategist**

* **Manager Contract:** Authenticates and executes strategist calls for rebalancing assets across chains.
* **Strategist:** Analyzes market opportunities and allocates liquidity to maximize yield.

***

**4. Accountant**

* Tracks asset prices and ensures accurate valuation of vault shares and receipt tokens.

***

**5. Application Layer**

* **Deposit:** Users deposit assets into the vault, receiving yield-bearing positional tokens.
* **Restaking/Yield Aggregators:** Strategists deploy assets into high-yield opportunities like restaking protocols or DEX liquidity pools.

***

## **How It Works**

1. **Deposit:** Users deposit assets from Principal Chain into the Primary BoringVault.
2. **Cross-Chain Message Passing:** ReceiptTeller passes message  to the Receipt Chain.
3. **Liquidity Allocation:** Strategists rebalance assets across chains using the Manager Contract, deploying them into high-yield strategies.
4. **Yield Generation:** Assets generate yield, which flows back into the vault, increasing the value of user positions.

[<br>](https://docs.veda.tech/architecture-overview)


---

# 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.moremarkets.xyz/protocol-concepts/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.
