# The Economic Layer **Read from the code, not from the specification.** Every number, authority and refusal below was taken from a file and a line in this tree on 2026-09-06, and re-checked at `9220195` on 2026-09-07 after the eSTR and CCOS premines landed. Where a document in `docs/` or the `README.md` says something the code does not support, the contradiction is named at the line rather than smoothed over — see §12. **§12 now records rows that were fixed and then reversed**, because eSTR moved from a false premine claim, to an honest "supply is 0, pending governance", to a true premine claim inside the genesis hash. A register that deleted the middle state would leave a reader unable to tell an unimplemented intention from a decided one — which is the distinction that made the difference between building the premine correctly and guessing at it. Two readers are assumed. One is deciding whether the token model is coherent, and needs to know which parts of it exist as executable rules and which are still prose. The other has to change something in `src/economics/` without breaking an invariant by accident, and needs to know which checks run on the block path and which are a method nobody calls. The single most useful fact in this document is that distinction, so it is stated first. --- ## 0. Three planes, and why the difference decides everything Every economic rule in this tree sits in exactly one of three places. Confusing them is how this codebase produced its two worst historical defects — an unauthenticated burn and an unbounded bridge mint — so the taxonomy is load-bearing rather than descriptive. | Plane | Runs where | Two nodes may disagree? | Example | |---|---|---|---| | **Consensus** | inside block execution: `produceBlock`, `acceptBlock`, and the `validateChain` replay | **No.** A disagreement is an invalid block. | `YggdrasilLedger.mint`'s cap check (`YggdrasilLedger.mint` `src/core/yggdrasil.ts:526`) | | **Admission** | when a node takes a request it has not yet put in a block | **Yes**, legitimately. Local judgement. | the Nemesis rate limit in `StableStrPool.mint` (`src/economics/stable-pool.ts:1535`) | | **Off-chain / reporting** | a method a person or a process calls | Nothing depends on it | `EchoVault.reconcile()` (`src/economics/echo.ts:481`) | The three block-execution call sites are the ones to hold in your head, because a rule that is not reached from all three is a rule the producer enforces and a follower does not: - `src/core/blockchain.ts:1892` / `:2410` / `:3166` — post-mining - `src/core/blockchain.ts:1918` / `:2419` / `:3195` — collateral records ($TR) - `src/core/blockchain.ts:1947` / `:2429` / `:3207` — wrap records (WSTR) - `src/core/blockchain.ts:1981` / `:2444` / `:3208` — governance effects (the pool burn) `BlockchainCore.validateState()` (`src/core/blockchain.ts:15416`) is what makes the consensus plane checkable after the fact: it replays every block and compares the resulting state root to the one the node holds. It compares **roots**, not economic invariants. It will catch a balance that no block accounts for. It will not tell you the peg is broken, because a chain in which the peg was broken by a valid record replays to exactly the root it holds. --- ## 1. The seven ledgers `src/core/tokens.ts` is the register. Seven tokens, seven `YggdrasilLedger` instances, one per token (`ALL_TOKENS` `src/core/tokens.ts:36`), all folded into the chain state root in a fixed order (`LedgerManager.stateRoot` `src/core/ledger-manager.ts:1059`). Every token except WNFT carries **13 decimals** (`TOKEN_DECIMALS`, `src/core/tokens.ts:42`). The constant is imported by `CHAIN_CONFIG.nativeDecimals` rather than restated (`src/core/config.ts:11`), because it previously said 18 in one place and 13 in the other. Two fields in `TokenDefinition` deserve a warning before the table. `publicSupplyMinor` and `treasurySupplyMinor` (`src/core/tokens.ts:56`, `:58`) are **read by nothing except the CLI's display code** (`src/cli/strblk.ts:283-284`). They are a declared intent, not a constraint: no code anywhere compares a balance against them. Every other field in the table is enforced somewhere, and those two are not. ### 1.1 STR — the native token | | | |---|---| | Supply policy | `capped` (`src/core/tokens.ts:106`) | | Cap | 63,000,000,000 STR = `whole(63_000_000_000n)` minor (`src/core/tokens.ts:73`, `:107`) | | Declared public share | 21,000,000,000 (`:108`) — **declarative only** | | Declared treasury share | 42,000,000,000 (`:109`) — **declarative only** | | Decimals | 13 | | Mint authority | `governance` (`:110`) | | Burn authority | `governance` (`:111`) | | Transferable | yes (`:112`) | | Financial-only | no (`:113`) | | Mint rule | `defined` (`:114`) | **What mints STR today.** Three paths, all inside block execution: 1. **Genesis seeding.** `LedgerManager.seed` → `YggdrasilLedger.seed` (`YggdrasilLedger.seed` `src/core/yggdrasil.ts:295`), called at `src/core/blockchain.ts:3291` on the live path and `:2991` on the replay path. `seed` is capped like `mint` (`src/core/yggdrasil.ts:78-84`), deliberately: an uncapped seed makes the cap decorative and `seed` is reachable from live code, not only from genesis. `validateGenesisSpec` refuses a spec whose allocations exceed the cap (`src/core/genesis.ts:181-207`). 2. **Post-mining.** `LedgerManager.applyPostMining` (`src/core/ledger-manager.ts:861`), reached only from `postMineForContractRecord` (`src/core/blockchain.ts:18675`). This is the only path that *increases* STR supply after genesis. See §3. 3. **Accounting halves of a conserving pair.** `LedgerManager.apply` for a non-native token burns then mints (`src/core/ledger-manager.ts:445-446`); `contractValuePort.move` does the same on STR (`src/core/contract-state.ts:147-149`); `applyWrapRecord` moves STR into and out of the Echo vault the same way (`src/economics/echo.ts:355-356`, `:380-381`). Net supply change across each pair is zero, and `LedgerManager.apply` asserts exactly that (`src/core/ledger-manager.ts:380-382`). **What burns STR today.** `FeelessPool.burnFromGovernance` (`src/economics/feeless-pool.ts:428`) and the bare-address form in `applyGovernanceEffect` (`src/governance/effects.ts:266`). That is the whole list. §4. **The shipped development genesis allocates 62B of the 63B cap** (`src/core/genesis.ts:78-83`): 42B treasury, 15B ecosystem, 5B validator rewards, 0 to the domain registry. The remaining 1,000,000,000 STR is the entire headroom post-mining has for the life of the chain unless the Feeless Pool burn returns some. This is a real economic parameter and it is not stated in `docs/TOKENOMICS.md`. The comment at `src/core/genesis.ts:75-77` records that the previous figures exceeded the cap 1587x, "which made the cap decorative and left STR post-mining permanently dead at zero headroom" — the fix moved the headroom from zero to 1B, and nobody has said whether 1B is enough for anything. ### 1.2 CCOS — the financial token and ledger | | | |---|---| | Supply policy | `premined` (`src/core/tokens.ts:170`) | | Cap | 63,000,000 CCOS (`src/core/tokens.ts:91`, `:172`) | | Public / treasury | 21,000,000 / 42,000,000 (`:187`, `:188`) — **seeded**, one genesis allocation each | | Decimals | 13 | | Mint authority | `genesis-premine` (`:196`) | | Burn authority | `undecided` (`:213`) | | Transferable | yes | | **Restriction** | `financialOnly: true` (`:215`) | | Mint rule | `defined` (`:225`) — "at genesis, once, and never again" | The restriction is enforced. `LedgerManager.validate` refuses a CCOS transfer that does not declare `purpose: 'financial'` (`src/core/ledger-manager.ts:304`), the ghost ledger repeats the rule (`src/ledger/ghost.ts:621`), and Mimir's stateless validation does too (`src/storage/mimir.ts:394-395`). This is why CCOS is a ledger of its own rather than a column on STR. Contracts cannot touch it at all: `contractValuePort` is STR-only, by an explicit decision recorded at `src/core/contract-state.ts:127-132`. Parity is a protocol constant, not a market rate: `STR_PER_CCOS = 1_000n` (`src/economics/parity.ts:20`), with `strToCcos` truncating rather than inventing fractional CCOS (`strToCcos` `src/economics/parity.ts:39`). **CCOS is premined, and this section used to say the opposite.** It said "nothing mints or burns CCOS today… CCOS supply is 0 and will stay 0 until something is built", which was true, and it was true beside a definition that declared 63,000,000 capped with 21M public and 42M treasury — four shipped surfaces publishing a supply that existed nowhere. That was escalated rather than patched (§10, question 10), the owner decided it the way eSTR was decided, and block zero now issues it: two genesis allocations, 42,000,000 to `DEV_GENESIS_SEEDS.ccosTreasury` and 21,000,000 to `.ccosPublic` (`src/core/genesis.ts:52-53`, `:159`, `:164`). No figure was chosen — these are the numbers the definition already carried. **Two independent controls hold the supply at exactly the cap**, the same pair eSTR has: - `assertMintable(CCOS)` now throws through the `premined` branch, so `applyPostMining` refuses a CCOS expense outright rather than covering it. - 42M + 21M is 63M is the cap, so the seeds leave zero headroom and `YggdrasilLedger.mint` refuses a further unit on the direct path the guard does not cover. Neither control is new machinery: the premine goes through `YggdrasilLedger.seed`, which writes the opening balance a chain is defined as starting with and is not minting. **Transfers are unaffected, and the reason is an ordering that is now load-bearing.** `LedgerManager.apply` burns from the sender before crediting the recipient on a non-STR ledger (`src/core/ledger-manager.ts:381-390`). Minting first would push supply transiently over the cap, so a token sitting exactly on its ceiling would be untransferable. That comment was written against a hypothetical and named eSTR as an illustration it then corrected as untrue; CCOS is a token that starts on its cap, so the ordering is now the thing keeping the financial ledger usable. `postMineForContractRecord` hardcodes `TokenType.STR` (`src/core/blockchain.ts`) and is the only production caller of `applyPostMining`, so nothing on a production path lost a mint when CCOS stopped being mintable. `strblk post-mine` still demonstrates the arithmetic with CCOS (`src/cli/strblk.ts:349`) — a calculator that now computes a mint the chain would refuse, which is recorded in §10 rather than fixed here. ### 1.3 WSTR — Wrapped STR | | | |---|---| | Supply policy | `backed` (`src/core/tokens.ts:136`) | | Cap | 63,000,000,000 — **the STR cap, derived** (`src/core/tokens.ts:146`) | | Declared public / treasury | `null` / `null` (`:151`, `:152`) — deliberately, see below | | Decimals | 13 | | Mint authority | `echo-vault` (`src/core/tokens.ts:163`) | | Burn authority | `echo-vault` (`:164`) | | Transferable | yes (`:165`) | | Mint rule | `defined` (`:167`) | The cap is arithmetic rather than policy, and the comment at `src/core/tokens.ts:137-145` says why: every WSTR corresponds to one STR in the Echo vault and STR is capped at 63B, so WSTR cannot exceed 63B *without the backing invariant already having been broken*. Writing the derived bound down means `YggdrasilLedger.mint` refuses the impossible case as well — the ledger holds even if the wrap rule is wrong. The `null` allocation split is the honest answer rather than an omission (`src/core/tokens.ts:147-150`): WSTR has no premine and no treasury share, because every unit is created by a holder wrapping their own STR. There is no public/treasury division to state and inventing one would describe an allocation that does not exist. **What mints and burns WSTR today.** `applyWrapRecord` (`src/economics/echo.ts:325`), and only that, reached from block execution at `src/core/blockchain.ts:1947`, `:2429`, `:3207`. §5. **Demand for WSTR is unmeasured.** No deployed chain in this tree holds any. The cap says what the ledger will refuse; it says nothing about what anyone expects. ### 1.4 ARSS — compute fuel | | | |---|---| | Supply policy | `emission` (`src/core/tokens.ts:178`) | | Cap | **none** — `maxSupplyMinor: null` (`src/core/tokens.ts:179`) | | Declared public / treasury | `null` / `null` | | Decimals | 13 | | Mint authority | `starw-vm-emission` (`:182`) | | Burn authority | `treasury` (`:183`) | | Transferable | yes | | Mint rule | `defined` (`:186`) | The absence of a cap is structural rather than an oversight, and the reason is written at `src/economics/arss-emission.ts:18-21`: emission scales with the machines that exist and are working, so capping it would cap the network's ability to pay for compute, which is the only thing ARSS is for. **ARSS is minted on one path: per sealed block, to the block's producer.** `applyArssForSealedBlock` (`src/economics/arss-emission.ts:512`) pays the producer's class rate divided by `ARSS_BLOCKS_PER_PERIOD` (`src/economics/arss-emission.ts:312`, 28,800) inside block execution, and the chain calls it on produce, accept and replay alike (`applyArssForSealedBlock` `src/core/blockchain.ts:9632` on produce, `applyArssForSealedBlock` `src/core/blockchain.ts:10932` on accept and `applyArssForSealedBlock` `src/core/blockchain.ts:16239` on replay). `ArssEmission.claim` (`src/economics/arss-emission.ts:200`) stays sealed and throws, so the uptime door pays nothing; `ArssEmission.reconcile` (`src/economics/arss-emission.ts:241`) takes the sealed-block total as its argument and compares the two against supply. *Until 2026-11-28 this paragraph said nothing mints ARSS and nothing can; per-block emission had been built on 2026-09-18.* Because `maxSupplyMinor` is `null`, `YggdrasilLedger.mint` performs **no cap check at all** for ARSS (`mint` `src/core/yggdrasil.ts:527`). That is the same shape that let an auditor mint 10^25 minor $TR before `STR_USD` got a cap (`src/core/tokens.ts:78-84`). ARSS is safe today only because its one minting path is bounded per block. That path is the payment record, and it inherits a ledger with no cap backstop. See §11. ### 1.5 STR_USD ($TR) — the stablecoin | | | |---|---| | Supply policy | `pegged` (`src/core/tokens.ts:193`) | | Cap | 1,000,000,000 $TR (`STR_USD_MAX`, `src/core/tokens.ts:96`, applied at `:197`) | | Declared public / treasury | `null` / `null` (`:200`, `:201`) — no premine exists | | Decimals | 13 | | Mint authority | `stable-str-pool` (`:202`) | | Burn authority | `stable-str-pool` (`:203`) | | Transferable | yes | | Mint rule | `defined` (`:206`) | The cap is a **policy ceiling on loss, not a forecast**, and the comment at `src/core/tokens.ts:86-94` states it in those words: demand for $TR is unmeasured, the bridge holds no collateral on any deployed chain today, so the number says nothing about expected volume. It says what the chain is willing to lose if the bridge is wholly compromised. One billion is three orders of magnitude below the demonstrated 10^25-minor forgery and one hundred epochs above `COLLATERAL_EPOCH_MINT_CEILING_MINOR`. The cap is the backstop; the epoch ceiling is the control. **What mints and burns $TR today.** `applyCollateralRecord` (`src/economics/stable-pool.ts:899`), mint at `:650`, burn at `:675`, reached from block execution at `src/core/blockchain.ts:1918`, `:2419`, `:3195`. §6. ### 1.6 WNFT — the domain NFT | | | |---|---| | Supply policy | `non-fungible` (`src/core/tokens.ts:213`) | | Cap | `null` — one per domain, bounded by the domain registry (`:214`) | | **Decimals** | **0** (`src/core/tokens.ts:212`) — the only token that is not 13 | | Mint authority | `domain-registry` (`:217`) | | Burn authority | `domain-registry` (`:218`) | | **Transferable** | **no** (`src/core/tokens.ts:220`) — transferring it would transfer an identity | | Mint rule | `defined` (`:222`) | **What mints WNFT today.** One unit per proved domain, at three sites, all inside block execution or genesis: `applyRegistration` (`src/core/blockchain.ts:17495`), the genesis allocation loops (`:3296` live, `:2994` replay), and `LedgerManager.registerDomain` (`src/core/ledger-manager.ts:401`). Nothing burns WNFT. `formatToken` special-cases the zero-decimal case (`formatToken` `src/core/tokens.ts:511`), so a WNFT balance renders as a count. The supply has a checker: `reconcileDomains` (`src/core/ledger-manager.ts:1235`) requires WNFT supply to equal the number of proved domains, requires every proved domain's holder to hold at least one, and requires a non-genesis domain to have **the lock its own class requires** in place — `requiredLockMinor(domainClassOf(record))` at `:864`, which is 1,000 STR for a personal domain and 5,000 for a business one, not a flat floor. A floor *would* pass a business domain holding the personal 1,000, which is the whole cost of the class bought for a fifth of it. It is **not on the block path**, and *corrected 2026-09-12*: the only caller in `src/` is one line inside `cmdDemo` (`src/cli/strblk.ts:6857`) — `src/cli/strblk.ts:3315` — not `strblk` generally. `cmdVerify` (`src/cli/strblk.ts:2217`) calls neither this nor `reconcileLocks`. The standing caller of all three whole-ledger sweeps is `scripts/a1.mjs:333-351`, a release exercise. ### 1.7 ESTR — the energy token **Decided, and built.** The owner resolved the three-way source conflict on 2026-09-07 (`docs/BUILD_STATUS.md`, "The three governance decisions are MADE"): eSTR exists, it is premined, and its maximum is 50,000,000. This section records what was found while it was undecided and what was built once it was, because both halves are load-bearing — the earlier refusal is why the premine could be built correctly rather than guessed at. | | | |---|---| | Supply policy | `premined` | | Cap | 50,000,000 eSTR, and the premine is the same number | | Declared public / treasury | `0` / 50,000,000 — the whole issuance is held, none is public at block zero | | Decimals | 13 | | Mint authority | `genesis-premine` | | Burn authority | `undecided` — the decision covered issuance and said nothing about burning | | Transferable | yes | | Mint rule | `defined` — and the rule is "at genesis, once, and never again" | | **Actual supply** | **50,000,000**, on any chain whose genesis carries the allocation; **0** on one that does not | **What was found, and why it took a decision to fix.** `src/core/tokens.ts` said "All 50M premined into the Energy STR Pool at genesis; never minted again", and five surfaces repeated it. Nothing premined it: `GenesisAllocation` carried an address, a `balanceMinor` and an optional domain and **no token field** (`spec/interfaces.ts`), so both seeding loops passed every allocation to `LedgerManager.seed` with the default token, STR; and no line in `src/` called `ledger(ESTR).mint`. eSTR supply was 0 and nothing could change it. The claim was dropped rather than the premine implemented, because the premine was not an unimplemented decision but an **undecided** one, disputed across three sources: | Source | eSTR | Status | |--------|------|--------| | `docs/CANONICAL_MODEL.md` §4 | **absent** from the AMS `ledgers/types.ts` set this chain adopted; "the earlier 5-token list with ESTR is superseded" | **overruled** | | `FINAL_TOKENOMICS_SPECS.md` | 50,000,000 | **adopted** | | the source recorded at `docs/ECOSYSTEM_RECHECK_2026-08-29.md` §1 | **1,000,000,000** | **overruled** | Picking one of those inside the genesis hash is unrevisable, which is why it went to governance instead. The escalation worked exactly as it is supposed to: the conflict was escalated, an owner answered, and the answer was built without a single number being invented on the way. **What was built.** `GenesisAllocation` now carries an optional `token`, both seeding loops honour it (`BlockchainCore.initGenesis` and the `validateChain` replay), and the development genesis carries a fifth allocation: the entire 50,000,000, to the account `DEV_GENESIS_SEEDS.energyPool` names — a seed that had sat unused in `src/core/genesis.ts` since before the token existed, which is the fossil of this same intention. **Seeding is not minting, and that is what makes "premined" true rather than decorative.** `YggdrasilLedger.seed` writes the opening balance a chain is defined as starting with, so it is not gated by `assertMintable`; `assertMintable` then refuses eSTR from block zero onward through its `premined` branch, which had no member until now. And because the seed reaches the cap exactly, the ledger's own cap check refuses a further unit even on the direct `mint` that the guard does not cover. Two independent controls, and the second is why the first being narrower than it reads does not matter here. **One correction to how the original finding was reported, which still stands.** It said `assertMintable` “guarantees” the emptiness. It does not. `assertMintable` has exactly one production caller, `LedgerManager.applyPostMining`; `YggdrasilLedger.mint` never consults it. Any future eSTR issuance path must carry its own authority check rather than relying on that one. **Two latent bugs had to be fixed before an allocation could name a token**, and both would have been silent: 1. `validateGenesisSpec` summed **every** allocation's `balanceMinor` into one total and checked it against the **STR** cap. An eSTR allocation would have been charged to STR's ceiling, and eSTR's own ceiling would not have been checked at all. Totals are now per token. 2. The duplicate check was per address. With a token field one address legitimately holds an allocation on two ledgers, so the key is now (address, token) — which still refuses the real duplicate, one address seeded twice on ONE ledger, where the second `seed` overwrites the first and the chain's opening supply is not what the file says. `totalGenesisSupply` had the same shape of error in the reporting half and now takes a token; `strblk genesis` prints the STR total labelled as such, and each allocation with its ledger. `ownership.ts` carries the `ENERGY_STR_POOL` row and it says the pool holds the premine again — this time with an allocation behind the sentence. #### 1.7a The encoding, and why the third candidate is the only correct one The dev genesis hash **did** move this cycle, for three reasons at once (§1.7b), so the hash-preserving property below is no longer the point. The reasoning is, and it is recorded here because it is a rule about meaning that any future field on a genesis allocation has to obey. `canonicalStringify` sorts object keys and drops properties whose value is `undefined` (`src/core/canonical.ts`), so the encoding chosen in `genesisHash` decides the answer. Three candidates, measured against the real encoder — first by the pass that could not build the premine, and reproduced independently by the pass that did: | Fold in `genesisHash` | Hash of the pre-change dev spec | Absent identical to explicit `STR`? | |---|---|---| | `token: a.token ?? null` | **moves**, to `b551dafb…4cbd` — adds `"token":null` to every allocation | yes | | `...(a.token !== undefined ? { token: a.token } : {})` | `42fb6409…b778f`, unchanged | **no** — two specs meaning the same thing get two chain identities | | `...(a.token && a.token !== TokenType.STR ? { token: a.token } : {})` | `42fb6409…b778f`, unchanged | yes | The third is what shipped. It encodes the *meaning* rather than the *syntax*: an omitted token and an explicit `STR` are the same statement, so they are one genesis. The second buys the same hash with a lie, and the lie is the expensive kind — two operators writing one genesis two defensible ways would be on two networks that agree about every balance in it. `tests/integration/genesis-tokens.integration.test.ts` holds both halves: absent equals explicit STR, and a different token is a different chain. #### 1.7b The dev genesis hash moved, from `42fb6409…b778f` to `0ae2ca8d…d686` Three chain-identity changes, taken in one movement because each was owed a decision and all three arrived together: - **`chainId` 1313 → 31337.** 1313 was ratified as Asgard's, the mainnet realm, so the development chain moved off it rather than mainnet moving away from it. - **`chainName` "SourceLess Mainnet Candidate" → "SourceLess Development".** The caption was false and repairing it had been refused twice as too expensive for a caption alone, since `chainName` is inside the genesis hash. It is free in a cycle where the hash is already moving. - **A fifth allocation**, the eSTR premine. Nothing is deployed, so the cost today is zero. It would not be zero later. #### 1.7c And again the same day, from `0ae2ca8d…d686` to `8ee28b94…76ea` One change: **two more allocations, the CCOS premine** — 42,000,000 and 21,000,000, the split `tokens.ts` already declared (§1.2). No other field of the spec moved, and that is measured rather than asserted: removing exactly those two allocations reproduces `0ae2ca8d…d686` byte for byte, which is the same technique the eSTR fold was checked with and is asserted by `tests/integration/genesis-node-set.integration.test.ts`. The encoding needed no new work. `GenesisAllocation.token` and the `...(a.token && a.token !== TokenType.STR ? { token: a.token } : {})` fold were built for eSTR and carry CCOS unchanged: an absent token and an explicit `STR` still hash to one chain, and the sort still breaks its tie on `(address, token)` so two allocations for one address cannot depend on the order they were written in. Two things the eSTR pass built are exercised for the first time by a second token: `validateGenesisSpec` charges 63,000,000 CCOS against the **CCOS** ceiling and lands on it exactly (one more minor unit is refused, naming CCOS), and the duplicate key on `(address, token)` is what lets two CCOS rows sit beside five STR rows and one eSTR row without either being read as a duplicate. --- ## 2. No transaction fees **There is no fee field.** `YggdrasilLedger.apply` is the single posting primitive and moves exactly `tx.amountMinor` (`src/core/yggdrasil.ts:182-192`); the module note at `src/core/yggdrasil.ts:9-12` states the consequence: "there is no fee to deduct, no collector to credit, and no way for value to leak out of a transfer." A payload carrying a fee is rejected rather than ignored. ### What pays for block space and execution Nothing pays for block space. Block production is unpaid: there is no block reward, no fee market, and no priority ordering in this tree. Producers are the 1313 genesis validators, seated by Gladsheim and rotated by Tyr, and their compensation is outside the chain. Execution is paid by **minting, not billing** — post-mining (§3). The network mints what execution cost, credits it to the Feeless Pool, and charges the sender nothing. The price of one unit of gas is `EXECUTION_COST_MINOR_PER_GAS = 1n` minor STR (`src/core/blockchain.ts:349`), chosen as the smallest non-zero price so that the mint is a direct restatement of measured work rather than a number with a policy baked into it. ### What that means for spam resistance The deterrent is at the identity layer, not the fee layer, and it is a **one-time cost per identity rather than a per-transaction cost**: 1. **A sender must hold a proved `STR.domain`.** `LedgerManager.validate` refuses a transfer whose sender has no proved domain, and refuses a recipient that neither holds an allocated domain nor is a deployed contract (`src/core/ledger-manager.ts:338-343`). 2. **A proved domain requires the lock its class requires: 1,000 STR personal, 5,000 STR business.** `DOMAIN_LOCK_MINOR` (`src/identity/str-domain.ts:58`) and `BUSINESS_DOMAIN_LOCK_MINOR` (`:76`) are both live, selected in one place by `requiredLockMinor` (`src/identity/str-domain.ts:79`) and reached from the shipped wallet as `strblk wallet mint --business` (`src/cli/wallet.ts:182`). The amount is derived from the **signed class** before the lock is placed (`src/core/blockchain.ts:6518`) and `verifyDomainProof` (`verifyDomainProof` `src/identity/str-domain.ts:706`) refuses any proof whose declared lock is not exactly that (`:641`). *Corrected 2026-09-12: this chapter, and the sybil argument in the paragraph below, stated the personal tier as though it were the only one.* 3. **One domain per wallet and one wallet per domain** (`src/identity/str-domain.ts:302-303`). State this honestly. **The sybil cost is paid once and the transaction cost is zero forever after.** A holder of one funded domain can submit transactions at whatever rate the mempool, the Nemesis ops-surface buckets (§9) and the block interval permit, at no marginal cost. The economic model has no mechanism that makes the ten-thousandth transaction from one identity cost more than the first. What bounds it is: - the per-principal admission buckets in `defaultOpsSurfaceLimits` (`src/ops/nemesis.ts:252-284`) — `tx:submit` at 120/minute, `contract:call` at 60/minute, `contract:deploy` at 12/minute — which are **admission-time and per-node**, so they bound what one node accepts and not what enters the chain; - the gas limit a contract call declares, which is what post-mining prices; - nothing else. Whether 1000 STR at an unmeasured STR price is a sufficient sybil cost for an unbounded transaction stream is an open economic question, not something the code answers. §11. --- ## 3. Post-mining `src/economics/post-mining.ts`. The rule, in one line (`src/economics/post-mining.ts:9`): ``` postMined = min(executionCost, ceilingPercent% of transactionAmount) ``` capped again by the token's supply cap. ### When it mints Only from `postMineForContractRecord` (`src/core/blockchain.ts:18675`), called once per contract record a block carries, at `src/core/blockchain.ts:1892` (produce), `:2410` (accept) and `:3166` (replay). It is deterministic across nodes because `gasUsed` comes from the VM executing the same record against the same state, the price is a constant, and the ceiling is arithmetic. Two behaviours worth knowing before you touch it: - **A deploy mints nothing.** `postMineForContractRecord` returns `0n` for any record that is not a `call` or whose outcome carries no `gasUsed` (`src/core/blockchain.ts:3816`). The comment at `:3812-3815` says why: the contract ledger returns a runtime for a deploy and does not report the gas its initialiser burned, so there is **no measured cost** — and inventing one would be the asserted-instead-of-measured number this codebase refuses elsewhere. Deployment cost is **unmeasured**, and is left that way. - **A reverted call still mints the gas it burned** (`src/core/blockchain.ts:3803-3804`): the network did the work either way, and refusing to cover failures would make failure the cheap way to consume a node. ### The ceiling, and what quantity it is applied to `POST_MINING_CEILING_PERCENT = 10n` (`src/economics/post-mining.ts:25`). The ceiling is computed as `(transactionAmountMinor * ceilingPercent) / 100n` (`src/economics/post-mining.ts:74`), the mint is `min(cost, ceiling)` (`:77`), and any excess is reported as `uncoveredMinor` (`:94`, `:100`) rather than quietly minted. **The quantity the 10% is applied to is not a transfer amount.** A contract record carries no transfer. `postMineForContractRecord` supplies: - `transactionAmountMinor = record.gasLimit * EXECUTION_COST_MINOR_PER_GAS` (`src/core/blockchain.ts:3821`) - `executionCostMinor = outcome.gasUsed * EXECUTION_COST_MINOR_PER_GAS` (`:3822`) So on the only path that runs, the ceiling is **10% of the caller's declared gas budget**, and the cost is the gas actually burned. A call that burns more than a tenth of its own declared budget is covered to a tenth and the shortfall is reported. This is stated at `src/core/blockchain.ts:3797-3801`, and it is a materially different rule from "10% of the transaction" as `README.md:18` and `docs/TOKENOMICS.md:63` describe it. A consequence an engineer should not rediscover the hard way: because the ceiling is a fraction of the *declared* limit and the cost is the *used* gas, a caller who declares a gas limit at least ten times what the call uses is always fully covered, and a caller who declares a tight limit is not. The declared limit is chosen by the caller. Nothing prices the difference. ### The supply cap is absolute `computePostMining` reads `TOKEN_DEFINITIONS[token].maxSupplyMinor` and truncates the mint to the remaining headroom, or to zero (`src/economics/post-mining.ts:82-92`), setting `supplyCapped`. `applyPostMining` additionally runs `assertMintable` (`src/core/ledger-manager.ts:427`), which is what stops post-mining ever being routed to a token whose issuance rule is not decided — a set with no member since 2026-09-07, when eSTR's rule was decided. eSTR is still refused by `assertMintable`, through the `premined` branch instead: the one issuance it has already happened, at block zero. Both are on the block path. `assertMintable` has no other production caller, so it bounds what post-mining may create and nothing else. ### None of post-mining's numbers is governable `GovernableParameter` is a closed union of five keys (`src/governance/parameters.ts:62-67`): `chain.blockTargetSeconds`, `chain.requiredConfirmations`, `governance.votingWindowMs`, `governance.ordinaryTimelockMs`, `governance.governanceChangeTimelockMs`. Nothing outside it is governable (`:61`), and `parseGovernanceAction` refuses a `set-parameter` naming anything else (`src/governance/actions.ts:178-183`). So `POST_MINING_CEILING_PERCENT` (10%), `EXECUTION_COST_MINOR_PER_GAS` (1), `BURN_INTERVAL_MS` (182 days), `BURN_CONSENSUS_PERCENT` (51), `COLLATERAL_EPOCH_BLOCKS` (28,800) and `COLLATERAL_EPOCH_MINT_CEILING_MINOR` (10M $TR) are all **compiled-in constants changeable only by shipping a new build**. The comment at `src/core/blockchain.ts:346-347` — "Governance can raise it" — is not true of the mechanism this chain has. `computePostMining` takes `ceilingPercent` as an argument (`computePostMining` `src/economics/post-mining.ts:69`), but every production call site uses the default. ### The journal `PostMiningJournal` (`src/economics/post-mining.ts:136`) records every decision including the ones that minted nothing, with `mintedByToken()` and `uncoveredByToken()` for reconciliation. It has **no production caller**: `BlockchainCore` tracks a single running total, `postMinedStrMinor()` (`src/core/blockchain.ts:15433`), and the journal is a facility the chain does not use. --- ## 4. The Feeless Pool `src/economics/feeless-pool.ts`. The pool's chain account is `feelessPoolAddress(genesisHash)` (`src/core/blockchain.ts:336-338`) — a hash of a domain-separated string bound to the genesis hash, deliberately not seed-derived, so nothing holds a key that could sign as it. ### The entrance **One.** `FeelessPool.credit` (`src/economics/feeless-pool.ts:201`), which mints to the pool address and books the credit. Reached only from `LedgerManager.applyPostMining` (`LedgerManager.applyPostMining` `src/core/ledger-manager.ts:892`). Post-mining does not credit a validator or the treasury. On the replay path there is no live pool object, so `applyPostMining` accepts a bare **address** instead (`src/core/ledger-manager.ts:425`, `:432`) and the replay passes `feelessPoolAddress(...)` (`src/core/blockchain.ts:3168`). The mint lands on the same account either way; only the derived books differ, and the books are not committed state. ### The three exits, and why two are sealed The account of the defect is at `src/economics/feeless-pool.ts:28-57` and is worth reading in full. Two faults, either alone disqualifying: - **Nothing authenticated the caller.** `consumeForDomain(token, holder, amount)` minted to any address the caller named and locked it for life. `consumeForExecution(token, payee, amount)` minted to any address the caller named. `vote(proposalId, nodeId, power)` took the voter's identity *and their voting weight* from the caller, so `vote(id, 'anyone', 10n ** 30n)` was a majority; `executeBurn(id, totalValidationPower)` then took the denominator from the caller as well, so `1n` made one forged vote a supermajority. - **Nothing recorded the movement in a block.** Each exit moved the chain's ledger the moment it was called, on whichever node the call landed on. The node held supply no peer had, its state root stopped following from its own blocks, and a restart restored state no peer could reproduce. None of the three had a production caller. Sealing them removed no capability the network was using. | Exit | Method | State today | |---|---|---| | 1 — domain lock | `consumeForDomain` (`src/economics/feeless-pool.ts:226`) | **sealed**, throws | | 2 — contract expense | `consumeForExecution` (`:244`) | **sealed**, throws | | 3 — burn | `proposeBurn` (`:266`), `vote` (`:286`), `executeBurn` (`:312`) | **sealed**, three independent refusals | | 3 — burn, re-opened | `burnFromGovernance` (`:422`) | **live**, via governance only | `proposal(id)` returns `undefined` unconditionally (`:330`) rather than being removed, so a caller asking "is there a burn under way" gets the true answer. **What re-opening exits 1 and 2 requires** (`src/economics/feeless-pool.ts:74-77`): a record kind a block carries and every node applies, a declared shape in `src/hostless/styx.ts`, and an answer to the authorisation question — *who decides the beneficiary*. Both exits mint to a caller-named address and the domain one locks the result **for life**, so a wrong or hostile beneficiary is unrecoverable by any path this chain has. Nobody has specified who decides, so they stay sealed. That is the whole of the requirement: the mechanism is not the hard part. ### The burn, routed through Odin as `burn-pool` Exit 3 was re-opened on the only path that was ever acceptable, and named **Surtr** in the component registry (`docs/NAMING.md`, the `burn-pool` row). The path, end to end: 1. A `burn-pool` governance action is proposed (`BurnPoolAction`, `src/governance/actions.ts:102-117`). It names a token, an `amountMinor` as a decimal string, and an `epoch`. The token must be in `BURNABLE_POOL_TOKENS` (`src/governance/actions.ts:141-147`) — STR, CCOS, ARSS, ESTR — which excludes WNFT, an identity ledger no burn should touch, and excludes STR_USD. (It also excludes WSTR, which this line used to list; see §5a for why it was removed.) **The list's stated rule no longer describes two of its members.** The comment above it says "only what post-mining can put in the pool", and post-mining can put neither ESTR nor CCOS there: both are premined and `assertMintable` refuses them, so a `burn-pool` proposal naming either would execute against a pool balance that is structurally zero. That is a refusal dressed as a permission — it does nothing rather than something wrong — but it is exactly the class of stale rule this list was tightened to remove, and it is **recorded here rather than changed**: narrowing which tokens governance may name is a governance decision. 2. The pool row is governed by the **Althing**, not by the Treasury's own pool (`src/governance/ownership.ts:253-266`, `networkWide: true`). The comment at `:257-261` records why: routing it to the steward would have made "51% of validation power" mean one domain voting for itself. 3. `APPROVAL_PERCENT = 51n` (`src/governance/voting-pool.ts:54`) — the same number `BURN_CONSENSUS_PERCENT` kept from the sealed mechanism (`src/economics/feeless-pool.ts:89`), now measured against a **frozen roll** rather than against a caller's argument. 4. Odin's fold refuses a second burn of the same `(token, epoch)` at three separate points: proposal time (`src/governance/odin.ts:517-524`), enactability check (`:763-772`), and immediately before the effect leaves (`:721-729`) — the last one being the load-bearing one, because a second burn of one epoch is supply destroyed on one vote counted twice. 5. Odin **decides and does not perform**. It returns a `GovernanceBurnEffect` (`src/governance/odin.ts:739-746`), because Odin's own stated limit is that it cannot move a balance, and the first action that needed to would otherwise have deleted that sentence (`src/governance/effects.ts:6-19`). 6. Block execution applies the effect: `applyGovernanceEffects` (`applyGovernanceEffects` `src/governance/effects.ts:444`), at `src/core/blockchain.ts:1981`, `:2444`, `:3208` — the producer, every follower, and the replay. 7. The whole thing sits in a rollback region that covers the **ledger and the pool's books together** (`src/core/blockchain.ts:1977-1978`, `:1984-1985`), because a half-rolled-back governance record is a chain whose state root no longer follows from its own blocks. **Why it burns the lesser of approved and available.** `burnFromGovernance` takes `min(request.approvedMinor, ledger.getAvailable(poolAddress))` (`src/economics/feeless-pool.ts:424-425`); `applyGovernanceEffect` does the same for the bare address (`src/governance/effects.ts:99-100`). Post-mining keeps crediting the pool while a vote runs, so **validators approve an amount, not a variable** (`src/governance/actions.ts:106-113`). A proposal that said "burn the balance" would be a proposal whose meaning changed between the first ballot and the execution, and the electorate would be approving a number nobody had seen. Approving an amount and burning the lesser means the electorate's decision is an upper bound they actually saw, and the pool never has to destroy value that arrived after they voted. Note the measurement is `getAvailable`, not `getBalance` (`src/economics/feeless-pool.ts:424`; and `YggdrasilLedger.burn` itself measures against `getAvailable`, `burn` `src/core/yggdrasil.ts:544`). Anything locked for life is outside a burn **by construction** — which is what "locked for life is never burned" has to mean if it means anything (`src/governance/effects.ts:83-86`). **Why a burn of zero is a no-op rather than a throw.** `if (burning <= 0n) return { burnedMinor: 0n }` (`src/economics/feeless-pool.ts:426`; mirrored at `src/governance/effects.ts:101`). The pool emptying between the vote and the execution is an ordinary outcome. Throwing would make the governance record fail, which makes the block carrying it fail, which means **anyone who can drain the pool holds a way to stall the chain** — a liveness attack handed out for free in exchange for an error message nobody needed. ### The books, and what they can and cannot say `FeelessPool` keeps derived books beside the ledger: `availableMinor`, `lockedForLifeMinor`, `spentOnExecutionMinor`, `burnedMinor`, `mintedMinor` (`src/economics/feeless-pool.ts:117-129`). `reconcile(token)` (`:369-383`) checks two things: that the four exits plus what is left equal what was minted, and that `availableMinor` equals the pool's actual ledger balance. The books are **not committed state and deliberately not in the chain snapshot** (`src/economics/feeless-pool.ts:150-156`). A restored node recomputes them from the blocks (`src/core/blockchain.ts:1413-1450`). Two of the five figures are permanently zero on a restored node and the code says so out loud (`src/core/blockchain.ts:1435-1437`): no block carries a pool exit for a domain lock or an execution payment, so a replayed pool has spent nothing on those. `reconcile()` has **no production caller anywhere in `src/`**. `BURN_INTERVAL_MS = 182 days` (`src/economics/feeless-pool.ts:81`) and `FeelessPool.epochOf` (`:188`) exist, but the `epoch` on a `burn-pool` action is an integer the proposer writes (`src/governance/actions.ts:115-116`); nothing checks it against `epochOf(now)`, nothing checks the epoch is complete, and nothing schedules a burn every six months. The six-month cycle is a naming convention and a de-duplication key, not a timer. --- ## 5. Echo — WSTR, the native wrapper `src/economics/echo.ts`. The name is from the Greek: the nymph who can only repeat what was said to her — never more, never less, and never first. That is the rule the file enforces. ### What was actually wrong `TokenType.WSTR` was declared "Multi-chain wrapper, 1:1 backed by STR" with `mintAuthority: 'bridge'` and `mintRule: 'pending-governance'`, and **no code in this tree minted or burned a single unit of it** (`src/economics/echo.ts:15-20`). The backing was not approximate and it was not weak — it was unimplemented, and therefore unmeasured. The ledger existed, the explorer showed it, the documentation described a peg, and the supply was zero because nothing could move it. ### Why it is not the $TR bridge, and must never be built like one $TR is minted against dollar-denominated reserves this chain cannot observe, so its correctness rests on four stacked controls, because the underlying question — *did a dollar land on another chain* — is one no node can answer for itself. WSTR asks nothing of the kind (`src/economics/echo.ts:22-33`): - no oracle, because the lock and the mint are two lines of the same block's execution and every node performs both; - no external attestation, because there is nothing external; - no trust assumption, because a node that disagrees about the backing disagrees about its own STR ledger — a state-root divergence, not a bridge failure. ### The vault ADDRESS, not `YggdrasilLedger.lock()` `ECHO_VAULT_ADDRESS` is derived at load from a fixed domain tag (`src/economics/echo.ts:115-119`), a 40-hex body from `sha256Hex('sourceless:echo-wstr-vault:v1')` with the same checksum every address on this chain carries. Nothing holds a key for it and nothing can. **`lock()` was the obvious choice and it is the wrong one** (`src/economics/echo.ts:48-56`). The same `lockedMinor` counter carries the 1000 STR STR.domain lock, and `LedgerManager.reconcileDomains` proves a domain is funded by asking `native.getLocked(holder) >= requiredLockMinor(domainClassOf(record))` (`src/core/ledger-manager.ts:864`). Wrapping 1,000 STR through `lock()` would have satisfied that check for a personal domain **with no domain lock ever having been placed** — an identity funded by a wrapper, provable by nobody, and the reconciliation that exists to catch exactly that reporting `accepted`. Moving the STR to an address instead keeps the two quantities in different places, which is what makes each one still answerable on its own. This is also why `reconcile()` is exact rather than approximate (`src/economics/echo.ts:58-63`): STR can only reach the vault through a wrap record. An ordinary transfer cannot, because `LedgerManager.validate` refuses a recipient that holds no allocated STR.domain and is not a deployed contract (`src/core/ledger-manager.ts:338-343`), and the vault is neither and can be neither — nothing signs for it and no domain can be registered against it, since registration requires a key. The vault's STR balance has exactly one producer and one consumer, both in `echo.ts`. The wrap itself refuses to wrap locked STR: it checks `getAvailable`, not `getBalance` (`src/economics/echo.ts:347`), because "STR locked behind an STR.domain is the sybil cost of being on this chain, and wrapping it would let one 1000 STR pay for a domain and a wrapper at once." ### Authorisation and replay Both directions are signed by the **holder**, and there is no variant of either record without a signature (`WrapRecord.authorization` `src/economics/echo.ts:173`; `UnwrapRecord`, `:182`). `assertWrapAuthorized` (`:279`) verifies the signature over `echoRecordPayload` — built by deletion rather than by listing fields (`:216-223`), so a field added to the record but left out of the payload cannot become a field an attacker may rewrite freely — and then requires `deriveAddress(publicKeyHex) === record.holder` (`:292-300`). Replay protection is the holder's **chain-wide nonce** (`src/economics/echo.ts:336-342`), the same boundary a transfer uses, advanced on the native ledger by `bumpNonce` (`:358`, `:382`). No consumed-reference set of its own, because that would be new committed state whose only job is to repeat what the nonce already says. The cost is stated rather than hidden (`src/economics/echo.ts:88-91`): a wrap and a transfer from one account compete for one nonce. ### The invariant, and why it is PROVABLE here ``` WSTR total supply == the STR balance of ECHO_VAULT_ADDRESS ``` to the minor unit. `EchoVault.reconcile()` (`src/economics/echo.ts:481-495`) compares `wrappedSupplyMinor()` (`:458`, the WSTR ledger's total) against `lockedMinor()` (`:453`, the vault's STR balance). The difference from $TR is the whole reason the module exists (`src/economics/echo.ts:470-476`). **$TR's `reconcile()` compares a supply against a reserve figure the chain was TOLD about by an attestation** — so a forged mint credits the very reserve it is checked against, supply and backing move together, and the peg reads intact while it is being counterfeited. Echo's compares two numbers that are both in the chain's own state root and both produced by this chain's own execution. There is no claim anywhere in it. A node that cannot reproduce the equality has **diverged**; a node that can has **proved** the backing rather than believed it. That is also why the module adds no new committed state and no new state-root key (`src/economics/echo.ts:38-46`): both sides already fold into `LedgerManager.stateRoot()`, WSTR through its own ledger root and the vault's STR through the STR ledger root. A separate book would be a second copy of a number the ledgers already carry, and a second copy is a second thing that can be wrong. **Both legs, or neither.** `applyWrapRecord` (`src/economics/echo.ts:325-383`) does all balance and cap checks before the first mutation, then burns and mints adjacently with no path between them that can throw (`:353-357`, `:379-382`). Burn before mint on each ledger, so neither passes transiently over its cap. The unwrap path checks the vault balance even though the invariant says it cannot fail (`src/economics/echo.ts:368-377`), and refuses rather than serving. The comment names the reason: "a 'cannot happen' that mints from thin air when it does is the shape of most bridge losses." **Caveat, stated because an engineer will hit it.** `reconcile()` has no production caller. The invariant holds because `applyWrapRecord` is the only writer of both quantities, not because anything checks it per block. Anything that gives the STR ledger a second way to move the vault's balance, or the WSTR ledger a second way to change supply, breaks the invariant with nothing watching. `BURNABLE_POOL_TOKENS` used to include WSTR, which was exactly such a second way; it was removed in commit `99ac0a6` and the list now carries a comment saying why. Burning WSTR is `Echo.unwrap`, which releases the backing in the same step, or it is not a burn. --- ## 6. The Stable Pool — $TR `src/economics/stable-pool.ts`. $TR is minted 1:1 against dollar-denominated reserves deposited outside this chain. The scale is `PEG_SCALE = 10^(13-6)` (`src/economics/stable-pool.ts:943`), collateral carrying 6 decimals (`COLLATERAL_DECIMALS`, `:172`) and $TR carrying 13. ### What was wrong, and what the shape of the fix is A `CollateralMintRecord` carried an asset, a network, an amount, a reference and a depositor, and **not one field saying who observed the deposit** (`src/economics/stable-pool.ts:23-34`). A record naming a deposit that never happened was not merely hard to tell from a real one — it was *byte-identical* to one. Any block producer could mint unbacked $TR to any address, and every honest follower applied it. `STR_USD` had `maxSupplyMinor: null`, so there was no cap to stop at. The redemption side was the mirror image: it burned the named holder's balance with no authorisation from the holder. ### Collateral records Two record kinds, both carried in a block: - `CollateralMintRecord` (`src/economics/stable-pool.ts:228-257`): asset, network, `collateralMinor` in the asset's own 6-decimal units, `reference`, `depositor`, `observedAtMs`, and `attestations: CollateralAttestation[]`. The minted amount is **not** a field — the peg scale is arithmetic every node performs for itself (`:221-227`, applied at `:640`). - `CollateralRedeemRecord` (`:260-280`): asset, network, holder, `strUsdMinor`, `reference`, `observedAtMs`, and a single `authorization` **by the holder**. Both payloads are built by deletion from the record plus the genesis hash as `chainBinding` (`collateralRecordPayload`, `:710-718`), under a versioned domain tag `str-collateral-record-v1` (`:693`), so a signature made for anything else — or on a testnet whose attestor addresses are identical because they come from the same template — cannot be replayed here. ### The books `CollateralBook` (`src/economics/stable-pool.ts:439`) lives on `LedgerManager`, not on a pool instance, because two `StableStrPool` objects over the same ledgers are two views of one bridge and must not each keep a private idea of which references have been spent. `consumedReferences` is **one set, not one per network** (`:384-391`). Keying by network let the same bridge confirmation be resubmitted under each accepted network in turn, minting once per network against one real deposit — six times over on the default list. The book has its own state root (`stateRootHex`, `:515-544`) folded into `LedgerManager.stateRoot()` as `COLLATERAL` (`src/core/ledger-manager.ts:508`), so a divergence in "has this deposit reference already been spent" is visible rather than silent. The reserve sort uses `compareBytes` and never `localeCompare` (`:526-535`); the comment records a measured result — an en-US node and a da-DK node computed different COLLATERAL roots from identical state. ### The k-of-n attestor quorum, and why k is derived `requiredAttestations(n)` (`src/economics/stable-pool.ts:141-156`) returns `floor(n/2) + 1` — a **strict majority of the declared set**. **k is a function of n rather than a number the genesis states**, and that is the point (`:108-116`). A freely-declared threshold is a threshold somebody sets to 1, which is exactly the defect this closes written down as configuration — and a genesis declaring `k = 1` would be indistinguishable at every call site from a genesis that had thought about it. Deriving k from n means **the only way to weaken the control is to shrink the attestor set**, which is visible in the genesis, in `ModgudRegistry.list()` and to every explorer. Why a strict majority and not a constant (`:117-122`): any `k <= n/2` admits two disjoint quorums, so a split attestor set can produce two contradictory mints that both verify. A majority cannot be disjoint from another majority. Why not higher (`:123-129`): a bridge that cannot mint cannot redeem deposits people have already made on another network, and money that has already moved is not made safer by refusing to account for it. Unanimity means one unreachable custodian halts the bridge; a majority tolerates `n - floor(n/2) - 1` simultaneous outages — two, at the recommended `n = 5`. Two sizes are refused outright: `n = 0` throws "no quorum exists and no $TR is minted" (`:145-147`), and `n = 1` throws, because a quorum of one reads as a quorum and is not (`:148-154`). `assertCollateralAuthorized` (`:817-903`) enforces it at APPLY: - redemption: signature verifies, and `deriveAddress(publicKeyHex) === record.holder` (`:830`); - mint: `declared === 0` refuses (`:840`); the list is bounded by `maxAttestations(n) = n` **before any signature work** (`:859-864`), because every attestation costs an ed25519 verification on every replaying node; every signer must be a declared attestor (`:885`); signers must be **distinct addresses**, not distinct signatures (`:866-894`), because one key signing k times is one key; and finally `signers.size >= threshold` (`:897`). Verification runs before address derivation throughout (`:876-883`), because `verifyMessage` returns false on a malformed key where `deriveAddress` throws — so every malformed signer becomes the same clear refusal. ### The per-epoch ceiling, counted in block height `COLLATERAL_EPOCH_BLOCKS = 28_800n` (`src/economics/stable-pool.ts:324`) and `COLLATERAL_EPOCH_MINT_CEILING_MINOR = 10,000,000 $TR` (`:353`). **Counted in blocks, not milliseconds, and that is the load-bearing choice** (`:307-313`). A wall-clock epoch would be read from `producedAtMs`, which producers choose; the whole point of the ceiling is to bound what a compromised bridge can do, and **a bound whose clock the attacker winds forward is not a bound**. Block height is the one clock on this chain that no single participant sets and every replaying node agrees on exactly. 28,800 blocks is one day at `blockTargetSeconds = 3` (`src/core/config.ts:12`), lining up with the `intervalMs: DAY_MS` `defaultStablePoolLimits` already uses. Stated honestly at `:319-322`: `chain.blockTargetSeconds` is governable between 1 and 60 (`src/governance/parameters.ts:107-108`), so the epoch's wall-clock length moves if governance moves the target. It is still a bound — 28,800 blocks is 28,800 blocks. The ceiling amount is derived from a limit this operator base already accepted (`:326-351`): `defaultStablePoolLimits` gives every (asset, network) pair a 10,000,000,000,000 minor-unit daily bucket — $10M/day at 6 collateral decimals — and the shipped list has six networks and two assets, so admission alone permits **$120M a day**. The ceiling is the same $10M applied **once across all reserves, at the point records apply**. `CollateralBook.chargeEpochMint(height, minted)` (`:444-459`): - epoch is `height / COLLATERAL_EPOCH_BLOCKS`; - rolling over **resets rather than accumulates** (`:446-449`) — an epoch that carried its unspent allowance forward would let a bridge idle for a month and mint a month's worth in one block; - the epoch is set from whatever height arrives, in **either direction** (`:438-442`), because a reorg replays earlier heights and the counter has to follow the branch being replayed; - `epochIndex` and `epochMintedMinor` are **committed state**, folded into `stateRootHex` (`:541-542`). A counter held in one process would be reset by a restart, so a bridge could mint its ceiling, restart, and mint it again, and no node could tell. `CollateralApplyContext` carries the height and has **no default and no optional form** (`:355-367`), and `applyCollateralRecord` throws with an explicit wiring instruction if it is missing (`:620-627`): "a ceiling that silently does not apply when a caller forgets an argument is worse than no ceiling, because it reads as one." The charge happens **before anything moves** (`:641-645`), so a record that would breach the ceiling leaves the book and the ledger exactly as it found them. ### Redemption, authorised by the holder `applyCollateralRecord` for a redeem (`:663-683`): positive, an exact multiple of `PEG_SCALE` (`:664-666` — truncating would burn more $TR than collateral released and break the 1:1 invariant permanently for the cost of one minor unit), the named reserve must hold enough (`:669-672`), then the reference is consumed and the holder's balance burned. Authorisation is the holder's key and only the holder's key (`assertCollateralAuthorized`, `:820-836`). The pool holds **no redemption key and there is deliberately no constructor argument for one** (`:1025-1027`): a pool holding a key that could authorise burning someone else's balance would be the defect this class exists to have closed. `redeem()` takes `holderKeys` as a required argument (`:1153`) and refuses at the door if the key does not derive the holder (`:1160-1162`). A redemption needs a reference of its own, since it does not arrive with one from a source network: `redemptionReference(holder, amount, reserve, atMs)` (`:913-927`) is a deterministic hash, so re-queueing after a reorg cannot burn twice. ### Admission versus application `StableStrPool.mint` (`:1077`), `submitAttested` (`:1277`) and `redeem` (`:1148`) **admit** — accepted network, reference not already spoken for counting the queue as well as the book (`isSpokenFor`, `:1364-1370`), Nemesis rate limit, projected reserve (`projectedReserveMinor`, `:1373-1382`) — and hand a record to the block sink. Nothing is minted there (`:1055-1061`). `attest()` (`:1246`) deliberately consumes neither the limiter nor the reference (`:1241-1244`): a node has not admitted anything by attesting, it has said what it observed. Limits are on by default (`:1035-1038`): "a control that has to be switched on is a control that is off." ### The peg, and the residual risk stated honestly `StableStrPool.reconcile()` (`:1342-1355`) compares `STR_USD` total supply against `collateralToStrUsd(totalCollateralMinor())`. It has **no production caller**; the explorer recomputes the same comparison inline at `src/explorer/hlidskjalf.ts:1083-1110`. What that check can and cannot prove is stated in the module note itself (`:32-34`) and repeated here because it is the crux of the whole design: **a forged mint credits the very reserve it is checked against**, so supply and backing move together and the peg reads intact while it is being counterfeited. `reconcile()` catches an accounting error. It does not catch a forgery. That is a limit of the question, not of the code — no node in this tree can observe another chain. **Residual risk 1 — rotation, BUILT, and what it does and does not buy.** This entry used to read *"rotation is not implemented … until that exists, a compromised attestor key cannot be revoked at all"*. It is implemented. `ModgudRegistry` now answers **at a height** (`src/core/registries.ts`), which is exactly the shape `stable-pool.ts` had written down as its requirement and for exactly the stated reason: **the threshold moves with the set**, so rotating 3-of-5 to a set of 7 changes k from 3 to 4, and a record signed by 3 under the old set is not a quorum under the new one. A registry that answered "the set as it is now" would make a chain reject its own history the first time an attestor rotated. So `assertCollateralAuthorized` takes the height the record applies at, asks `at(height)` **once**, and asks that one view both questions — the size, which decides the threshold, and the membership of each signer. The route is governance, and it is the route roll changes take rather than a new authority. A `rotate-attestors` action (`src/governance/actions.ts`) carries the **complete replacement set**, never a delta; it is decided by the **assembly** against the `CHAIN` ledger, because a quorum of attestors mints `$TR` against deposits no node can observe and the assembly is the only chain-wide roll (validation power until the franchise activates, then one master domain one vote); and it is a `governance-change`, so it serves the thirty-day timelock. `Odin` decides and returns an effect, exactly as `burn-pool` does — governance still holds no ledger handle — and block execution performs it on the producer, on every follower and in the `validateChain` replay. Three properties, each held somewhere nameable: - **Deterministic from committed state.** The rotations fold into `ModgudRegistry.stateRootHex()` and into `LedgerManager.stateRoot()` under `BRIDGE-ATTESTORS`, absent while nothing has rotated so no existing chain's root moves. - **The genesis set is the value at height 0** and stays the answer until the first rotation takes effect. Nothing changes for a chain that never rotates. - **An empty set at a height authorises nobody.** A rotation to the empty set halts minting, which is the direction an emergency needs; a set of ONE is refused when the proposal is raised, because `requiredAttestations(1)` is not a threshold. **The rotation takes force at the enacting height PLUS ONE**, and the plus one is load-bearing: collateral records apply before governance records inside a block, so a set effective at its own enacting height would answer one way while that block's mints were judged and another way once the block had finished folding. `MEASURED`: 28 mutations of the load-bearing checks were run against the suite and every one was caught, including the two that distinguish this design from a registry that answers "now" — `at()` ignoring the height, and the effective height losing its plus one. **Residual risk 2 — what a compromised quorum can do inside the ceiling.** A quorum of k compromised custodians can mint $TR against deposits that never happened, to any address, and every honest node will apply it, because the records are valid by every rule the chain has. The bound is the epoch ceiling and nothing else: - **10,000,000 $TR per 28,800 blocks**, unbacked, at will; - Nemesis does not bound it — `applyCollateralRecord` never consults a limiter, so a producer including records it wrote itself bypasses admission entirely (`:64-70`, `:425-431`); - rotation takes **37 days at its slowest** — a 7-day voting window (`DEFAULT_VOTING_WINDOW_MS`, `src/governance/parameters.ts:25`) plus a 30-day governance-change timelock (`GOVERNANCE_CHANGE_TIMELOCK_MS`, `:49`) — which the module note costs at roughly **370M $TR before rotation can take effect** (`:344-347`). **This is now the real number rather than a hypothetical one**: rotation exists, and 37 days is what it costs; - the 1B `STR_USD` cap is the backstop behind that. So the honest reading today is: **the bound is the ceiling and the cap for 37 days, and then the assembly can revoke the keys.** That is a materially different sentence from the one this paragraph carried before rotation was built — which was *"the only remedy for a compromised quorum is a new genesis"* — and it is still not a comfortable one. Rotation turns "never" into "37 days"; it does not turn it into "quickly", and nothing here claims it does. The emergency lever that is faster is a rotation to the EMPTY set, which halts minting, and it costs the same 37 days: there is deliberately no fast path, because a fast path to changing who may mint is a fast path an attacker who has captured the vote would use first. **Residual risk 3 — the peg does not survive a compromise even in principle.** Every unbacked $TR minted inside the ceiling is a dollar the reserves do not hold. `reconcile()` will report `accepted: true` throughout, because the forged mint credited the reserve it is compared to. The first signal is a redemption failing for lack of collateral, at which point the loss is already booked. --- ## 7. ARSS emission `src/economics/arss-emission.ts`. ARSS is what STARW work produces. STARW is the virtual machine, not a token, so the thing that earns is a **deployed machine** — a node hosting several earns for each, a node hosting none earns nothing whatever its class. ### The entitlement arithmetic ``` pending = unclaimedPeriods * ARSS_EMISSION_PER_PERIOD[class] * 10^13 ``` (`src/economics/arss-emission.ts:145-148`, with `SCALE = 10n ** 13n` at `:70`.) | Class | ARSS per completed 24h period | |---|---| | `pulsar` | 0 (`pulsar` `src/economics/arss-emission.ts:53`) | | `quasar` | 1 (`:36`) | | `supernova` | 10 (`:37`) | `ARSS_PERIOD_MS = 24h` (`:31`). A Pulsar earns nothing because it neither executes contracts nor retains ledger history, so there is no compute for it to be paid for. `recordUptime` (`:117-142`) accrues only whole periods: - the period must move forward (`:120`); - it may not overlap time already accounted for (`:121-123`); - **it may not end in the future** (`:124-128`) — without this a node claims a thousand years of work in one call, and ARSS has no cap to stop it; - only `period.working` accrues; `floor(elapsed / ARSS_PERIOD_MS)` whole periods are credited and the **remainder is carried forward**, not rounded up (`:130-135`); - a non-working period advances the accounting mark and credits nothing (`:136-139`). ### `claim()` is sealed; supply enters per sealed block instead `ArssEmission.claim()` throws unconditionally (`src/economics/arss-emission.ts:182-192`). The account of why is at `:150-181`, and the operator check was **not** the problem: - **the mint was in no block** — it moved chain state on whichever node the call landed on, with no record, no header, nothing for a peer to apply; - **ARSS is in the state root** — `LedgerManager.stateRoot()` folds every token ledger's root, so the first caller forked its own node away from the network and `validateState()` then reported a state that does not follow from its own blocks; - **the accrual behind it was never persisted** — `this.nodes` is a plain `Map` in one process, in no snapshot and no state root, so a restart lost every recorded period. It was made unreachable rather than fixed, because fixing it is not in that file (`:172-177`): ARSS would have to be paid by a record a block carries and every node applies — a record kind in `core/blockchain.ts`, a declared shape in `hostless/styx.ts`, and the accrual state committed so two nodes cannot disagree about what a node is owed. Minting on a signature or a registry lookup would fix the authorisation and leave the fork, which is the larger half. **Consequence to state plainly: the uptime door pays nothing, and supply enters through the other one.** `totalEmittedMinor` (`src/economics/arss-emission.ts:220`) is always 0, because `claim` is sealed; what is in supply was paid by `applyArssForSealedBlock` (`src/economics/arss-emission.ts:512`), one mint per sealed block to its producer, at the class rate divided by 28,800. `pending()` answers what the uptime calculator says a node has earned, and nothing pays that figure. *Until 2026-11-28 this paragraph said ARSS total supply was 0.* The accrual itself is honest about being a local measurement: `this.nodes` is in no snapshot and no state root, so it is not chain state (`:80-83`). A payment path built later needs the number and **must not take it from here without committing to it first**. --- ## 8. Domain economics ### The 1000 STR lock `DOMAIN_LOCK_STR = 1_000n`, `DOMAIN_LOCK_MINOR = 1000 * 10^13` (`src/identity/str-domain.ts:43-45`). Four places enforce it: - `verifyDomainProof` refuses a proof declaring less (`src/identity/str-domain.ts:285-287`); - `applyRegistration` checks available balance and then calls `native.lock` (`src/core/blockchain.ts:3770-3775`) — **inside block execution**; - `BlockchainCore` checks the same before accepting a registration (`src/core/blockchain.ts:1542-1543`); - `LedgerManager.registerDomain` does both together, "both happen together or neither does" (`src/core/ledger-manager.ts:389-404`). The lock is `YggdrasilLedger.lock` (`src/core/yggdrasil.ts:137-143`) — the **releasable** counter. It is checked against `getAvailable`, so it cannot be double-spent against another lock, and `getAvailable` subtracts it from spendable balance (`:117-120`). Genesis domains are exempt from the lock check in `reconcileDomains` (`src/core/ledger-manager.ts:530-532`): the 1000 STR is the sybil cost of *joining*, and genesis membership is defined by the spec. ### `lockForLife` `YggdrasilLedger.lockForLife` (`src/core/yggdrasil.ts:149-155`) moves value into `lockedForLifeMinor`, a counter with no exit: - `release` refuses to touch it at any amount (`src/core/yggdrasil.ts:157-164`); - `burn` measures against `getAvailable`, which subtracts it (`:225`), so it can never be destroyed; - `getAvailable` subtracts it, so it can never be spent (`:117-120`); - `seed` refuses to overwrite an account holding any (`:74-76`). **Nothing in `src/` calls `lockForLife`.** Its only caller in the whole tree is a test (`tests/integration/odin.integration.test.ts:733`). The one production path that would have used it was `FeelessPool.consumeForDomain`, which is sealed (§4). So the mechanism is complete, correct, and currently unreachable: **no STR is locked for life on any chain this code can produce**, and the "domain locks are permanent" language in `docs/TOKENOMICS.md:85` and `README.md:19` describes the sealed exit, not the live one. A domain registered on the live path uses the ordinary releasable `lock()`. ### Parity and the domain quote `src/economics/parity.ts`. Two fixed relationships: `STR_PER_CCOS = 1_000n` (`:20`) and `DOMAIN_BASE_STR = 1_000n` (`:23`). `MediumPriceOracle` (`:67-108`) takes a mean over a window — 24 hours and a minimum of 3 observations by default (`:72`, `:74`) — and returns `null` rather than a guess when there is too little data (`:87`). The domain requirement hangs off it, so a thin or manipulated print must not be able to move it much. `sourcesInWindow` (`:100`) exists so a caller can see whether one source is the only source. Two lock modes (`DomainLockMode`, `:121`): `fixed-quantity` (always 1000 STR, USD value floats) and `fixed-value` (STR quantity floats to hold a target USD value). Both are implemented because the source text supports either reading; **choosing between them is a governance decision** (`:118-119`). `DEFAULT_DOMAIN_LOCK_POLICY` is `fixed-quantity` (`src/economics/parity.ts:157-162`), with `minLockStr: 100n` and `maxLockStr: 10_000n` bounding the floating mode so a price shock cannot make entry absurd. `settleDomainPrice` (`:188-224`) settles at genesis + `SETTLEMENT_DAYS = 90` (`:132`): the value 1000 STR held at settlement becomes the target and the quantity floats from then on. Without a medium price the settlement does not happen and the base quote holds (`:207-213`), "rather than pegging to a number nobody can verify." **None of this is wired to the chain.** The only caller of `quoteDomainLock`, `MediumPriceOracle` or `DEFAULT_DOMAIN_LOCK_POLICY` in the whole of `src/` is the CLI's display command (`src/cli/strblk.ts:306-309`), and it constructs a throwaway oracle with `minimumObservations = 1`. The chain's lock is `DOMAIN_LOCK_MINOR` — or `BUSINESS_DOMAIN_LOCK_MINOR` for a business domain — a compiled-in constant, at every enforcement site listed above. **The 90-day settlement has never run and cannot run: no price observation reaches any oracle from any production path, and no code path lets a settled policy change what `applyRegistration` requires.** Domain pricing is `fixed-quantity` 1000 STR, permanently, until somebody builds the wiring. **The wiring now exists, as a scheduled rule, and is in force on no realm.** The owner decided on 2026-10-26 that the lock is worth a USD target rather than a quantity — $30 personal and $500 business, $10 and $150 for the first thirty days after activation, the reference value never read below the floor of a compiled band — and it is built as consensus rule version 4, **Gullveig** (`src/economics/gullveig.ts`), not on top of the sketch above. The price reaches the chain as a `price` governance record a strict majority of a per-realm committee signs; `GullveigRegister` settles it once a day of chain time from the lower median of the day's observations, moving at most 25% a day inside the band `gullveig.floorMicroUsdPerStr` to `gullveig.ceilingMicroUsdPerStr`; and `BlockchainCore.domainLockQuoteAt` derives the figure a proof must restate on produce, accept and replay alike. Below the activation height it returns `requiredLockMinor` exactly, and `tests/integration/gullveig-golden.integration.test.ts` pins byte-identical block hashes and state roots against the build before it. **No realm schedules version 4 and every realm's committee is empty**, so on every chain this code runs the paragraph above is still the whole truth. `docs/TOKENOMICS.md` §1 carries the table, the bounds and the decisions still owed. ### What the lock is actually defending Not revenue, and not a treasury. It is the **only sybil cost in a chain with no transaction fees** (`src/core/yggdrasil.ts:9-15`, `src/explorer/hlidskjalf.ts:1412-1413`: "the sybil cost of the fee-free model: paid once per identity, not once per transaction"). Concretely, holding a proved domain is what buys the right to *send* at all (`src/core/ledger-manager.ts:338-343`), and the registry enforces one domain per wallet and one wallet per domain (`src/identity/str-domain.ts:302-303`). So the lock defends against **cheap identity multiplication**, and that is all it defends against. It does not bound the transaction rate of an identity that already exists, and it does not bound the value one identity can move. The lock is also why Echo uses a vault address rather than `lock()` (§5): a wrapper that shared the lock counter would have let one 1000 STR pay for both a domain and a wrapper, which is the sybil cost being paid once and counted twice. #### The lock now has two exits, and neither of them is a release **Added after this chapter was written.** The paragraph above this one described a lock with no exit at all, and that is no longer the whole story. The governance decision of 2026-09-07 is that **the lock is not refundable — it is recoverable, and it is transferable, and both cost the identity it paid for.** `docs/book/IDENTITY_AND_WALLET.md` §1.9 and §1.10 own the mechanism; what matters economically is what each does to the sybil cost. | Exit | What moves | What it costs | Does the sybil cost stay paid? | |---|---|---|---| | **Burn** — `DomainBurnRecord` (`src/identity/helgrind.ts:114`), applied by `applyDomainBurn` (`src/core/blockchain.ts:17675`) | the lock is released to the burner; the `DomainRecord`, its allocation and the wNFT are destroyed | the identity, everything on its wNFT, a **30-day** cooldown on the name, and a **permanent** bar on that address ever holding that name again | **Yes.** The STR comes back only because the identity it bought is gone. One wallet is back to holding no domain and must pay 1000 STR again to hold one. | | **Sale** — `WnftTransferRecord` (`src/identity/handsal.ts:139`), applied by `applyWnftTransfer` (`src/core/blockchain.ts:18001`) | the buyer posts the lock, the seller's is released, and a price the two parties agreed moves separately | the seller's identity and their ability to spend or receive until they reserve a new name | **Yes.** The lock moves *with* the wNFT, so exactly one address is charged for exactly one identity at every moment. | Three things follow that are economic rather than mechanical, and each is enforced rather than intended: - **The refund is read off the wNFT, never named in the record.** A producer cannot choose what a burn pays out, and a buyer cannot be charged a lock the seller never posted. The amount released from the seller and the amount posted by the buyer are one read used twice. - **The price and the lock are different money and the code never confuses them.** The buyer's outlay is `priceMinor` *spent* plus the lock *posted*; a later burn returns the lock and not the price. Nobody pays the lock twice. - **A sale settles the price by burn-then-mint with a supply assertion** (`src/core/blockchain.ts:5580`), because `YggdrasilLedger` has no account-to-account primitive and this deliberately does not add one. A sale that changed total STR supply throws. **Genesis domains can be neither burned nor sold**, and the sale refusal is the sharper of the two: a genesis wNFT holds a **zero** lock, so a sale would move no lock and hand the buyer a proved identity that cost nothing — the sybil price this chain charges *instead of* a transaction fee, sold rather than paid. `LedgerManager.reconcileDomains` exempts `record.genesis` from the lock check, so the exemption would follow the name and the chain would report itself reconciled while holding a free identity. **`lockForLife` is untouched by any of this.** Both exits use `getReleasableLocked` and not `getLocked`, precisely so that what is locked for life cannot appear payable out of — and nothing in `src/` calls `lockForLife` anyway, so no STR on any chain this code produces is locked for life. **What is not yet reachable:** no wallet method, CLI command or RPC entry point produces either record. Their only callers outside the block path are two integration test files. See `IDENTITY_AND_WALLET.md` §11. --- ## 9. Nemesis rate limits `src/ops/nemesis.ts`. A refill-over-time bucket per `(direction, asset, counterparty)` key (`NemesisLimit`, `:42-51`; `nemesisKeyOf`, `:76-78`). Four design decisions, each taken because the alternative is a known failure (`src/ops/nemesis.ts:22-31`): reject rather than queue; inbound and outbound as separate buckets; per (asset, counterparty) rather than one global bucket; and amounts always in base units. ### What they bound **The bridge** (`defaultStablePoolLimits`, `:293-310`). For each of the six accepted networks (`StableStrPool` `src/economics/stable-pool.ts:1463`) and each of the two accepted dollar assets, inbound and outbound: `capacityMinor` and `refillMinor` of `10,000,000,000,000` per `DAY_MS` — **$10M a day per bucket, 24 buckets, $120M a day inbound in aggregate.** Consumed at `src/economics/stable-pool.ts:1102` (mint), `:1288` (submitAttested) and `:1176` (redeem). **The operations surface** (`defaultOpsSurfaceLimits`, `:252-284`), keyed per `(principal, action)` so a burst of cheap `status:read` calls cannot consume the headroom that stops an enumeration. Per minute: `status:read` 600, `account:read-own` 600, `account:read-any` 120 (the enumeration path), `contract:read` 300, `ghost:read` 600, `tx:submit` 120, `ghost:submit` 120, `ghost:reconcile` 60, `contract:call` 60, `contract:deploy` 12, `block:produce` 60, `audit:read` 60, `validator:register` 12, `validator:deactivate` 12, `token:register` 12, `params:update` 12, `endpoints:update` 12. **The local operator endpoint** (`astrolabeEndpointKey`, `:343`; `defaultAstrolabeEndpointLimit`, `:354`): 1,200 requests per minute, **not per caller**, so it cannot be escaped by inventing an identity — which the per-principal buckets can be, since they are keyed on the address the caller *claims* (`:330-341`). ### Where they are admission-time only **All of them.** No limiter is consulted anywhere inside block execution. The bridge case is the one that matters and the file says so twice (`src/economics/stable-pool.ts:64-70`, `:425-431`): `applyCollateralRecord` applies a sealed record and never consults a limiter, **so a producer that includes a record it wrote itself bypasses Nemesis entirely.** That is precisely what the per-epoch ceiling closes, and why the ceiling lives in `CollateralBook` rather than beside the limiter. Three further properties an engineer should not assume away: - **An unconfigured key is permitted** (`consume`, `:127-129`), by design: a limiter that blocks everything it has not been told about is a limiter that gets disabled the first time it surprises someone. `unlimited(keys)` (`:190-197`) reports the gaps rather than hiding them. - **`configure` resets the bucket to full** (`:99-110`), deliberately — which makes "configure lazily on first sight of a principal" a way to *remove* the limit. `ensureOpsSurfaceLimits` (`:323-328`) exists solely to make that mistake hard, and `isConfigured` (`:210`) is the guard. - **Buckets are per-process memory.** They do not survive a restart, are not chain state, and differ between nodes. A limiter is a local judgement about a request, and two nodes are allowed to differ. That is why nothing in consensus may depend on one. Denials are counted forever and the decisions retained in a window of `NEMESIS_RETAINED_DENIALS = 1_024` (`:89`); anything consuming the log has to read `denialCount()` too, or it will under-report exactly when there is most to report. `Hermod` (`src/ops/hermod.ts`) is the consumer. --- ## 10. Invariants A checkable list. For each: the statement, the function that checks it, and whether anything runs that check on the block path. | # | Invariant | Checker | On the block path? | |---|---|---|---| | I1 | STR supply <= 63,000,000,000 | `YggdrasilLedger.mint` (`src/core/yggdrasil.ts:206-211`); `seed` (`:78-84`); `computePostMining` (`src/economics/post-mining.ts:82-92`) | **Yes.** Every mint, every node, every replay. | | I2 | CCOS supply <= 63,000,000 | `YggdrasilLedger.seed` and `.mint` against the CCOS cap (`src/core/tokens.ts`, `CCOS_MAX`); and `assertMintable` refuses every mint because the token is `premined` | **Yes**, and no longer vacuously: the two genesis allocations seed 42M + 21M, so supply is exactly 63,000,000 and the remaining headroom is 0. | | I3 | WSTR supply <= 63,000,000,000 | same, via `src/core/tokens.ts:146` | **Yes**, on every wrap. | | I4 | $TR supply <= 1,000,000,000 | same, via `src/core/tokens.ts:197` | **Yes**, on every collateral mint. | | I5 | eSTR supply <= 50,000,000 | `YggdrasilLedger.seed` and `.mint` against `maxSupplyMinor`; and `assertMintable` refuses every mint because the token is `premined` | **Yes**, and no longer vacuously: the genesis allocation seeds exactly the cap, so supply is 50,000,000 and the remaining headroom is 0. | | I6 | ARSS supply — **no cap exists** | none. `maxSupplyMinor: null` (`src/core/tokens.ts:179`) makes `YggdrasilLedger.mint` skip the check (`YggdrasilLedger.mint` `src/core/yggdrasil.ts:527`) | **No check exists.** Safe today only because `claim()` is sealed. | | I7 | WNFT supply — one per proved domain | `reconcileDomains` (`src/core/ledger-manager.ts:1235`) | **No.** *Corrected 2026-09-12.* The only caller in `src/` is one line inside `cmdDemo` (`src/cli/strblk.ts:6857`), at `src/cli/strblk.ts:3315`; `cmdVerify` (`src/cli/strblk.ts:2217`) calls it not at all. The standing caller is `scripts/a1.mjs:336`. | | I8 | A transfer conserves supply exactly (no fees) | `LedgerManager.apply` compares supply before and after and throws (`apply` `src/core/ledger-manager.ts:799`, `:380-382`) | **Yes.** | | I9 | `WSTR supply == STR balance of ECHO_VAULT_ADDRESS` | `EchoVault.reconcile()` (`src/economics/echo.ts:481-495`) | **No.** No production caller. Held by construction: `applyWrapRecord` (`:325`) is the only writer of both sides, and it writes them adjacently. | | I10 | `$TR supply == collateral held * PEG_SCALE` | `StableStrPool.reconcile()` (`src/economics/stable-pool.ts:1342-1355`) | **No.** No production caller. The explorer recomputes it for display (`src/explorer/hlidskjalf.ts:1083-1110`). **And it cannot detect a forged mint** — see §6. | | I11 | $TR minted per epoch <= 10,000,000 | `CollateralBook.chargeEpochMint` (`src/economics/stable-pool.ts:444-459`) | **Yes.** Charged before any value moves (`:641-645`), from committed state (`:406-407`, folded at `:541-542`). | | I12 | A collateral mint carries k-of-n distinct declared attestors | `assertCollateralAuthorized` (`src/economics/stable-pool.ts:817-903`), `requiredAttestations` (`:141-156`) | **Yes.** Checked at APPLY, first, before the book is read (`:629`). | | I13 | A redemption is signed by the holder whose balance dies | `assertCollateralAuthorized` (`src/economics/stable-pool.ts:820-836`) | **Yes.** | | I14 | A wrap or unwrap is signed by the holder | `assertWrapAuthorized` (`src/economics/echo.ts:279-301`) | **Yes.** Checked first, before any balance is read (`:326`). | | I15 | A deposit reference is spent once, chain-wide | `CollateralBook.hasReference` / `consumeReference` (`src/economics/stable-pool.ts:409`, `:461`), checked at `:631` | **Yes**, and the set is committed (`:536`). | | I16 | A wrap cannot be replayed | the holder's chain-wide nonce, checked and advanced in `applyWrapRecord` (`src/economics/echo.ts:336-342`, `:358`, `:382`) | **Yes.** | | I17 | Locked-for-life STR is never released, burned or spent | `release` (`src/core/yggdrasil.ts:157-164`), `burn` via `getAvailable` (`:225`), `getAvailable` (`:117-120`) | **Yes**, vacuously — nothing calls `lockForLife` in `src/`. | | I18 | The Feeless Pool's books equal its ledger balance | `FeelessPool.reconcile(token)` (`src/economics/feeless-pool.ts:369-383`) | **No.** No production caller. Books are rebuilt from the blocks on restore (`src/core/blockchain.ts:1413-1450`). | | I19 | Supply leaves the Feeless Pool only via a block-carried record | the three seals (`src/economics/feeless-pool.ts:226`, `:244`, `:266`/`:286`/`:312`) plus `burnFromGovernance` being reachable only from `applyGovernanceEffects` | **Yes**, by unreachability rather than by a check. | | I20 | One `(token, epoch)` is burned at most once | `Odin` burn index, checked three times (`src/governance/odin.ts:517-524`, `:721-729`, `:763-772`) | **Yes**, and the index is committed governance state. | | I21 | ARSS emitted == ARSS supply | `ArssEmission.reconcile()` (`src/economics/arss-emission.ts:215-222`) | **No.** No production caller. Both sides are 0. | | I22 | Held state follows from the blocks | `BlockchainCore.validateState()` (`src/core/blockchain.ts:2919-2932`) | **On restore** (`:1402-1411`), not per block. Compares state roots, not economic invariants. | | I23 | A CCOS transfer declares `purpose: 'financial'` | `LedgerManager.validate` (`src/core/ledger-manager.ts:583`); `src/ledger/ghost.ts:621`; `src/storage/mimir.ts:394` | **Yes.** | | I24 | A sender holds a proved STR.domain; a recipient holds an allocated one or is a contract | `LedgerManager.validate` (`src/core/ledger-manager.ts:338-343`) | **Yes.** | | I25 | A proved domain has the lock its class requires locked — 1,000 STR personal, 5,000 business | `applyRegistration` (`src/core/blockchain.ts:17495`), deriving the amount from the signed class at `:6518`; `verifyDomainProof` (`src/identity/str-domain.ts:706`) refusing anything but an exact match at `:641` | **Yes**, at registration. Ongoing: only `reconcileDomains` (I7), off-path. *Restated 2026-09-12: the invariant was written over one of two tiers.* | | I26 | The wNFT holder, the `DomainRecord` wallet and the native lock agree | `StrDomainRegistry.reconcileLocks` (`src/identity/str-domain.ts:1933`) | **No, and a comment in the tree says otherwise.** `src/identity/str-domain.ts:499` states that `reconcileLocks()` "asserts on every checkpoint". Grepped at `9220195`: its only callers anywhere are four assertions in `tests/integration/verify-identity.integration.test.ts`. `strblk verify` calls `reconcileDomains()` and not this (`src/cli/strblk.ts:1698`). Held by construction — `applyDomainBurn` and `applyWnftTransfer` are the only writers and they write the legs adjacently — and monitored by nothing. | | I27 | A burn refunds exactly the lock the wNFT held, and no more | the refund is **read off the wNFT** and checked against `getReleasableLocked` before anything moves (`applyDomainBurn`, `src/core/blockchain.ts:5470`) | **Yes**, at application, on all three execution paths. And **the whole-ledger sweep now exists**: `HelgrindGate.reconcileRefunds` walks every address that has burned and refuses when its native lock does not equal the sum of the locks its still-proved domains require — which is exactly an unreleased refund. It is an audit surface, not a block control: `scripts/a1.mjs` calls it beside `reconcileDomains` and `reconcileLocks`, and nothing on the block path does. `lastRefundMinor` itself is still not the thing compared, because a ledger lock is one number per address and not one per domain; the field's own comment now says so instead of naming an assertion that never ran. | | I28 | A sale moves the lock with the wNFT: one address charged for one identity at every moment | `applyWnftTransfer` reads the lock once and uses it for both legs (`src/core/blockchain.ts:5580`); `transferRefusal` refuses when the projection and the wNFT disagree (`transferRefusal` `src/identity/str-domain.ts:1392`) | **Yes.** And the sale's own supply assertion (STR total before == after) throws rather than settling. | **The pattern in that table is the finding.** Every invariant a *single record* can break is checked on the block path. Every invariant that is a *statement about the whole ledger* — I7, I9, I10, I18, I21, and now I26 — is checked by a method with no production caller. Those hold today by construction: one writer, adjacent legs, no second path. They are not monitored, and nothing would notice if a future change introduced a second path. **I26 and I27 sharpen that finding rather than merely extending it.** For the first five, the absence of a caller is at least stated where the method is defined. For these two the code says the opposite: one comment claims an assertion runs "on every checkpoint" when it runs only in tests, and another names a reconciliation function that does not exist. A method with no caller is a gap; a *documented* assertion with no caller is a gap that reads as a control. --- ## 11. Open economic questions for governance Blunt, in the order a decision is most overdue. 1. ~~**eSTR: the false claim is gone, the decision is still owed.**~~ **Answered and built, 2026-09-07.** eSTR exists, is premined, and its maximum is 50,000,000, held by the Energy STR Pool; the 1,000,000,000 figure and the claim that eSTR is superseded are overruled by name (§1.7). It was answered before a mainnet genesis was fixed, which is the deadline this entry named. **What is still owed on this token is smaller and should not be lost:** `burnAuthority` is `undecided`, because the decision settled issuance and said nothing about burning, and no eSTR burn path exists in this tree. 2. **ARSS has no cap and no payment path.** `maxSupplyMinor: null` means `YggdrasilLedger.mint` performs no cap check for ARSS at all — the exact configuration that allowed the 10^25-minor $TR forgery. It is safe only because `claim()` is sealed. Whoever builds the ARSS payment record must decide, first, whether the uncapped design survives contact with a mint path, and second, what backstop replaces the cap if it does. The entitlement accrual is also in one process's memory and must be committed before any payment reads it (`src/economics/arss-emission.ts:80-83`). 3. ~~**Bridge attestor rotation.** A compromised attestor key cannot be revoked.~~ **Built.** `ModgudRegistry` answers at a height, a `rotate-attestors` governance action carries the complete replacement set, and the assembly decides it under the thirty-day timelock. See §6's residual risk 1, which now records what rotation buys and what it does not: 37 days rather than never, with the 10M/epoch ceiling as the bound in the meantime. **The question this leaves open is not technical**: who holds the five custodian keys on a real chain, and how a compromise is detected in the first place, are both still unanswered here. 4. **Is 10,000,000 $TR per epoch the right ceiling?** It was derived from a limit the operator base already accepted, not from demand. **Demand for $TR is unmeasured** — no deployed chain in this tree holds any collateral. The file asks governance to revisit it before the bridge carries real volume (`src/economics/stable-pool.ts:349-351`). So does this document. 5. **Who may name a beneficiary out of the Feeless Pool?** Exits 1 and 2 are sealed pending exactly that answer (`src/economics/feeless-pool.ts:74-77`). Until they re-open, post-mined supply can only be burned — it cannot fund a domain lock and it cannot pay a contract expense, which are the two purposes it was minted for. The pool is currently a one-way ratchet into a burn queue. 6. **STR post-mining has 1,000,000,000 STR of headroom, total.** The dev genesis allocates 62B of the 63B cap (`src/core/genesis.ts:78-83`). At 1 minor unit per gas (`src/core/blockchain.ts:349`) that is 10^22 gas of lifetime execution before post-mining hits the cap and `computePostMining` starts returning `supplyCapped` with `mintedMinor: 0n`. Whether that is a century or a year is **unmeasured** — no throughput figure in this tree supports the arithmetic. Governance owes either a mainnet allocation that leaves deliberate headroom, or an explicit decision that the burn is expected to keep pace. 7. ~~**`BURNABLE_POOL_TOKENS` includes WSTR.**~~ **Closed by commit `99ac0a6`, which this document found.** A `burn-pool` proposal naming WSTR would have destroyed the wrapper **without releasing the STR backing it**, breaking I9 permanently with nothing on the block path to notice. It was latent rather than live — post-mining hardcodes STR and an ordinary transfer to the pool address is refused since it holds no domain — but the guard was the absence of a path, not a check, which is not a guard. WSTR is now absent from the list with a comment giving the reason. Left in the register rather than deleted, because a reader asking "was this ever reachable?" deserves the answer yes. 8. **The domain price never settles.** The 90-day settlement, the medium-price oracle and the `fixed-value` mode are implemented and wired to nothing but a CLI display (`src/cli/strblk.ts:306-309`). Governance has to either choose `fixed-quantity` and delete the floating mode's claim from the documents, or specify how a price observation reaches the chain — which is an oracle, with all the trust questions §6 spends its length on. 9. **Nothing is locked for life.** The permanence that `docs/TOKENOMICS.md` used to call "the only path by which post-mined supply becomes lasting" is unreachable, because the exit that used it is sealed. If permanence matters to the model, it needs the record from question 5. If it does not, the claim should go. **The document half is closed; the question is not.** `docs/TOKENOMICS.md:164` now states it outright — "**A consequence to state rather than imply: nothing is locked for life.** `lockForLife` has no caller in `src/`. The permanence described above is the design of the exit that does not run, so post-mined supply has, today, no path by which it becomes lasting." That closes the contradiction (§12) and leaves the governance question exactly where it was: **whether the model wants permanence at all.** Nobody has answered that, and nothing has been built either way. **One thing that is NOT this question, and is easy to mistake for it.** The 1000 STR domain lock got its two exits on 2026-09-07 — burn and sale (§8) — and neither touches `lockedForLifeMinor`: both use `getReleasableLocked`, precisely so that what is locked for life cannot appear payable out of. A domain lock was never locked for life on the live path; the sealed `consumeForDomain` exit is what would have made it so. 10. **The declared public/treasury split is enforced by nothing.** `publicSupplyMinor` and `treasurySupplyMinor` are read only by CLI display code. The dev genesis puts 42B in the treasury and 20B across two other accounts — which is not the 21B "public" the register declares. Either the split is a real constraint and something should check it, or it is documentation and should not sit in a structure that reads as policy. **eSTR is now the only token whose declared split the genesis actually produces** — 50M held, 0 public, and one allocation that issues exactly that. It got there by being decided and then built, which is the shape the other two cases need. **CCOS was the remaining unreachable one, it was the same defect eSTR had, and it has been answered the same way.** It declared 21,000,000 public and 42,000,000 treasury against a 63,000,000 cap while **nothing in `src/` minted or seeded CCOS** — no genesis allocation named it, no record type created it, and its supply was 0 on every chain this code had produced. That was escalated rather than resolved silently, which was the right refusal: no decision existed. The owner then made one — premine CCOS, exactly as eSTR was premined — and block zero now issues 42,000,000 to `ccosTreasury` and 21,000,000 to `ccosPublic` (§1.2). The premine chose no figure: both halves are the numbers `tokens.ts` already declared. **Two things about it are still open, and both are named rather than settled here.** - *The split itself has a competing source.* `docs/TOKENOMICS.md` §11 row 2 records that `TOKEN_ECONOMICS.md` says **20,790,000 / 42,210,000** where this tree uses exact thirds. Both total 63,000,000, so the cap is not in dispute and neither is the premine; only the line between the two halves is. While nothing was issued that resolution cost nothing. It is now inside the genesis hash, where changing it is a new chain — so if the 33/67 source is the authority, it has to be said before a network launches on this genesis, not after. - *`publicSupplyMinor` still means two things across two tokens.* eSTR's `0n` says "no eSTR is in public hands at block zero". CCOS's `21,000,000` says "this share is designated for public circulation and sits, undistributed, at one account". Both are true and they are not the same statement. STR's `21B` is a third case, and the oldest complaint in this entry still stands for it: the dev genesis puts 42B in the treasury and 20B across two other accounts, which is not 21B "public" by any reading. See question 13 for what a premined CCOS means for a financial ledger that also has fixed parity and no issuance path. 11. **No economic constant is governable.** `GovernableParameter` is five keys, none of them economic (`src/governance/parameters.ts:62-67`). The 10% post-mining ceiling, the 1 minor-unit gas price, the 182-day burn interval, the 51% burn threshold, the 28,800-block epoch and the 10M/epoch mint ceiling can only be changed by shipping a new build — which, for a mainnet, means a coordinated upgrade rather than a vote. Several files describe these numbers as governance parameters. Governance should decide which of them it actually wants to hold, and that decision is a change to `PARAMETER_REGISTRY`, not to a document. 12. **No transaction-rate cost.** The fee-free model's only economic deterrent is a one-time 1000 STR lock per identity. There is no marginal cost for the ten-thousandth transaction, and the per-node admission buckets are local judgements a producer can decline to use. Whether that holds under adversarial load is **unmeasured**; there is no benchmark in this tree that tests it. 13. **Can value get into the CCOS ledger, or only out of it?** Raised by the premine and not answered by it. Three facts about the financial ledger now hold at once, and each is deliberate on its own: - **Fixed supply.** 63,000,000 seeded at block zero, no mint path (`assertMintable` refuses it), and no burn path decided. What exists is what exists. - **Fixed parity.** `STR_PER_CCOS = 1_000n` is a protocol constant, "not a market rate" (`src/economics/parity.ts:8-12`) — but `strToCcos` / `ccosToStr` are pure arithmetic with **no caller that moves a balance**. Nothing in this tree converts STR into CCOS or back. Parity is a stated exchange rate with no exchange behind it. - **A closed entrance.** CCOS accepts only transactions declaring `purpose: 'financial'`, and transfers conserve supply exactly. So the only way a wallet acquires CCOS is from a wallet that already has it, which at block zero means the two premine accounts. Put together: the ledger is a fixed pool that can be distributed and re-distributed and cannot be replenished, because nothing pays into it. If CCOS is ever consumed rather than transferred — a burn, a fee, a settlement that retires it — the pool drains one way and nothing refills it. If it is only ever transferred, the 63M is a permanent float and the parity constant is decoration. **This is an owner decision, not a defect to fix in code**, and it is stated here because it was created the moment the premine landed: the question of what a financial ledger is *for* was answerable while its supply was zero and abstract, and it is now a question about a real balance. The three plausible answers — a conversion path against the parity constant, a designated distribution mechanism for the 21M public share, or an explicit statement that CCOS is a fixed float and parity is an accounting convention — differ in what they oblige the chain to build, and none of them can be inferred from the tree. --- ## 12. Where the documents contradict the code Named at the line, per the standing rule. **Re-checked in full at `9220195` on 2026-09-07, and most of this register is now struck through.** A struck row is one where the document was corrected to match the code; it stays, with what the document now says, because the point of a register is that a reader can tell an open contradiction from a closed one without having to re-derive the difference. Three kinds of row survive: - **Open**, in plain type — the claim still stands and the code still does not support it. - **Struck and reversed**, where a row was closed and then a decision reopened it in the other direction. eSTR is the whole story: a false premine claim, corrected to "supply is 0, pending governance", then made true again by an owner decision that put an allocation behind it. Deleting the middle state would leave a reader unable to tell an unimplemented intention from a decided one, and that distinction is exactly what let the premine be built rather than guessed at. - **Struck, having been the code contradicting itself.** One row was not a document contradicting the code but two rows of `src/governance/ownership.ts` disagreeing with each other about whether eSTR supply is zero, both shipped. *That is closed*, and the table below records it closed: the ESTR row and the `ENERGY_STR_POOL` row now both say the 50,000,000 was premined once in the genesis allocation and never again. **This preamble said it was open for thirty-seven lines before its own table said otherwise, which is the failure the register exists to catch and did not**; the class of row is kept described here because the next one will be found the same way. Struck rows are not evidence that the surrounding claim was never reachable. Several were published to users on a production surface for as long as they stood. ### `README.md` | Line | Claim | What the code says | |---|---|---| | ~~`README.md:223-224`, `:291`~~ | Were "ARSS, eSTR and STR_USD have no minting rule defined yet, so their mint authority refuses rather than using a placeholder" and "ARSS, eSTR and STR_USD minting rules are undefined pending governance." | **Resolved, and the replacement is better than a correction.** Neither sentence is in `README.md` at `9220195` — grepped. What stands at `README.md:244-249` is "All seven tokens in `src/core/tokens.ts` now carry `mintRule: 'defined'`; eSTR was the last one waiting, and it left that state **by acquiring a rule that runs rather than by having the field edited**", and it then separates the three cases this book kept having to separate by hand: $TR mints on the block path through `applyCollateralRecord`; ARSS mints on no path at all, because `ArssEmission.claim()` is sealed; and eSTR's rule already ran, at block zero, and refuses every mint afterwards. **Defined is not the same as running**, and the README now says so itself. | | ~~`README.md:19`~~ | Was: post-mined supply leaves via "domain locks (locked for life), contract expenses, or burned every 6 months at 51% consensus". Exits 1 and 2 are sealed and throw. | **Resolved.** The row now reads "lands in the **Feeless Pool**. Its only working exit is a burn, carried by a `burn-pool` governance record at 51% of validation power. The domain-lock and contract-expense exits are **sealed and throw**" (`README.md:19`). | | ~~`README.md` eSTR row~~ | Was "eSTR — 50M, premined in full into the Energy STR Pool". | **Fixed twice.** It went to supply 0 with the disputed figure and the pending decision, and is now "**premined: 50M, all of it, into the Energy STR Pool at genesis and never again**", naming the 2026-09-07 owner decision, what it overruled, and that `burnAuthority` is still undecided (`README.md:23`). `README.md` also gained a **Chain ids** row — Asgard 1313 ratified and refusing to start, Midgard 131313, development 31337 — which is new and matches `src/core/snotra.ts`. | | ~~`README.md:18`~~ | Was "Execution cost covered by post-mining, capped at 10% of the transaction." It is 10% of the caller's declared **gas budget**, not of a transfer amount. | **Resolved.** The row now says "capped at 10% of the caller's **declared gas budget** — not of a transfer amount" (`README.md:18`). | | ~~`README.md:20`~~ | Was: entry requirement "settling to price parity at genesis + 90 days", which is reached by no production path. | **Resolved.** The row now says "a flat 1000 STR locked in a WNFT. The 90-day settlement to price parity is **written and reached by no production path**" (`README.md:20`). | ### `docs/TOKENOMICS.md` | Line | Claim | What the code says | |---|---|---| | ~~`docs/TOKENOMICS.md` three-exit table~~ | Was: three exits, all three live. Two are sealed and throw. | **Resolved.** The section now opens "which was designed with three exits. **One of them runs. Two are sealed and throw**" (`docs/TOKENOMICS.md:143`), marks each sealed row `Sealed. consumeForDomain throws`, and adds "**A consequence to state rather than imply: nothing is locked for life**" with `lockForLife`'s absent caller named (`docs/TOKENOMICS.md:164`). | | ~~`docs/TOKENOMICS.md` burn cadence~~ | Was: the burn is "triggered by 51% consensus" on a "six-month cycle"; "governance may set" the interval. | **Resolved.** `docs/TOKENOMICS.md:195` now states that `BURN_INTERVAL_MS` is 182 days and is **not a governable parameter**. The live burn remains a `burn-pool` governance action with an epoch the proposer names, routed to the Althing rather than the pool's steward — because routing it to the steward would have made "51% of validation power" mean one domain voting for itself (`docs/TOKENOMICS.md:171`). | | ~~`docs/TOKENOMICS.md:94-96`~~ | Was "What is locked for life is never burned… the only path by which post-mined supply becomes lasting." | **Already fixed when re-checked**, ahead of this pass: the document states plainly that `lockForLife` has no caller in `src/` and that nothing is locked for life. The finding was true of the code and stale as to the document. `YggdrasilLedger.lockForLife` now says the same thing at the definition. | | ~~`docs/TOKENOMICS.md` ARSS section~~ | Was: the ARSS emission table read as a rule that runs, and "Emission reconciles against ARSS supply". | **Resolved, and the fix turns the finding around.** The table is now prefaced "**The table above is the emission rule the network has decided on. It is not a rule that runs**" (`docs/TOKENOMICS.md:265`), and the reconciliation paragraph says what comparing 0 to 0 actually buys: it is "the stronger statement that **no ARSS has entered supply at all**. If it ever fails, something is minting ARSS on a path this file does not know about" (`docs/TOKENOMICS.md:267`). A vacuous check with a stated meaning is worth more than one presented as a live control. | | ~~`docs/TOKENOMICS.md` §6~~ | Was "50,000,000 eSTR, premined in full into the Energy STR Pool at genesis." | **Fixed twice.** It became "eSTR — declared, never issued, pending governance" carrying the three-way source conflict, and is now "**§6. eSTR — premined, decided 2026-09-07**" (`docs/TOKENOMICS.md:341`). A **§6b, "CCOS is premined too, and it was the same hole"**, was added beside it (`docs/TOKENOMICS.md:390`). | | ~~`docs/TOKENOMICS.md` post-mining formula~~ | Was `postMined = min(executionCost, 10% of transactionAmount)` with nothing saying what `transactionAmount` is on the only live path. | **Resolved.** The formula still stands at `docs/TOKENOMICS.md:86` — it is correct as arithmetic — and is immediately followed by a section headed "**What the 10% is actually 10% of**", which says "**Not a transfer amount. This document and the README both read as though the ceiling were a tenth of the value a transaction moves. On the only path that runs, it is not**", and names `postMineForContractRecord` as the single caller (`docs/TOKENOMICS.md:99`). §3. | | `docs/TOKENOMICS.md:29-44` | Domain pricing oscillates and settles at genesis + 90 days. | **Still unwired, and the document now says so at the point of the claim rather than only here** — `settleDomainPrice`, `MediumPriceOracle`, `quoteDomainLock` and the `fixed-value` mode are all implemented in `src/economics/parity.ts` and reached by no production path; the only caller in the tree is a `strblk` display command building a throwaway oracle to print a quote; every block-path registration locks the flat 1000 STR (`docs/TOKENOMICS.md:46-57`). The row stays open because the **gap is not the arithmetic, it is that a price observation has no way to reach the chain** — that is an oracle, with every trust question an oracle carries, and nobody has specified it. §8. | ### Claims inside the code itself These matter more than the documents, because they are compiled and shipped. | Location | Claim | Reality | |---|---|---| | ~~`src/core/tokens.ts` ESTR row~~ | Was "All 50M premined into the Energy STR Pool at genesis." | **Fixed twice, and the second fix reversed the first — which is why the row is kept.** The claim was false, then the definition was demoted to `supplyPolicy: 'undefined'` / `mintRule: 'pending-governance'` / treasury share `null` and a purpose stating supply is 0, then the owner decided. As of `9220195` the row reads `supplyPolicy: 'premined'`, `mintAuthority: 'genesis-premine'`, `mintRule: 'defined'`, `publicSupplyMinor: 0n`, `treasurySupplyMinor: whole(ESTR_MAX)` (`src/core/tokens.ts:327`), and the purpose names the decision and the two sources it overrules. **The original sentence is true again, and this time there is an allocation behind it.** `burnAuthority` is still `'undecided'`: the decision covered issuance and said nothing about burning. | | ~~`src/explorer/hlidskjalf.ts` WSTR case~~ | Was "Backed 1:1 by STR and minted only by the **bridge**. There is no cap: the minting rule is a governance parameter that has not been set. The chain refuses to mint WSTR at all until it is." Every clause was false since Echo, and it was **published to users on a production surface**. | **Resolved.** The page now says WSTR is backed 1:1 by STR held in the Echo vault and minted only by a wrap; capped at the same ceiling as STR, "because a wrapper cannot exceed what can exist to back it"; and — the clause that matters most, because the old text invited the opposite reading — "**There is no bridge and no external chain: this is a native wrapper, and the backing never leaves this ledger**" (`src/explorer/hlidskjalf.ts:1425-1433`). | | ~~`src/explorer/hlidskjalf.ts` ESTR case~~ | Was ESTR: "All 50M premined into the Energy STR Pool at genesis." | **Fixed twice, same reversal as the `tokens.ts` row.** The page's own comment (`src/explorer/hlidskjalf.ts:1453-1460`) records all three states and is worth reading as a model: it first advertised the premine beside a supply of 0, then said the premine was undecided, and now publishes it as premined — with the supply figure **read from this chain's ledger rather than from the token definition**, which is the change that matters. Only the middle state was a correction; the other two were changes of fact. | | ~~`src/governance/ownership.ts` ESTR row~~ | Was: "Energy token. Supply is zero: the premine was never implemented and never decided, and is pending governance." | **Resolved, and this volume caused it.** The row was false from the moment the premine landed, and it contradicted the `ENERGY_STR_POOL` row 54 lines below it in the same file — both shipped to the ownership surface, saying opposite things about the same 50,000,000. Recorded here as open because this volume does not edit `src/`; a following pass fixed it in the source, and the row is retired rather than deleted because the failure mode is worth keeping: the pool row was carried forward when the decision landed and the token row was not, which is what a stale claim looks like when it is one edit away from a true one. | | ~~`src/governance/ownership.ts` WSTR row~~ | Was "Multi-chain wrapper, 1:1 backed by STR." It is not multi-chain. | **Resolved.** The row now reads "Native wrapper, 1:1 backed by STR locked in the Echo vault on this same chain" (`src/governance/ownership.ts:233`). | | ~~`src/governance/ownership.ts` `ENERGY_STR_POOL` row~~ | Was: "Holds the entire 50M eSTR premine." | **Fixed twice.** It said three things in turn, and its own comment (`src/governance/ownership.ts:276-283`) records all three: the premine claim while nothing premined it; "would hold one; no address has been named", which was true while the decision was outstanding and is why the row was kept rather than deleted; and now the premine claim again, with a genesis allocation behind it. It carries no address, for the reason no row in that table does — the table names **who governs** a ledger, not which address holds it. | | ~~`src/core/blockchain.ts` gas-price comment~~ | Was, of `EXECUTION_COST_MINOR_PER_GAS`: "Governance can raise it." | **Resolved, and the replacement is the shape this whole section is arguing for.** The comment now opens "**Governance cannot change this.** An earlier version of this comment said it could", names `GovernableParameter` as a closed union with no economic member, lists the other four constants in the same position — the 10% post-mining ceiling, the 182-day burn interval, the epoch length, the per-epoch mint ceiling — and then does the part a correction usually skips: it says the choice is *defensible* ("a chain where half the nodes voted a new gas price is a chain that has forked") **and different from the one the comment described, and that operators plan around the difference** (`src/core/blockchain.ts:576`). §11 item 11 is still open, because which of those five governance actually wants to hold is still undecided. |