Describe the feature
Description:
Implement the main dashboard with overview stats, borrower/lender cards, and recent offers table.
Acceptance Criteria:
Notes:
- Stats calculation: diff vs previous block height or 24h baseline
- Refresh data every 30s or on manual refresh button
- All amounts formatted with 2–8 decimal places per asset
Describe the feature
Description:
Implement the main dashboard with overview stats, borrower/lender cards, and recent offers table.
Acceptance Criteria:
useOffers()— recent offersuseOffersByScript()— filter lender's active supplyuseOffersByBorrowerPubkey()— filter borrower's pending offersuseBlockHeight()— calculate term leftuseAddressUtxos()— borrower/lender balancesNotes: