Impermanent loss is invisible
メンテナーはふだん 1 日以内に返信
@abdulrahmanj383-creator がすでに取り組んでいます。
2026年10月16日 から。
評価
この issue はまだ評価されていません。
説明
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
- 主要言語
- TypeScript
- スター
- 4
- フォーク
- 71
- 平均マージ
- 2日 8時間
- マージ済み PR(30日)
- 93
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Divinity-Labs/Lens のほかの issue
-
Webhook retries have no jitter, so failures synchronise対応中かも @Richard-tobi が 6 日前に担当しました。 オープンarea:reliability difficulty:easy help wanted points:100 Stellar Wave
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
Divinity-Labs/Lens#341 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Admin routes are public and that is load-bearing対応中かも @sparkysolutions10-pixel が 3 日前に担当しました。 オープンarea:security difficulty:easy help wanted points:100
難易度 4/5 3〜5日 初心者へのやさしさ 58/100
Divinity-Labs/Lens#514 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
The key is accepted only as a bearer token, and nothing says so対応中かも @krsnak が 4 日前に担当しました。 オープンarea:docs difficulty:easy help wanted points:100 Stellar Wave
Divinity-Labs/Lens#512 · コメント 4 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
The admin surface has no tests対応中かも @krsnak が 4 日前に担当しました。 オープンarea:testing difficulty:intermediate help wanted points:150 Stellar Wave
Divinity-Labs/Lens#510 · コメント 5 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
An unset ADMIN_TOKEN disables the admin surface silently対応中かも @dev-RAM11 が 3 日前に担当しました。 オープンarea:config difficulty:easy help wanted points:100 Stellar Wave
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
Divinity-Labs/Lens#508 · コメント 6 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
Divinity-Labs/Lens の issue をすべて見る
似ている issue
-
createAI: the ai peer range allows ai@6, which the provider cannot work with対応中かも @akhil9tiet が今日担当しました。 オープンbug
難易度 1/5 1時間未満 初心者へのやさしさ 83/100
cloudflare/agents#2690 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
[fullsend] E2E: theme — global-header ignores app.branding.fullLogo (RHDHBUGS-3670)対応中かも @fullsend-ai-coder が今日担当しました。 オープンe2e-failure ready-to-code
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
redhat-developer/rhdh-plugin-export-overlays#4503 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
needs triage 📥
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
ethereum/ethereum-org-website#19601 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
cloudscape-design/components#5184 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
agilepathway/label-checker#805 ·
メンテナーはふだん 1 日以内に返信