Dysnomia Smart Contract Ecosystem
Overview
Section titled “Overview”Dysnomia is a sophisticated PulseChain-based smart contract ecosystem implementing:
- ERC20-like token mechanics with multi-owner governance
- Cryptographic state transformations using modular exponentiation
- Geographic coordinate-based mapping system (Hecke Meridians)
- User identity/session management with “Soul” IDs
- Encryption/messaging between users
- Gaming/voting mechanics with acronym system
What This Means For Players
Section titled “What This Means For Players”Plain English Summary: Dysnomia is an on-chain game and social platform where you create a player account, join venues (like chatrooms or marketplaces), claim territory, earn rewards, and trade tokens. Think of it as a blockchain-based virtual world where everything you do - from chatting to claiming land - is recorded on-chain and earns you various rewards.
Real-World Analogy: Imagine a massively multiplayer online game where instead of a company running the servers, everything runs on the blockchain. Your character (LAU token), your inventory (YUE wallet), the places you visit (QING venues), and the land you own (WORLD territories) are all permanent, verifiable, and tradeable. It’s like a combination of Second Life, a cryptocurrency exchange, and a social chat platform.
What You Can Do:
- Create an account (LAU) - Your permanent on-chain identity with a Soul ID
- Chat & socialize - Send messages in venues using your LAU
- Explore venues (QINGs) - Visit different locations on the game map
- Claim territory (WORLD) - Become a creator and earn VITUS credits
- Battle for resources (WAR) - Fight to earn H2O (water) tokens
- Trade tokens - Exchange any game currency using built-in market rates
- Play word games - Submit acronym guesses and vote on submissions
Architecture Diagram
Section titled “Architecture Diagram”A clickable dependency graph — click any node to open its technical reference page. Two clusters: the core pipeline (identity, crypto, and DeFi contracts) and the domain contracts (venues, territory, and the Soeng power chain).
graph TD
subgraph Core["Core Pipeline"]
LAUFactory["LAUFactory (11c)"] -->|creates| LAU["LAU (11)<br/>User Layer"]
LAU --> DYSNOMIA["DYSNOMIA (01/01v2)<br/>Base Token"]
DYSNOMIA --> VMREQ["VMREQ (00b)<br/>RNG Core"]
DYSNOMIA --> SHA["SHA (02)<br/>Crypto"]
SHA --> SHIO["SHIO (03)<br/>Rod/Cone"]
SHIO --> YI["YI (04)<br/>DeFi Orch"]
YI --> ZHENG["ZHENG (05)<br/>Installer"]
LAU --> VOID["VOID (10)<br/>Sessions"]
VOID --> SIU["SIU (09)<br/>Token Gen"]
SIU --> YANG["YANG (08)<br/>Aggregator"]
YANG --> YAU["YAU (07)<br/>Protocol"]
ZHENG --> ZHOU["ZHOU (06)<br/>Market Rate"]
YAU --> ZHOU
end
subgraph Domain["Domain Contracts"]
CHO["CHO (dan)"] --> QING["QING (dan)"]
QING --> MAP["MAP"]
CHO --> CHAN["CHAN (sky)"]
QING --> YUE["YUE"]
MAP --> WORLD["WORLD"]
CHAN --> YUE
YUE --> WORLD
CHAN --> CHOA["CHOA (sky)"]
WORLD --> CHEON
CHOA --> SEI["SEI (tang)"]
SEI --> CHEON["CHEON (tang)"]
CHEON --> META["META (tang)"]
subgraph Soeng["Soeng Chain — Power Progression"]
QI["QI"] --> MAI["MAI"] --> XIA["XIA"] --> XIE["XIE"] --> ZI["ZI"] --> PANG["PANG"] --> GWAT["GWAT"]
end
H2O["H2O (asset)"]
VITUS["VITUS (asset)"]
WAR["WAR (game mechanics)"]
end
click LAUFactory "/technical/core/11c_laufactory/"
click LAU "/technical/core/11_lau/"
click DYSNOMIA "/technical/core/01_dysnomia/"
click VMREQ "/technical/core/00b_vmreq/"
click SHA "/technical/core/02_sha/"
click SHIO "/technical/core/03_shio/"
click YI "/technical/core/04_yi/"
click ZHENG "/technical/core/05_zheng/"
click VOID "/technical/core/10_void/"
click SIU "/technical/core/09_siu/"
click YANG "/technical/core/08_yang/"
click YAU "/technical/core/07_yau/"
click ZHOU "/technical/core/06_zhou/"
click CHO "/technical/domain/dan/cho/"
click QING "/technical/domain/dan/qing/"
click MAP "/technical/domain/map/"
click CHAN "/technical/domain/sky/chan/"
click YUE "/technical/domain/yue/"
click WORLD "/technical/domain/world/"
click CHOA "/technical/domain/sky/choa/"
click SEI "/technical/domain/tang/sei/"
click CHEON "/technical/domain/tang/cheon/"
click META "/technical/domain/tang/meta/"
click QI "/technical/domain/soeng/qi/"
click MAI "/technical/domain/soeng/mai/"
click XIA "/technical/domain/soeng/xia/"
click XIE "/technical/domain/soeng/xie/"
click ZI "/technical/domain/soeng/zi/"
click PANG "/technical/domain/soeng/pang/"
click GWAT "/technical/domain/soeng/gwat/"
click H2O "/technical/domain/assets/h2o/"
click VITUS "/technical/domain/assets/vitus/"
click WAR "/technical/domain/dan/war/"
Search All Contracts
Section titled “Search All Contracts”Key Constants
Section titled “Key Constants”| Constant | Value | Description |
|---|---|---|
| MotzkinPrime | 953467954114363 | Prime number used across all cryptographic operations |
| Gua | 1652929763764148448182513644633101239607891671119935657884642 | Universe constant in CHO |
Core Data Structures
Section titled “Core Data Structures”Fa (SHA State)
Section titled “Fa (SHA State)”struct Fa { uint64 Base, Secret, Signal, Channel, Contour, Pole; uint64 Identity, Foundation, Element, Coordinate; uint64 Charge, Chin, Monopole;}Bao (Operation Context)
Section titled “Bao (Operation Context)”struct Bao { address Phi; // Address reference SHA Mu; // Associated SHA token uint64 Xi, Pi; // State values SHIO Shio; // Associated SHIO pair uint64 Ring; // Ring value uint64 Omicron, Omega; // Reaction outputs}struct User { uint64 Soul; // 64-bit user identifier Bao On; // User's Bao context string Username; // Display name uint64 Entropy; // User-specific entropy}Contract Categories
Section titled “Contract Categories”Core Contracts
Section titled “Core Contracts”Base infrastructure including token mechanics, cryptographic primitives, and session management.
| Contract | Purpose |
|---|---|
| VMREQ | Random number generation via modular exponentiation |
| DYSNOMIA | Base ERC20-like token with market rates |
| SHA | Cryptographic state token |
| SHIO | Paired Rod/Cone token system |
| YI | DeFi orchestration layer |
| ZHENG | Rod/Cone installation manager |
| ZHOU | Market rate orchestrator |
| YAU | Protocol coordinator |
| YANG | Multi-state aggregator |
| SIU | Token generation with Aura identity |
| VOID | User session & chat management |
| LAU | User interface layer |
Domain Contracts
Section titled “Domain Contracts”Application-specific logic for gaming, mapping, and asset management.
- dan/: CHO (login), QING (tokens), WAR (game)
- sky/: CHAN (player), CHOA (game), RING (time)
- soeng/: QI→MAI→XIA→XIE→ZI→PANG→GWAT chain
- tang/: SEI, CHEON, META (player management)
- assets/: H2O, VITUS (game currencies)
Library Contracts
Section titled “Library Contracts”Reusable utilities and helpers.
| Library | Purpose |
|---|---|
| MultiOwnable | Multi-owner access control |
| Registry | Key-value storage |
| Encrypt | User-to-user encryption |
| StringLib | String manipulation |
| Hecke | Geographic coordinate system |
| ReactionsCore | Entropy-based reactions |
| Attribute | User attribute storage |
Include Structures
Section titled “Include Structures”Shared data structures used across contracts.
| Structure | Purpose |
|---|---|
| Fa | SHA state container |
| Bao | Operation context |
| User | User identity |
| Acronym | Game voting entry |
| UserVote | Vote tracking |
License
Section titled “License”All contracts use SPDX-License-Identifier: Sharia
Solidity Version
Section titled “Solidity Version”All contracts target Solidity ^0.8.21
Cross-Reference Legend
Section titled “Cross-Reference Legend”- Inherits: Contract extends another contract
- Uses: Contract calls functions on another contract
- Creates: Contract deploys new instances of another contract
- Owns: Contract holds ownership privileges on another contract