Skip to content
Interncats LLC

V3 coming soon · Documentation draft for a future release, not the current V2. Policy and deployment details remain pending.

Onchain events

> V3 publication draft; not yet published. Economic terms follow the unfrozen specification v2 draft. {{待冻结}} means pending reconciliation with the final frozen specification. This page does not apply to V2 or existing tokens. Available actions depend on the verified release manifest.

Filter by verified Factory, project-contract and Hook addresses, then check release, token, pool and economic version. An event name or address suffix does not authenticate an unknown emitter. Use the final release ABI for complex tuples; this table describes implemented events and their roles.

EmitterEventMain fields / use
FactoryReleaseSealedRelease binding of Managers, Curve, Coordinator and Hooks
FactoryProjectCreatedreleaseId, token, creator, chainId, economicVersion, economicHash, configHash, mode, quote, quoteDecimals, components, name, symbol
CurveCurveTradereleaseId, token, tradeSeq, poolId, Trade tuple; payer/recipient, direction, exactOutput, opening, gross, fees, inventory/reserves, relative block and price fractions
CurveTradeRefundactualPaid, actualUsed, refund; distinguishes budget from spending
GraduatorGraduatedreleaseId, token, poolId, version, PoolKey, Lock, tokenId, range, tradeSeq
HookPoolRegisteredFull PoolKey, token, Factory, Manager, Vault, version, configHash
HookHookTradeAccountingseq, router, buy, exactInput, gross, net, protocolFee, projectTax, accrualSeq
VaultRevenueAccruedsource, tradeSeq, gross, protocolFee, buckets, referralCode, tier, projectTax, antiFee, sourceId
VaultTaxCollectedpoolId, token, source, gross, amount, cumulative; another view of the same tax, not extra income
VaultRevenueClaimedkind, entitlement, asset, recipient, amount, paidAfter, remainingLiability
Rewards TokenDividendFundedsource, sourceAccrual, amount, start/end, previousUnreleased, budget, weight, remainder, dust, noEligible
Rewards TokenDividendClaimedholder, asset, seq, amount, cumulativePaid, fractionCreditAfter
LockFeesCollectedpoolId, tokenId, amount0/amount1, cumulative0/cumulative1
LockFeesClaimedrole, asset, recipient, amount, paidAfter
ReferralCodeActivated / WalletBound / GenerationRevokedActivation, payout binding and authorization-generation revocation
RiskRiskPaused / RiskResumedRisk-operation bitmask changes
ERC-20 TokenTransfer / ApprovalBalance changes and allowances; Transfer alone does not prove a trade

Curve accounting uses source=0; graduated Hook accounting uses source=1. LP claim role=0 is platform and role=1 is original creator. Native OKB uses address(0). These are implementation enums, not adjustable economic terms. Interpret Lock asset ordering through the authenticated PoolKey, not symbols.

Identify logs by chain, blockHash, transactionHash and logIndex. Replay in blockNumber / transactionIndex / logIndex order, deduplicate, rewind reorg ranges and respect release confirmation depth. Timestamps alone are insufficient. Accrual, funding and payment are distinct actions; correlated events do not represent multiple copies of income.

Creation, opening buy and graduation can share a receipt. Graduation may appear before the final trade accounting event. Process the complete receipt before resolving final state rather than assuming one lifecycle action per transaction.


Contents · 中文