How the Aggregator Works
Step 1: Collect liquidity pool data
Step 2: Build the route graph
Step 3: Find optimal paths
Step 4: Simulate and calculate
Route Graph Visualization
Route Types
1. Direct Route
2. Multi-hop Route
3. Split Route
Route Building Process
Optimization
Convert to smart contract weights
Optimization and Distribution
Slippage example
Last updated