| id |
title |
status |
assignee |
created_date |
labels |
dependencies |
references |
priority |
| TASK-111 |
rMortgage sub-tab in rFlows — trust-based lending tracker |
Done |
|
2026-03-15 19:14 |
|
|
| modules/rflows/mod.ts |
| modules/rflows/components/folk-flows-app.ts |
| modules/rflows/lib/types.ts |
| modules/rflows/schemas.ts |
|
medium |
Description
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.
Final Summary
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.