02 · The hooks
Sell delay
After you buy, you wait before you can sell. A later buy starts the wait over.
Sell delay stops a wallet from buying and dumping in the same breath. The tokens stay in the wallet. Nothing is locked in the contract.
What a trader sees
A buy records that wallet and a future block. Until that block, a sell from the same wallet reverts. Another buy moves the unlock later, because the wait is measured from the latest buy. A wallet that has never bought through this pool can sell. That covers liquidity providers and people who received tokens some other way.
The delay is 5 blocks. You buy in block 10. A sell fails until block 15. If you buy again in block 12, a sell reverts until block 17. Someone who never bought can sell in block 10.
What you set
- The delay, in blocks. It has to be at least 1.
- The launch token, and the router you trust to name the real trader.
This is not the conviction lock. Conviction escrows the tokens and discounts a fee. Sell delay does not take the tokens and does not charge a fee. It only refuses the sell.
NextDecay feeThe buy fee starts high and falls on a clock, whether or not anyone trades.