fix: correct LP fee from 3% to 0.3%

Runtime LPFee = 3 means 3/1000 = 0.3%, not 3%.
Updated AMM calculations in TokenSwap, SwapInterface, and PoolDashboard.
This commit is contained in:
2026-02-04 21:53:35 +03:00
parent 3a94838937
commit 1e2efbac99
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -290,7 +290,7 @@ const PoolDashboard = () => {
// This is a simplified calculation
// Real APR = (24h fees × 365) / TVL
const dailyVolumeEstimate = totalLiquidityUSD * 0.1; // Assume 10% daily turnover
const dailyFees = dailyVolumeEstimate * 0.03; // 3% fee
const dailyFees = dailyVolumeEstimate * 0.003; // 0.3% fee
const annualFees = dailyFees * 365;
const apr = (annualFees / totalLiquidityUSD) * 100;