CCA Deployer
Deploy Continuous Clearing Auction (CCA) smart contracts using the Factory pattern with CREATE2 for consistent addresses across chains.
Invocation
text
/deployerOr describe your requirements naturally:
text
Deploy my CCA auction configuration to BaseWhat It Does
This skill helps you:
- Validate configuration: Checks all parameters against CCA contract requirements before deployment
- Guide deployment: Step-by-step instructions using Foundry scripts and the CCA Factory
- Ensure safety: Educational disclaimers, private key security guidance, and testnet-first recommendations
- Post-deployment steps: Instructions for calling
onTokensReceived()and verifying on block explorers
Deployment Workflow
- Acknowledge disclaimer -- Educational use warning and risk acknowledgment
- Load configuration -- Read JSON config (from configurator skill or manual creation)
- Validate parameters -- Block constraints, address validity, price alignment, supply schedule
- Display deployment plan -- Summary of what will be deployed
- User confirmation -- Explicit approval before proceeding
- Provide Foundry commands --
forge scriptexamples with private key security options - Post-deployment -- Call
onTokensReceived()to activate the auction
Factory Details
| Property | Value |
|---|---|
| Version | v1.1.0 |
| Address | 0xCCccCcCAE7503Cac057829BF2811De42E16e0bD5 |
| Method | CREATE2 (deterministic addresses) |
The factory's initializeDistribution function takes the token address, amount, ABI-encoded auction parameters, and an optional salt for address mining.
Safety Warnings
This skill emphasizes security at every step:
- Private key handling: Hardware wallets (Ledger), encrypted keystores (
cast wallet import), or environment variables (testing only) - Testnet first: Always deploy to Sepolia or Base Sepolia before mainnet
- Validation checklist: 13-point checklist covering block sequence, price alignment, supply schedule, and more
Related Resources
- CCA Plugin - Parent plugin
- CCA Configurator - Configure auction parameters
- CCA Repository - Source code
- Uniswap CCA Docs - Official documentation