How aboutcircles/circles-contracts-v2 works
Main Components
a) Core Protocol Components:
• Hub Contract (Central coordinator)
• Personal Currency System (ERC1155-based tokens)
• Trust Network Manager
• Demurrage System (7% annual)
• Migration System
b) Supporting Components:
• Name Registry
• Treasury System
• Management
• Lift System (ERC20 compatibility)
• Operators System
[External Applications/Interfaces] ←→ [API Layer]
┌─────────────────────────────────────────┐
• Hub Contract │
• ┤
• Personal Currency │ Trust Network │
• Management │ Management │
• ┘
┌──────────┐ ┌──────────┐ ┌──────────┐
• Groups │ │ Lift │ │ Treasury │
• ┘ └──────────┘ └──────────┘
[Gnosis Chain Blockchain]
Key Relationships to Highlight
• Group Management to Personal Currency system
• ERC20 Lift bridge connections
Special Features to Highlight
• Path-based Transactions
• Retroactive Minting (14-day window)
• Demurrage System (7% annual)
• Currency Management
• Migration Pathways
Technical Details
Annotations for:
• ERC1155 Implementation
• Smart Contract Interactions
• Trust Graph Structure
• Minting Policies
• Demurrage Calculations
Implementation Notes
• The modular nature of the system (shown in src/ directory structure)
• The separation of concerns between different components
• The upgrade paths and proxy patterns
• The interaction between personal and group currencies
• The role of operators and treasury management