One hook on every pool. Seven jobs.
Every Ingot token trades in its own Uniswap v4 pool from the first block, and every one of those pools runs the same hook. It sets the fee on each swap, keeps snipers and whales in check, prices the pool over time and counts its volume. It never touches liquidity, never takes a cut of a swap, and has no admin switch once it is bound to the launchpad.
Only the launchpad can create an Ingot pool. Nobody can open the pool first at a bad price and wait for the launch.
The fee starts at 50% and falls in a straight line to the creator's 1% to 3% over 60 seconds. Sniping the first block mostly pays the market. The creator's own launch buy pays the plain fee.
Every pool keeps a 12 second window. A swap that pushes against the move already made inside the window pays extra: 0.1% for every 1% of the move, up to 2%. That is the back half of a sandwich. The trader being sandwiched, and anyone buying with the move, pays nothing extra.
Before each swap the hook adds the current price to a running time-weighted sum and writes a checkpoint at most every 30 seconds, 128 deep, about an hour. Any contract can ask for the average price over a window.
For the first 5 minutes one swap can buy at most 1% of the supply, 10,000,000 tokens. Bigger buys revert. After that there is no cap.
The first swap that clears the top of the curve records the time and emits Graduated. Bots, indexers and the site all see the same moment on chain.
Every swap adds its pair-coin amount to the pool's lifetime volume and swap count, stored in the hook. No indexer needed.
- Add, remove or move liquidity. Both positions belong to the launchpad, which has no function to remove them.
- Take tokens out of a swap. It only returns a fee; the fee goes to the pool's liquidity like any Uniswap fee.
- Change its rules. The numbers above are constants in the contract. There is no owner setting to raise a tax or block a wallet.
- Stop trading. There is no pause on swaps. The launchpad can pause new launches only.
Robinhood Chain orders transactions first come, first served, so sandwiches are rarer here than on Ethereum. The surge fee makes the ones that do happen unprofitable, and it costs a normal trader nothing.