mmdrezaEclipse Weekly Update(Bridge)
    Updated 3 days ago
    -- forked from jackguy / repulsive-pink copy copy @ https://flipsidecrypto.xyz/jackguy/q/irFTDD7sH-xu/repulsive-pink-copy-copy

    with tab1 as (
    SELECT
    date_trunc('hour', block_timestamp) as hour,
    'USDC' as token,
    'mint' as type,
    tx_id,
    token_account as wallet,
    mint_amount/power(10, 6) as volume
    FROM eclipse.defi.fact_token_mint_actions --eclipse.defi.fact_token_mint_actions
    where mint like 'AKEWE7Bgh87GPp171b4cJPSSZfmZwQ3KaqYqXoKLNAEE'
    and succeeded
    UNION all
    SELECT
    date_trunc('hour', block_timestamp) as hour,
    'USDC' as token,
    'burn' as type,
    tx_id,
    token_account as wallet,
    burn_amount/power(10, 6) as volume
    FROM eclipse.defi.fact_token_burn_actions
    where mint like 'AKEWE7Bgh87GPp171b4cJPSSZfmZwQ3KaqYqXoKLNAEE'
    and succeeded

    UNION all

    SELECT
    date_trunc('hour', block_timestamp) as hour,
    'WIF' as token,
    'mint' as type,
    tx_id,
    Last run: 3 days ago
    EVENTS
    WALLETS
    VOLUME
    1
    425602140973442090521.308725
    1
    34B
    25s