SalehLP-er Retention-percent
Updated 2022-04-30
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 lst_first as (
select
from_address as wallet_address
from thorchain.liquidity_actions lc
where
BLOCK_TIMESTAMP::date>=
---------------------inner filter
(select min(BLOCK_TIMESTAMP::date)
from thorchain.liquidity_actions where LP_ACTION='add_liquidity' )
---------------------inner filter
and BLOCK_TIMESTAMP::date<= (select min(BLOCK_TIMESTAMP::date)
from thorchain.liquidity_actions where LP_ACTION='add_liquidity' )+30
and LP_ACTION='add_liquidity'
group by 1
order by 1
)
, lst_first_count as (
select
count(from_address) as wallet_count
from thorchain.liquidity_actions lc
where
BLOCK_TIMESTAMP::date>=
---------------------inner filter
(select min(BLOCK_TIMESTAMP::date)
from thorchain.liquidity_actions where LP_ACTION='add_liquidity' )
---------------------inner filter
and BLOCK_TIMESTAMP::date<= (select min(BLOCK_TIMESTAMP::date)
from thorchain.liquidity_actions where LP_ACTION='add_liquidity' )+30
and LP_ACTION='add_liquidity'
-- group by 1
-- order by 1
)
Run a query to Download Data