On-chain module
Liquidity Timelock
The position that opens the pool is locked until a fixed date. Other LPs come and go freely. Traders can read the unlock time before they buy.
Compose with Liquidity Timelock On-chain module · in RuleCraftHook (unaudited)
Callbacks
0
Swap gas
none
estimate
Touches
lp
Pools
--
see Pools page
How it behaves
- 1The launcher itself owns the founding position, so no hook callback is needed.
- 2Withdrawing it reverts until the unlock time; only the creator can withdraw, and only to themselves.
- 3Fees earned by the founding position can be collected by the creator at any time. No swap path is touched.
Parameters
| Parameter | Min | Default | Max | What it does |
|---|---|---|---|---|
| Lock length | 1 days | 30 days | 365 days | How long the founding position stays locked. |
Bounds are enforced on chain by the registry, the launcher and the hook. Values are frozen when the pool is created.
Permission bits
13BI
12AI
11BA
10AA
9BR
8AR
7BS
6AS
5BD
4AD
3BSΔ
2ASΔ
1AAΔ
0ARΔ
B = before, A = after · I init, A add, R remove, S swap, D donate · Δ returns a delta
mask 0x0000bits 000000000000000/14 on can change amounts
No callbacks. The pool behaves like a plain Uniswap v4 pool.