02 · The hooks
Dump weight
Selling a sliver of what you bought is cheap. Selling all of it is not.
Dump weight prices a sell by how much of that wallet's own buys it is undoing.
What a trader sees
The hook remembers the launch tokens each wallet has bought and sold here. A sell that is a small share of what that wallet still holds pays close to the minimum fee. A sell of everything it still holds pays the maximum. A wallet that never bought here, including someone removing liquidity, pays the minimum.
Minimum 0.30%, maximum 10%. You bought 100 tokens and still hold them. Selling 1 token is near 0.30%. Selling 100 pays 10%.
The pool must use a dynamic fee. The fee is the pool's LP fee for that swap. It is not pulled to a treasury.
NextMatch chestAnyone can deposit launch tokens. Buys are matched from that chest until it is empty.