Components
The Router consists of three layers:| Layer | Function |
|---|---|
| Smart Accounts | User-controlled accounts that hold funds and execute transactions |
| Policies | On-chain rules defining permitted vaults, assets, and constraints |
| Execution Engine | Monitors yields, evaluates rebalancing opportunities, executes allocations |
Flow
- User connects wallet and creates a smart account (sub-account linked to their main wallet)
- User configures policies (selects which vaults, which assets their capital will flow into)
- User deposits assets into their smart account
- Router allocates capital to the highest-yielding permitted vault
- Router continuously monitors yields via the Indexer
- When a better opportunity exists, Router rebalances
- User withdraws to their main wallet at any time
What the Router Optimizes
The Router seeks the highest sustainable yield within user-defined constraints. This means:- Evaluating current APY across all permitted vaults
- Accounting for costs and impacts of moving capital
- Filtering out unsustainable or artificially inflated yields
- Respecting liquidity constraints and withdrawal reliability