Added Aave liquidation to inspect_block

This commit is contained in:
Gui Heise 2021-09-17 18:49:51 -04:00
parent 8f51f4e87c
commit 563935d5b4
2 changed files with 2 additions and 1 deletions

View File

@ -50,6 +50,7 @@ def find_liquidations_from_traces(
reserve = trace.inputs[input]
# This will be the address of the received token
elif input == "_user":
liquidated_user = trace.inputs[input]
# Register liquidation
result.append(

View File

@ -6,4 +6,4 @@ class Liquidation(BaseModel):
collateral_address: str
collateral_amount: int
collateral_source: str
reserve: str
reserve: str