fix(indexer): /protocol fee USD for CL8Y and listed economic tokens (#683) #1186

Merged
PlasticDigits merged 2 commits from feat/683-economic-fee-usd into main 2026-08-27 04:53:21 +00:00
PlasticDigits commented 2026-08-27 01:40:35 +00:00 (Migrated from gitlab.com)

Summary

  • Stamp treasury fee_usd for pinned CL8Y and other factory-listed economic CW20s from a DEX reserve mark (economic_token_marks), not CoinGecko / CEX / $1.
  • NULL-only as-of backfill after hub refresh; GET /hub-prices stays four cells; volume/TVL stay P522-Q.
  • Docs, EFee-1–EFee-8 skill, and make verify-issue-683 (keeps 586 / 613 / 614 / 556 / 569 / 631).

Closes #683

Test plan

  • make verify-issue-683 (11 passed, including related 586 / 613 / 614 / 556 / 569 / 631)
  • Coolify: set HUB_CL8Y_ADDRESS on LocalTerra to deployed TCL8Y; columbus-5 default is the official CW20
  • After indexer restart, prior NULL CL8Y fee rows fill once; non-null stamps stay put
  • /protocol token mix shows CL8Y-cb human + $ when a qualifying CL8Y↔hub pair exists
  • Optional LocalTerra: seed TCL8Y/UST1 above the TVL floor, swap so commission is TCL8Y, confirm 24h tile includes it
## Summary - Stamp treasury `fee_usd` for pinned CL8Y and other factory-listed economic CW20s from a DEX reserve mark (`economic_token_marks`), not CoinGecko / CEX / `$1`. - NULL-only as-of backfill after hub refresh; GET `/hub-prices` stays four cells; volume/TVL stay P522-Q. - Docs, EFee-1–EFee-8 skill, and `make verify-issue-683` (keeps 586 / 613 / 614 / 556 / 569 / 631). Closes #683 ## Test plan - [x] `make verify-issue-683` (11 passed, including related 586 / 613 / 614 / 556 / 569 / 631) - [ ] Coolify: set `HUB_CL8Y_ADDRESS` on LocalTerra to deployed TCL8Y; columbus-5 default is the official CW20 - [ ] After indexer restart, prior NULL CL8Y fee rows fill once; non-null stamps stay put - [ ] `/protocol` token mix shows CL8Y-cb human + `$` when a qualifying CL8Y↔hub pair exists - [ ] Optional LocalTerra: seed TCL8Y/UST1 above the TVL floor, swap so commission is TCL8Y, confirm 24h tile includes it
PlasticDigits commented 2026-08-27 04:53:20 +00:00 (Migrated from gitlab.com)

added 16 commits

  • 911795da...1fbee5b4 - 15 commits from branch main
  • ae12900c - Merge origin/main into feat/683-economic-fee-usd.

Compare with previous version

added 16 commits <ul><li>911795da...1fbee5b4 - 15 commits from branch <code>main</code></li><li>ae12900c - Merge origin/main into feat/683-economic-fee-usd.</li></ul> [Compare with previous version](/PlasticDigits/cl8y-dex-terraclassic/-/merge_requests/468/diffs?diff_id=1986967132&start_sha=911795dade251fe2f61ee1c6010f69cd7504432d)
PlasticDigits commented 2026-08-27 04:53:22 +00:00 (Migrated from gitlab.com)

mentioned in commit 82ae5b9bf6

mentioned in commit 82ae5b9bf6d0cdac0e0dd7a1c24122c207b02eae
PlasticDigits (Migrated from gitlab.com) merged commit 82ae5b9bf6 into main 2026-08-27 04:53:22 +00:00
PlasticDigits commented 2026-08-27 05:29:53 +00:00 (Migrated from gitlab.com)

mentioned in issue #686

mentioned in issue #686
PlasticDigits commented 2026-08-27 05:30:29 +00:00 (Migrated from gitlab.com)

mentioned in issue #683

mentioned in issue #683
PlasticDigits commented 2026-08-27 05:30:34 +00:00 (Migrated from gitlab.com)

mentioned in issue #682

mentioned in issue #682
PlasticDigits commented 2026-08-27 07:21:02 +00:00 (Migrated from gitlab.com)

mentioned in commit 3ff8d00b2d

mentioned in commit 3ff8d00b2dd4390e5b6784b8a325f3364f646f17
PlasticDigits commented 2026-08-29 04:53:39 +00:00 (Migrated from gitlab.com)

mentioned in issue #678

mentioned in issue #678
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!1186
No description provided.