Skip to content

Swap Reward Mint

By HookrNot on Elysium yet

Traders pay an extra fee you set and get your reward token for it, with at least 20% of the fee to Hookr and the rest to you.

How it behaves

Traders pay an extra fee you set and get your reward token for it.

Set it up in this order

  1. Name a reward token you own that reward programs can mint.
  2. Add Swap Reward Mint and set the buy and sell slices, the rate, the caps, how long it runs and your payout wallet.
  3. On Review, deploy each pool's reward program, then let it mint from the reward token's owner wallet, and a token reward programs cannot mint is refused before the program is deployed.
  4. Launch: rewards are not sent with the swap, so traders claim them under Claims in a separate transaction, and anyone can pay out your share.
  5. Once every program you want can mint, you can lock the token's minters from the pool page, so no one can ever add another.

What you set

Fixed with the pool at launch.

Buy slice
1%0% to 5%
Sell slice
1%0% to 5%
Reward token
A token you name at launch
Reward rate
A rate you set at launch

What you take on

  • The reward token must be one built to be minted by reward programs (it answers isRewardMinter and mintReward).
  • An ordinary ERC-20, a token launched on Hookr included, will not work.
  • The reward token's owner must let the program mint before the pool opens.
  • A token that stops letting it mint ends the slices, since the program charges nothing it cannot reward.
  • Until the reward token's owner locks its minters, that owner can let other addresses mint it too, so the reward's supply is not bounded by the program's caps alone.
  • You earn only on a swap you pay for and receive yourself, through Hookr's router, a gasless swap or the Universal Router. A swap that reaches the pool any other way pays no slice and earns nothing.
  • Through Hookr's router or a gasless swap, a swap that sends its tokens to another address pays no slice and earns nothing. A limit order fill pays no slice either.
  • Through the Universal Router, the wallet that sends the swap pays the slice and earns the reward, even when its tokens go to another address.
  • A Multi-pool trade that converts through another pool pays no slice on that conversion and earns nothing for it.
  • Exact-output sells and arbitrage recapture trades pay no slice and earn nothing.
  • Your slices wait in your reward account until it is settled, which anyone can do, and the reward is minted to you then at the rate fixed at launch.
  • A swap's slice is cut to what the program can still reward: no more than the most per swap, and nothing once the total is spent or the program ends.
  • A slice the program can no longer reward when it is settled is refunded to you, and you withdraw it under Claims.
  • A contract that pays for a swap and receives its tokens itself, such as a vault, an escrow or a smart account, earns the reward itself. If it cannot move the reward token or take the refund, both stay with it for good.
  • If the quote's issuer blocks the program's address, settling, refunds and the creator's payout stop until the block is lifted.
  • Rewards already minted stay.
  • Hookr keeps 20% of each slice that funds a reward, and the creator gets the rest.
  • Only swaps through Hookr's router and the listed routers earn, and a slice the program can no longer reward is refunded to the trader.

Tradeoff

  • The slice is paid on top of the pool's fees, so traders pay more to trade for the reward.

Can't be combined with

  • Tax + Conversion, Buy/Sell Block, Agent gate, Market Guard, Market-hours fee, Managed fee, Zap Relay source, Zap Relay target or Usage feeA pool runs only one of these; a Multi-pool launch can put another on a pool of its own.
  • Dynamic fees at their highest ceilingWith this block on, Dynamic fees can't reach their highest ceiling, since part of the pool's fee limit is kept free for this block's rates even if yours are lower.