Files
tycho-protocol-sdk/substreams/crates/tycho-substreams/Cargo.toml
Zizou 12369c3981 fix: update get_block_storage_changes to correctly emit previous value (#280)
Before this commit we were using the latest `ContractSlot` for both previous and new value. This is not correct because if the value changed twice we would have the middle value emitted as "previous". For example if a value was changed like this in a single transaction 1 -> 10 -> 2 we would have `new_value=2` and `previous_values=10` while the previous value was actually 1.

Co-authored-by: zizou <111426680+flopell@users.noreply.github.com>
2025-09-25 17:41:07 +02:00

27 lines
800 B
TOML

[package]
name = "tycho-substreams"
version = "0.5.1"
edition = "2021"
description = "Tycho substreams development kit, contains tycho-indexer block changes model and helper functions for common indexing tasks."
repository = "https://github.com/propeller-heads/tycho-protocol-sdk/tree/main/substreams/crates/tycho-substreams"
homepage = "https://www.propellerheads.xyz/tycho"
documentation = "https://docs.propellerheads.xyz/tycho"
keywords = ["propellerheads", "solver", "defi", "dex", "mev"]
license = "MIT"
categories = ["finance", "wasm"]
readme = "README.md"
[dependencies]
substreams-ethereum = "0.9.9"
substreams = "0.5.22"
prost = "0.11"
hex = "0.4.3"
itertools = "0.12.0"
ethabi = "18.0.0"
num-bigint = "0.4.4"
serde = "1.0.204"
serde_json = "1.0.120"
[dev-dependencies]
rstest = "0.24.0"