> ## 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

> Indexing v3 events 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 launch and graduation events
  won't find v3 launches. The graduation executor can still emit
  `GraduationDustSwept` or `GraduationDustRetained` during a launch.
* **`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 first, followed by `PoolFeesSwept`.

## Escrow

`Credited` and `CreditedToken` are emitted when sweeps credit balances.
`Claimed` and `ClaimedToken` are emitted on every withdrawal, including
`claimTo` and `claimTokenTo`. Those two also emit `ClaimedTo` and
`ClaimedTokenTo` with the destination address, for the same amount. Subtract only
`Claimed` and `ClaimedToken` from the credits, or withdrawals sent to another
address will be counted twice.

## 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]
>
> `HookFeeCollected` is not what a creator earned. Its `feeAmount` is the whole
> hook fee, including any snipe tax, before the protocol's share and any buyback are
> taken out. Only `taxAmount` goes entirely to the creator. A creator's earnings are
> the escrow credits from sweeps and vest releases, and what they can still claim is
> those credits minus their claims.


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