Template Comparison 📋
Feature | Template-TWB | Template-TXN |
---|---|---|
Use Case | Time-weighted balance tracking | Simple transaction logging |
Data Storage | Complex state with balance snapshots | Simple transaction records |
Time Windows | ✅ Configurable intervals | ❌ No time-based processing |
Balance Tracking | ✅ Continuous user balances | ❌ Event-based only |
Yield Calculations | ✅ Supports yield/reward tracking | ❌ Not applicable |
Complexity | Higher (state management) | Lower (stateless processing) |
Memory Usage | Higher (active balances) | Lower (no persistent state) |
Recovery | ✅ Full state recovery | ✅ Position-based recovery |