John_GaltPrism Forge Query - just address
    Updated 2022-04-23
    with deposit1 as (select
    tx_id
    from terra.msg_events
    where date(block_timestamp) > '2022-01-01'
    and event_attributes:contract_address= 'terra1angxk38zehp0k09m0wqrrxf0r3ces6qjj432l8'
    and event_attributes:action = 'deposit'
    and event_index = 6
    ),

    deposit2 as (select
    event_attributes:sender as address,
    block_timestamp as date,
    tx_id
    from terra.msg_events
    where date(block_timestamp) > '2022-01-01'
    and event_attributes:recipient = 'terra1angxk38zehp0k09m0wqrrxf0r3ces6qjj432l8'
    and event_index = 5
    ),

    deposit_final as (select
    date_trunc('hour', deposit2.date) as Day_Hour, count(distinct deposit2.address) as deposit_address
    from deposit2
    inner join deposit1 on deposit1.tx_id = deposit2.tx_id
    group by day_hour
    ),

    withdraw1 as (select
    tx_id
    from terra.msg_events
    where date(block_timestamp) > '2022-01-01'
    and event_attributes:contract_address = 'terra1angxk38zehp0k09m0wqrrxf0r3ces6qjj432l8'
    and event_attributes:action = 'withdraw'
    and event_index = 6
    ),

    withdraw2 as (select
    Run a query to Download Data