Example blueprint
Steady Hands
A guard window keeps the first blocks calm with a per-block cap wide enough for real buyers. After that, a small stream from every buy goes to the people keeping the pool deep.
Modules
2
Royalty
12%
of add-on revenue
Pools
0
examples are not deployed
Built for
Traders
This example is not on chain. To earn its royalty yourself, open it in the composer, name it and press Publish: your wallet writes your own copy to the BlueprintRegistry.
The rules, in plain words
- 1% LP fee on every swap, all of it to liquidity in range.
- First 30 blocks: at most 1% of supply per block, plus a 15% guard tax to LPs.
- 1% of every buy's ETH is donated to in-range LPs.
- Buy
- 2%
- Sell
- 1%
- Opening buy
- 17%
Permission bits
13BI
12AI
11BA
10AA
9BR
8AR
7BS
6AS
5BD
4AD
3BSΔ
2ASΔ
1AAΔ
0ARΔ
BI beforeInitialize · BS beforeSwap · AS afterSwap · ASΔ afterSwapReturnDelta
mask 0x20c4bits 100000110001004/14 on can change amounts
Where each rule runs
- 1
Pool opens
Snipe Guard - ·
Liquidity in
Untouched.
- ·
Before swap
Untouched.
- v4
v4 swap math
Concentrated-liquidity math in the PoolManager. No rule runs inside it.
- 2
After swap
Snipe GuardLP Stream - ·
Liquidity out
Untouched.