Protocol

How fee routing works

From a trade to a destination: the path a creator fee takes.

Every creator fee follows the same path, whichever hook a token uses:

  1. A buy or sell happens against the token's launch curve. The creator fee is taken in ETH and held by the launchpad as pending fees.
  2. Anyone calls routeCreatorFees(token). The token page has a button for this; automation can call it too.
  3. The router reads the token's feeConfig and splits the pending balance by the configured basis points.
  4. Each slice is delivered: buybacks execute against the curve, liquidity is added, holder and jackpot balances are credited, treasury and referral shares are transferred.
  5. A CreatorFeesRouted event records the amount, so the token page can show fees routed to date.

Why routing is permissionless

Because the split is fixed in the configuration, it doesn't matter who triggers a claim — the outcome is the same. Making the trigger permissionless means fees can't be left to sit indefinitely at a creator's discretion.

Basis points

The interface works in whole percentages; the contract stores basis points (10000 = 100%). A split is only accepted if its routes sum to exactly 10 000.