Contracts
CHAOS Contract Surface
The Solidity implementation lives in `contracts/Chaos.sol` and `contracts/MintDelegate.sol`, with a local compile script under `scripts/`.
Chaos.sol
- Supply
- 420,000,000,000 hard cap
- Public Mint
- 21,000 slots, 10,000,000 CHAOS each
- Receiver
- Always msg.sender
- Relayer Check
- tx.origin must match RELAYER
- Delegation Check
- EOA code must be 0xef0100 + MintDelegate
MintDelegate.sol
- Allowed
- mintViaGrok(bytes32 promptHash)
- Storage
- Immutable CHAOS address only
- Blocked
- No execute, withdraw, owner, fallback, or arbitrary calldata
npm run compile:contracts