aave_v3.liquidation

Documentation for eth_defi.aave_v3.liquidation Python module.

Liquidation event fetch for Aave

  • Download Aave liquidations data using HyperSync

Classes

AaveLiquidationEvent

Aave liquidation event with resolved token details and human token amounts.

AaveLiquidationReader

class AaveLiquidationEvent

Bases: object

Aave liquidation event with resolved token details and human token amounts.

  • Includes Aave v3 compatibles like Spark

contract: eth_typing.evm.HexAddress

Contract address, which is positing the event, tells us the protocol: Spark, Aave v3, etc. and other Aave v3 compatibles

as_row()

Convert the event to a dictionary with Pandsa row serializable values.

Return type

dict

__init__(chain_id, chain_name, contract, block_number, block_hash, timestamp, transaction_hash, log_index, collateral_asset, debt_asset, user, debt_to_cover, liquidated_collateral_amount, liquidator, receive_a_token)
Parameters
Return type

None