Skip to main content
v3 pools are regular Uniswap v4 pools with the Pons hook attached, so you trade them through the PoolManager as usual. The difference is how fees are charged. The pool fee is zero, and the hook takes its own fee on the quote side through the swap deltas, outside the pool’s math. To quote a trade, take the fee off the quote side first, then run the rest through the curve.
Where the fee lands
Swaps that specify the quote amount can’t be partially filled. The fee is charged before the pool knows how much it can fill, so if it can’t fill the whole amount, the swap reverts instead of overcharging. If that happens, send a smaller swap or specify the token amount instead. Retrying the same swap will fail again.

No price impact limit

The launch record has maxInternalPriceImpactBps set to 300, which looks like a 3% price impact limit on trades. It only applies to the hook’s own buyback swaps, which use a price limit set to a third of it. User swaps have no impact limit, and the creator’s opening buy has no price limit at all.

Buyback swaps

When buyback is on for a launch, the buyback budget builds up in the quote asset and is spent buying the token in the pool when the pool is swept. Sweeps are run by allowlisted callers, at most once per block per pool, and are skipped if the price guard rejects the price. If the swap’s price limit can’t be reached, the budget is kept for a later sweep, so it accumulates instead of expiring. These swaps are made by the hook itself, so they don’t pay the hook fee and don’t trigger the swap callbacks.

Oracle

Reading the TWAP
ready doesn’t tell you the reading is recent. It only means the oracle has an observation old enough to cover the window you asked for. coveredSeconds is the time span that was actually averaged, and it’s never shorter than your window. If the pool hasn’t traded in a while, the closest older observation can be far back, so the average covers a much longer and older span than you asked for. Compare it against maxCoveredSeconds() and reject anything wider, which is what the protocol’s sweep guard does before setting a minimum price. twapWindow() is the window the guard uses, and the two values are kept at least ten seconds apart. When a pool has been quiet, the hook brings the reading up to the present by moving the last tick toward the current price, with a cap on how much it can move per second, instead of leaving it where it was. An old average moves gradually toward the current price as a result. This limits how much a single trade can move the average, and it’s another reason to wait when coveredSeconds is large instead of using the price.