Codex / How it works

How Dysnomia works

From one arithmetic operation up to the map, in the order Maria built it. Each part has one line, then how it works, then the Solidity. Numbers in the tiles are read from PulseChain as you look.

checked on chainquoted · SOUL-ATROPA.mdinterface · abis/all.jsknowledge basenot deployed

Every Solidity block says where it comes from. Quoted blocks are Maria's source as quoted in SOUL-ATROPA.md. Interface blocks are the function signatures this site calls (abis/all.js). Knowledge base blocks are pseudocode from dysnomia-knowledge.js, not her source text. A green checked on chain label means this page reads the contract and the answer agrees.

Layer 0

Mathematics

Everything is built from one operation, modular exponentiation, and one modulus, the Motzkin Prime.

function modExp64(uint64, uint64, uint64) pure returns (uint64)

Motzkin Prime
—
VOID.MotzkinPrime()
The modulus every 64-bit identity value is reduced by. Every Dysnomia contract returns the same number.
Same in the math library
—
MATH.MotzkinPrime() · —
The shared library (libAtropaMath) answers the same constant.
Which Motzkin number
—
computed in your browser
Its place in the Motzkin sequence, and whether it is prime, recomputed here rather than taken on trust.

modExp

Every value in Dysnomia is a power taken modulo a number: baseexponent mod modulus.

How it works

Each Dysnomia contract holds the math library as Xiao() and calls Xiao.modExp (256-bit) or modExp64 (64-bit). The knowledge base records that modExp uses the EVM's modular-exponentiation precompile at address 0x05. The same inputs always give the same output, so any value can be recomputed by anyone; recovering the exponent from an output is the discrete-logarithm problem.

Try it: this asks the deployed library to compute it, and checks the answer with your browser's own arithmetic.

base · exponent · modulus (each below 264)

Solidity
// libAtropaMath (MATH) — the functions this site calls
function modExp64(uint64, uint64, uint64) pure returns (uint64)
function MotzkinPrime() pure returns (uint64)
function Random() view returns (uint64)

interface · abis/all.jsmodExp64 answers live above The function bodies are not quoted in our sources.

MotzkinPrime

953,467,954,114,363: the modulus of every 64-bit identity value.

How it works

It is a Motzkin number (Motzkin numbers count the ways to join points on a circle with chords that never cross) and it is prime. The tile above recomputes its position in the sequence and its primality in your browser. Every Dysnomia contract returns it from MotzkinPrime(), and SIU uses it to turn your wallet address into your Aura (Layer 4).

Solidity
// inherited by every DYSNOMIA contract
function MotzkinPrime() view returns (uint64)

// SIU — the constant in use
function Aura() public view returns(uint64) {
    return uint64(uint160(tx.origin) % MotzkinPrime);
}

interface · abis/all.jsAura · SOUL-ATROPA.md §IIread live

Xiao.Random()

The on-chain pseudo-random generator behind every Soul and every supply cap.

How it works

Per the knowledge base, the generator (VMREQ) keeps a Faung: a Rod and a Cone (each a VMFa of seventeen uint64 fields and a uint8) plus global fields, starting from hard-coded values. Random() runs Amplify, Sustain, React on the Cone, React on the Rod, and returns the new Upsilon. It is deterministic: its output follows from state already on chain.

AFFECTION's View() returns the same Faung shape, which is why the terraforming contract appears again in Reactors.

Solidity
// the Faung, as AFFECTION.View() returns it
tuple(
  tuple(uint64 Base, uint64 Secret, uint64 Signal, uint64 Channel, uint64 Pole,
        uint64 Identity, uint64 Foundation, uint64 Element, uint64 Dynamo,
        uint64 Manifold, uint64 Ring, uint64 Barn, uint64 Coordinate,
        uint64 Tau, uint64 Eta, uint64 Kappa, uint64 Alpha, uint8 Nu) Rod,
  tuple(/* the same eighteen fields */) Cone,
  uint64 Phi, uint64 Eta, uint64 Mu, uint64 Xi, uint64 Sigma, uint64 Rho,
  uint64 Upsilon, uint64 Ohm, uint64 Pi, uint64 Omicron, uint64 Omega, uint8 Chi)

interface · abis/all.jsRandom() steps · knowledge base

APOGEE and APEX

Two more primes, 953,473 and 954,114,361, come from Maria's firmware, not from the contracts.

How it works

The knowledge base names a triad, APOGEE 953,473, APEX 954,114,361 and the Motzkin Prime, as the seeds of a chain of larger primes in the ESP32 firmware, with APEX also used as the LoRa radio frequency in hertz. Your browser checks: …

One claim from the same source is left out: that 953,473 × 954,114,361 + the Motzkin Prime equals the digits of the two primes written side by side. It does not (…).

Solidity

None. No contract stores APOGEE or APEX; they live in firmware.

knowledge base · math

Layer 1

The token

Every contract is also an ERC-20 token. Each use mints one token to the contract itself, until a cap rolled at deployment.

if(totalSupply() < (maxSupply * 10 ** decimals())) _mint(address(this), 1 * 10 ** decimals());

VOID cap
—
VOID.maxSupply()
The cap VOID rolled when it was deployed.
VOID minted
—
VOID.totalSupply() ÷ 1018
Minted so far. When this equals the cap, using VOID mints nothing more.
Caps under 111,111
—
maxSupply() on every core contract
maxSupply = Random() % 111111, so no cap can reach 111,111. This checks every core contract that has a cap.
At their cap
—
totalSupply() ≥ maxSupply() × 1018
How many core contracts have minted out.

