Logswap research

Notes that compute what the Logswap design derives: simulations, curves and worked figures for the log invariant. Each note is a marimo notebook compiled to WebAssembly — the Python runs in your browser, so the sliders are live and nothing is served from a backend.

Notes

fees · LVR Arbitrage volume in a dead-band pool What guarantees volume in a pool nobody routes to, how much, and what it pays. Arbitrage against an unlimited-depth reference keeps the pool inside a fee-wide band; volume, fees and loss-versus-rebalancing follow from one identity, as a function of the fee, the volatility and the block time. note 1 · September 2026