Shielded Pool Genesis Fund
This page explains how SHIELDED_POOL_GENESIS_FUND_MAZZE is applied at genesis.
What It Is
SHIELDED_POOL_GENESIS_FUND_MAZZEdefines how many native MAZZE are moved to the shielded pool contract at genesis.Code location:
crates/mazzecore/core/src/genesis_block.rs.
Funding Source (Important)
The shielded pool genesis fund is sourced from the genesis treasury balance. It is not minted on top of genesis supply.
Flow in code:
Treasury is funded from
GENESIS_TREASURY_BALANCE_MAZZY_STR.Seed amount is computed from
SHIELDED_POOL_GENESIS_FUND_MAZZE.If
treasury_balance >= seed, code executestransfer_balance(treasury -> shielded_pool, seed).If treasury is missing or insufficient, seeding is skipped and a warning is logged.
Supply/Accounting Impact
No extra issuance is created by this step.
total_issuedis not increased during shielded pool seeding.This is a balance reallocation inside existing genesis-issued funds.
Related Pages
Last updated
Was this helpful?