02 · The hooks
Wave schedule
Buys only land in the open blocks. Sells keep working.
Wave schedule is a market clock. It opens, it closes, and it repeats. It is not a cooldown on one wallet.
What a trader sees
The cycle starts when the pool is initialized. For the open blocks you chose, buys work. For the closed blocks that follow, buys revert and the error tells you the block when they open again. Sells work in both parts of the cycle.
Example
Open for 4 blocks, closed for 4. Blocks 0 through 3 of each cycle accept buys. Blocks 4 through 7 do not. Block 8 is open again. A sell in block 5 still goes through.
What you set
- How many blocks are open.
- How many blocks are closed. Both have to be at least one.
Anyone can read marketOpen to see whether buys are currently accepted and, if not, when they resume.
A buy fee in the launch token, divided across up to four wallets.