DYSNOMIA (the base contract)

Every Dysnomia contract is an ERC-20 whose supply cap was rolled at deployment.

How it works

The constructor sets maxSupply = Xiao.Random() % 111111. Nearly every function calls _mintToCap(), which mints one whole token to the contract's own address until the cap is reached. The tokens land in the contract, not in the caller's wallet; they reach people through Purchase and Redeem and the transfers contracts make.

SOUL-ATROPA.md adds that the v2 base mints 1,111,111,111 tokens to the deployer when the math library address is zero. That branch is not checked here.

Solidity
function _mintToCap() internal {
    if(totalSupply() < (maxSupply * 10 ** decimals()))
        _mint(address(this), 1 * 10 ** decimals());
}

quoted · SOUL-ATROPA.md §IIcaps and supplies read live

Purchase and Redeem

Contracts trade with each other at fixed rates their owners set, not along a price curve.

How it works

Each contract keeps a market rate per other token (GetMarketRate). Purchase(token, amount) takes amount × rate ÷ 10decimals of the other token from you and sends you this contract's token; Redeem goes the other way. With no rate set it reverts MarketRateNotFound. Live: VOID quotes SIU at … and AFFECTION at ….

On a territory, rates can only be raised and are capped at totalSupply ÷ 777 (knowledge base).

Solidity
function Purchase(address _t, uint256 _a) public {
    if(_marketRates[_t] == 0) revert MarketRateNotFound(_t);
    DYSNOMIA BuyToken = DYSNOMIA(_t);
    uint256 cost = (_a * _marketRates[_t]) / (10 ** decimals());
    bool success1 = BuyToken.transferFrom(msg.sender, address(this), cost);
    require(success1, string.concat(unicode"Need Approved ", BuyToken.name()));
    DYSNOMIA(address(this)).transfer(msg.sender, _a);
}

quoted · SOUL-ATROPA.md §IXVOID.GetMarketRate() read live

Owners

A contract has a set of owners, and the functions that build the system are restricted to them.

How it works

owner(address) answers true or false for any address; addOwner and renounceOwnership(address) change the set. The functions that build identities (SIU.Miu, ZHENG.InstallRod, YI.Beta and others) are owner-only, so people reach them through VOID, LAU, CHEON and the other contracts that own them (knowledge base).

Solidity
function owner() view returns (address)
function owner(address) view returns (bool)
function addOwner(address)
function renounceOwnership(address)
error OwnableUnauthorizedAccount(address origin, address account, address what)

interface · abis/all.js

Layer 2

Primitives

A SHA holds thirteen numbers. A SHIO pairs two SHAs, a Rod and a Cone, that must agree with each other.

