MLDZMNstb10
Updated 2023-02-17
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
›
⌄
select
PROJECT_NAME as stablecoin,
action,
count (distinct tx_id) as no_transactions,
count (distinct liquidity_provider_address) as no_users,
sum(AMOUNT/pow(10,6)) as volume,
avg(AMOUNT/pow(10,6)) as avg_volume,
no_users/count(distinct date_trunc(day, block_timestamp)) as average_sender_day,
volume/count(distinct date_trunc(day, block_timestamp)) as average_volume_day
from osmosis.core.fact_liquidity_provider_actions s left join osmosis.core.dim_tokens a on s.currency=a.ADDRESS
where TX_SUCCEEDED = 'TRUE' and BLOCK_TIMESTAMP>=CURRENT_DATE- {{Time_period}}
and action in ('pool_joined','pool_exited')
and currency in ('ibc/8242AD24008032E457D2E12D46588FD39FB54FB29680C6C7663D296B383C37C4','ibc/D189335C6E4A68B513C10AB227BF1C1D38C746766278BA3EEB4FB14124F1D858')
group by 1,2
Run a query to Download Data