Commit Graph

877 Commits

Author SHA1 Message Date
pezkuwichain 55aeb909c6 feat: add LP staking UI for reward pools 2026-02-06 14:54:41 +03:00
pezkuwichain c0e3df9801 feat: add LP staking UI for reward pools 2026-02-06 14:54:41 +03:00
pezkuwichain d5b4e3b711 Revert "feat: add LP staking modal and reward pools creation script"
This reverts commit 1d77be9a27.
2026-02-06 14:47:08 +03:00
pezkuwichain b05e93cdf6 Revert "feat: add LP staking modal and reward pools creation script"
This reverts commit d81342e94d.
2026-02-06 14:47:08 +03:00
pezkuwichain 1d77be9a27 feat: add LP staking modal and reward pools creation script 2026-02-06 14:46:11 +03:00
pezkuwichain d81342e94d feat: add LP staking modal and reward pools creation script 2026-02-06 14:46:11 +03:00
pezkuwichain 05f50d622e fix: check both assets and poolAssets pallets for LP tokens, use getReserves API 2026-02-06 14:34:08 +03:00
pezkuwichain 85a29723f3 fix: check both assets and poolAssets pallets for LP tokens, use getReserves API 2026-02-06 14:34:08 +03:00
pezkuwichain 50933209da fix: remove unused variable lint errors 2026-02-06 14:22:54 +03:00
pezkuwichain 957df59a58 fix: remove unused variable lint errors 2026-02-06 14:22:54 +03:00
pezkuwichain 6a70414e4c fix: use pool reserves ratio for liquidity calculation instead of swap quotes 2026-02-06 14:17:23 +03:00
pezkuwichain 0a2e38cb27 fix: use pool reserves ratio for liquidity calculation instead of swap quotes 2026-02-06 14:17:23 +03:00
pezkuwichain 1656a4bec3 fix: calculate minimum deposits based on pool ratio for Add Liquidity 2026-02-06 13:39:39 +03:00
pezkuwichain dcb5a2c313 fix: calculate minimum deposits based on pool ratio for Add Liquidity 2026-02-06 13:39:39 +03:00
pezkuwichain 4373d37adb fix: fetch DOT/ETH/BTC balances from Asset Hub for Add Liquidity modal 2026-02-06 13:19:32 +03:00
pezkuwichain 7641c24fdd fix: fetch DOT/ETH/BTC balances from Asset Hub for Add Liquidity modal 2026-02-06 13:19:32 +03:00
pezkuwichain 22a6aaedd3 fix: verify asset exists on blockchain before displaying in Other Assets 2026-02-06 11:50:27 +03:00
pezkuwichain 0d520592a4 fix: verify asset exists on blockchain before displaying in Other Assets 2026-02-06 11:50:27 +03:00
pezkuwichain 9c8464efa3 fix: exclude old USDT (asset #3) from Other Assets 2026-02-06 11:45:46 +03:00
pezkuwichain a8c75e9911 fix: exclude old USDT (asset #3) from Other Assets 2026-02-06 11:45:46 +03:00
pezkuwichain e36f0cb664 fix: exclude core tokens from Other Assets using hardcoded IDs 2026-02-06 11:38:13 +03:00
pezkuwichain 6340830ba8 fix: exclude core tokens from Other Assets using hardcoded IDs 2026-02-06 11:38:13 +03:00
pezkuwichain 042d298426 fix: use Asset Hub API for custom tokens instead of relay chain 2026-02-06 11:32:45 +03:00
pezkuwichain 1aed7dedf8 fix: use Asset Hub API for custom tokens instead of relay chain 2026-02-06 11:32:45 +03:00
pezkuwichain 6ad5e151ea feat: reorganize wallet dashboard and add blockchain token lookup
- Move Recent Activity and NFTs to left column
- Move token balances to right column under action buttons
- Add Token modal now fetches asset info from blockchain
- Shows symbol, name, decimals before adding
- Search by asset ID with Enter key support
2026-02-06 11:26:25 +03:00
pezkuwichain 755c618fc8 feat: reorganize wallet dashboard and add blockchain token lookup
- Move Recent Activity and NFTs to left column
- Move token balances to right column under action buttons
- Add Token modal now fetches asset info from blockchain
- Shows symbol, name, decimals before adding
- Search by asset ID with Enter key support
2026-02-06 11:26:25 +03:00
pezkuwichain 51976e0e2d fix: add DOT, ETH, BTC support in liquidity modals 2026-02-06 11:13:24 +03:00
pezkuwichain 7d1a330d4c fix: add DOT, ETH, BTC support in liquidity modals 2026-02-06 11:13:24 +03:00
pezkuwichain 5749f9a379 feat: add HEZ/DOT pool support and fix user-facing token names
- Add HEZ/DOT pool to PoolDashboard
- Display DOT, ETH, BTC instead of wDOT, wETH, wBTC to users
- Update priceOracle with correct symbol mappings
- Fix lint errors in check_all_pools.mjs
- Extract MINTABLE_ASSETS to separate file for fast refresh
2026-02-06 11:06:28 +03:00
pezkuwichain 842dc9d8c2 feat: add HEZ/DOT pool support and fix user-facing token names
- Add HEZ/DOT pool to PoolDashboard
- Display DOT, ETH, BTC instead of wDOT, wETH, wBTC to users
- Update priceOracle with correct symbol mappings
- Fix lint errors in check_all_pools.mjs
- Extract MINTABLE_ASSETS to separate file for fast refresh
2026-02-06 11:06:28 +03:00
pezkuwichain 269e963a4d feat: implement hybrid oracle AMM with CoinGecko prices
- Add priceOracle service for fetching CoinGecko prices
- Update SwapInterface to use oracle prices instead of pool reserves
- All swaps route through USDT as base currency
- Multi-hop routing for non-USDT pairs (X → USDT → Y)
- Display real-time USD prices from CoinGecko
- Auto-refresh prices every 30 seconds
2026-02-06 10:41:52 +03:00
pezkuwichain 884d68714b feat: implement hybrid oracle AMM with CoinGecko prices
- Add priceOracle service for fetching CoinGecko prices
- Update SwapInterface to use oracle prices instead of pool reserves
- All swaps route through USDT as base currency
- Multi-hop routing for non-USDT pairs (X → USDT → Y)
- Display real-time USD prices from CoinGecko
- Auto-refresh prices every 30 seconds
2026-02-06 10:41:52 +03:00
pezkuwichain 742c3353d2 fix: remove unused events parameter in MintAssetModal 2026-02-06 10:18:08 +03:00
pezkuwichain c08a3887be fix: remove unused events parameter in MintAssetModal 2026-02-06 10:18:08 +03:00
pezkuwichain 2756450222 feat: add wDOT, wETH, wBTC mint functionality to DEX admin panel 2026-02-06 10:10:52 +03:00
pezkuwichain 800b956c91 feat: add wDOT, wETH, wBTC mint functionality to DEX admin panel 2026-02-06 10:10:52 +03:00
pezkuwichain 001939aae0 fix: safely extract era number in Explorer to avoid toNumber error 2026-02-06 06:31:56 +03:00
pezkuwichain 22bcc5ba64 fix: safely extract era number in Explorer to avoid toNumber error 2026-02-06 06:31:56 +03:00
pezkuwichain 2895050032 fix: update RPC endpoints to correct production URLs
- Relay Chain: wss://rpc.pezkuwichain.io
- Asset Hub: wss://asset-hub-rpc.pezkuwichain.io
- People Chain: wss://people-rpc.pezkuwichain.io
- Add Zagros testnet configuration
- Remove legacy staging/dev endpoints
- Fix port suffix in Edge Functions
2026-02-06 06:27:37 +03:00
pezkuwichain 04e7eedd53 fix: update RPC endpoints to correct production URLs
- Relay Chain: wss://rpc.pezkuwichain.io
- Asset Hub: wss://asset-hub-rpc.pezkuwichain.io
- People Chain: wss://people-rpc.pezkuwichain.io
- Add Zagros testnet configuration
- Remove legacy staging/dev endpoints
- Fix port suffix in Edge Functions
2026-02-06 06:27:37 +03:00
pezkuwichain ef41b996e9 fix: add null checks for welati pallet in all governance functions 2026-02-06 06:17:26 +03:00
pezkuwichain 3445eea8dd fix: add null checks for welati pallet in all governance functions 2026-02-06 06:17:26 +03:00
pezkuwichain 389ba7d430 fix: patch @isaacs/brace-expansion DoS vulnerability (CVE-2026) 2026-02-06 06:03:37 +03:00
pezkuwichain f03164d6ab fix: patch @isaacs/brace-expansion DoS vulnerability (CVE-2026) 2026-02-06 06:03:37 +03:00
pezkuwichain 00ab3793fe fix: fetch collators from parachains and restrict CORS to production domains
- NetworkStats now queries Asset Hub and People Chain for collator data
  instead of relay chain (where collatorSelection doesn't exist)
- Restrict Edge Functions CORS to app.pezkuwichain.io domains only
- Add Access-Control-Allow-Credentials header for secure cross-origin requests
2026-02-06 06:00:01 +03:00
pezkuwichain f4f50e7abf fix: fetch collators from parachains and restrict CORS to production domains
- NetworkStats now queries Asset Hub and People Chain for collator data
  instead of relay chain (where collatorSelection doesn't exist)
- Restrict Edge Functions CORS to app.pezkuwichain.io domains only
- Add Access-Control-Allow-Credentials header for secure cross-origin requests
2026-02-06 06:00:01 +03:00
pezkuwichain 330384fd3d chore: suppress console output in production
- Silence console.log/debug/info in production mode
- Keep filtered console.warn for important warnings
- Keep console.error for critical issues
2026-02-05 06:09:26 +03:00
pezkuwichain bb61e50794 chore: suppress console output in production
- Silence console.log/debug/info in production mode
- Keep filtered console.warn for important warnings
- Keep console.error for critical issues
2026-02-05 06:09:26 +03:00
pezkuwichain f09950c22d fix: add decimal correction factor to PoolDashboard reserves
Same fix as TokenSwap - HEZ-USDT pool needs 1000x factor
due to mixed decimals (12 vs 6)
2026-02-05 02:26:25 +03:00
pezkuwichain 5da1fbd2c6 fix: add decimal correction factor to PoolDashboard reserves
Same fix as TokenSwap - HEZ-USDT pool needs 1000x factor
due to mixed decimals (12 vs 6)
2026-02-05 02:26:25 +03:00