Method

The math is open.

defipy

EchoLedger analysis is powered by defipy — our open-source DeFi analytics library, maintained on GitHub with 55,000+ downloads across two years. Full coverage of Uniswap V2 and V3, Balancer weighted pools, and Curve-style stableswaps.

The math isn’t proprietary. The library is open, and the analysis built on it is meant to be checked, not trusted: the right position selected, the data pulled cleanly, and the model run correctly the first time.

Every analysis cites the defipy functions used, links to the source, and is reproducible by anyone who wants to verify it.

PnL attribution

Decompose a position's return into fee income, impermanent loss, price exposure, swap costs, and gas. Powered by AnalyzePosition for V2/V3, AnalyzeBalancerPosition for weighted pools, AnalyzeStableswapPosition for Curve.

Risk decomposition

Quantify depeg exposure for stableswap LPs (AssessDepegRisk), IL trajectory under named price scenarios (SimulatePriceMove and variants), and exit slippage at the position's size.

Pool diagnostics

TVL trend, fee/volume ratio, liquidity stability, depth at notional sizes, and rug-signal screens (CheckPoolHealth, DetectRugSignals). Captures the operating health of the host pool, not just the position.

Slippage and price impact

Decompose slippage into pool-state impact and execution cost across V2/V3 (CalculateSlippage). Useful pre-entry, pre-exit, and for sizing rebalances.

Research

Five years of peer-style research underpinning the practice.

Preprints on the math behind on-chain registries, provenance, agentic DeFi substrates, and gas-cost dynamics — published since 2021. The methodology behind EchoLedger’s analytics draws from this work.

What’s next

Building toward agent-augmented analytics with operator sign-off — open methodology, human accountability, faster delivery. More on the direction in the arXiv paper and on Medium.

Contact

Get in touch.

For research collaboration, questions about defipy or the MCP endpoint, or press.