Impermanent loss is invisible
Los mantenedores suelen responder en 1 día
@abdulrahmanj383-creator ya está trabajando en esto.
Desde el 16/10/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Background
Fee APR alone is a half-truth that has cost liquidity providers real money across every chain. A pool paying 40% while its pair diverges 30% is a loss presented as a yield, and Lens holds the price history needed to say so.
What to build
- Divergence loss per pool over a window, computed from the price history already stored.
- Reported beside the fee APR from L141, never separately — the two numbers are only meaningful together.
- A net figure, clearly labelled as an estimate with its assumptions stated.
Acceptance criteria
- Divergence loss per pool over a window, from stored history
- Always returned alongside fee APR, never alone
- Assumptions stated in the response and the docs
- A test against a hand-computed two-point example
Drips Wave · Complexity: Advanced · 200 points
Repo: Divinity-Labs/Lens. Node + Fastify + Prisma + Postgres. Tests are vitest (npm test), not jest — jest against this repo fails every file and tells you nothing.
?network= is not optional on a new route. Every row carries a network and the indexes lead with it. Read req.network ?? activeNetwork, filter on it, echo it in the response, and declare the parameter in openapi.yaml. tests/openapi.test.ts boots the server and fails if a registered route is missing from the spec.
A number without provenance is not an answer. Every figure this batch adds must carry what it was computed from: which venues, how many samples, how fresh. The point of Lens is that its numbers can be checked.
Never elide a contract id or an issuer. Take addresses from the protocol's own documentation and write them whole. A sibling repo's issue wrote CD2W5LUR…XZ4L and five contributors invented plausible contract ids to fill the gap.
Say when you cannot answer. An asset with no liquidity, a pair with one venue, a window with a gap — each has an honest answer that is not zero and not a 500. Zero is a number people act on.
Required: Before submitting, join the contributor Telegram so your work can be tracked and counted toward the Stellar Wave: https://t.me/+fxHXq8f1SwlkZDBk
- Lenguaje dominante
- TypeScript
- Estrellas
- 4
- Forks
- 71
- Merge medio
- 2 d 8 h
- PR fusionados (30 d)
- 93
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Divinity-Labs/Lens
-
Webhook retries have no jitter, so failures synchronisePosiblemente ocupada @Richard-tobi la tomó hace 6 días. Abiertoarea:reliability difficulty:easy help wanted points:100 Stellar Wave
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
Divinity-Labs/Lens#341 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Admin routes are public and that is load-bearingPosiblemente ocupada @sparkysolutions10-pixel la tomó hace 3 días. Abiertoarea:security difficulty:easy help wanted points:100
Dificultad 4/5 3-5 días Aptitud para principiantes 58/100
Divinity-Labs/Lens#514 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
The key is accepted only as a bearer token, and nothing says soPosiblemente ocupada @krsnak la tomó hace 5 días. Abiertoarea:docs difficulty:easy help wanted points:100 Stellar Wave
Divinity-Labs/Lens#512 · 4 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
The admin surface has no testsPosiblemente ocupada @krsnak la tomó hace 5 días. Abiertoarea:testing difficulty:intermediate help wanted points:150 Stellar Wave
Divinity-Labs/Lens#510 · 5 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
An unset ADMIN_TOKEN disables the admin surface silentlyPosiblemente ocupada @dev-RAM11 la tomó hace 3 días. Abiertoarea:config difficulty:easy help wanted points:100 Stellar Wave
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
Divinity-Labs/Lens#508 · 6 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de Divinity-Labs/Lens
Issues similares
-
area:agent-view area:tui bug platform:macos
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
anthropics/claude-code#104558 ·
Los mantenedores suelen responder en 1 día
-
[CURRICULUM] computation fakdAbiertoupdater
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
UniversityOfHelsinkiCS/oodikone#5141 ·
-
maintanance
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
inmanta/web-console#7606 ·
Los mantenedores suelen responder en 1 día
-
bug skills
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
equinor/fusion-framework#5846 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 74/100