适用于 V2(当前测试网版本)
Applies to V2, the current testnet version.
Reading token state
Identify the actual Factory before selecting its Curve, Policy, Ledger, Registry and Router. Original Batch1 and later plain releases both use schema 2, so schema alone cannot select addresses.
| Question | On-chain reads |
|---|---|
| Release membership | Factory.isToken(token), token.factory(), token.policy(), plus deployment code hashes |
| Identity and balances | name(), symbol(), decimals(), totalSupply(), creator(), createdBlock(), balanceOf(account) |
| Tax rates and allocations | token.taxVault(), then buyBps(), sellBps(), shares(index), recipientCount() / recipient(index) |
| Curve state | Curve.launches(token): phase, inventory, reserve, creation block and opening fields |
| Graduation | Factory.graduated(token), corroborated by Coordinator.graduationId(token) and events |
| Official Hook / lock | Ingress.hookOf(token), Coordinator.lockOf(token), then tokenId(), liquidity(), bound() |
| Holder rewards | Rewards tokens only: MINIMUM(), eligibleSupply(), stream getters, streamStart(), claimable(account) |
| Project buybacks | Where supported, taxVault.buybackVault(), then received(), spent(), acquired(), disposed() |
| Referrals and protocol fees | Ledger.referralCode(token), Registry payout/eligibility, Ledger.claimable(token,bucket) |
Curve phases are 0 Unregistered / 1 Opening / 2 Active / 3 Graduating / 4 Graduated. The Factory's graduated value is boolean. Do not import lifecycle numbering from another version.
Buyback targetKind values are 0 SELF / 1 ICAT / 2 CUSTOM; the corresponding Policy restricts target admission.
Project tax share indexes are 0 holders / 1 CTO / 2 wallets / 3 buyback. Protocol Ledger buckets instead mean 0 creator / 1 referrer / 2 ICAT buyback / 3 community / 4 team. Tax source indexes mean 0 curve / 1 official DEX ingress. Keep these namespaces distinct.
The current frontend reads later releases through the /v2/batch23 API, including projects, details, rewards and platform buybacks with block numbers and hashes. Interpret holderEnabled and schemaVersion together with Factory membership. Missing/unavailable data is not zero. Images, descriptions and links are previews in this V2 snapshot; do not assume a contractURI publishing feature.
Sources:S02、S04、S05、S16、S17、S19、S20、S25、S27、S33、S36、S37、S39、S22、S26。 Evidence report