Skip to content
Solana
ADVISORYPartialBit 18

Zap Relay source

Routes a cut of every buy to a zap vault that buys another pool.

Where it runs

Advisory

The pool's single add-on slot: one per pool.

Status on reel

Partial

Partial: the cut accrues on reel and is paid to the zap vault named at launch; the vault that buys the target pool is reel-vaults' zap module (coming).

Set by

You, at launch

Frozen in PoolParams at PoolInit; nobody can change it after.

What it does

Every buy pays a cut of what the buyer spends into a zap vault; sells and liquidity are untouched and LPs get none of it. When the vault has gathered enough, anyone can zap: the vault buys the target pool and burns what it buys or adds it as permanent liquidity.

How it works on reel

Buys pay zap_pips, the pool's protocol share (20–50%) first, into the ZAP bucket; BucketCollect pushes it to the adv[0] token account, a reel-vaults zap vault.

Named at launch: adv[0] zap vault

Settings · 1

SettingMinDefaultMaxWhat it does
Cut of each buy
zap_pips
0.0001%1%10%Of what each buyer spends, paid into the zap vault after reel's share. Sells pay nothing.

Fees and who's paid

Paid to

Another pool, through its zap vault, after reel's share.

Protocol share

reel's protocol share s (20–50%, fixed at launch) comes off each charge first.

Requires and can't be combined with

Worked example

A 1% cut: 100 SOL of buys gather 1 SOL; reel keeps 0.2 SOL at a 20% share and 0.8 SOL goes to the vault to buy the target.

Solana notes

It works as on hookr; amounts are in SOL or the pool's quote, and times in seconds.

On hookr: Advisory · Live

Other blocks in Pools and trading