Added Aave liquidation to inspect_block
This commit is contained in:
parent
8f51f4e87c
commit
563935d5b4
@ -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(
|
||||
|
@ -6,4 +6,4 @@ class Liquidation(BaseModel):
|
||||
collateral_address: str
|
||||
collateral_amount: int
|
||||
collateral_source: str
|
||||
reserve: str
|
||||
reserve: str
|
Loading…
x
Reference in New Issue
Block a user