Documentation

Technical reference for the Bonker token factory.

Fee Flow

Every swap in a Bonker pool generates LP fees. As the token deployer, these fees flow directly to you.

Swap feesFeeLockerYou

How to claim

// Claim your accumulated fees
feeLocker.claim(recipientAddress, WETH);

What you configure

When deploying a token, you configure up to 7 reward participants, each with their own share of LP fees:

  • rewardRecipients[] — addresses that receive LP fees. Each recipient calls feeLocker.claim() to collect their share.
  • rewardAdmins[] — each recipient has an admin who can update the recipient address or fee preferences later.
  • rewardBps[] — basis points (out of 10,000) defining each recipient's share. Must sum to 10,000.
// Example: 70% to creator, 30% to partner
rewardRecipients: [creatorAddr, partnerAddr]
rewardAdmins:     [creatorAddr, partnerAddr]
rewardBps:        [7000, 3000]