setaddresses
0xed400ec9…46a612Source details
| Property | Value |
|---|---|
| Keccak256 Hash | 0xed400ec95124bd44b9eb63d8dd200d163a2e53b6c2973e5a3b96b9c65946a612 |
| Source URL | https://raw.githubusercontent.com/busytoby/atropa_pulsechain/58607494f7741b80525953e4a85bc99e66fd20fc/solidity/dysnomia/domain/dan/02c_systemaddresses.sol |
| Source Revision | 58607494f7741b80525953e4a85bc99e66fd20fc |
| Source Status | Canonical source snapshot; deployed bytecode equivalence is only established where a deployment record says so. |
| Compiler | solc 0.8.21; optimizer enabled with 200 runs |
| Compiler Configuration | {"evmVersion":"compiler-default","optimizer":{"enabled":true,"runs":200},"version":"0.8.21+commit.d9974bed.Linux.g++"} |
| Compilation Closure Hash | 0x3569e1a718230b1ca6d3e758c0db26d90b8f03a2c9678c15241688b2bca96101 |
| Compilation Closure Files | 19 |
| Hash Generated | 2026-09-14T19:33:57Z |
Overview
Section titled “Overview”setaddresses is a deployment contract that registers known system addresses in CHO. It’s a one-time initialization contract that populates the named address registry.
- Kind: Contract
- License: Sharia
- Solidity: ^0.8.21
- Source:
domain/dan/02c_systemaddresses.sol
Inheritance Chain (C3 Linearized)
Section titled “Inheritance Chain (C3 Linearized)”No base contracts; this contract has no parents.
Immediate Parents
Section titled “Immediate Parents”None (root of its hierarchy).
What This Means For Players
Section titled “What This Means For Players”Plain English Summary: This is the system’s phone book - it stores the addresses of important tokens and contracts by name. Instead of remembering long hex addresses, the game can look up “AFFECTION” or “dai” to find the right contract. It’s set up once during deployment and never changes.
Real-World Analogy: Think of this like the contacts app on your phone. Instead of memorizing phone numbers, you just look up “Mom” or “Work”. Similarly, the game looks up “Atropa” or “WITHOUT” instead of raw blockchain addresses.
How It Affects Your Gameplay:
- Address lookup - Game contracts can find important tokens by name
- Consistency - Everyone uses the same addresses for stablecoins, system tokens, etc.
- WITHOUT token - The banned-user token address is registered here
Purpose
Section titled “Purpose”This contract provides a convenient way to register many system addresses in a single deployment transaction. It’s used during system initialization to make important addresses discoverable by name.
Registered Categories
Section titled “Registered Categories”Infrastructure
Section titled “Infrastructure”"dead" → 0x000000000000000000000000000000000000dEaD"source" → 0x7a20189B297343CF26d8548764b04891f37F3414"trebizond" → 0x903030f7e2d6489F38B0f4F96F9b371ec7960F78Stablecoins
Section titled “Stablecoins”"dai" → 0x6B175474E89094C44Da98b954EedeAC495271d0F"usdc" → 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"usdt" → 0xdAC17F958D2ee523a2206206994597C13D831ec7Atropa Tokens
Section titled “Atropa Tokens”"Atropa" → 0xCc78A0acDF847A2C1714D2A925bB4477df5d48a6"EasternLightning" → 0xCD6159D0a1aaE415E0c1504E90A5d741A28afc98"Final" → 0x50E72874dCd7C198d370ac27c7B3cce9f9a0defd"Ka" → 0x83a918056aB9316837Dc48a216119D679D561d91// ... many moreSystem Contracts
Section titled “System Contracts”"libAtropaMath" → 0xB680F0cc810317933F234f67EB6A9E923407f05D"AFFECTION" → 0x24F0154C1dCe548AdF15da2098Fdd8B8A3B8151D"RESTRAININGORDER" → 0xEf2125f5d1f7A3d68038F27e681258d13a73E718"WITHOUT" → 0x173216Ed67eBF3E6767D86e8b3Ff32e0d64437bFConstructor
Section titled “Constructor”constructor
Section titled “constructor”constructorconstructor
constructor(address ChoAddress)- Parameters: address ChoAddress
This contract is deployed once during system initialization:
// During deploymentCHO cho = new CHO(voidAddress);new setaddresses(address(cho));
// Later usageaddress daiAddress = cho.Addresses("dai");address atropaAddress = cho.Addresses("Atropa");Registered Addresses (Partial List)
Section titled “Registered Addresses (Partial List)”| Alias | Address |
|---|---|
| dead | 0x000…dEaD |
| dai | 0x6B17…d0F |
| Atropa | 0xCc78…a6 |
| AFFECTION | 0x24F0…1D |
| WITHOUT | 0x1732…bF |
| mariarahel | 0xD32c…69 |
- All registrations are permanent (cannot be changed)
- Duplicate aliases are rejected
- This contract has no state after deployment
- The contract itself can be discarded after use
Compiled ABI
Section titled “Compiled ABI”The compiled ABI below is produced by solc 0.8.21 from the exact source bytes recorded in Source details. Consumers can paste it directly into ethers/web3/viem.
Click to expand JSON ABI
[ { "inputs": [ { "internalType": "address", "name": "ChoAddress", "type": "address" } ], "stateMutability": "nonpayable", "type": "constructor" }]