Skip to content

Commit

Permalink
type fix
Browse files Browse the repository at this point in the history
  • Loading branch information
harisang committed Sep 5, 2024
1 parent 22871ec commit 60f4842
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/fees/compute_fees.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,11 @@ def parse_fee_policies(
# Note that currently it is NOT working for CoW AMMs as they are not indexed.
def compute_all_fees_of_batch(
tx_hash: HexBytes,
) -> tuple[dict[str, tuple[str, int]], dict[str, tuple[str, int]]]:
) -> tuple[
dict[str, tuple[str, int]],
dict[str, tuple[str, int, str]],
dict[str, tuple[str, int]],
]:
orderbook_api = OrderbookFetcher()
settlement_data = orderbook_api.get_all_data(tx_hash)
protocol_fees: dict[str, tuple[str, int]] = {}
Expand Down

0 comments on commit 60f4842

Please sign in to comment.