> ## Documentation Index
> Fetch the complete documentation index at: https://pons-labs-llc.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Events

> The v3 events worth indexing and which contract emits each one.

> [!WARNING]
>
> Always filter log queries by contract address. An unrelated fork of these
> contracts on the same chain emits identical events.

## Launch and pool

* **`TokenLaunchedInstant`** `(address indexed token, address indexed deployer, address indexed pairToken, uint256 launchConfigId, uint256 positionId, int24 startTick)`.
  Emitted once per launch, and the main event to index. `startTick` is the pool's
  opening tick, already flipped for currency order. There's no `TokenLaunched`
  event and no graduation event, so filtering on v2 event names finds nothing.
* **`PoolRegistered`** `(bytes32 indexed poolId, address memecoin, address quoteToken, address creator)`.
  Emitted at launch. Maps a token to its pool id.
* **`HookFeeCollected`** `(bytes32 indexed poolId, address currency, uint256 feeAmount, uint256 taxAmount)`.
  Emitted on each swap that paid a fee. `taxAmount` is the creator tax, kept
  separate from the fee split.
* **`PoolFeesSwept`** `(bytes32 indexed poolId, uint256 protocolAmount, uint256 buybackAmount, uint256 creatorAmount, uint256 tokensLocked)`.
  Emitted on each sweep. If a buyback couldn't run and its budget was kept for
  later, `PoolBuybackSkipped` is emitted instead.

## Escrow

`Credited` and `CreditedToken` are emitted when sweeps credit balances.
`Claimed`, `ClaimedTo`, `ClaimedToken` and `ClaimedTokenTo` are emitted on
withdrawals. Track all four claim events, or your computed balances won't match
the contract.

## Vault

`Locked`, `Released`, `CreatorLegBurned`, `CreatorRecipientUpdated` and
`VestingTermsSnapshotted`.

## Factory

`LaunchConfigAdded` and `LaunchConfigUpdated` for launch configs,
`PairTokenEconomicsUpdated` for a quote asset's opening price,
`LaunchEnabledUpdated` when launching is paused or resumed,
`CreatorFeeRecipientUpdated` and `BuybackEnabledUpdated` for changes to a single
launch, and `UpgradeProposed`, `UpgradeCancelled` and `Upgraded` for upgrades.

> [!NOTE]
>
> A creator's total earned is the sum of `HookFeeCollected`, and their total
> claimable is the sum of escrow credits. They come from different events and
> measure different things, so don't add them together.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.