The Vault extension reserves a configurable percentage of the token supply for the deployer, separate from the liquidity pool.
How it works
- During
deployToken(), specify the vault extension address and the desiredextensionBpspercentage - The factory reserves the vault slice, then the vault pulls those tokens during extension setup
- Remaining tokens go into the Uniswap v4 pool as liquidity
- 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);