RBudzynski commited on
Commit
23c932c
Β·
verified Β·
1 Parent(s): c4525fd

Upload 5 files

Browse files
README.md CHANGED
@@ -1,3 +1,94 @@
1
- ---
2
- license: cc-by-nc-4.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-4.0
3
+ tags:
4
+ - ethereum
5
+ - evm
6
+ - blockchain
7
+ - cryptocurrency
8
+ - crypto
9
+ - onchain-data
10
+ - tabular
11
+ - timeseries
12
+ - datasets
13
+ - pandas
14
+ - polars
15
+ - duckdb
16
+ pretty_name: BlockDB Liquidity Pools - Sample
17
+ size_categories:
18
+ - 10M<n<100M
19
+ ---
20
+
21
+ ## Sample Notice
22
+
23
+ This dataset contains **a small sample** of the full BlockDB Liquidity Pools dataset.
24
+ It is provided **for evaluation, research, and interoperability testing only**.
25
+
26
+ If you need full historical coverage, real-time streaming, or end-of-day (EOD) exports
27
+ please contact us directly:
28
+
29
+ πŸ“§ **support@blockdb.io**
30
+ 🌐 https://www.blockdb.io
31
+
32
+
33
+ ## Dataset Overview
34
+ Canonical list of liquidity pools across all supported DEXes. Each row represents a unique pool with its configuration (exchange, type, tokens, factory) and identifiers (contract address for v2/v3-style pools, pool_id for v4-style pools).
35
+
36
+ This table serves as the single source of truth for pool identity; child time-series tables (reserves, swaps, yields) reference pools by their pool_uid.
37
+
38
+
39
+ ## Chains and Coverage
40
+ ETH, BSC, Base, Arbitrum, Unichain, Avalanche, Polygon, Celo, Linea, Optimism (others on request).
41
+ Full history from chain genesis; reorg-aware real-time ingestion and updates.
42
+
43
+
44
+ ## Schema
45
+ List of columns exactly as delivered:
46
+
47
+ β€’ pool_uid BYTEA – Unique pool identifier derived from address or pool_id (primary key)
48
+ β€’ exchange_id INTEGER – Exchange/DEX identifier
49
+ β€’ type_id INTEGER – Pool type identifier (FK to liquidity_pool_types)
50
+ β€’ block_number BIGINT – Block of the log attributed as the genesis/recognition point
51
+ β€’ block_time TIMESTAMPTZ – UTC timestamp when the block was mined
52
+ β€’ tx_index INTEGER – Transaction index within the block
53
+ β€’ log_index INTEGER – Log index within the block
54
+ β€’ factory BYTEA – 20-byte DEX factory/pool-manager address
55
+ β€’ tokens BYTEA[] – Array of 20-byte token addresses in the pool
56
+ β€’ contract_address BYTEA – 20-byte address for v2/v3-style pools (nullable for id-only v4)
57
+ β€’ pool_id BYTEA – 32-byte identifier for v4-style pools (nullable for v2/v3)
58
+ β€’ pairnum NUMERIC(6) – Pair number, if applicable
59
+ β€’ asset_managers BYTEA[] – Array of asset manager addresses, if applicable
60
+ β€’ amp NUMERIC(6) – Amplification parameter for stable pools
61
+ β€’ weights NUMERIC(6,5)[] – Token weights (0..1) for weighted pools
62
+ β€’ tick_spacing SMALLINT – Tick spacing for concentrated liquidity pools
63
+ β€’ _tracing_id BYTEA – Tracing ID of this pool record
64
+ β€’ _genesis_tracing_ids BYTEA[] – Tracing IDs of the genesis records leading to this pool record
65
+ β€’ _parent_tracing_ids BYTEA[] – Tracing IDs of the parent records leading to this pool record
66
+ β€’ _created_at TIMESTAMPTZ – Record creation timestamp
67
+ β€’ _updated_at TIMESTAMPTZ – Record last update timestamp
68
+
69
+
70
+ ### Notes
71
+ β€’ At least one of contract_address or pool_id is always populated.
72
+ β€’ Indexes on block_number, factory, type_id, (factory, type_id), and tokens (GIN) support fast lookups.
73
+ β€’ Binary values can be rendered as hex via encode(column, 'hex') in SQL for display or downstream joins.
74
+
75
+
76
+ ## Lineage
77
+ Each pool record includes deterministic _tracing_id, _genesis_tracing_ids, and _parent_tracing_ids, providing:
78
+
79
+ β€’ Provenance tracking from raw logs to pool discovery
80
+ β€’ Reproducible analytics and signal extraction
81
+ β€’ Cross-system consistency checks (RPC vs. indexers vs. internal warehouses)
82
+
83
+
84
+ ## Common Use Cases
85
+ β€’ Building DEX pool registries across multiple protocols
86
+ β€’ Pool discovery and new listing detection
87
+ β€’ Foundation for swap, reserves, and yield analytics
88
+ β€’ Cross-DEX liquidity analysis and comparison
89
+
90
+
91
+ ## Quality
92
+ β€’ Verifiable lineage: deterministic cryptographic hashes per row
93
+ β€’ Reorg-aware ingestion: continuity and consistency across forks
94
+ β€’ Complete historical coverage: from chain genesis to present
assets/banner.jpg ADDED

Git LFS Details

  • SHA256: bb1b2b215c7ac7ee8251c3bbb54d7de218cdbda551b7f035db465483d799e5e5
  • Pointer size: 132 Bytes
  • Size of remote file: 1.09 MB
data/blockdb0203_liquidity_pools_v1.csv ADDED
The diff for this file is too large to render. See raw diff
 
data/blockdb0203_liquidity_pools_v1.json ADDED
The diff for this file is too large to render. See raw diff
 
data/blockdb0203_liquidity_pools_v1.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f5e55e8faa4892cbb5eb82453bbf30757523ffafb68010f7368d0107d1e7029
3
+ size 255796