Skip to content

Instantly share code, notes, and snippets.

@sekrystal
Created March 30, 2023 14:44
Show Gist options
  • Save sekrystal/5989f9089e79269ad06c36cbd02e56ca to your computer and use it in GitHub Desktop.
Save sekrystal/5989f9089e79269ad06c36cbd02e56ca to your computer and use it in GitHub Desktop.
Insolvent Position Analysis
select
evt_block_number,
collateralAsset,
debtAsset,
debtToCover,
liquidatedCollateralAmount,
liquidator
from
aave_v2_ethereum.LendingPool_evt_LiquidationCall
where
user = from_hex('0x227cAa7eF6D955A92F483dB2BD01172997A1a623')
order by
evt_block_number desc;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment