Docs

Buyback and burn

The 1% platform fee buys $WORM, and the $WORM is burned. Burned tokens leave the supply. Analytics shows how much is gone.

Buyback and burn

  1. 01 · Trade

    1% to the treasury

    Every WormPad swap pays 1% of the HYPE side, in the same transaction.

  2. 02 · Buy

    HYPE buys $WORM

    The treasury spends collected HYPE for $WORM. A minimum output guards the price.

  3. 03 · Burn

    Supply comes down

    burn() destroys the $WORM. Total supply falls by that amount.

Fees collect on the swap. The buy and the burn are their own transactions, from the treasury.

The buy

The treasury spends WHYPE it already holds. The transaction sets the least $WORM it will accept, and the contract counts the tokens that actually arrive. Fewer than that, and the buy reverts. Passing the maximum amount spends the treasury's whole WHYPE balance.

On the treasury contract, that swap is buyback against a configured pool: a WormPad pool quoted in WHYPE, or a Uniswap v3 pool of WHYPE and $WORM. $WORM itself trades in a Uniswap v4 pool against native HYPE. A buy from that pool delivers $WORM to the treasury, and the burn below destroys it.

The burn

burnWorm calls burn on the tokens the treasury holds. On $WORM that subtracts the amount from the treasury's balance and from total supply, and the transfer is recorded to the zero address. Passing the maximum amount burns the treasury's entire balance. $WORM has no mint, so burned supply does not come back. A token with no burn function is sent to the dead address instead.

Funding
1% of every WormPad trade, in HYPE
Buy
Treasury spends collected HYPE for $WORM
Floor
Minimum $WORM out, or the buy reverts
Burn
burn() lowers total supply
Whole balance
The max amount burns everything held