Complexity: High
Problem: Investors need full asset details and a way to fund in one flow.
Scope: Build a full-page asset detail view with business info, invoice breakdown, risk score visualization, and a funding panel where investors input USDC amount.
Acceptance criteria: Investor can enter USDC amount, see projected yield, confirm funding, sign with wallet, and see success state.
Files to create:
frontend/src/app/(dashboard)/marketplace/[assetId]/page.tsx
frontend/src/components/marketplace/AssetDetailPanel.tsx
frontend/src/components/marketplace/FundingPanel.tsx
frontend/src/components/marketplace/RiskScoreChart.tsx
frontend/src/hooks/useAssetDetail.ts
Complexity: High
Problem: Investors need full asset details and a way to fund in one flow.
Scope: Build a full-page asset detail view with business info, invoice breakdown, risk score visualization, and a funding panel where investors input USDC amount.
Acceptance criteria: Investor can enter USDC amount, see projected yield, confirm funding, sign with wallet, and see success state.
Files to create:
frontend/src/app/(dashboard)/marketplace/[assetId]/page.tsx
frontend/src/components/marketplace/AssetDetailPanel.tsx
frontend/src/components/marketplace/FundingPanel.tsx
frontend/src/components/marketplace/RiskScoreChart.tsx
frontend/src/hooks/useAssetDetail.ts