mucryptoc liquidity removed
Updated 2023-06-05
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
›
⌄
with addresses as (
select
address,
address_name
from ethereum.core.dim_labels
where label_subtype = 'pool'
and label = 'curve fi'
and address in (
'0xd51a44d3fae010294c616388b506acda1bfaae46',
'0xbebc44782c7db0a1a60cb6fe97d0b483032ff1c7',
'0x828b154032950c8ff7cf8085d841723db2696056',
'0x8301ae4fc9c624d1d396cbdaa1ed877821d7c511',
'0xdcef968d416a41cdac0ed8702fac8128a64241a2')),
liquidity_events as (
select
tx_hash,
event_name
from ethereum.core.ez_decoded_event_logs
where block_timestamp::date >= current_date() - 30
and contract_address in (
select
address
from addresses)
and event_name in
('RemoveLiquidity', 'RemoveLiquidityOne')),
removed_liquidity as (
select
tx_hash,
block_timestamp::date as day,
from_address as pool_address,
to_address,
amount,
amount_usd
from ethereum.core.ez_token_transfers
Run a query to Download Data