How etherfi-protocol/smart-contracts works
Main Components
a) Core Protocol Components:
• Staking Management System
• Node Operation System
• Liquidity Management
• Membership System
• Oracle System
• Governance System
b) Token Components:
• EETH Token Contract
• BNFT (Bidding NFT)
• TNFT (Trading NFT)
• Membership NFT
• Withdrawal Request NFT
c) External Integrations:
• EigenLayer Integration
• Ethereum Beacon Chain
• Curve Pool Integration (for Liquifier)
Key Relationships to Highlight
• Staking flows
• Liquidity provision paths
• Governance decision paths
• Oracle data flows
• Cross-contract interactions
Detailed Components
Core Managers:
• EtherFiNodesManager
• NodeOperatorManager
• StakingManager
• MembershipManager
• ProtocolRevenueManager
• RegulationsManager
• AuctionManager
Token System:
• EETH (liquid staking token)
• weEth (wrapped version)
• NFT system (BNFT, TNFT, MembershipNFT)
Implementation Notes
• Use standardized UML notation where applicable
• Version numbers for upgradeable contracts
• Timelock-controlled functions
• EigenLayer integration points