This repository contains the smart contracts for Continuous Clearing Auctions (CCAs). It is intended to be used in combination with the Uniswap Liquidity Launcher contracts suite.
CCA is a novel auction mechanism that generalizes the uniform-price auction into continuous time. It provides fair price discovery for bootstrapping initial liquidity while eliminating timing games and encouraging early participation (see whitepaper).
The contracts can be used as a standalone auction or a part of a larger token distribution system. All contracts are MIT licensed.
forge install
forge build
forge testCCA instances are deployed via the ContinuousClearingAuctionFactory.
Addresses are cannonical across select EVM chains. If it is not already deployed, it can be deployed by anyone following the Deployment Guide.
| Network | Address | Commit Hash | Version |
|---|---|---|---|
| v1.1.0 | 0xCCccCcCAE7503Cac057829BF2811De42E16e0bD5 | 87b2546a298f691c095b06ec077ceef25ba56007 | v1.1.0 |
| v1.0.0* | 0x0000ccaDF55C911a2FbC0BB9d2942Aa77c6FAa1D | 154fd189022858707837112943c09346869c964f | v1.0.0-candidate |
*v1.0.0-candidate is the initial version of CCA and is NOT recommended for production use. For more details, see the Changelog.
The code has been audited by Spearbit, OpenZeppelin, and ABDK Consulting. The most recent audits for v1.1.0 are linked below. For a full list of audits, see Audits.
| Version | Date | Report |
|---|---|---|
| v1.1.0 | 01/20/2026 | |
| v1.1.0 | 01/20/2026 |
The files under src/ are covered under the Uniswap Labs bug bounty program here, subject to scope and other limitations.
The whitepaper for the Continuous Clearing Auction.
All contracts are located in the src/ directory. test/btt contains BTT unit tests for the Auction contracts and associated libraries, and the top level test/ folder contains additional tests. The suite has unit, fuzz, and invariant tests.
src/
----interfaces/
| IContinuousClearingAuction.sol
| IContinuousClearingAuctionFactory.sol
| ...
----libraries/
| ...
----ContinuousClearingAuction.sol
----ContinuousClearingAuctionFactory.sol
test/
----btt/
| auction/
| ...
----Auction.t.sol
----Auction.invariant.t.solThe contracts are covered under the MIT License (MIT), see MIT_LICENSE.