-
-
- {step.status === 'completed' ? (
-
- ) : step.status === 'loading' ? (
-
- ) : (
- {step.id}
- )}
-
- {index < swapSteps.length - 1 && (
-
- )}
-
-
-
{step.title}
-
- {step.status === 'completed' ? 'Transaction confirmed' :
- step.status === 'loading' ? 'Waiting for confirmation...' :
- 'Waiting to start'}
-
+
+
+
+ Details
+ Route
+
+
+
+
Exchange Rate
+
+
1 {inputToken.name} = {(parseFloat(outputToken.price.slice(1)) / parseFloat(inputToken.price.slice(1))).toFixed(4)} {outputToken.name}
+
+
+
+
+
+
+
+
Current market rate including:
+
+ - • Network fees
+ - • Price impact
+ - • DEX fees
+
+
+
+
+
- ))}
-
-
- {swapSteps.every(step => step.status === 'completed') ? (
-
- ) : (
-
- )}
-
-
-
+
+ Price Impact
+ -0.03%
+
+
+ Minimum Received
+
+ {(parseFloat(outputAmount) * 0.995).toFixed(4)} {outputToken.name}
+
+
+
+
+
+ Best route: {inputToken.name} → USDC → {outputToken.name}
+
+
+ Estimated Time
+ ~2 minutes
+
+
+
+
+
+
+