Skip to main content

Buyback and burn

Use your creator fees to buy your token back and burn it, automatically, on a launchpad.

Ask for it​

Launch $CAT on Montra, half the fees to me and half to buyback and burn.
Launch $CAT on Montra, all creator fees to buyback and burn.

What the contract does​

The buyback-and-burn contract is set as a fee recipient of your launch. On each run it:

  1. Claims its share of the creator fees, in HYPE, from the launchpad (directly, or through the launchpad's fee splitter when the fees are shared).
  2. Buys the token with that HYPE in the token's own pool.
  3. Sends the bought tokens straight to the dead address 0x000000000000000000000000000000000000dEaD.

It never holds the bought tokens, and it has no way to send HYPE or tokens anywhere else.

Who runs it​

Anyone. The launch card has a Run buyback button, and the contract's run(minOut) function is public. A run with nothing to spend does nothing.

Limits​

SettingWhat it doesDefault
Max per runThe most HYPE one run spends. Smaller buys move the price less, which limits what a sandwich around a run could take. The rest waits for the next run.5 HYPE
Min per runA run does nothing below this, so dust doesn't waste gas.0
minOutThe caller's own minimum of tokens out; the run reverts below it.0 (any price, capped by max per run)

Only the owner, the wallet that deployed it, can change the limits or hand over ownership. Nothing else about the contract can be changed.

Safety​

  • It can only be linked to a pool whose creator fees really go to it, and only once.
  • It was tested end to end against Montra's live contracts on a fork of Elysium: sole recipient, a 50/50 split with the creator, a holders and buyback split, the per-run cap and the minimum-out check.
  • It is still unaudited, like everything AskHook writes. See Security.