Skip to content
Solana
FEEIn the programBit 5

Swap Cut

A fixed cut of every buy and sell for the pool's liquidity owner.

Where it runs

Fee

Sets or adds to what the swap pays.

Status on reel

In the program

In the reel program: bit 5 of PoolParams.blocks, frozen at PoolInit (PROGRAM.md §5).

Set by

You, at launch

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

What it does

A creator fee set once at launch: a fixed share of each buy's and each sell's quote, paid to the liquidity owner, or to the Holder Pot, the King of the Pool pot or a payee. On reel this is how a creator tax runs.

How it works on reel

Charged on X for each side (cut_buy_pips, cut_sell_pips), protocol share first, the rest to the OWNER bucket (the launch owner, or the lock's beneficiary while locked), HOLDER_POT, POT or PAYEE as cut_to and cut_sell_to say.

Settings · 4

SettingMinDefaultMaxWhat it does
Buy cut
cut_buy_pips
0%1%10%A fixed cut of each buy's quote. reel's share comes off first.Grid 0.1%
Sell cut
cut_sell_pips
0%1%10%A fixed cut of each sell's quote. reel's share comes off first.Grid 0.1%
Buy cut goes to
cut_to
Liquidity ownerLiquidity ownerPayeeThe liquidity owner is the launch owner, or the lock beneficiary while the launch is locked.1 Liquidity owner · 2 Holder Pot · 3 King of the Pool pot · 4 Payee
Sell cut goes to
cut_sell_to
Liquidity ownerLiquidity ownerPayeeWhere the sell side's cut goes, after reel's share.1 Liquidity owner · 2 Holder Pot · 3 King of the Pool pot · 4 Payee

Fees and who's paid

Paid to

The liquidity owner by default, or the Holder Pot, the King of the Pool pot or the payee.

Protocol share

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

Requires and can't be combined with

Requires

No other block.

  • A cut above 0 on at least one side

Can't be combined with

Nothing: it sits beside any block.

Worked example

1% each way at a 20% share: a 1 SOL buy pays 0.01 SOL, 0.002 SOL to reel and 0.008 SOL to you.

Solana notes

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

On hookr: Core block · Live

Other blocks in Fees