Causal Effects of Protocol-Fee Changes on Liquidity Provision in Automated Market Makers
Paper • 2607.08525 • Published
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
swaps: struct<min: int64, max: int64, median: int64, nonzero_frac: double>
child 0, min: int64
child 1, max: int64
child 2, median: int64
child 3, nonzero_frac: double
vol0: struct<min: int64, max: double, median: double, nonzero_frac: double>
child 0, min: int64
child 1, max: double
child 2, median: double
child 3, nonzero_frac: double
vol1: struct<min: int64, max: double, median: double, nonzero_frac: double>
child 0, min: int64
child 1, max: double
child 2, median: double
child 3, nonzero_frac: double
twl_active_liquidity: struct<min: double, max: double, median: double, nonzero_frac: double>
child 0, min: double
child 1, max: double
child 2, median: double
child 3, nonzero_frac: double
depth_1pct: struct<min: int64, max: double, median: double, nonzero_frac: double>
child 0, min: int64
child 1, max: double
child 2, median: double
child 3, nonzero_frac: double
depth_2pct: struct<min: int64, max: double, median: double, nonzero_frac: double>
child 0, min: int64
child 1, max: double
child 2, median: double
child 3, nonzero_frac: double
depth_5pct: struct<min: int64, max: double, median: double, nonzero_frac: double>
child 0, min: int64
child 1, max: double
child 2, median: double
child 3, nonzero_frac: double
lp_entry_count: struct<min: int64, max: int64, median: int64, nonzero_frac: double>
child 0, min: int64
child 1, max: int64
child 2, median: int64
child 3, nonzero_frac: double
lp_exit_count: struct<min: in
...
edian: double, nonzero_frac: double>
child 0, min: int64
child 1, max: double
child 2, median: double
child 3, nonzero_frac: double
lp_fee_income_per_active_liquidity: struct<min: double, max: double, median: double, nonzero_frac: double>
child 0, min: double
child 1, max: double
child 2, median: double
child 3, nonzero_frac: double
collect_amount1_native: struct<min: int64, max: double, median: int64, nonzero_frac: double>
child 0, min: int64
child 1, max: double
child 2, median: int64
child 3, nonzero_frac: double
position_duration_days: struct<min: double, max: double, median: double, nonzero_frac: double>
child 0, min: double
child 1, max: double
child 2, median: double
child 3, nonzero_frac: double
net_liq: struct<min: double, max: double, median: int64, nonzero_frac: double>
child 0, min: double
child 1, max: double
child 2, median: int64
child 3, nonzero_frac: double
_units_note: string
panel_completeness.json: struct<sha256: string, bytes: int64>
child 0, sha256: string
child 1, bytes: int64
tickbook_init.json: struct<sha256: string, bytes: int64>
child 0, sha256: string
child 1, bytes: int64
panel_weekly_frozen.csv: struct<sha256: string, bytes: int64>
child 0, sha256: string
child 1, bytes: int64
outcome_sanity_report.json: struct<sha256: string, bytes: int64>
child 0, sha256: string
child 1, bytes: int64
token_decimals.json: struct<sha256: string, bytes: int64>
child 0, sha256: string
child 1, bytes: int64
to
{'panel_weekly_frozen.csv': {'sha256': Value('string'), 'bytes': Value('int64')}, 'panel_completeness.json': {'sha256': Value('string'), 'bytes': Value('int64')}, 'outcome_sanity_report.json': {'sha256': Value('string'), 'bytes': Value('int64')}, 'tickbook_init.json': {'sha256': Value('string'), 'bytes': Value('int64')}, 'token_decimals.json': {'sha256': Value('string'), 'bytes': Value('int64')}}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 147, in get_rows_or_raise
return get_rows(
dataset=dataset,
...<4 lines>...
column_names=column_names,
)
File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 127, in get_rows
rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
File "/src/services/worker/src/worker/utils.py", line 483, in safe_iter
yield from ds.decode(False) if ds.features else ds
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2840, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2373, in __iter__
for key, pa_table in self._iter_arrow():
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2398, in _iter_arrow
for key, pa_table in self.ex_iterable._iter_arrow():
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 536, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 419, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 343, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2306, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
swaps: struct<min: int64, max: int64, median: int64, nonzero_frac: double>
child 0, min: int64
child 1, max: int64
child 2, median: int64
child 3, nonzero_frac: double
vol0: struct<min: int64, max: double, median: double, nonzero_frac: double>
child 0, min: int64
child 1, max: double
child 2, median: double
child 3, nonzero_frac: double
vol1: struct<min: int64, max: double, median: double, nonzero_frac: double>
child 0, min: int64
child 1, max: double
child 2, median: double
child 3, nonzero_frac: double
twl_active_liquidity: struct<min: double, max: double, median: double, nonzero_frac: double>
child 0, min: double
child 1, max: double
child 2, median: double
child 3, nonzero_frac: double
depth_1pct: struct<min: int64, max: double, median: double, nonzero_frac: double>
child 0, min: int64
child 1, max: double
child 2, median: double
child 3, nonzero_frac: double
depth_2pct: struct<min: int64, max: double, median: double, nonzero_frac: double>
child 0, min: int64
child 1, max: double
child 2, median: double
child 3, nonzero_frac: double
depth_5pct: struct<min: int64, max: double, median: double, nonzero_frac: double>
child 0, min: int64
child 1, max: double
child 2, median: double
child 3, nonzero_frac: double
lp_entry_count: struct<min: int64, max: int64, median: int64, nonzero_frac: double>
child 0, min: int64
child 1, max: int64
child 2, median: int64
child 3, nonzero_frac: double
lp_exit_count: struct<min: in
...
edian: double, nonzero_frac: double>
child 0, min: int64
child 1, max: double
child 2, median: double
child 3, nonzero_frac: double
lp_fee_income_per_active_liquidity: struct<min: double, max: double, median: double, nonzero_frac: double>
child 0, min: double
child 1, max: double
child 2, median: double
child 3, nonzero_frac: double
collect_amount1_native: struct<min: int64, max: double, median: int64, nonzero_frac: double>
child 0, min: int64
child 1, max: double
child 2, median: int64
child 3, nonzero_frac: double
position_duration_days: struct<min: double, max: double, median: double, nonzero_frac: double>
child 0, min: double
child 1, max: double
child 2, median: double
child 3, nonzero_frac: double
net_liq: struct<min: double, max: double, median: int64, nonzero_frac: double>
child 0, min: double
child 1, max: double
child 2, median: int64
child 3, nonzero_frac: double
_units_note: string
panel_completeness.json: struct<sha256: string, bytes: int64>
child 0, sha256: string
child 1, bytes: int64
tickbook_init.json: struct<sha256: string, bytes: int64>
child 0, sha256: string
child 1, bytes: int64
panel_weekly_frozen.csv: struct<sha256: string, bytes: int64>
child 0, sha256: string
child 1, bytes: int64
outcome_sanity_report.json: struct<sha256: string, bytes: int64>
child 0, sha256: string
child 1, bytes: int64
token_decimals.json: struct<sha256: string, bytes: int64>
child 0, sha256: string
child 1, bytes: int64
to
{'panel_weekly_frozen.csv': {'sha256': Value('string'), 'bytes': Value('int64')}, 'panel_completeness.json': {'sha256': Value('string'), 'bytes': Value('int64')}, 'outcome_sanity_report.json': {'sha256': Value('string'), 'bytes': Value('int64')}, 'tickbook_init.json': {'sha256': Value('string'), 'bytes': Value('int64')}, 'token_decimals.json': {'sha256': Value('string'), 'bytes': Value('int64')}}
because column names don't matchNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
Frozen, hash-checked panel accompanying:
Causal Effects of Protocol-Fee Changes on Liquidity Provision in Automated Market Makers Wen-Ting Wang (2026). arXiv:2607.08525
Reconstructed from public Uniswap v3 logs. The panel was frozen before estimation;
artifact_manifest.json carries the SHA-256 of each file.
| File | Bytes | SHA-256 (前 16) |
|---|---|---|
panel_weekly_frozen.csv |
31,701,248 | ba27f6eee5329735 |
tickbook_init.json |
932,746 | 26c25b67ba6bbd93 |
token_decimals.json |
137,046 | 6f18b3fe2e90db07 |
panel_completeness.json |
3,201 | b4ee17f52f2544a4 |
outcome_sanity_report.json |
1,978 | bb929e313c258d63 |
python - <<'PY'
import json, hashlib
m = json.load(open("artifact_manifest.json"))
for name, meta in m.items():
h = hashlib.sha256(open(name, "rb").read()).hexdigest()
print(name, "OK" if h == meta["sha256"] else "MISMATCH")
PY
@misc{wang2026protocolfee,
author = {Wang, Wen-Ting},
title = {Causal Effects of Protocol-Fee Changes on Liquidity Provision
in Automated Market Makers},
year = {2026},
eprint = {2607.08525},
archivePrefix= {arXiv},
primaryClass = {stat.AP}
}
CC BY 4.0. Underlying chain data is public.