Add types to lists

This commit is contained in:
Gui Heise 2021-09-21 09:10:30 -04:00
parent bf3ca0f529
commit 8f79843f3f

View File

@ -1,6 +1,7 @@
from typing import List
from mev_inspect.schemas.classified_traces import (
ClassifiedTrace,
DecodedCallTrace,
Classification,
)
@ -20,7 +21,7 @@ def find_liquidations_from_traces(
) -> List[Liquidation]:
"""Inspect list of classified traces and identify liquidation"""
seen_transactions: List[str] = []
liquidations: List[ClassifiedTrace] = []
result: List[Liquidation] = []