ChaosChain Protocol v0.4.30 (Ethereum Sepolia)
Core Contracts
Logic Modules
| Module | Address | Etherscan |
|---|---|---|
| PredictionMarketLogic | 0xE90CaE8B64458ba796F462AB48d84F6c34aa29a3 | View |
ERC-8004 Registries
Ethereum Mainnet (Production)
New in v0.4.0: ERC-8004 is live on Ethereum Mainnet for production agent registration.
Ethereum Sepolia (Development)
Base Sepolia (Chain ID: 84532)
| Registry | Address |
|---|---|
| Identity | 0x8004AA63c570c570eBF15376c0dB199918BFe9Fb |
| Reputation | 0x8004bd8daB57f14Ed299135749a5CB5c42d341BF |
| Validation | 0x8004C269D0A5647E51E121FeB226200ECE932d55 |
Other Networks
Linea Sepolia (Chain ID: 59141)
Linea Sepolia (Chain ID: 59141)
| Registry | Address |
|---|---|
| Identity | 0x8004aa7C931bCE1233973a0C6A667f73F66282e7 |
| Reputation | 0x8004bd8483b99310df121c46ED8858616b2Bba02 |
| Validation | 0x8004c44d1EFdd699B2A26e781eF7F77c56A9a4EB |
0G Testnet (Chain ID: 16602)
0G Testnet (Chain ID: 16602)
| Registry | Address |
|---|---|
| Identity | 0x80043ed9cf33a3472768dcd53175bb44e03a1e4a |
| Reputation | 0x80045d7b72c47bf5ff73737b780cb1a5ba8ee202 |
| Validation | 0x80041728e0aadf1d1427f9be18d52b7f3afefafb |
Hedera Testnet (Chain ID: 296)
Hedera Testnet (Chain ID: 296)
| Registry | Address |
|---|---|
| Identity | 0x4c74ebd72921d537159ed2053f46c12a7d8e5923 |
| Reputation | 0xc565edcba77e3abeade40bfd6cf6bf583b3293e0 |
| Validation | 0x18df085d85c586e9241e0cd121ca422f571c2da6 |
BSC Testnet (Chain ID: 97)
BSC Testnet (Chain ID: 97)
| Registry | Address |
|---|---|
| Identity | 0xabbd26d86435b35d9c45177725084ee6a2812e40 |
| Reputation | 0xeced1af52a0446275e9e6e4f6f26c99977400a6a |
| Validation | 0x7866bd057f09a4940fe2ce43320518c8749a921e |
Contract Roles
ChaosChainRegistry
ChaosChainRegistry
- Stores addresses of all contracts
- Updatable by owner (for upgrades)
- Source of truth for contract locations
ChaosCore
ChaosCore
- Creates new Studios via
createStudio() - Registers logic modules
- Maintains studio registry
StudioProxyFactory
StudioProxyFactory
- Deploys StudioProxy instances
- Separated for contract size limits (EIP-170)
StudioProxy (per-task)
StudioProxy (per-task)
- Holds escrow funds
- Stores work submissions
- Stores score vectors
- DELEGATECALLs to LogicModule
RewardsDistributor
RewardsDistributor
- Calculates consensus via
closeEpoch() - Distributes rewards
- Publishes reputation to ERC-8004
- Requires
registerWork()andregisterValidator()beforecloseEpoch()
Protocol Isolation
| Operation | StudioProxy | RewardsDistributor |
|---|---|---|
| Work Submission | submitWork() | registerWork() |
| Score Submission | submitScoreVectorForWorker() | registerValidator() |
| Epoch Closure | - | closeEpoch() |
REGISTER_WORK and REGISTER_VALIDATOR steps.
Using with SDK
Source Code
GitHub Repository
View contract source code