incident(dex): bridge USDT and seed CMM USDT/cLUNC pair #1221
Labels
No labels
agent:fix_bugfix
agent:fix_conflicts
agent:fix_security
agent:gap_analysis
agent:implement
agent:implement
agent:implement
agent:open_issues
agent:ready
agent:research
agent:security_audit
agent:verify
architecture
backend
blocker:hybrid
blocker:launch
blocker:limit-orders
blocker:v2
block:log_only
block:security
bug
ci
contracts
correctness
deploy
dev
devops
docs
documentation
duplicate
e2e
enhancement
epic
feature
frontend
functional-completion
gas
good first issue
governance
help wanted
high-risk
hooks
hybrid
indexer
infra
infrastructure
integrators
invalid
launch-blocker
limit-orders
localnet
localterra
low priority
missing-implementation
needs-design
ops
performance
priority
high
priority
medium
product
qa
QA
question
ready
ready
research
scripts
security
security-hardening
smartcontracts
tech-debt
testing
ux
UX
v2
verification
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
code/cl8y-dex-terraclassic#1221
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
Operators need a USDT / cLUNC CL8Y factory pair whose LP is custodied by TerraClassic CMM Treasury, after USDT is bridged onto Terra Classic.
This is on-chain treasury / listing work, not a product implement ticket. Pair legs are CW20: bridged USDT vs existing wrap cLUNC (not native
uluna). Do not fold this into #558 (SpaceUSD/UST1, UST1/ALPHA, CL8Y/ALPHA, CL8Y/WILLY) or into #1220 (allowlisted IBC USDC natives). Circle CCTP / native USDC (#1215, bridge #169) stays out of scope.Live execution, sizing, source-chain USDT choice, and signing stay with operators via ops-bot DMs and authenticated
GET /status. Do not useops.mdhere.Fingerprint
CreatePair+ seed LPibc/…USDC factory natives (#1220); other-DEX USDC hops (#691)Current codebase / on-chain facts
CL8Y factory pairs are CW20-only today (
AssetInfo::Token; natives rejected). LUNC reaches the graph as wrap CW20 cLUNC (#507). A USDT/cLUNC market is the honest shape: do notCreatePairUSDT/uluna.Bridged economic CW20s from the CL8Y bridge have historically landed on mintable code 10184, which is already factory-whitelisted (#558, #508). Confirm the live post-bridge USDT
code_idon LCD before whitelist orCreatePair. If it is not 10184, governance / 2-of-3AddWhitelistedCodeIdis a prerequisite. Do not whitelist an unverified foreign code id.cLUNC is already the wrap-mapper
ulunaleg. Do not invent a USDT wrap or a cUSDT product for this ticket.Custody invariant (copy the #558 rules, new pair only)
provide_liquiditywithreceiver= CMM so leftover LP is not left on the admin signerRemoveLiquidity/ breaking LP, farming-and-exit, or moving LP off CMM except later explicit governanceParent ops patterns: #508 (create/seed), #558 (CMM
receiver+ 5%/95% remainder provide). Soft-launch gem defaults must not absorb this pair.Operator sequence (ops-bot; not agent implement)
code_id, admin, total supply delta matching the bridge mint. Abort on unexpected wasm or tax token.code_idis not already onWHITELISTED_CODE_IDS, 2-of-3AddWhitelistedCodeIdfirst. ThenCreatePairUSDT + cLUNC. Do notRegisterListedPaira foreign DEX USDT/LUNC venue.receiver= CMM. Fail closed if CMM LP shares do not increase or if the 2-of-3 still holds LP.Constraints / guardrails
opslabel is on the ticket.ibc/native allowlist pin.terra1on LCD. Hostile / wrong-chain contracts abort.Out of scope
/agent implementfrom intake.First-pass model recommendation
Recommendation: grok-high
Rationale: This is treasury custody plus bridge register/mint, factory listing, wrap, and 2-of-3
provide_liquidity— founder-required wallet / deploy / custody surface, not a ≤3-file local edit. Comparable DEX history is #558 (multi-step CMM LP seeds) rather than a single RCA or test-helper change. There is no deterministic unit test that proves CMM received LP; verification is LCD/tx attest via ops-bot. Model policy routes ops and human-required topics to Grok high. Composer is not eligible.cl8y-agent-control: queued
implementjob2abb7077-51bd-4144-bf8a-5fd90f2342c8(not executed; no Hetzner VM).