RBudzynski commited on
Commit
e7edd2f
Β·
verified Β·
1 Parent(s): e11e0a4

Upload 5 files

Browse files
README.md CHANGED
@@ -1,3 +1,87 @@
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 Fee Terms - 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 Fee Terms 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
+ Versioned fee terms per liquidity pool. Each row represents a fee configuration change event, tracking total fee, user/LP fee, protocol fee, and extra fee fractions. Fee terms are non-overlapping per pool, enabling accurate historical fee reconstruction.
35
+
36
+
37
+ ## Chains and Coverage
38
+ ETH, BSC, Base, Arbitrum, Unichain, Avalanche, Polygon, Celo, Linea, Optimism (others on request).
39
+ Full history from chain genesis; reorg-aware real-time ingestion and updates.
40
+
41
+
42
+ ## Schema
43
+ List of columns exactly as delivered:
44
+
45
+ β€’ pool_uid BYTEA – Unique pool identifier (FK to liquidity_pools)
46
+ β€’ exchange_id INTEGER – Exchange/DEX identifier
47
+ β€’ type_id INTEGER – Pool type identifier (FK to liquidity_pool_types)
48
+ β€’ block_number BIGINT – Block where the new fee term starts
49
+ β€’ block_time TIMESTAMPTZ – UTC timestamp when the block was mined
50
+ β€’ tx_index INTEGER – Transaction index within the block
51
+ β€’ log_index INTEGER – Log index within the block
52
+ β€’ total_fee NUMERIC(18,18) – Total fee fraction (e.g., 0.003 = 0.30%)
53
+ β€’ user_fee NUMERIC(18,18) – User/LP fee fraction (same units as total_fee)
54
+ β€’ protocol_fee NUMERIC(18,18) – Protocol fee fraction (same units as total_fee)
55
+ β€’ extra_fee NUMERIC(18,18) – Extra fee fraction (burn/staking/etc.)
56
+ β€’ _tracing_id BYTEA – Tracing ID of this fee terms record
57
+ β€’ _genesis_tracing_ids BYTEA[] – Tracing IDs of the genesis records leading to this record
58
+ β€’ _parent_tracing_ids BYTEA[] – Tracing IDs of the parent records leading to this record
59
+ β€’ _created_at TIMESTAMPTZ – Record creation timestamp
60
+ β€’ _updated_at TIMESTAMPTZ – Record last update timestamp
61
+
62
+
63
+ ### Notes
64
+ β€’ Primary key: (pool_uid, block_number, tx_index, log_index) guarantees uniqueness per fee change event.
65
+ β€’ Fee fractions are between 0 and 1; user_fee + protocol_fee + extra_fee ≀ 1.
66
+ β€’ Indexes on (pool_uid, block_number DESC, tx_index DESC, log_index DESC), block_number, block_time, and total_fee support fast lookups.
67
+
68
+
69
+ ## Lineage
70
+ Each fee terms record includes deterministic _tracing_id, _genesis_tracing_ids, and _parent_tracing_ids, providing:
71
+
72
+ β€’ Provenance tracking from raw logs to decoded fee changes
73
+ β€’ Reproducible analytics and signal extraction
74
+ β€’ Cross-system consistency checks (RPC vs. indexers vs. internal warehouses)
75
+
76
+
77
+ ## Common Use Cases
78
+ β€’ Historical fee reconstruction for swap cost analysis
79
+ β€’ DEX fee comparison and competitive analysis
80
+ β€’ Protocol revenue estimation and forecasting
81
+ β€’ Fee change event detection and alerting
82
+
83
+
84
+ ## Quality
85
+ β€’ Verifiable lineage: deterministic cryptographic hashes per row
86
+ β€’ Reorg-aware ingestion: continuity and consistency across forks
87
+ β€’ 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/blockdb0204_liquidity_pools_fee_terms_v1.csv ADDED
The diff for this file is too large to render. See raw diff
 
data/blockdb0204_liquidity_pools_fee_terms_v1.json ADDED
The diff for this file is too large to render. See raw diff
 
data/blockdb0204_liquidity_pools_fee_terms_v1.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:28ee5ededb09030f5fb7f33be52b1795e2771d8cbea136ee0012b0345668466f
3
+ size 168077