英文标题:dexamine: A Python package for Uniswap event data on Ethereum
作者:Magnus Hansson
arXiv ID:2609.10407 | 分类:q-fin.TR | 发表:2026-09-09
许可:CC-BY
摘要 去中心化交易所将交易和流动性提供记录在公共区块链上,{{NL}}但实证分析需要解读这些记录并将其与{{NL}}执行元数据关联起来。dexamine 是一个 Python 包,用于解析以太坊上的 Uniswap v2 和 v3 事件。{{NL}}它将交易收据日志转换为对交易和{{NL}}流动性变化的观测,包含代币数量、池状态、交易顺序和 gas{{NL}}信息。该包将数据获取、合约元数据、协议{{NL}}解读和输出构建分离开来。该代码库提供了已记录的以太坊{{NL}}响应以及一个离线可复现示例,其版本 1 已被用于{{NL}}为一项关于去中心化市场价格发现的实证研究构建数据。
Decentralized exchanges record trading and liquidity provision on public blockchains, but empirical analysis requires interpreting these records and linking them to execution metadata. dexamine is a Python package that parses Uniswap v2 and v3 events on Ethereum. It converts transaction receipt logs into observations of trades and liquidity changes, with token quantities, pool state, transaction order, and gas information. The package separates data retrieval, contract metadata, protocol interpretation, and output construction. The repository provides recorded Ethereum responses and an offline reproducible example, and version 1 has been used to construct data for an empirical study of price discovery in decentralized markets.
查看完整双语翻译 →
正在跳转到翻译阅读页… 如果没有自动跳转,请点击这里。