//! The focus economy of the root chain (specs/chain-economy.md): staked
//! cyberlinks with valence, epochs of a fixed number of blocks, φ* of the
//! staked graph at every boundary, settlement of Δφ⁺ to the stake that
//! caused it, and the subsidy split between miners and the focus pool.
//!
//! Module map (chain-economy §13):
//!
//! - this file: positions, identities (§3.1), the emission split (§6.1),
//! the mark decay (§5.3) — pure integer functions;
//! - [`wide`]: the 512-bit integers attribution needs (§5.2–§5.5);
//! - [`weights`]: genesis weights (§4.1) and the axon weight `A_pq` (§4.2);
//! - [`focus`]: the canonical focus graph (§4.3) and the φ*/gradient engine
//! seam (§4.4, §5.1) with the integer reference engine;
//! - [`settle`]: snapshots (§2.4), the three solves and attribution
//! (§5.1–§5.4), and the settlement step of a block (§5.5–§5.6);
//! - [`run`]: the off-block-path settlement worker and its caches.
//!
//! Integers and fixed point only; nothing here reads a float or a clock.
use ;
use Id;
pub use crate;
/// `axon(p, q) = hemera(p ‖ q)`, bbg's `axon_id`: a card's `particle`.
/// A position (chain-economy §3.2): one author's stake on one axon. The
/// stake itself is the balance at `stake_key(card)`, not a field.
/// `σ(v)`: the side of the edge a valence pushes.
/// The high-water marks of one axon, `H⁺` and `H⁻` (§5.3).
/// Running economy scalars, journaled with the state: what the coinbase
/// of every block and `/status` read without walking the cards.
/// `hemera(D_PAYOUT_LEAF ‖ card ‖ owner ‖ amount: u64)` (§5.6).
/// `hemera(D_PAYOUT_NODE ‖ L ‖ R)` (§5.6).
/// Merkle root over payout leaves in the given order (cards ascending,
/// amounts > 0), odd node promoted unchanged; 32 zero bytes when empty.
/// `hemera(D_PHI ‖ n: u32 ‖ φ[0]: u64 ‖ … ‖ φ[n−1]: u64)` (§5.6), particles
/// ascending, tru's raw fixed point.
/// Floor integer square root of a u128.
/// `focus_bps(E) = min(FOCUS_MAX_BPS, isqrt(floor(active · 10^8 / supply)))`
/// (§6.1), u128 inside. `supply = S0 + boundary(E) · SUBSIDY`.
/// `cut(h) = floor(SUBSIDY · focus_bps / 10,000)`: the focus pool's share
/// of one block's subsidy (§6.1); the miner keeps `SUBSIDY − cut`.
/// One epoch of the high-water mark (§5.3): with `M = max(H, S)`,
/// `H' = S + floor((M − S) · 65,410 / 65,536)`.
Homonyms
cyb/evy/forks/naga/src/back/hlsl/mod.rs
struct Baz { m: mat3x2, } struct Baz { float2 m_0; float2 m_1; float2 m_2; }; float3x2 GetMatmOnBaz(Baz obj) { return float3x2(obj.m_0, obj.m_1, obj.m_2); }