freemartianKojira Users Wallets count
    Updated 2022-04-13
    with submit_bids as (
    select msg_value
    from terra.msgs
    where msg_value:contract in (
    'terra1w9ky73v4g7v98zzdqpqgf3kjmusnx4d4mvnac6',
    'terra1e25zllgag7j9xsun3me4stnye2pcg66234je3u') -- new and old anchor liquidation addresses
    and msg_value:execute_msg:submit_bid is not null
    and block_timestamp >= '2021-11-11'
    ),

    activate_bids as (
    select distinct(msg_value:sender) as address
    from submit_bids
    where address in (
    select msg_value:sender
    from terra.msgs
    where msg_value:execute_msg:activate_bids is not null
    and msg_value:contract in (
    'terra1w9ky73v4g7v98zzdqpqgf3kjmusnx4d4mvnac6',
    'terra1e25zllgag7j9xsun3me4stnye2pcg66234je3u')
    and block_timestamp >= '2021-11-11'
    )
    )
    select count(address) as count from activate_bids
    Run a query to Download Data