diff --git a/.hypothesis/unicode_data/12.1.0/charmap.json.gz b/.hypothesis/unicode_data/12.1.0/charmap.json.gz deleted file mode 100644 index 316ecf8..0000000 Binary files a/.hypothesis/unicode_data/12.1.0/charmap.json.gz and /dev/null differ diff --git a/mev_inspect/classifiers/specs/aave.py b/mev_inspect/classifiers/specs/aave.py index f269e96..d9891ae 100644 --- a/mev_inspect/classifiers/specs/aave.py +++ b/mev_inspect/classifiers/specs/aave.py @@ -36,7 +36,7 @@ AAVE_SPEC = ClassifierSpec( ATOKENS_SPEC = ClassifierSpec( abi_name="aTokens", protocol=Protocol.aave, - classifications={ + classifiers={ "transferOnLiquidation(address,address,uint256)": AaveTransferClassifier, "transferFrom(address,address,uint256)": AaveTransferClassifier, }, diff --git a/mev_inspect/schemas/liquidations.py b/mev_inspect/schemas/liquidations.py index f117b31..0c0cef4 100644 --- a/mev_inspect/schemas/liquidations.py +++ b/mev_inspect/schemas/liquidations.py @@ -1,4 +1,4 @@ -from typing import List +from typing import List, Optional from pydantic import BaseModel from mev_inspect.schemas.classified_traces import Protocol @@ -10,7 +10,7 @@ class Liquidation(BaseModel): debt_token_address: str debt_purchase_amount: int received_amount: int - received_token_address: str + received_token_address: Optional[str] protocol: Protocol transaction_hash: str trace_address: List[int]