Revert "Don't include balancer specific pb in tycho pbs."

This reverts commit a1864e3c.

We will actually make the balance delta messages part of the tycho packages since this makes a few things simpler when trying to factor out an sdk.
This commit is contained in:
kayibal
2024-03-13 12:11:38 +00:00
parent 7601072e87
commit 4b2437dab6
6 changed files with 49 additions and 59 deletions

View File

@@ -14,16 +14,14 @@ use substreams::scalar::BigInt;
use substreams_ethereum::pb::eth;
use itertools::Itertools;
use pb::tycho::evm::v1::{self as tycho};
use contract_changes::extract_contract_changes;
use substreams_ethereum::Event;
use crate::pb::balancer::{
BalanceDelta, BalanceDeltas, GroupedTransactionProtocolComponents,
TransactionProtocolComponents,
};
use crate::{abi, contract_changes, pb, pool_factories};
use crate::pb::tycho::evm::v1::{self as tycho};
use crate::pb::tycho::evm::v1::{BalanceDelta, BalanceDeltas, GroupedTransactionProtocolComponents, TransactionProtocolComponents};
use crate::{abi, contract_changes, pool_factories};
const VAULT_ADDRESS: &[u8] = &hex!("BA12222222228d8Ba445958a75a0704d566BF2C8");