DeFi Concepts
Angle Money Merkl Integration
A comprehensive guide to Merkl, its implementation, and usage in our DeFi platform
Angle Money Merkl
Overview
Merkl is a sophisticated reward distribution system developed by Angle Protocol. It’s designed to optimize the process of distributing rewards in DeFi applications, particularly those with complex tokenomics and multiple reward streams.
In our platform, Merkl plays a crucial role in efficiently managing and distributing rewards across various pools and user activities.
Core Functionality
Merkl’s primary functions include:
- Efficient Reward Distribution: Optimizes gas costs by aggregating and batching reward distributions.
- Flexible Reward Structures: Supports multi-token rewards and complex distribution scenarios.
- Cross-chain Compatibility: Enables reward distribution across different blockchain networks.
- On-chain Data Management: Efficiently stores and manages reward-related data.
- Proof Generation: Creates cryptographic proofs for transparent and verifiable reward amounts.
Key Concepts
Epochs
Epochs are fixed time periods in which reward accrual and distribution are calculated.
- Epoch Duration: Typically set to 7 days in our implementation.
- Epoch Flip: The moment when one epoch ends and another begins.
Reward Programs
Defined sets of rules for distributing rewards, including:
- Token types
- Distribution rates
- Qualifying actions or pool participations