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

# Snipe tax

> The tax on buys during the first seconds of a v3 launch, how it decays, and the exemption for the creator's initial buy.

During the first three seconds of a launch, buys pay an extra snipe tax on top of
the hook fee. The tax drops to zero after three seconds. The tax is there to discourage bots
from buying in the opening seconds, and it uses the same decay as v2. Three seconds is roughly thirty blocks on Robinhood Chain, so the window lasts well beyond the launch block.

```text The decay theme={null}
snipeTaxStartBps >> ((elapsed × 14) / snipeTaxSeconds)

clamped so the hook fee, the snipe tax and the creator tax together
leave 100 bps below the whole leg. At the 99% over 3s defaults, with
no creator tax:

  elapsed   snipe tax                     total off the quote leg
  0s        9,900 bps, clamped to 9,800                       99%
  1s        618 bps                                         7.18%
  2s        19 bps                                          1.19%
  3s+       0                                                  1%
```

Sells never pay the snipe tax, but they still pay the hook fee and the creator tax. The creator's opening buy pays no snipe tax, hook fee or creator tax because the Pons hook executes the swap itself. Uniswap v4 skips the `beforeSwap` and `afterSwap` callbacks when the hook is the caller, so none of them are applied.

> [!NOTE]
>
> To quote a buy during the window, read `currentSnipeTaxBps(poolId, zeroForOne)`
> from the hook and include it. Otherwise your quote will be higher than what the
> trade actually returns. The value it returns is before the clamp, and the clamp
> only applies to the snipe tax: the tax charged is the lower of that value and
> `10000 - hookFeeBps - creatorTaxBps - 100`. The total taken from the quote side
> is that amount plus `hookFeeBps` plus `creatorTaxBps`.

Only the factory can call the hook function
that starts the snipe tax, and the current factory only does that during a launch, so the snipe tax cannot be started again on a pool that is already trading. A factory upgrade could change that, and upgrades are announced on chain 8 hours ahead (see [contracts](https://pons-labs-llc.mintlify.site/v3/contracts.md)).


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