Skip to content

CCA Configurator

Interactive configuration tool for Continuous Clearing Auction (CCA) smart contract parameters. Guides you through parameter collection in efficient batches and outputs a deployment-ready JSON configuration.

Invocation

text
/configurator

Or describe your requirements naturally:

text
Configure a new CCA token auction on Base

What It Does

This skill helps you:

  • Configure auction parameters: Token, currency, pricing, timing, recipients, and supply schedule
  • Calculate Q96 pricing: Automatic fixed-point conversion with decimal adjustment for floor price and tick spacing
  • Generate supply schedules: Uses an MCP tool to produce a normalized convex curve distribution
  • Validate inputs: Checks all parameters against CCA contract requirements after each batch
  • Output deployment-ready JSON: Produces a complete configuration file for the deployer skill

Configuration Flow

Parameters are collected in 5 batches to minimize interaction rounds:

BatchQuestionsParameters
11Task selection (configure, generate, review)
24Network, token address, total supply, currency
34Auction duration, prebid period, floor price, tick spacing
44Recipients, start time, minimum funds required
51Optional validation hook

After collection, the skill generates a supply schedule and displays the complete JSON configuration.

Output Format

The skill produces a JSON configuration keyed by chain ID:

json
{
  "8453": {
    "token": "0x...",
    "totalSupply": 100000000000000000000000000,
    "currency": "0x0000000000000000000000000000000000000000",
    "startBlock": 24321000,
    "endBlock": 24327001,
    "floorPrice": 7922816251426433759354395000,
    "tickSpacing": 79228162514264337593543950,
    "supplySchedule": [...]
  }
}

Supported Networks

NetworkChain IDBlock Time
Ethereum112s
Unichain1301s
Unichain Sepolia13012s
Base84532s
Arbitrum421612s
Sepolia1115511112s

Released under the MIT License.