From cc5aff1e3e78fe2d8438e366242b07213c192b6f Mon Sep 17 00:00:00 2001 From: harisang Date: Wed, 16 Oct 2024 17:55:45 +0300 Subject: [PATCH] fix auxiliary script --- src/test_single_hash.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test_single_hash.py b/src/test_single_hash.py index 3996915..77d01f4 100644 --- a/src/test_single_hash.py +++ b/src/test_single_hash.py @@ -1,6 +1,6 @@ from hexbytes import HexBytes from web3 import Web3 -from src.imbalances_script import RawTokenImbalances +from src.raw_imbalances import RawTokenImbalances from src.price_providers.price_feed import PriceFeed from src.fees.compute_fees import compute_all_fees_of_batch from src.transaction_processor import calculate_slippage @@ -25,7 +25,7 @@ def __init__(self): self.price_providers = PriceFeed() def compute_data(self, tx_hash: str): - token_imbalances = self.imbalances.compute_imbalances(tx_hash) + token_imbalances = self.imbalances.compute_token_imbalances(tx_hash) protocol_fees, partner_fees, network_fees = compute_all_fees_of_batch( HexBytes(tx_hash) )