Files
tycho-protocol-sdk/substreams/rustfmt.toml
Zizou 4c1e773b1b feat: add Pancakeswap v3 Substreams module (#178)
* feat: Add Pancakeswap V3 Substreams module

At this point it's just hard copy of Uniswap V3. It will be adapted in the following commits to make reviewing easier.

* refactor: adapt uniswapv3 module logic for pancakeswap v3

The main change is how they handle protocol fees. Protocol fees are set by default depending on the fee of the pool.

* refactor: use new protobuf structs

The "EntityChanges" got deprecated in favor of the hybrid messages. This commit makes PancakeswapV3 module use the new structs.

* fix: set correct factory address

---------

Co-authored-by: zizou <111426680+flopell@users.noreply.github.com>
Co-authored-by: Louise Poole <louise@datarevenue.com>
2025-03-17 14:39:05 +02:00

24 lines
660 B
TOML

reorder_imports = true
imports_granularity = "Crate"
use_small_heuristics = "Max"
comment_width = 100
wrap_comments = true
binop_separator = "Back"
trailing_comma = "Vertical"
trailing_semicolon = false
use_field_init_shorthand = true
chain_width = 40
ignore = [
"crates/tycho-substreams/src/pb",
"crates/tycho-substreams/src/abi",
"ethereum-balancer-v2/src/abi",
"ethereum-sfraxeth/src/abi",
"ethereum-sfrax/src/abi",
"ethereum-curve/src/abi",
"ethereum-uniswap-v2/src/abi",
"ethereum-uniswap-v3/src/abi",
"ethereum-uniswap-v3-logs-only/src/abi",
"ethereum-pancakeswap-v3/src/abi",
"ethereum-uniswap-v4/src/abi",
]