How yieldnest/yieldnest-kernel-lrt works
Main Components
a) Smart Contract Architecture Layer:
• Kernel Integration Components
• Yieldnest Vault System
• LRT Token Contracts
• External Protocol Interfaces (Solv, Synclub)
b) Module System:
• Core Modules (from /src/module)
• Utility Components (from /src/utils)
c) Network Layer:
• BNB Chain (BSC) Support (indicated by -56.json deployments)
• BSC Testnet Support (indicated by -97.json deployments)
┌─────────────────────────────────────────────┐
• Yieldnest Kernel LRT │
• ┘
• ┌───────────┴───────────┐
• ▼ ▼
┌───────────────┐ ┌───────────────┐
• Kernel Protocol│ │ Yieldnest Vault│
• ┘ └───────────────┘
• ┬──────────┘
• ▼
• ┌─────────────────┐
• Module System │
• ┘
• ┌───────────┴───────────┐
• ▼ ▼
┌─────────┐ ┌─────────┐
• External │ │ Utils │
• Interfaces│ │ │
• ┘ └─────────┘
Detailed Component Breakdown
a) Smart Contract Interactions:
• Relationship between different token implementations (ynBTC, ynWBNB, ynClisBNB)
• Deployment configurations
• Interaction flows with external protocols
b) Module System:
• Detail the relationship between different modules
• How modules interact with the core vault system
• Utility functions and their scope
Important Elements to Highlight
• Token Flow Mechanics
• Staking/Unstaking Paths
• Yield Distribution Mechanisms
• Security Boundaries
• External Protocol Integration Points
Implementation Notes
• Clear hierarchical structure
• Proper component isolation
• Detailed interaction flows
• Network-specific considerations
• Testing and deployment paths