rspace-online/backlog/tasks/task-112 - Auto-yield-for-i...

33 lines
1.2 KiB
Markdown

---
id: TASK-112
title: Auto-yield for idle treasury — Aave V3 + Morpho Blue integration
status: Done
assignee: []
created_date: '2026-03-15 19:14'
labels:
- rwallet
- defi
- yield
dependencies: []
references:
- modules/rwallet/mod.ts
- modules/rwallet/lib/yield-rates.ts
- modules/rwallet/lib/yield-strategy.ts
- modules/rwallet/lib/yield-positions.ts
- modules/rwallet/lib/yield-protocols.ts
- modules/rwallet/lib/yield-tx-builder.ts
priority: medium
---
## Description
<!-- SECTION:DESCRIPTION:BEGIN -->
Added yield management to rWallet: live Aave V3 and Morpho Blue supply rates for USDC/USDT on Base/Ethereum, auto-yield strategy engine (threshold-based allocation), yield position tracking, transaction builder for deposit/withdraw, and /yield sub-page in rWallet showing rates, positions, and projected earnings.
<!-- SECTION:DESCRIPTION:END -->
## Final Summary
<!-- SECTION:FINAL_SUMMARY:BEGIN -->
Created 5 yield library files + routes + UI. Live rates from Aave V3 Pool contract on Base (getReserveData RPC). Morpho Blue rates via public API. Auto-yield strategy allocates idle treasury above threshold. Yield page at /:space/rwallet/yield with rate cards, position table, and projection calculator.
<!-- SECTION:FINAL_SUMMARY:END -->