Skip to content

Claude/loving albattani eolo8l - #153

Merged
Bluechip23 merged 3 commits into
mainfrom
claude/loving-albattani-eolo8l
Jun 10, 2026
Merged

Claude/loving albattani eolo8l#153
Bluechip23 merged 3 commits into
mainfrom
claude/loving-albattani-eolo8l

Conversation

@Bluechip23

Copy link
Copy Markdown
Owner

No description provided.

claude added 3 commits June 10, 2026 20:18
Two factory fixes for launch readiness:

1. Token marketing was permanently locked. cw20-base disables
   UpdateMarketing/UploadLogo forever when `marketing` is None at
   instantiation, and the factory never set it — every creator token
   would have been un-brandable (no logo, description, or project URL)
   with no retrofit possible. The factory now instantiates each CW20
   with the pool creator as marketing admin (project/description/logo
   start empty for the creator to fill in).

2. The registry was not enumerable. PoolByAddress existed but nothing
   answered "what pools exist?" — explorers needed an event indexer
   just for discovery. New `Pools { start_after, limit }` query pages
   POOLS_BY_ID ascending (default 30, max 100 per page), returning
   pool_id, pool_addr, pool_token_info, and pool_kind per entry.

Tests: create-path assertion that the CW20 instantiate submessage
carries the creator as marketing admin; pagination test covering
ordering, resume-after, end-of-data, and limit clamping. Both
documented in the README query reference.

https://claude.ai/code/session_01PBHdD9Wpt5rB8eUCWQHzVw
The LastCommited variant's canonical wire name carries an on-chain
typo ("last_commited"). A serde alias now also accepts
"last_committed" so new integrations don't have to ship the typo;
renaming outright would break every deployed client. Covered by a
test deserializing both spellings.

https://claude.ai/code/session_01PBHdD9Wpt5rB8eUCWQHzVw
New Section 7 in FRONTEND_MIGRATION: why creator-token pairs route
through bluechip, the router's atomicity and 3-hop cap, the
no-per-hop-slippage model (size minimum_receive from
simulate_multi_hop), and working code for both entry paths (native
execute_multi_hop with funds; CW20 send with the embedded hook).
Later sections renumbered 7-15 -> 8-16 with the TOC and
cross-references updated, plus three router rows in troubleshooting.

Mirrors the same section shipped in the block explorer's integration
guide page so the two guides stay in lockstep.

https://claude.ai/code/session_01PBHdD9Wpt5rB8eUCWQHzVw
@Bluechip23
Bluechip23 merged commit e4be9d6 into main Jun 10, 2026
2 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants