feat(community-tax): free listed-template adopt onto 11619 (#626) #1136

Merged
PlasticDigits merged 3 commits from issue/626-community-tax-migrate into main 2026-08-24 13:32:56 +00:00
PlasticDigits commented 2026-08-24 12:12:24 +00:00 (Migrated from gitlab.com)

Summary

  • Add an allowlisted foreign migrate importer on cl8y-community-tax-token so listed honest CW20s (cw2 cw20-base / cw20-mintable / terraport-token) can adopt onto 11619. Same-crate MigrateMsg {} is unchanged. tax_map / unknown cw2 / cfg/feat smash revert. Balances and total_supply stay; source minter is revoked.
  • Ship free /token/migrate (same env gate as Create Token). One button for the wasm admin: MsgMigrateContract + MsgUpdateAdmin → CMM. No 50 UST1 invoice. 8654 ALPHA loads as not supported. Launcher-created 11619 tokens remain CMM-only.
  • Catalog attests adopted tokens via CMM admin + GetLauncherOrigin + allowlisted GetMigrateOrigin — never a fake launcher_tx.
  • Record Terraport LP snapshots (ALPHA + Open 8266) and F6 Refresh ops. Invariants M626-1–M626-12 in skills/AGENTS_FRONTEND_TOKEN_MIGRATE.md.

Go / no-go: S3 go, S3-8266 go, S4 8654 no-go. Design parent #603 stays open. #558 wrap vs drop stays open.

Closes #626

Test plan

  • make verify-issue-626 (crates + indexer lib + Vitest + docs; first pass + retest)
  • make verify-issue-592 / make verify-issue-593 / make verify-issue-594
  • Env unset: /token/migrate unavailable; env set: More menu Migrate Token
  • Paste 10184/6036 analogue: one Migrate (free) CTA, no invoice; confirm copy mentions F6 freeze + Terraport address unchanged
  • Paste ALPHA terra1x6e64…zysuxz: not supported + S1/S2; no migrate tx
  • Connected wallet ≠ wasm admin: no CTA
  • After adopt: same address, CMM admin, /token/:addr/manage shows tax SKUs
  • Catalog: adopted row attested only with CMM + GetMigrateOrigin; rogue without CMM stays unlisted
  • No factory AddWhitelistedCodeId 8654
  • Optional LocalTerra: adopt a listed mintable gem; inbound Transfer to a CL8Y pair stays 1:1
  • Optional F6: CL8Y pair pinned to old id fail-closes until RefreshPairAssetCodeIds
## Summary - Add an allowlisted foreign `migrate` importer on `cl8y-community-tax-token` so listed honest CW20s (cw2 `cw20-base` / `cw20-mintable` / `terraport-token`) can adopt onto **11619**. Same-crate `MigrateMsg {}` is unchanged. `tax_map` / unknown cw2 / `cfg`/`feat` smash revert. Balances and `total_supply` stay; source minter is revoked. - Ship free `/token/migrate` (same env gate as Create Token). One button for the wasm admin: `MsgMigrateContract` + `MsgUpdateAdmin` → CMM. No 50 UST1 invoice. 8654 ALPHA loads as **not supported**. Launcher-created 11619 tokens remain CMM-only. - Catalog attests adopted tokens via CMM admin + `GetLauncherOrigin` + allowlisted `GetMigrateOrigin` — never a fake `launcher_tx`. - Record Terraport LP snapshots (ALPHA + Open 8266) and F6 Refresh ops. Invariants **M626-1–M626-12** in `skills/AGENTS_FRONTEND_TOKEN_MIGRATE.md`. Go / no-go: **S3 go**, **S3-8266 go**, **S4 8654 no-go**. Design parent #603 stays open. #558 wrap vs drop stays open. Closes #626 ## Test plan - [ ] `make verify-issue-626` (crates + indexer lib + Vitest + docs; first pass + retest) - [ ] `make verify-issue-592` / `make verify-issue-593` / `make verify-issue-594` - [ ] Env unset: `/token/migrate` unavailable; env set: More menu **Migrate Token** - [ ] Paste 10184/6036 analogue: one **Migrate (free)** CTA, no invoice; confirm copy mentions F6 freeze + Terraport address unchanged - [ ] Paste ALPHA `terra1x6e64…zysuxz`: **not supported** + S1/S2; no migrate tx - [ ] Connected wallet ≠ wasm admin: no CTA - [ ] After adopt: same address, CMM admin, `/token/:addr/manage` shows tax SKUs - [ ] Catalog: adopted row attested only with CMM + `GetMigrateOrigin`; rogue without CMM stays unlisted - [ ] No factory `AddWhitelistedCodeId 8654` - [ ] Optional LocalTerra: adopt a listed mintable gem; inbound Transfer to a CL8Y pair stays 1:1 - [ ] Optional F6: CL8Y pair pinned to old id fail-closes until `RefreshPairAssetCodeIds`
PlasticDigits commented 2026-08-24 12:12:34 +00:00 (Migrated from gitlab.com)

mentioned in issue #626

mentioned in issue #626
PlasticDigits commented 2026-08-24 12:12:35 +00:00 (Migrated from gitlab.com)

mentioned in issue #603

mentioned in issue #603
PlasticDigits commented 2026-08-24 12:12:37 +00:00 (Migrated from gitlab.com)

mentioned in issue #558

mentioned in issue #558
PlasticDigits commented 2026-08-24 13:11:01 +00:00 (Migrated from gitlab.com)

added 1 commit

  • 5aef7194 - feat(community-tax): ALPHA 8654 adopt wipes tax_info (#626)

Compare with previous version

added 1 commit <ul><li>5aef7194 - feat(community-tax): ALPHA 8654 adopt wipes tax_info (#626)</li></ul> [Compare with previous version](/PlasticDigits/cl8y-dex-terraclassic/-/merge_requests/418/diffs?diff_id=1979701159&start_sha=9cc595b7e5856a390727398822358625917117f4)
PlasticDigits commented 2026-08-24 13:16:06 +00:00 (Migrated from gitlab.com)

added 1 commit

  • 5d94a3e0 - feat(frontend): migrate allowlist includes 8654 as a normal id (#626)

Compare with previous version

added 1 commit <ul><li>5d94a3e0 - feat(frontend): migrate allowlist includes 8654 as a normal id (#626)</li></ul> [Compare with previous version](/PlasticDigits/cl8y-dex-terraclassic/-/merge_requests/418/diffs?diff_id=1979716714&start_sha=5aef7194c62f247ceeeab1c1f1ae7c3ffec9414a)
PlasticDigits commented 2026-08-24 13:32:56 +00:00 (Migrated from gitlab.com)

mentioned in commit bfc2d29510

mentioned in commit bfc2d295100a5f45606bf74319dc3b5e84b3a957
PlasticDigits (Migrated from gitlab.com) merged commit bfc2d29510 into main 2026-08-24 13:32:56 +00:00
PlasticDigits commented 2026-08-24 13:33:33 +00:00 (Migrated from gitlab.com)

mentioned in issue #628

mentioned in issue #628
PlasticDigits commented 2026-08-25 02:29:41 +00:00 (Migrated from gitlab.com)

mentioned in issue #633

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

mentioned in issue #634

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

mentioned in commit 190a52c81b

mentioned in commit 190a52c81bb08ebc49e9ed3fd3469e7111dea8c1
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!1136
No description provided.