Skip to content
Solana
AFTERIn the programBit 2

Auto Burn

Burns a set share of every buy's tokens in the same swap.

Where it runs

After

Acts on the filled swap: burns, LP rewards, pots.

Status on reel

In the program

In the reel program: bit 2 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 share of each buy's actual token output is burned in the same swap, less the protocol's share, which is paid in the quote instead. Sells burn nothing. The rate is fixed for the pool's life.

How it works on reel

On buys, floor(out·burn_bps·(10⁴ − s)/10⁸) of the actual output is burned with BurnChecked from the base vault, and burn_bps·s of the input is paid in quote to the protocol. LP Rewards and Auto Burn share 1,000 bps.

Settings · 1

SettingMinDefaultMaxWhat it does
Burn share
burn_bps
0.01%1%10%Of each buy's tokens, burn·(1 − s) is burned; burn·s of the input is paid in quote to reel.LP Rewards + Auto Burn ≤ 1,000 bps.

Fees and who's paid

Paid to

The burn, and reel's share in quote.

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.

Can't be combined with

Nothing: it sits beside any block.

Worked example

A 1 SOL buy with a 1% burn, a 0.3% base fee and a 20% share: reel gets 0.002 SOL, 0.8% of the tokens bought are burned, and the buyer gets the rest.

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 Rewards