Skip to main content

CCA Launch Strategy

Fair launch strategy using Uniswap's Continuous Clearing Auction mechanism.


Source

ContractPath
CCALaunchStrategycontracts/vault/strategies/CCALaunchStrategy.sol

Purpose

CCALaunchStrategy enables fair token launches by auctioning ■TOKEN via Uniswap's CCA. The mechanism eliminates common launch problems:

ProblemCCA solution
SnipingAll bidders get same clearing price
MEV/sandwichNo timing advantage to exploit
Information asymmetryPrice discovery is gradual
Whale dominanceEarly bids naturally get better prices

This is a launch-only strategy: it runs once to bootstrap liquidity, then the vault transitions to yield strategies.


System role


Key behaviors

Auction lifecycle

  1. Setup: Creator deposits TOKEN, receives ▢TOKEN, wraps to ■TOKEN, transfers to strategy
  2. Auction creation: Strategy creates CCA auction via Uniswap factory
  3. Bidding period: Users bid ETH for ■TOKEN with max prices
  4. Clearing: All bids above clearing price get filled at clearing price
  5. Graduation: Auction ends, V4 pool created with raised liquidity
  6. Post-launch: Tax hook configured, trading begins

Clearing price mechanism

The clearing price is where cumulative demand meets supply. All filled bidders pay this price, regardless of their max bid.

V4 graduation

After the auction ends, the strategy:

  1. Creates a Uniswap V4 pool
  2. Adds raised ETH + unsold ■TOKEN as liquidity
  3. Configures the 6.9% tax hook
  4. Updates the oracle with initial price

Invariants

InvariantDescription
Single clearing priceAll filled bids pay same price
No partial fillsBids either fill completely or refund
Tax hook requiredV4 pool must have tax configured
Factory validationOnly uses official Uniswap CCA factory

Configuration

ParameterDefaultDescription
Pool fee tier0.3%V4 pool swap fee
Tax rate6.9%Buy fee on V4 pool
Duration7 daysAuction length
Min priceConfigurableFloor price per token
Max priceConfigurableCeiling price per token

Integration points

Integrates withPurpose
Uniswap CCA FactoryCreates auctions
Uniswap V4Post-graduation trading
Tax HookFee collection
GaugeControllerFee recipient

Implementation details

For function signatures and events, see the source code.

Key implementation notes:

  • Uses official Uniswap CCA factory at 0xcca1101...
  • Strategy holds ■TOKEN during auction
  • Keeper triggers checkpoints to update clearing price
  • Post-graduation sweep functions recover funds