Add types to lists
This commit is contained in:
parent
bf3ca0f529
commit
8f79843f3f
@ -1,6 +1,7 @@
|
|||||||
from typing import List
|
from typing import List
|
||||||
|
|
||||||
from mev_inspect.schemas.classified_traces import (
|
from mev_inspect.schemas.classified_traces import (
|
||||||
|
ClassifiedTrace,
|
||||||
DecodedCallTrace,
|
DecodedCallTrace,
|
||||||
Classification,
|
Classification,
|
||||||
)
|
)
|
||||||
@ -20,7 +21,7 @@ def find_liquidations_from_traces(
|
|||||||
) -> List[Liquidation]:
|
) -> List[Liquidation]:
|
||||||
|
|
||||||
"""Inspect list of classified traces and identify liquidation"""
|
"""Inspect list of classified traces and identify liquidation"""
|
||||||
|
|
||||||
seen_transactions: List[str] = []
|
seen_transactions: List[str] = []
|
||||||
liquidations: List[ClassifiedTrace] = []
|
liquidations: List[ClassifiedTrace] = []
|
||||||
result: List[Liquidation] = []
|
result: List[Liquidation] = []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user