Same factory pattern as rindexer_factory_indexing, but using ClickHouse as the storage backend instead of PostgreSQL.
- Identical Uniswap V3 factory-to-pool-to-token indexing pipeline
- ClickHouse as the storage backend (columnar, analytics-optimized)
drop_each_run: truefor easy test/demo cycles- Smaller block ranges (500 blocks) for quick test runs
| Contract | Discovery | Events |
|---|---|---|
| UniswapV3Factory | Static address | OwnerChanged |
| UniswapV3Pool | Derived from PoolCreated.pool |
Swap |
| UniswapV3PoolToken | Derived from PoolCreated.token0 and PoolCreated.token1 |
Transfer |
ClickHouse (no CSV)
- Copy
.env.exampleto.envand configure your connection - Run
docker-compose up -dto start the ClickHouse instance in thedocker-compose.ymlfile - Run
cargo run. You can access the ClickHouse playground with your created data at http://localhost:8123. Run the lines individually in the Web SQL UI.SHOW DATABASES; SHOW TABLES FROM rindexer_factory_contract_uniswap_v3_factory_pool_created_pool; SELECT * FROM rindexer_factory_contract_uniswap_v3_factory_pool_created_pool.pool_created;