Cheat Sheet — Constants
Every hard-coded number in Dysnomia, with its source. If a game-mechanics doc cites a constant and it isn’t on this page, that’s a bug in this page.
Geometry — the Hecke meridians
Section titled “Geometry — the Hecke meridians”Hecke exposes 90 uint256 meridian values. Meridians(0) is 476733977057179; query other entries exactly rather than approximating their integer magnitude. Meridians(13) and Meridians(20) are mint-overflow thresholds in H2O/VITUS. The latter checks WORLD’s pre-transfer balance and does not cap its post-transfer balance.
Waat is uint256. Compliment returns (Longitude, Latitude); consuming code can label the tuple differently. Preserve the exact method’s ordering and square range predicates.
Cryptographic / math
Section titled “Cryptographic / math”| Constant | Type | Where stored | Source |
|---|---|---|---|
MotzkinPrime |
uint64 public constant |
Every DYSNOMIA-derived contract carries it (inherited). Used as a modulus in SHA / SHIO reactions and referenced by HECKEMERIDIANS. | DYSNOMIA V2, SHA, SHIO |
Note: the literal 476,733,977,057,179 is reused three times — as Meridians[0], as the GWAT-detection divisor in QING, and as a consistent prime-like value in the Hecke system.
Access control
Section titled “Access control”| Constant | Value | Role | Source |
|---|---|---|---|
| CROWS VIP threshold | 25 * 10^18 |
Hold ≥ 25 CROWS (18-dec) → auto-authorize as bouncer at any QING that hasn’t set NoCROWS. |
QING |
BouncerDivisor |
uint16, per-QING mutable |
Bouncer share threshold: Asset.balanceOf(x) >= Asset.totalSupply() / BouncerDivisor → x is a bouncer. Higher divisor = smaller share needed. |
QING |
NoCROWS |
bool, per-QING mutable |
When true, CROWS holders are not auto-authorized. Owner-only setter. | QING |
Yuan weighting
Section titled “Yuan weighting”For an explicitly supplied currency, Yuan = currency.balanceOf(origin) + 10 * currency.balanceOf(LAU) + 40 * currency.balanceOf(YUE). ZI uses CHO/Tethys; PANG uses QING. This is not a portfolio valuation or a guarantee of a larger modular output.
Chat reward
Section titled “Chat reward”CHOA.Chat conditionally transfers CHOA tokens to the YUE. Its amount is capped at one CHOA token and requires sufficient CHOA inventory; MAI is the calculation, not the paid token.
Rate modifier
Section titled “Rate modifier”From YUE:
Mod = AssetRate / (10^(decimals - 2))if Mod < 777: Rate = Rate / ((777 - Mod) * 10^(decimals - 5))| Number | Role |
|---|---|
777 |
Rate-modifier floor; below this, denominator scales non-linearly. |
(decimals - 2) |
Offset for bringing AssetRate into the modifier’s comparable range. |
(decimals - 5) |
Offset for the scaled denominator. |
YANG.Pole(0..2) are contract state derived during the reaction/installation path. They are not block hashes, calendar windows or evidence of an automatic periodic reset.
Voting / submission caps
Section titled “Voting / submission caps”UserVote contains uint16 Vote, uint8 Submissions and uint64 Round. These widths do not define an active game’s round timing, submission policy or reward rules. Inspect the actual consumer implementation. STRINGLIB helpers likewise do not establish a current submit/vote deployment.
Saat (identity triple)
Section titled “Saat (identity triple)”LAU’s Saat is a 3-slot identifier.
| Slot | Meaning | Source |
|---|---|---|
Saat[0] |
Pole at the moment of identity generation (first element of the triple) | LAU |
Saat[1] |
Soul — 64-bit player ID |
LAU |
Saat[2] |
Aura — wallet-derived 64-bit fingerprint |
LAU |
Token caps (inheritable)
Section titled “Token caps (inheritable)”Every DYSNOMIA-derived token has a maxSupply set at construction and a mintToCap() helper. These aren’t one number; they’re per-token. See individual token docs in technical/docs/core/.
Where the numbers come from
Section titled “Where the numbers come from”All constants on this page trace to one of:
- lib/HECKEMERIDIANS.md — geometry
- lib/STRINGLIB.md — string rules
- core/01_DYSNOMIA_V2.md —
MotzkinPrime, inherited math - core/08_YANG.md —
Pole - domain/YUE.md — rate modifier constants
- domain/sky/CHOA.md — Yuan weights, chat cap
- domain/dan/QING.md — bouncer constants
- domain/assets/H2O.md, VITUS.md — overflow meridian indices
- include/USERVOTE.md — voting caps
Use these calls here. Simulations preview the current state; each confirmed call is a separate transaction.
Hecke.Meridians(uint256)Read
Open this function to load its call form.
YANG.Pole(uint256)Read
Open this function to load its call form.
QING.BouncerDivisor()Read
Open this function to load its call form.