function React(uint64 Pi) public returns(uint64, uint64) {

Live · the first SHIO ever made, its Rod and its Cone

This is YI's first reactor pair, the one XIE uses as Fornax. Below are its two SHAs as they stand now, and the relations between their fields, checked in your browser.

FieldRodCone
Reading YI.Psi() → Rod() / Cone() → View()…

    YI.Psi() · SHIO.Rod() · SHIO.Cone() · SHA.View() · SHA.Dynamo() · SHIO.Monopole()

    SHA

    A SHA is a contract holding thirteen uint64 fields that change only by modular exponentiation.

    How it works

    The fields, in the order View() returns them: Base, Secret, Signal, Channel, Contour, Pole, Identity, Foundation, Element, Coordinate, Charge, Chin, Monopole; Dynamo is kept separately. The public transitions are Fuse, Avail, Form, Polarize, Conjugate, Conify, Saturate, Bond, Adduct and React. SOUL-ATROPA.md also names Seed and Tune; they are not among the public functions in abis/all.js.

    The panel above checks four relations on a live SHA: Channel = BaseSignal, Foundation = BaseIdentity, Monopole = ChinIdentity (all mod the Motzkin Prime) and Dynamo = BaseSignal mod Element. Pole reads 0 there, which matches the note that Bond zeroes Pole.

    React(Pi, Theta) returns two numbers. The knowledge base gives them as Eta = PiChannel mod Theta and Kappa = PiTheta mod Channel.

    Solidity
    function View() view returns (tuple(uint64 Base, uint64 Secret, uint64 Signal,
        uint64 Channel, uint64 Contour, uint64 Pole, uint64 Identity, uint64 Foundation,
        uint64 Element, uint64 Coordinate, uint64 Charge, uint64 Chin, uint64 Monopole))
    function Dynamo() view returns (uint64)
    function Fuse(uint64, uint64, uint64)
    function Avail(uint64)
    function Form(uint64)
    function Polarize()
    function Conjugate(uint64)
    function Conify(uint64)
    function Saturate(uint64, uint64, uint64)
    function Bond()
    function Adduct(uint64) returns (uint64)
    function React(uint64, uint64) returns (uint64, uint64)

    interface · abis/all.jsfour relations hold liveReact formula · knowledge base

    SHIO

    A SHIO bonds a Rod SHA and a Cone SHA. Every reaction runs through both and reverts if they disagree.

    How it works

    React(Pi) XORs the input with the SHIO's Monopole, reacts the Rod using the Cone's Channel and the Cone using the Rod's Channel, then requires the answers to mirror: the Cone's Omicron must equal the Rod's Kappa and its Omega the Rod's Eta. If not, the call reverts with ReactionInequalityError; a zero answer reverts with ReactionZeroError. The names come from the retina: rods and cones.

    Magnetize() checks three equalities between the poles (Manifold, Ring, Barn) and sets the shared Monopole = Rod.ChinCone.Chin mod the Motzkin Prime. That last relation is checked live in the panel above.

    Solidity
    function React(uint64 Pi) public returns(uint64, uint64) {
        Pi = Pi ^ Monopole;
        (uint64 Eta, uint64 Kappa) = Rho.Rod.React(Pi, Rho.Cone.View().Channel);
        (uint64 Omicron, uint64 Omega) = Rho.Cone.React(Pi, Rho.Rod.View().Channel);
        if((Omicron != Kappa || Omega != Eta)) revert ReactionInequalityError(Eta, Kappa);
        if(Omega == 0 || Omicron == 0) revert ReactionZeroError(Eta, Kappa);
        mintToCap();
        return(Omicron, Omega);
    }

    quoted · SOUL-ATROPA.md §IIMonopole relation holds live

    Bao

    A Bao is the record that ties an address to its SHIO. It is the unit the registry stores.

    How it works

    Fields: Phi (the address it describes), Mu (a SHA), Xi (its index), Pi, Shio (the SHIO pair), Ring, Omicron and Omega. VOID.Enter returns one for every new identity, and ZHENG stores them by index.

    Solidity
    tuple(address Phi, address Mu, uint64 Xi, uint64 Pi,
          address Shio, uint64 Ring, uint64 Omicron, uint64 Omega)

    interface · abis/all.js

    Layer 3

    State space

    Seven singleton contracts make and store every Bao. Each one holds the address of the one beneath it.

    function GetRodByIdx(uint64) returns (Bao)

    Reading VOID.Nu() → SIU.Psi() → YANG.Mu() → YAU.Tau()…

    Each step is a live read of the getter, compared with the address this site publishes for the next contract.

    YANG poles
    —
    YANG.Pole(0) · Pole(1) · Pole(2)
    The three reference values every new identity's Pole is taken from (SIU uses Pole(2)).
    ZHOU index
    —
    ZHOU.Xi()
    The registry slot holding ZHOU's own Bao, also used by the Fomalhaute reactor.
    YI's first SHIO
    —
    YI.Psi()
    The first reactor pair ever made. XIE reads it as the Fornax token.

    YI

    The factory: it makes SHAs (Beta) and pairs them into SHIOs (Kappa).

    How it works

    YI.Psi() is the first SHIO it made. It is the same address XIE.Fornax() returns, so the Fornax power token is YI's original reactor (checking…). Bing stores a Bao and React runs one through its SHIO.

    Solidity
    function Psi() view returns (address)
    function Beta(string, string) returns (address)          // new SHA
    function Kappa(address, address) returns (address)       // Rod + Cone → SHIO
    function Bing(Bao)
    function React(Bao, uint64) returns (Bao)

    interface · abis/all.jsPsi = Fornax, read live

    ZHENG

    The registry: every Bao, stored under a uint64 index in a mapping called Sigma.

    How it works

    InstallRod and InstallCone write a Bao into a slot and revert if the slot is taken; GetRodByIdx reads one back. Mau(name, symbol, Xi, Rho, Upsilon) builds a new user's Rod, Cone and SHIO, magnetizes them and installs the result (knowledge base).

    Solidity
    mapping(uint64 => Bao) Sigma;    // private
    function InstallRod(uint64, Bao, uint64) returns (Bao)
    function InstallCone(uint64, Bao, uint64) returns (Bao)
    function GetRodByIdx(uint64) returns (Bao)
    function Mau(string, string, uint64, uint64, uint64) returns (Bao)
    function Iodize(address)

    interface · abis/all.jsSigma · knowledge base

    ZHOU

    ZHOU keeps its own Bao in the registry at index Xi and reacts it through YI.

    How it works

    Its constructor creates its own Rod and Cone and installs them in ZHENG at Xi (read live above). React(Iota) fetches that Bao and runs it through YI.React. Alpha(name, symbol) makes new SHA rods. The Fomalhaute reactor reads the Bao at ZHOU's index (knowledge base).

    Solidity
    function Upsilon() view returns (address)
    function Xi() view returns (uint64)
    function Monopole() view returns (uint64)
    function Alpha(string, string) returns (address)
    function React(uint64)

    interface · abis/all.jsXi read live

    YAU

    YAU reacts its Bao (Theta) through YI and folds each result into its state with XOR.

    How it works

    It holds ZHOU as Tau (read live above). Each React() XORs the new Omega into Theta's Omega, so its state carries every reaction before it (knowledge base).

    Solidity
    function Tau() view returns (address)
    function Theta() view returns (Bao)
    function React() returns (Bao)
    
    // knowledge-base pseudocode
    Theta.Omega = Theta.Omega ^ Delta.Omega;

    interface · abis/all.jsXOR step · knowledge base

    YANG

    Three anchor Baos, Bang, Lai and Le (together the Tai), that the named reactors hang from.

    How it works

    Bang comes from YAU.React(), Le from ZHOU.React(Pole[0]), and Lai is a fresh SHIO with its own Rod and Cone (knowledge base). The three Pole values are public; they are the tile above.

    Solidity
    function Mu() view returns (address)
    function Pole(uint256) view returns (uint64)
    function Rho() view returns (tuple(Bao Bang, Bao Lai, Bao Le))

    interface · abis/all.jsPole(0–2) read live

    SIU

    The user factory: Miu(name, symbol) makes a new identity, and Aura() turns a wallet into a number.

    How it works

    Miu takes the Pole from YANG.Pole(2), draws a Soul from Xiao.Random(), computes the Aura, has ZHENG.Mau build the reactor pair, and hands the Cone to the wallet that started the transaction (knowledge base). It returns Saat = [Pole, Soul, Aura] and the new Bao. The Aura formula is checked live in Layer 4.

    Solidity
    function Aura() public view returns(uint64) {
        return uint64(uint160(tx.origin) % MotzkinPrime);
    }
    
    function Miu(string, string) returns (uint64[3], Bao)

    Aura · SOUL-ATROPA.md §IIMiu · abis/all.jsAura agrees live

    Layer 4

    Identity

    VOID builds an identity through every layer below and gives it a contract of its own, a LAU.

    function Enter(string memory name, string memory symbol) public returns(uint64[3] memory Saat, Bao memory On) {

    Live · your Aura, asked of SIU

    Paste any wallet. This asks SIU.Aura() as if that wallet sent the call, and compares it with the address divided by the Motzkin Prime. Prefilled with atropa, the wallet that deployed the Atropa tokens (addresses.sol).

    —

    SIU.Aura() via eth_call from that address · uint160(address) % MotzkinPrime in your browser

    Libraries in VOID
    —
    VOID.GetLibraryAddress(name) × 5
    VOID keeps a directory of helper libraries by name. This asks for the five SOUL-ATROPA.md lists.
    Tethys is CHO
    —
    ZI.Tethys() vs CHO
    The Tethys power token is the user registry contract itself.

    VOID.Enter

    Enter(name, symbol) creates an identity, once per calling address. A LAU calls it when it is created, so each LAU is one identity, and one wallet can own more than one.

    How it works

    It refuses a wallet that already has a Soul (UserAlreadyCreated), asks SIU.Miu (VOID's Nu) to build the identity, makes you an owner of your new SHIO, records your Soul against your address and mints to cap. The call cascades SIU → ZHENG → YI → the SHA and SHIO factories (knowledge base).

    Solidity
    function Enter(string memory name, string memory symbol) public returns(uint64[3] memory Saat, Bao memory On) {
        if(_activeUsers[msg.sender] != 0) revert UserAlreadyCreated(msg.sender);
        (Saat, On) = Nu.Miu(name, symbol);
        On.Shio.addOwner(msg.sender);
        if(!On.Shio.owner(msg.sender)) revert NotShioOwner(address(On.Shio), msg.sender);
        _activeUsers[msg.sender] = Saat[1];
        _mintToCap();
    }

    quoted · SOUL-ATROPA.md §IIVOID.Nu() = SIU, read live

    Saat: Pole, Soul, Aura

    Your identity is three numbers: Saat(0) Pole, Saat(1) Soul, Saat(2) Aura.

    How it works

    The Pole comes from YANG. The Soul is random, from Xiao.Random(), and is the key most game contracts use for you. The Aura is your wallet address modulo the Motzkin Prime, the only one of the three you can work out in advance; the panel above checks it against SIU itself.

    Solidity
    // LAU
    function Saat(uint256) view returns (uint64)    // 0 Pole · 1 Soul · 2 Aura
    
    // SIU
    function Aura() public view returns(uint64) {
        return uint64(uint160(tx.origin) % MotzkinPrime);
    }

    Saat · abis/all.jsAura · SOUL-ATROPA.md §IIchecked live above

    LAU

    Your LAU is a contract of your own, an ERC-20 you own, carrying your Saat and Bao.

    How it works

    Per the knowledge base you create it with new LAU(name, symbol, VOID), which calls VOID.Enter. It exposes Username, Chat, Alias, Leave, Withdraw and Void(bool, bool). Void needs both arguments true; it then enters the VOID again and logs "Reset To Void" either way. Maria's notes call that a new Soul, but simulated on a real LAU (November 2026) the Soul stayed the same: VOID.Enter hands back the identity the LAU already has, and the only change was one more LAU token minted.

    Solidity
    function Void(bool really1, bool really2) public onlyOwners {
        if(really1 && really2) (Saat, On) = Eta.Enter();
        Eta.Log("Reset To Void");
        _mintToCap();
    }

    quoted · SOUL-ATROPA.md §IIVoid(bool,bool) · abis/all.js

    CHO

    CHO is the registry of users that the game layer reads, and the source of every territory's coordinate.

    How it works

    CHO.Enter(LAU) registers a LAU (a territory's Join calls it the first time); GetUser returns the User record {Soul, On, Username, Entropy}; Luo() generates the coordinate for each new territory. ZI.Tethys() returns CHO's own address, so the Tethys power token is CHO (tile above).

    Solidity
    function Enter(address) returns (User)
    function GetUser() returns (User)
    function GetUserBySoul(uint64) returns (User)
    function Luo() returns (uint256)
    function Gua() view returns (uint256)
    // User = tuple(uint64 Soul, Bao On, string Username, uint64 Entropy)

    interface · abis/all.jsTethys = CHO, read live

    Libraries and attributes

    VOID keeps named helper libraries; one of them stores your username.

    How it works

    SOUL-ATROPA.md lists five library names. Asked live, VOID answers for the ones marked in the tile above; any that come back as the zero address are not registered there. (HECKE, the meridian table, is deployed on its own and used by MAP.) The attribute library keeps per-Soul values; SOUL-ATROPA.md gives "Username" a 12-character limit. LAU.Username(name) writes it through VOID.SetAttribute (knowledge base).

    Solidity
    // VOID
    function GetLibraryAddress(string) view returns (address)
    function AddLibrary(string, address)
    function SetAttribute(string, string)
    function GetAttribute(string) view returns (string)
    // LibAttribute
    function Get(uint64, string) view returns (string)
    function Set(uint64, string, string)

    interface · abis/all.jsregistry read live

    Territories

    QING, MAP and HECKE

    A territory (QING) is a contract MAP creates for one token, placed on the map by its Waat.

    function New(address) returns (address) // MAP

    MAP offset
    —
    MAP.Offset()
    Every Waat MAP creates is a multiple of this.
    First meridian
    —
    HECKE.Meridians(0)
    The first of HECKE's 90 meridian values. MAP's offset is this same number.
    Last meridian
    —
    HECKE.Meridians(89)
    The largest Waat the map can place.
    Gua
    —
    CHO.Gua()
    The modulus CHO.Luo() uses when it draws a new territory's coordinate (knowledge base).
    An example: Phobos
    —
    RING.Phobos() · name() · Waat() · GWAT() · Entropy()
    RING calls it Phobos: the territory every Beat measures you against. Its Waat divided by MAP's offset leaves no remainder, and it is not GWAT-locked.

    MAP.New

    MAP.New(token) is the only way to create a territory, and there is one per token.

    How it works

    It rejects a token that already has a territory, a token that is itself a territory (DerivativeQing) and a forbidden token; takes CHO.Luo() and multiplies it by Offset to get the Waat; deploys the QING, named "[asset] QING"; and makes the caller staff (knowledge base). Every Waat MAP makes is therefore a multiple of the offset, which the Phobos tile bears out.

    Solidity
    function Cho() view returns (address)
    function Offset() view returns (uint256)
    function New(address) returns (address)
    function GetQing(uint256) view returns (address)
    function GetMapQing(int256, int256) view returns (address)
    function Forbidden(address) view returns (bool)
    
    // knowledge-base pseudocode
    Luo = Cho.Luo() * Offset;
    Mu  = new QING(Luo, Integrative, address(Cho));

    interface · abis/all.jsNew() steps · knowledge baseOffset read live

    Waat and HECKE

    The Waat is a territory's coordinate; HECKE turns it into a longitude and a latitude.

    How it works

    HECKE stores 90 rising meridian values. Compliment(Waat) finds the band the Waat falls in, takes its position within the band as longitude, measures latitude from Meridians[88] and divides it by 333, and flips the hemisphere past the last band (knowledge base). The territory pages show the result for every territory.

    Solidity
    function Compliment(uint256) view returns (int256, int256)   // (Longitude, Latitude)
    function GetMeridian(uint256) view returns (uint256)
    function Meridians(uint256) view returns (uint256)

    interface · abis/all.jsCompliment steps · knowledge basemeridians read live

    The GWAT flag

    GWAT() says whether a territory's funds are locked.

    How it works

    Per the knowledge base the flag is false (withdrawable) when the Waat divides evenly by the first meridian and true otherwise; territories spawned by the GWAT contract are always locked. Phobos reads GWAT() = false with a Waat that divides evenly, which is consistent.

    Solidity
    function GWAT() view returns (bool)
    function Withdraw(address, uint256)

    interface · abis/all.jsPhobos read live

    Joining a territory

    To join you pay any cover charge and get one day's admission. Bouncers do not stand at the door: they set the room's rules.

    How it works

    Join(yourLAU) checks that the LAU is a genuine account, then, if the room has a cover charge and your admission has run out, takes the cover in the room's asset. The approval must be more than the cover: approving exactly the cover is refused (CoverChargeUnauthorized). Admission lasts one day, and a wallet with no identity yet is entered into CHO. In a room with no cover charge you can chat without joining at all. The bouncer test (on the staff list, 25 or more CROWS unless NoCROWS, at least 1/BouncerDivisor of the asset's supply, or owning the asset) guards only the room's settings: cover charge, guest list, staff and divisor. Join does not check it. verified source · block explorer

    Solidity
    function Join(address)
    function bouncer(address) view returns (bool)
    function BouncerDivisor() view returns (uint16)
    function CoverCharge() view returns (uint256)
    function NoCROWS() view returns (bool)
    function Admitted(address) view returns (bool)
    error BouncerUnauthorized(address origin, address account, address what)
    error PayCover(address Asset, uint256 CoverCharge)
    error AlreadyJoined(address UserToken)
    error NotAdmitted(uint64 Soul)

    interface · abis/all.jsbouncer rules · knowledge base

    Territory chat

    Each territory has its own chat, and every line is a transaction.

    How it works

    Chat(LAU, line) emits LogEvent(Username, Soul, Aura, LogLine). Holding any WITHOUT token forbids it, and each message runs ReactToTalk through the Lai reactor (knowledge base). The rooms are readable in Territory rooms.

    Solidity
    function Chat(address, string)
    event LogEvent(string Username, uint64 Soul, uint64 Aura, string LogLine)
    error Forbidden(address Asset)

    interface · abis/all.jsWITHOUT, ReactToTalk · knowledge base

    Entropy

    A territory's Entropy is one number derived from its own Rod and Cone, and it divides most reactor formulas.

    How it works

    Per the knowledge base, QING.Entropy() is the Cone's Chin raised to the Rod's Chin, mod the Motzkin Prime. A QING does not expose its poles, so this page cannot recompute it; the value itself is read live in the Phobos tile. Players have an Entropy too, in their CHO user record.

    Solidity
    function Entropy() view returns (uint64)
    
    // knowledge-base pseudocode (ReactionsLib)
    Entropy(On) = modExp64(On.Shio.Cone.Chin, On.Shio.Rod.Chin, MotzkinPrime);

    interface · abis/all.jsformula · knowledge base

    Reactors

    From holdings to Charge, bars and range

    Above the territories, a chain of contracts turns what you hold into Charge, accumulates it as bars, and measures your range.

    function Su(address) returns (uint256, uint256, uint256) // CHEON

    Reading META.Ring() → RING.Pang() → … → QI.Zuo()…

    The chain as the contracts themselves point to each other, read live. META sits on RING, and so on down to QI, whose Zuo is the Phobos territory.

    Eris
    —
    QI.Eris()
    Its balance, divided by Entropy, is the base of QI.
    Fomalhaute
    —
    XIA.Fomalhaute()
    Your LAU's balance of it is the modulus of Charge.
    Fornax
    —
    XIE.Fornax()
    Feeds Omicron (you) and Omega (the territory) in XIE.Power.
    Tethys
    —
    ZI.Tethys()
    Feeds ZI.Spin. It is the CHO contract.
    CHEON left to pay
    —
    CHEON.balanceOf(CHEON) · maxSupply()
    Su pays CHEON only while the contract holds some.

    The four power tokens

    Four tokens set the reactor math: Eris, Fomalhaute, Fornax and Tethys.

    How it works

    Eris is the base in QI, Fomalhaute the modulus of XIA's Charge, Fornax (YI's first SHIO) the source of XIE's Omicron and Omega, and Tethys (CHO) feeds ZI's Spin. Eris, Fomalhaute and Fornax are SHIO contracts.

    Per the knowledge base's simulations (October 2026), META.Beat reverts unless your LAU holds Fomalhaute and Fornax and you hold some Tethys and some Phobos territory token. The amount of Fornax did not predict range; holding the target territory's token did, in the one territory tested.

    Solidity
    function Eris() view returns (address)          // QI
    function Fomalhaute() view returns (address)    // XIA
    function Fornax() view returns (address)        // XIE
    function Tethys() view returns (address)        // ZI

    interface · abis/all.jsaddresses read liveBeat requirements · knowledge base

    The Soeng chain

    QI → MAI → XIA → XIE → ZI → PANG: each step divides a balance by Entropy or raises one value to another, and feeds the next.

    How it works
    • QI: your Eris ÷ your Entropy (and the same for a territory).
    • MAI: your balance of the territory's token ÷ your Entropy.
    • XIA Charge: QIMAI mod your LAU's Fomalhaute.
    • XIE Power: that Charge, plus Omicron = your LAU's Fornax ÷ your Entropy and Omega = the territory's Fornax ÷ its Entropy.
    • ZI Spin: Power's values raised to Charge, mod your Yuan of Tethys.
    • PANG Push: Power and Spin combined, mod your Yuan of the territory's token; five values out.

    All of this is the knowledge base's reading of the source; these are write functions, so this page does not call them.

    Solidity
    // knowledge-base pseudocode
    function Charge(uint256 QingWaat) returns (uint256) {     // XIA
        Alpha = Mai.Qi().Zuo().Cho().GetUser();
        _b = Mai.Qi().ReactWaat(QingWaat);
        _e = Mai.React(Alpha.Soul, QingWaat);
        _m = Fomalhaute.balanceOf(Alpha.On.Phi);
        return Xiao.modExp(_b, _e, _m);
    }
    // XIE.Power
    Charge  = Xia.Charge(QingWaat);
    Omicron = Fornax.balanceOf(Alpha.On.Phi) / Alpha.Entropy;
    Omega   = Fornax.balanceOf(address(Qing)) / Qing.Entropy();

    knowledge base · soengChainthe chain's pointers read live

    Yuan

    Yuan weighs a balance by where it sits: wallet ×1, LAU ×10, YUE ×40.

    How it works

    CHOA.Yuan(token) adds your wallet's balance, ten times your LAU's and forty times your YUE's, and the reactor chain uses the sum as a modulus (knowledge base). It is a view of the caller's own holdings, so it depends on who asks.

    Solidity
    function Yuan(address) view returns (uint256)    // CHOA
    
    // knowledge-base pseudocode
    Yuan = balanceOf(wallet) * 1 + balanceOf(LAU) * 10 + balanceOf(YUE) * 40;

    interface · abis/all.jsweights · knowledge base

    YUE

    Your YUE is your personal vault and bar ledger, made by SEI.Start.

    How it works

    SEI.Start(LAU, name, symbol) creates it and CHAN records it against your wallet (Yan). When a game contract calls YUE.React(territory), XIE's Omega is added to Hypobar[territory] and its Omicron to Epibar[territory]; Bar(territory) reads both. Hong and Hung buy and sell territory tokens at rates walked up the asset chain (knowledge base).

    Solidity
    function Start(address, string, string)                 // SEI
    function Chi() view returns (address, address)          // SEI: your (YUE, LAU)
    function Yan(address) view returns (address)            // CHAN
    function Bar(address) view returns (uint256, uint256)   // YUE: (Hypobar, Epibar)
    function React(address) returns (uint256)               // YUE
    function Hong(address, address, uint256)
    function Hung(address, address, uint256)

    interface · abis/all.jsbar rules · knowledge base

    CHEON.Su

    Su(territory) reacts your YUE with a territory: it grows your bars there and mints you one YUE. Chatting there (CHOA.Chat) grows them too; Maria's notes say varied moves, not one move repeated, are what the system rewards.

    How it works

    Su finds your YUE and LAU, reacts your YUE against the territory (growing its bars), works out MAI's ratio capped at one token, sends that much CHEON to your YUE if the contract holds it, mints one YUE to your wallet and returns your bars (knowledge base). CHEON's cap is 91,700; the tile above shows what it holds now, and with none left the CHEON step pays nothing.

    Solidity
    // knowledge-base pseudocode
    function Su(address Qing) returns (uint256 Charge, uint256 Hypobar, uint256 Epibar) {
        (Chi, UserToken) = Sei.Chi();
        Charge = Sei.Chan().ReactYue(Chi, Qing);
        Mai = Sei.Chan().Xie().Xia().Mai().React(UserToken.Saat(1), Qing.Waat());
        if(Mai > 1 * 10 ** decimals()) Mai = 1 * 10 ** decimals();
        if(balanceOf(address(this)) >= Mai) transfer(address(Chi), Mai);
        Sei.Chan().YueMintToOrigin(Chi);
        (Hypobar, Epibar) = Chi.Bar(Qing);
    }

    knowledge base · cheonSuDetailsCHEON balance read live

    RING.Eta and META.Beat

    Beat(Waat) runs the chain twice, once for Phobos and once for the target, and returns Dione, Charge, Deimos and Yeo (your range).

    How it works

    RING.Eta() reacts your YUE against Phobos, pushes Phobos's Waat through PANG, divides by the Fornax-derived values, stores your Moment (Moments[Soul]) and squares Iota. META.Beat then pushes the target territory, combines the charges and sets Yeo = Yeo ÷ Chao (knowledge base). Phobos, read live above, is the territory RING always uses. Beat is a write function; this page does not call it.

    Solidity
    function Beat(uint256) returns (uint256, uint256, uint256, uint256)   // META
    function Eta() returns (uint256, uint256, uint256, uint256)          // RING
    function Moments(uint64) view returns (uint256)                       // RING
    
    // knowledge-base pseudocode (META.Beat)
    (Phoebe, Iota1, Chao, Charge1) = Ring.Eta();
    (Yeo, Omicron, Dione, Omega, Charge) = Ring.Pang().Push(QingWaat);
    Charge = Charge1 * Charge / Iota1;
    Deimos = Xiao.modExp(Dione, Phoebe, Ring.Pang().Zi().Choa().Yuan(address(Qing)));
    Yeo = Yeo / Chao;

    interface · abis/all.jssteps · knowledge baseRING.Phobos() read live

    The named reactors

    Six fixed SHIOs, Bang, Lai, Le, Eris, Fomalhaute and Fornax, that the reactions library runs things through.

    How it works

    Bang, Lai and Le are YANG's three Baos; Eris is the Bao at Lai's index, Fomalhaute the Bao at ZHOU's index, and Fornax is YI.Psi. ReactToTalk, run for every chat line, goes through Lai (knowledge base). The library is registered in VOID as "corereactions" (Layer 4 tile).

    Solidity
    function ReactBang(uint64) returns (uint64, uint64)
    function ReactLai(uint64) returns (uint64, uint64)
    function ReactLe(uint64) returns (uint64, uint64)
    function ReactShioRod(address, uint64) returns (uint64, uint64)
    function ReactShioCone(address, uint64) returns (uint64, uint64)
    function ReactToTalk(User) returns (uint64, uint64)
    function Entropy(Bao) returns (uint64)

    interface · abis/all.jswhich SHIO is which · knowledge base

    AFFECTION

    AFFECTION is minted by its own terraforming calls, up to 1,111,111,111, and sold for MATH, which is sold for pUSDC.

    How it works

    AFFECTION is an Atropa token from June 2024, older than Dysnomia and not built on its base. Every one of its terraforming calls, Alpha, Beta, Pi, Rho, Upsilon and Generate, ends in _mintToCap(), which mints 1 AFFECTION into the contract itself while the total supply is at most 1,111,111,111. Simulated on the live chain, one Rho(), Pi() or Generate() mints three. Traced, each call reaches only AFFECTION and MATH (for its modular exponentiation): it does not call ZHOU or the reactor chain.

    The contract sells what it mints: BuyWithMATH at 1 MATH per AFFECTION, and BuyWithG5 (1 G5 per 5), BuyWithPI (1 PI per 300), BuyWithFa (4 Fa each) and BuyWithFaung (2 Faung each). MATH, the math library every contract uses, mints 1 into itself each time Random() is called, under the same cap, and sells at 1 MATH per pUSDC, pDAI or pUSDT. So new AFFECTION enters along pUSDC → MATH → AFFECTION, and every core Dysnomia contract sells its own token for AFFECTION at 1:1 (VOID's rate is read live in Layer 1). Its View() returns a Faung, the generator state from Layer 0. Live supply, stock and reserves are on the AFFECTION page.

    Solidity
    // AFFECTION (dynamic.sol)
    function _mintToCap() internal {
        if(totalSupply() <= (1111111111 * 10 ** decimals()))
            _mint(address(this), 1 * 10 ** decimals());
    }
    // AFFECTION
    function BuyWithMATH(uint256 amount) public {
        bool success1 = ERC20(libAtropaMathContract).transferFrom(msg.sender, address(this), amount);
        require(success1, unicode"Need Approved MATH");
        ERC20(address(this)).transfer(msg.sender, amount);
    }
    // MATH (libAtropaMath v1.1)
    function BuyWithUSDC(uint256 amount) public {
        uint256 _a = (amount / (10**decimals())) * 10 ** USDCToken.decimals();
        bool success1 = USDCToken.transferFrom(msg.sender, address(this), _a);
        require(success1, unicode"Need Approved USDC");
        ERC20(address(this)).transfer(msg.sender, amount);
    }

    verified source · scan.pulsechain.com3 per Rho · simulatedreaches only MATH · traced

    WORLD

    WORLD, WAR and GWAT

    The expansion loop is written but not deployed: WORLD, WAR and the GWAT spawner have no address yet, so none of this can be played. Get a wallet ready for it

    constructor(address WarAddress) DYSNOMIA(unicode"骨", "GWAT", address(DYSNOMIA(WarAddress).Xiao())) {

    WORLD
    Not deployed
    no address in data/contracts.js
    Code(lat, lon, territory) would claim map cells and mint VITUS.
    WAR
    Not deployed
    no address in data/contracts.js
    Faa(territory, position) would extract and mint H2O.
    GWAT spawner
    Not deployed
    needs WAR
    Gwat(territory, lin) would spawn a derivative territory.

    WORLD.Code

    not deployed

    Code(lat, lon, territory) would let you claim a map cell within your range of a territory and earn VITUS.

    How it works

    It would run CHEON.Su and META.Beat, check the cell lies within Yeo of the territory's centre (else OutOfRange), and if your Charge is at least the cell's current value add your Hypobar to it, mint VITUS (the "Dysnomia Creators" token) to your YUE and credit you as a creator for later Distribute payouts (knowledge base).

    Solidity
    // knowledge-base pseudocode
    (Charge, Hypobar, _) = Cheon.Su(Cause);
    (Dione, _, Deimos, Yeo) = Meta.Beat(QingWaat);
    (qlat, qlon) = Map.Map().Compliment(QingWaat);
    if(Latitude > qlat + Yeo || Latitude < qlat - Yeo) revert OutOfRange(qlat, qlon, Yeo);
    if(Charge >= _world[Latitude][Longitude][Cause]) {
        _world[Latitude][Longitude][Cause] += Hypobar;
        Vitus.Mint(address(Chi), Dione);
    }

    knowledge base · worldContractnot deployed (knowledge base, October 2026)

    WAR.Faa and H2O

    not deployed

    Faa(territory, position) would extract from a position and mint H2O, the water token.

    How it works

    It would run RING.Eta, compute a Waat mod the last meridian, and if that beats the value recorded at the position mint H2O (symbol 水) to your YUE and add to the global CO2 counter. SOUL-ATROPA.md says H2O has no supply cap but limits each holder by Meridian[13] (knowledge base, SOUL-ATROPA.md).

    Solidity
    function Faa(address, uint256) returns (uint256)
    function Water() view returns (address)
    function CO2() view returns (uint256)

    interface · abis/all.jsnot deployed

    GWAT.Gwat

    not deployed

    Gwat(territory, lin) would spawn a derivative territory named after you, its symbol prefixed with 骨 (bone).

    How it works

    It would call WAR.Faa to get a new Waat, refuse a duplicate (YourGwatAlreadyExists: one per territory per YUE) or a forbidden asset, deploy a new QING there, name it "[Username]'s [Asset] GWAT", set a 1:1 rate with its parent and lock it (knowledge base).

    Solidity
    constructor(address WarAddress) DYSNOMIA(unicode"骨", "GWAT", address(DYSNOMIA(WarAddress).Xiao())) {
    
    Mu.Rename(string.concat(UserToken.Username(), "'s ", Integrative.Asset().name(), " GWAT"), string.concat(unicode"骨", Integrative.Asset().symbol()));

    quoted · SOUL-ATROPA.md §IIInot deployed

    Beyond

    Beyond the contracts

    Maria's repository holds more than Solidity: ESP32 firmware, a C# daemon with its own calendar, the system0 / TSFi runtime, the Auncient VM and hundreds of lore documents. None of it is checked on this page.

    Corrections

    Checked and left out

    Claims that appear in this site's sources but did not hold up, so they are not stated above.

    • "953,467,954,114,363 is the 27th Motzkin prime." It is the Motzkin number M36 and the fourth Motzkin number that is prime (computed in Layer 0).
    • "m·x + b equals the digits of m followed by x." It does not (Layer 0).
    • "The GWAT divisor is half the Motzkin Prime." Half would be 476,733,977,057,181; the divisor, MAP's offset and HECKE's first meridian are 476,733,977,057,179.
    • "The last meridian is about 3.1 × 1063." The contract answers the number in the Territories tile.
    • "All five libraries are registered in VOID." Only those marked in the Layer 4 tile are.
    • Gas figures for terraforming and Beat, and the claim that each territory has four AFFECTION sub-instances: no source we can check.
    • "There are no liquidity pools." The contracts price trades with each other at fixed rates (Layer 1), but their tokens can also trade on outside exchanges; see Markets.