Skip to content
Solana
SWITCHIn the programBit 4

Creator royalty

A share of LP Rewards on every buy, paid to a recipient fixed at launch.

Where it runs

Switch

A switch inside another block.

Status on reel

In the program

In the reel program: bit 4 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

On every buy, after the protocol's share, a set share of the LP Rewards goes to a recipient fixed at launch. The buyer pays the same with or without it: it comes out of the LPs' part. Sells pay none.

How it works on reel

royalty_bps of LP Rewards after the protocol share accrues in the ROYALTY bucket and is credited to royalty_to's ClaimLedger in the pool's quote; the recipient claims whenever. royalty_to can be a Revenue Router split (reel-vaults), named at PoolInit before it exists.

Named at launch: royalty_to

Settings · 1

SettingMinDefaultMaxWhat it does
Royalty
royalty_bps
0.01%10%10%Share of LP Rewards, after reel's share, credited to royalty_to on every buy. It comes out of the LPs' part.

Fees and who's paid

Paid to

Your royalty recipient, out of the LPs' part of LP Rewards.

Protocol share

Computed after reel's share, so the trader pays the same with or without it.

Requires and can't be combined with

Requires

Can't be combined with

Nothing: it sits beside any block.

Worked example

Base 0.3%, LP Rewards 2%, Auto Burn 1%, a 20% share and a 10% royalty: a 1 SOL buy pays reel 0.006 SOL, the royalty 0.0016 SOL, and LPs 0.0144 SOL of LP Rewards plus the 0.003 SOL base fee.

Solana notes

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

On hookr: Switch inside LP Rewards · Live

Other blocks in Creator income