Skip to main content

The Bankr Hook

The Bankr Hook is Bankr's own Uniswap v4 hook, with the contracts around it: a factory, a settings contract, a launchpad registry, a fee ledger and a holder leg. Every coin launched with the Launch SDK trades in a Uniswap v4 pool behind it.

Every number is a setting​

Nothing that shapes a coin is a constant in the contracts. Three parties choose, each inside the one before:

  1. The contracts hold the widest range of every setting, and Bankr's cut of each fee.
  2. A launchpad sets a range and a default for each setting, and switches features on or off.
  3. A launch names a value inside its launchpad's range, or takes the default.

The result is fixed in the coin at launch. A change by Bankr or a launchpad reaches later launches only. No change reaches a live coin. What is fixed at launch lists every lever.

What the hook does on every trade​

  1. It takes the whole fee, in the coin's quote token, on buys and on sells. The pool has no fee of its own.
  2. It splits the fee. Bankr's cut comes first, half of it for the coin's holders. Then a referrer, the launchpad's payees and the creator side. See Fees and rewards.
  3. It asks the coin's extension, when the coin has one, for an extra fee. See Extensions.
  4. It runs what is due. A swap can add fees to the pool's locked liquidity, run a buyback and convert the holders' share to BNKR. No service has to run for any of it.

What every coin gets​

PropertyValue
SupplyMinted once, 18 decimals. No owner and no mint.
LiquidityLocked for good. No contract has a function to remove it.
TermsFixed at launch, published on-chain once, and checkable by anyone.
Holders' sharePart of Bankr's cut of every fee goes to the coin's holders, in BNKR where a route exists.
SellsAn extension can never refuse a sell.

What a launch can choose​

Each of these is a setting. A launchpad sets its range, its default, or switches it off.

FeatureRead more
The trading fee and snipe protectionFees and snipe protection
Supply and the curveSupply and the curve
Vesting and allocationsVesting and allocations
The wallet capWallet cap
Auto-LP, a buyback and holder rewardsFee shares and payees
An extensionExtensions
The quote tokenQuote tokens
Every optionConfiguration

Launchpads​

Every launch names a launchpad. A launchpad holds the terms its coins must follow and the payees who share every fee. Anyone can register one for a one-time bond. See Getting started.

Addresses​

Chains and addresses lists the contracts on every chain.