# Shielded Pool Genesis Fund

This page explains how `SHIELDED_POOL_GENESIS_FUND_MAZZE` is applied at genesis.

### <mark style="color:orange;">What It Is</mark>

* `SHIELDED_POOL_GENESIS_FUND_MAZZE` defines how many native MAZZE are moved to the shielded pool contract at genesis.
* Code location: `crates/mazzecore/core/src/genesis_block.rs`.

### <mark style="color:orange;">Funding Source (Important)</mark>

The shielded pool genesis fund is sourced from the genesis treasury balance. It is **not minted** on top of genesis supply.

Flow in code:

1. Treasury is funded from `GENESIS_TREASURY_BALANCE_MAZZY_STR`.
2. Seed amount is computed from `SHIELDED_POOL_GENESIS_FUND_MAZZE`.
3. If `treasury_balance >= seed`, code executes `transfer_balance(treasury -> shielded_pool, seed)`.
4. If treasury is missing or insufficient, seeding is skipped and a warning is logged.

### <mark style="color:orange;">Supply/Accounting Impact</mark>

* No extra issuance is created by this step.
* `total_issued` is not increased during shielded pool seeding.
* This is a balance reallocation inside existing genesis-issued funds.

### <mark style="color:orange;">Related Pages</mark>

* [Issuance](/tokenomics/issuance.md)
* [Bridge Liquidity](/tokenomics/bridge-liquidity.md)


---

# 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.mazze.io/tokenomics/shielded-pool-genesis-fund.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.
