Skip to content

feat: Smart Yield Router — automated capital allocation engine (#230)#233

Closed
GBOYEE wants to merge 1 commit into
Neko-Protocol:devfrom
GBOYEE:feat/smart-yield-router-230
Closed

feat: Smart Yield Router — automated capital allocation engine (#230)#233
GBOYEE wants to merge 1 commit into
Neko-Protocol:devfrom
GBOYEE:feat/smart-yield-router-230

Conversation

@GBOYEE

@GBOYEE GBOYEE commented Jun 21, 2026

Copy link
Copy Markdown

Summary

Implements a rules-driven Smart Yield Router that automatically moves capital across vaults, pools, and lending positions based on user-defined strategies.

Changes

  • features/automation/types/index.ts — YieldStrategy, RouterPosition, RouterStats, YieldOpportunity types
  • features/automation/hooks/useYieldRouter.ts — Core engine: create strategies, add allocations, evaluate rebalancing, simulate APY improvement
  • features/automation/components/YieldRouter.tsx — UI: stats overview, strategy creation, risk profiles, rebalance recommendations
  • features/automation/index.ts — Barrel exports

Key Features

  • Risk profiles: conservative, balanced, aggressive
  • Auto-rebalancing when allocation deviates beyond threshold
  • Simulate rebalancing with APY improvement and gas estimates
  • Real-time stats: TVL, avg APY, active strategies, positions count

Closes #230

## Smart Yield Router (features/automation)
- YieldStrategy types with risk profiles, allocation targets, and router events
- useYieldRouter hook: create strategies, add allocations, evaluate rebalancing
- Simulate rebalancing with APY improvement and gas estimates
- YieldRouter component: stats overview, strategy creation, recommendations

## Analytics Dashboard (features/analytics)
- PositionSnapshot, PortfolioSummary, YieldBreakdown, RiskExposure types
- usePortfolioAnalytics hook: filter positions, compute yield breakdown, risk scoring
- AnalyticsDashboard component: filters, summary cards, best/worst performers
- Yield by protocol breakdown, risk exposure analysis, performance trend chart

Closes Neko-Protocol#230
Closes Neko-Protocol#229
@vercel

vercel Bot commented Jun 21, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the Oppia Software Labs Team on Vercel.

A member of the Team first needs to authorize it.

@GBOYEE GBOYEE closed this Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Smart Yield Router, automated capital allocation engine (features/automation)

1 participant