Dynamic Fee

Trades that move the price more pay a bigger fee

Fees · what each swap pays~4,900 gas a swap

Sets the pool fee for each swap from how much it moves the price. Small trades pay the base fee; big trades that move the price pay more. Like every pool fee, 60% of it goes to you.

How it works on-chain

  1. 1Each swap pays the base fee, plus your sensitivity times how far the swap moves the price, up to the max fee.
  2. 2A buy is priced on how far it will move the price; a sell on how far it moved it.
  3. 3Like every pool fee it's paid in ETH: 60% to the creator, 40% to Captain Hook.

What it doesn't do
The fee follows each swap's own size, so small swaps pay close to the base fee.

What you set at launch

  • Base fee0.05–3%
    Default 0.3%.
  • Max fee0.5–10%
    Default 3%.
  • Sensitivity0–5 x
    Extra fee added for each 1% the price moves. Default 1 x.

Where it runs in the hook

beforeSwap

Tokens launched with it

Reading the launches