Documentation

Technical reference for the Bonker token factory.

Vault Extension

The Vault extension reserves a configurable percentage of the token supply for the deployer, separate from the liquidity pool.

How it works

  1. During deployToken(), specify the vault extension address and the desired extensionBps percentage
  2. The factory reserves the vault slice, then the vault pulls those tokens during extension setup
  3. Remaining tokens go into the Uniswap v4 pool as liquidity
  4. Vault tokens are subject to a lockup/vesting schedule configured at deployment

Lockup & vesting

  • Cliff period: no tokens can be claimed before the cliff expires
  • Vesting duration: tokens unlock linearly over the vesting period after the cliff
  • Max allocation: configurable cap on total supply percentage

Claiming

// Check vested amount
uint256 vested = vault.amountAvailableToClaim(tokenAddress);

// Claim vested tokens
vault.claim(tokenAddress);