Fix classifier
This commit is contained in:
parent
e11f5b6741
commit
b06b3bc733
Binary file not shown.
@ -36,7 +36,7 @@ AAVE_SPEC = ClassifierSpec(
|
|||||||
ATOKENS_SPEC = ClassifierSpec(
|
ATOKENS_SPEC = ClassifierSpec(
|
||||||
abi_name="aTokens",
|
abi_name="aTokens",
|
||||||
protocol=Protocol.aave,
|
protocol=Protocol.aave,
|
||||||
classifications={
|
classifiers={
|
||||||
"transferOnLiquidation(address,address,uint256)": AaveTransferClassifier,
|
"transferOnLiquidation(address,address,uint256)": AaveTransferClassifier,
|
||||||
"transferFrom(address,address,uint256)": AaveTransferClassifier,
|
"transferFrom(address,address,uint256)": AaveTransferClassifier,
|
||||||
},
|
},
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
from typing import List
|
from typing import List, Optional
|
||||||
from pydantic import BaseModel
|
from pydantic import BaseModel
|
||||||
from mev_inspect.schemas.classified_traces import Protocol
|
from mev_inspect.schemas.classified_traces import Protocol
|
||||||
|
|
||||||
@ -10,7 +10,7 @@ class Liquidation(BaseModel):
|
|||||||
debt_token_address: str
|
debt_token_address: str
|
||||||
debt_purchase_amount: int
|
debt_purchase_amount: int
|
||||||
received_amount: int
|
received_amount: int
|
||||||
received_token_address: str
|
received_token_address: Optional[str]
|
||||||
protocol: Protocol
|
protocol: Protocol
|
||||||
transaction_hash: str
|
transaction_hash: str
|
||||||
trace_address: List[int]
|
trace_address: List[int]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user