ERC-8470 Token launch observation registry (Token Launch Observations)
Draft · Tokens · created 2026-10-27
A registry that permanently records, block by block, the facts that independent watchers (detectors) observe about token launches, letting wallets and AI agents query the latest figures from a trusted detector before trading.
Why it is needed
Token launches have two sides: what the launchpad and creator declare, and what is actually observed and recorded on-chain. On the declaration side, other proposals are already working on standardization, but on the observation side, each detector has so far published its results in its own format and terminology. This produces three problems. First, with no common format, there is no way to even tell whether two detectors measured the same thing. Second, there is no record of which block a figure was read from, so the same figure could become false a few blocks later with no way to reproduce or disprove it. Third, off-chain results are overwritten in place, so once a result comes out there is no way to check what a detector said before. As an example, the source cites one chain where, among launches where the creator-declared tax-exempt wallets bought nothing at all, 14.7% were rugs, while among launches where they bought more than 30%, only 2.8% were, showing that declaration alone cannot distinguish between these opposite situations.
What to implement
function launchDirectory() external view returns (address);: Returns the address of the ERC-8376 directory that this registry references. If there is no directory, it is the zero address.function tokenKey(uint256 chainId, address token) external pure returns (bytes32);: Computes and returns the token key derived from the chain ID and token address.function declarationKey(uint256 chainId, bytes32 declarationId) external pure returns (bytes32);: Computes and returns the vendor-scoped launch key derived from the declaration identifier.function recordObservation(ObservationInput calldata input, Finding[] calldata findings) external returns (uint256 observationId, bytes32 launchKey);: Lets a detector newly record an observation about a launch, along with its findings, in the registry.function setDetectorIdentity(address identityRegistry, uint256 agentId) external;: Lets a detector link or unlink its ERC-8004 or ERC-721 identity in the registry.function detectorIdentity(address detector) external view returns (address identityRegistry, uint256 agentId);: Returns the identity registry and agentId that a given detector currently has linked.function getObservation(uint256 observationId) external view returns (Observation memory observation, Finding[] memory findings);: Given an observation ID, returns the full content of that observation and all its findings in the order recorded.function latestOf(bytes32 launchKey, address detector) external view returns (uint256 observationId);: Returns the ID of the most recent observation that a given detector recorded for a specific launch key.function latestByToken(uint256 chainId, address token, address detector) external view returns (uint256 observationId);: Returns the ID of the most recent observation that a given detector recorded for a token, regardless of key type.function latestFinding(uint256 chainId, address token, address detector, bytes32 kind, uint64 param) external view returns (uint256 observationId, uint64 observedBlock, uint64 recordedAt, uint256 value, Lean lean);: Returns the finding value and lean for a specified kind and param from a given detector's latest observation.function latestFindingFrom(uint256 chainId, address token, address[] calldata detectors, bytes32 kind, uint64 param) external view returns (address detector, uint256 observationId, uint64 observedBlock, uint64 recordedAt, uint256 value, Lean lean);: Tries the given list of detectors in order and returns the result from the first one that measured the value.function observationsOf(bytes32 launchKey, uint256 start, uint256 limit) external view returns (uint256[] memory);: Returns, page by page, the list of observation IDs from all detectors for a launch key.function observationsBy(bytes32 launchKey, address detector, uint256 start, uint256 limit) external view returns (uint256[] memory);: Returns, page by page, only the list of observation IDs that a single detector recorded for a launch key.function detectorsOf(bytes32 launchKey, uint256 start, uint256 limit) external view returns (address[] memory);: Returns the list of detectors that have ever recorded against a launch key, in the order they first recorded.event ObservationRecorded(uint256 indexed observationId, bytes32 indexed launchKey, address indexed detector, KeyKind kind, uint256 chainId, address token, bytes32 declarationId, uint64 observedBlock, bytes32 observedBlockHash, bool hashChecked, uint256 supersedes, Tally tally, bytes32 reportHash, string reportURI, bytes32 evidenceRoot);: Logs the full information every time a new observation is recorded.event FindingObserved(uint256 indexed observationId, bytes32 indexed kind, uint256 value, uint64 param, Lean lean);: Logs each finding contained in an observation, in the order recorded.event DetectorIdentitySet(address indexed detector, address indexed identityRegistry, uint256 indexed agentId);: Logs the change whenever a detector links or unlinks its identity.
In depth
Three launch key structures
If an observation is for a launch registered by the ERC-8376 directory, it uses that launchId; if it is for a launch declared under a vendor-scoped identifier from the Token Launch Declarations proposal, it uses the key derived from that declarationId; otherwise it uses the token key derived from the chain ID and token address. Each key is hashed with a distinct domain tag (TOKEN_SCOPED, VENUE_DECLARED) so they never collide. The ERC-8376 key reverts if the directory is absent, the launchId is not registered, or the supplied chainId or token is nonzero. The token key reverts if chainId or token is zero, or if launchId is nonzero. For the vendor key, the registry does not read the declaration contract directly, so the reading party must call getDeclaration itself to confirm that the kind and token match and that the vendor is one it trusts.
Six core finding types
First-block share is the share bought by accounts other than the pool and the vendor in the first trading block, and early-buyer share is the share bought within N seconds after the first trade; both are in basis points (0 to 10000). Creator prior launches is the number of tokens the same creator has previously launched on the same chain, and funding-linked share is the share held by accounts whose funding source overlaps with the creator's or other holders' within H hops. Product label cross-checks the project's claims against on-chain state and records product existence as 1 confirmed, 2 partially confirmed, or 3 unconfirmed or unmeasured. Text flags records, as a bitmask, patterns found in the token name, symbol, and metadata. Beyond these, signals defined by ERC-8376 can also be recorded together, using a kind derived from hashing that field's name.
An unmeasured value is not zero
If a detector was unable to confirm a value, it must record type(uint256).max, the unmeasured value, and cannot use 0, since 0 means the value was measured and the result was zero. Because the unmeasured value is the largest possible number, an upper-bound comparison automatically fails, but a lower-bound comparison, such as checking whether a lock-up ratio is at least 80 percent, will pass unless unmeasured status is checked separately. The reading party must therefore first confirm that a value is not unmeasured before applying a lower-bound threshold.
Text flags and AI agent defense
A token's name, symbol, description, various links, and metadata documents are text written directly by the launcher, and AI agents read this text. The Text flags finding records, as a bitmask, patterns found in that text such as imperative phrasing, role markers, transfer instructions, hidden characters, bidirectional reordering characters, payload markup like HTML or scripts, homoglyphs, and excessive length. A value of 0, or the absence of this finding, does not mean the text is safe, and the source explicitly states that readers and agents must always treat a token's text as untrusted data and must never follow instructions contained within it.
Block pinning, hash verification, and Arbitrum handling
All findings are pinned to a single observedBlock, and for observations on the same chain, that block's hash is verified against the EIP-2935 history contract or a blockhash within 256 blocks, with the result recorded as the hashChecked flag. Launches on other chains do not verify the hash. The current block number is normally read via block.number, but on Arbitrum chains block.number returns the parent chain's number and cannot be used, so the contract is pinned at deployment to instead read arbBlockNumber from ArbSys.
Permanent records and superseding
An observation and its findings cannot be modified or deleted, and the registry provides no such function. If a detector changes its assessment, it records a new observation, leaving the prior observation's ID in supersedes, and that new observation becomes the detector's latest for that launch key. The prior observation remains readable via getObservation and observationsBy. The observedBlock that a detector records for the same key can never move backward.
Detector identity and trust model
A detector can link an ERC-8004 identity or another ERC-721 identity via setDetectorIdentity, and this link is re-verified at every recording, being recorded as 0 if the detector no longer holds the identity. The reading party must not treat the registry or the observation itself as proof; it must instead choose a detector it trusts and read that detector's latestOf or latestFinding. The absence of an observation, or an unmeasured finding, must be treated as unknown rather than safe, and a contract that acts automatically must judge against its own set threshold rather than another detector's lean or tally.
A proposal that has not yet been finalized
ERC-8470 is currently in Draft status, and the ERC-8376 and Token Launch Declarations proposals it references are also not yet finalized as standards. The detailed interface, key structure, or finding types may change, or the proposal itself may stall.