Skip to content

Instantly share code, notes, and snippets.

@sekrystal
Created March 30, 2023 14:46
Show Gist options
  • Save sekrystal/89959ead30358b788d9a90fddc10ab1d to your computer and use it in GitHub Desktop.
Save sekrystal/89959ead30358b788d9a90fddc10ab1d to your computer and use it in GitHub Desktop.
Insolvent Position Analysis
select
count(*) as num_liquidations
from
aave_v2_ethereum.LendingPool_evt_LiquidationCall
where
user = from_hex('0x227cAa7eF6D955A92F483dB2BD01172997A1a623')
and evt_block_number <= 13522070 and evt_block_number >= 13520838
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment