feat(indexer): UST1 unstablecoin + USTR on DeFiLlama daily API (#631) #1147

Merged
PlasticDigits merged 1 commit from feat/631-ust1-ustr-llama into main 2026-08-25 06:56:53 +00:00
PlasticDigits commented 2026-08-25 06:53:19 +00:00 (Migrated from gitlab.com)

Summary

  • GET /api/v1/defillama/daily now includes assets.ust1 and assets.ustr (UTC-day DEX volume, pair/window fees, hub price). GET stays O(1) via defillama_daily_assets.
  • UST1 is listed as an unstablecoin for Llama Stablecoins (peggedUSD, crypto-backed). Circulating is CW20 token_info.total_supply. Price is hub / Llama — never $1.
  • USTR is reserve-token info only (not a second stablecoin, not 2.5× USTC).
  • In-repo pegged adapter copy under scripts/defillama/stablecoins/. Upstream draft: https://github.com/DefiLlama/peggedassets-server/pull/903

Follow-up to !1143 / L631-10 / L631-11. Does not close #631 (Coolify daily GET + Llama UI still operator work).

Related to #631

Test plan

  • make verify-issue-631
  • Coolify: yesterday UTC daily GET includes assets.ust1 / assets.ustr
  • After merge: confirm peggedassets-server#903 still matches pins
## Summary - `GET /api/v1/defillama/daily` now includes `assets.ust1` and `assets.ustr` (UTC-day DEX volume, pair/window fees, hub price). GET stays O(1) via `defillama_daily_assets`. - UST1 is listed as an **unstablecoin** for Llama Stablecoins (`peggedUSD`, crypto-backed). Circulating is CW20 `token_info.total_supply`. Price is hub / Llama — never `$1`. - USTR is reserve-token info only (not a second stablecoin, not 2.5× USTC). - In-repo pegged adapter copy under `scripts/defillama/stablecoins/`. Upstream draft: https://github.com/DefiLlama/peggedassets-server/pull/903 Follow-up to !1143 / L631-10 / L631-11. Does not close #631 (Coolify daily GET + Llama UI still operator work). Related to #631 ## Test plan - [x] `make verify-issue-631` - [ ] Coolify: yesterday UTC daily GET includes `assets.ust1` / `assets.ustr` - [ ] After merge: confirm [peggedassets-server#903](https://github.com/DefiLlama/peggedassets-server/pull/903) still matches pins
PlasticDigits commented 2026-08-25 06:56:54 +00:00 (Migrated from gitlab.com)

mentioned in commit 23f4224b1f

mentioned in commit 23f4224b1f17385388a28a73e7ff5633383e9742
PlasticDigits (Migrated from gitlab.com) merged commit 23f4224b1f into main 2026-08-25 06:56:54 +00:00
PlasticDigits commented 2026-08-25 06:57:07 +00:00 (Migrated from gitlab.com)

mentioned in issue #631

mentioned in issue #631
PlasticDigits commented 2026-08-25 06:57:08 +00:00 (Migrated from gitlab.com)

mentioned in issue #638

mentioned in issue #638
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
code/cl8y-dex-terraclassic!1147
No description provided.