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>
This commit is contained in:
2157
substreams/ethereum-pancakeswap-v3/src/abi/factory.rs
Normal file
2157
substreams/ethereum-pancakeswap-v3/src/abi/factory.rs
Normal file
File diff suppressed because it is too large
Load Diff
4
substreams/ethereum-pancakeswap-v3/src/abi/mod.rs
Normal file
4
substreams/ethereum-pancakeswap-v3/src/abi/mod.rs
Normal file
@@ -0,0 +1,4 @@
|
||||
#![allow(clippy::all, clippy::pedantic, clippy::nursery)]
|
||||
|
||||
pub mod factory;
|
||||
pub mod pool;
|
||||
5168
substreams/ethereum-pancakeswap-v3/src/abi/pool.rs
Normal file
5168
substreams/ethereum-pancakeswap-v3/src/abi/pool.rs
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user