How morpho-org/bundler3 works
Main Components
a) Core Components:
• Bundler3 Contract (Central Component)
• Adapter System
• Protocol Integrations
• External Protocols (Morpho, Aave, Compound, etc.)
b) Supporting Components:
• Testing Infrastructure
• Verification System (Certora)
• Security Measures
Special Features to Highlight
Create dedicated sections showing:
• Transient Storage Mechanism
• Reentrance Pattern
• Skip Revert Logic
• Callback Hash Verification
Important Details
Annotations showing:
• Call Structure (to, data, value, skipRevert, callbackHash)
• Security Boundaries
• Approval Flows
• Migration Paths
Specific Implementation Notes
• Adapter Inheritance Structure
• Migration Flow Patterns
• Protocol-Specific Interactions
Technical Specifications
Technical notes regarding:
• Smart Contract Interactions
• Gas Optimization Points
• Security Measures
• Verification Points
Version Differentiation
A small section highlighting key differences from Bundler v2:
• Transient Storage Usage
• Separated Approval System
• Adapter Architecture Changes
Remember to emphasize the security aspects, particularly around the authorization flows and callback handling, as these are critical aspects of the system's design.