ops(frontend): post-merge QA and CL8Y holdings follow-up after !13/!14 #18
Labels
No labels
bug
docs
documentation
duplicate
enhancement
frontend
good first issue
help wanted
invalid
missing-implementation
priority
medium
product
QA
question
testing
UX
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
code/ustr-cmm#18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Track leftover work after merging !35 (#16 available-supply CR) and !36 (#4 Trust Wallet). Both MRs met their coded acceptance criteria and unit tests (
80/80on the combined tree). These items were out of scope or not executable during merge (no automerge / did not wait for CI or Coolify deploy).Related notes: #16 comment (CL8Y DEX holdings / indexer), #4 (Trust dApp-browser smoke test).
Tasks
1. Live treasury CR sanity on production
After Coolify has
master@59ae11c(or later) onust1cmm.com:CR = (Σ non-protocol spot USD + Σ LP other-leg NAV) / whole(UST1 available) × 100matches/treasurywhen prices are complete.total_supply − treasury_spot_UST1 − Σ LP UST1 claims; same check for USTR / cLUNC / cUSTC issuance cards.prices not loaded, cannot display key ratios.2. Trust Wallet in-app browser smoke test
On a real Trust Wallet Terra Classic dApp session (not unit tests):
window.trustwallet.cosmosonly (nowindow.keplr) still enables both rows and connect works.docs/WALLETS.md.3. Treasury holdings from CL8Y DEX / indexer
#16note: treasury is receiving tokens from CL8Y DEX, so it should load the token list and possibly use CL8Y indexer data to speed page loads and reduce LCD/RPC calls. Protocol tokens (cUSTC, cLUNC, USTR, UST1) stay out of CR numerator and denominator.pairsor invent wallets).type: "lp"pins only.4. Optional test gaps (non-blocking)
RatiosCardprice gate and Connect modal Trust/Keplr row states.Out of scope
/treasury).Acceptance criteria
/treasuryCR matches an independent calculator with complete prices.Owner type
frontend / ops
marked as related to #16
marked as related to #4
mentioned in issue #16
mentioned in issue #4
Opened after merging !35 and !36. Source: #16 / #4 leftover notes plus merge-pass gaps (no production deploy wait, no device QA).
Local Playwright sanity on
master@59ae11c(http://127.0.0.1:5176, 5 workers). Did not wait for Coolify/CI.UST1/cUSTC,UST1/USTR,UST1/SpaceUSD). All four issuance cards show+ Outstanding/− CMM-owned liquidity/Available Supply.Mobile wallet help→docs/WALLETS.md./,/treasury,/dashboard— hrefhttps://gitlab.com/PlasticDigits2/ustr-cmm/-/blob/master/docs/WALLETS.md(HTTP 200)./,/swap,/dashboard,/referralall render with header/footer/Connect.Non-blocking: Terraswap LCD 500 / CORS on
api-lunc-lcd.binodes.comin console; Key Ratios still rendered. Independent live CR calculator + real Trust in-app smoke test still open on this issue.mentioned in commit
7d50757ffeVerification (
master@7d50757)Worked in git worktree
18-ops-frontend-qa, then fast-forwardedmaster/origin/master.What I did
https://ust1cmm.com/treasury(Coolify already on59ae11c+).frontend/src/utils/cl8yHoldings.ts),scripts/discover-cl8y-holdings.mjs,scripts/verify-treasury-cr.mjs.window.trustwallet.cosmoswithoutwindow.keplr) / footer Wallets.GET /api/v1/traders/{treasury}/positionswas[]while LCD showed three LP balances — do not use it as a hold signal.Live numbers (2026-08-25, production)
crUsdFormula matches:
CR = (non-protocol spot USD + LP other NAV) / whole(UST1 available) × 100. CR % moves with CEX prints; chain inventory + USTC-per-UST1 do not.Held + already pinned: UST1/USTR, UST1/cUSTC, UST1/SpaceUSD.
Catalog only (LCD LP balance 0 — do not pin): cLUNC/UST1, CL8Y-cb/cLUNC, cLUNC/cUSTC.
Ops note: treasury
Cw20Whitelistis still empty, soAllBalancesis native-only. UI queries tokenlist pins. Still need governanceAddCw20for each LP CW20 if AllBalances should match the page.Trust Wallet
window.trustwallet.cosmosonly (nowindow.keplr) enables both rowsdocs/WALLETS.mdAcceptance criteria
/treasuryCR matches an independent calculator with complete prices (inventory exact; CR % within CEX timing).prices not loaded…string for inventory failure (optional nit, left as-is per skill).Checklist to verify this landing
cd frontend && npm test→ 88/88cd frontend && npm run test:e2e(5 workers; Vite on:5176)node frontend/scripts/verify-treasury-cr.mjsvsust1cmm.com/treasuryafter Coolify has7d50757node frontend/scripts/discover-cl8y-holdings.mjs→heldUnpinnedemptyLeaving open until someone records the on-device Trust connect+sign (pass/fail + inject shape:
window.keplrvswindow.trustwallet.cosmosonly).marked as related to #20
mentioned in merge request !40
mentioned in merge request !38
mentioned in issue #20
!39 (#20 CL8Y-cb/cUSTC pin) and !40 (#21 iPad layout) are now on
master@476d992.#18 task 3 (CL8Y holdings pin): implemented in !39.
discover-cl8y-holdings.mjsreportsheldUnpinnedempty; catalog-only pairs stay unpinned.Still open on this issue:
476d992(liveust1cmm.comis still tokenlist 1.3.2 / no CL8Y LP row).Do not close #18 on the pin alone. Coolify + Trust smoke remain.
mentioned in issue #22
marked as related to #22