Impact Severity: High
Module: stellarflow-frontend/src/components/pools/PoolPnLCard.tsx
Description:
Display real-time profit and loss metrics for liquidity providers, factoring in collected trading fees, pool share ratio changes, and impermanent loss.
Technical Requirements:
Impact Severity: High
Module:
stellarflow-frontend/src/components/pools/PoolPnLCard.tsxDescription:
Display real-time profit and loss metrics for liquidity providers, factoring in collected trading fees, pool share ratio changes, and impermanent loss.
Technical Requirements:
Calculate initial deposit value vs. current redeemable value
Separate yield earned via trading fees from raw pool asset valuation shifts
Display color-coded PnL badges (+/-% and USD equivalent) across active pool positions