mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-06-13 04:21:03 +00:00
feat: Add comprehensive liquidity pool management system
- Add AddLiquidityModal with automatic HEZ to wHEZ wrapping and 10% slippage tolerance - Add RemoveLiquidityModal with automatic wHEZ to HEZ unwrapping - Add PoolDashboard component with metrics, APR calculation, and impermanent loss calculator - Add /pool route and integrate Pool button in WalletDashboard - Display real-time pool reserves, TVL, and user positions - Support batched transactions for optimal UX 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -8,6 +8,7 @@ import PasswordReset from '@/pages/PasswordReset';
|
||||
import ProfileSettings from '@/pages/ProfileSettings';
|
||||
import AdminPanel from '@/pages/AdminPanel';
|
||||
import WalletDashboard from './pages/WalletDashboard';
|
||||
import PoolDashboardPage from './pages/PoolDashboard';
|
||||
import { AppProvider } from '@/contexts/AppContext';
|
||||
import { PolkadotProvider } from '@/contexts/PolkadotContext';
|
||||
import { WalletProvider } from '@/contexts/WalletContext';
|
||||
@@ -56,6 +57,11 @@ function App() {
|
||||
<WalletDashboard />
|
||||
</ProtectedRoute>
|
||||
} />
|
||||
<Route path="/pool" element={
|
||||
<ProtectedRoute>
|
||||
<PoolDashboardPage />
|
||||
</ProtectedRoute>
|
||||
} />
|
||||
<Route path="*" element={<NotFound />} />
|
||||
</Routes>
|
||||
</Router>
|
||||
|
||||
Reference in New Issue
Block a user