31 lines
1.4 KiB
Markdown
31 lines
1.4 KiB
Markdown
---
|
|
id: TASK-111
|
|
title: rMortgage sub-tab in rFlows — trust-based lending tracker
|
|
status: Done
|
|
assignee: []
|
|
created_date: '2026-03-15 19:14'
|
|
labels:
|
|
- rflows
|
|
- mortgage
|
|
- defi
|
|
dependencies: []
|
|
references:
|
|
- modules/rflows/mod.ts
|
|
- modules/rflows/components/folk-flows-app.ts
|
|
- modules/rflows/lib/types.ts
|
|
- modules/rflows/schemas.ts
|
|
priority: medium
|
|
---
|
|
|
|
## Description
|
|
|
|
<!-- SECTION:DESCRIPTION:BEGIN -->
|
|
Added /mortgage sub-tab to rFlows with social trust-based mortgage lending visualization. Includes: pool summary cards (clickable for aggregate view), active mortgages table with trust scores, borrower options panel (5/10/15yr terms constrained to monthly budget, lenders fill in trust-score order), lender detail vessel SVGs (outstanding/repaid/reinvested), earnings comparison bars showing reinvestment advantage, projection calculator, and live Aave V3 rate fetching on Base. Demo seed data with 4 mortgage positions + 2 reinvestment positions.
|
|
<!-- SECTION:DESCRIPTION:END -->
|
|
|
|
## Final Summary
|
|
|
|
<!-- SECTION:FINAL_SUMMARY:BEGIN -->
|
|
Implemented full rMortgage sub-tab: route at /:space/rflows/mortgage, API endpoints (GET/POST positions, GET rates from Aave V3 on Base), FlowsDoc schema v3 with mortgagePositions/reinvestmentPositions, vessel SVG visualizations, borrower options with lender fill bars, aggregate pool stats, earnings comparison showing reinvestment profitability. Deployed to demo.rspace.online.
|
|
<!-- SECTION:FINAL_SUMMARY:END -->
|