permaryDaily not sure to use -definitely using
    Updated 2025-04-05
    WITH activity_data AS (
    -- Minting Transactions
    SELECT
    'Card Mints' AS activity_type,
    DATE_TRUNC('day', block_timestamp) AS activity_date,
    COUNT(distinct tx_hash) AS transaction_count
    FROM monad.testnet.fact_event_logs
    WHERE topic_0 IN (
    '0x7a7be958aedb09208ae6ed49fc0841ccb7f951498c9afc1c2bfa4abbd0e3ff82',
    '0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef'
    )
    AND contract_address IN (
    LOWER('0x9077D31A794D81c21b0650974d5F581F4000CD1a'),
    LOWER('0x04edB399CC24a95672BF9B880EE550dE0b2D0B1e')
    )
    GROUP BY DATE_TRUNC('day', block_timestamp)

    UNION ALL

    -- Sales Transactions (excluding special burns)
    SELECT
    'Card Sales' AS activity_type,
    DATE_TRUNC('day', block_timestamp) AS activity_date,
    COUNT(distinct tx_hash) AS transaction_count
    FROM monad.testnet.fact_event_logs
    WHERE topic_0 IN (
    '0x1c00f7c02cc752f52ca92cf2b6897abad5e66fa9a43920cad9e44f5ccb4a8a4e',
    '0xb197f0b7d29f585d30223a9c287a1309a7c3371a57036eb30995ae25ba906dae',
    '0xd650132a7cad9fe7456a6d9bde31152a79c0f8e136974063a84e045a2cdb7842'
    )
    AND contract_address IN (LOWER('0xfA4D5a9ceA2822BA08d0266F121011aC527ced64'))
    -- Exclude transactions from the special burn address
    AND origin_from_address != LOWER('0x366694cdef0A8c55b60e2cB28AaF6C2c1958313a')
    GROUP BY DATE_TRUNC('day', block_timestamp)

    UNION ALL
    Last run: 19 days ago
    ACTIVITY_DATE
    ACTIVITY_TYPE
    TRANSACTION_COUNT
    DAILY_TOTAL
    PERCENTAGE_OF_DAILY
    1
    2025-04-05 00:00:00.000Card Mints467139434149.52
    2
    2025-04-05 00:00:00.000Card Sales125959434113.35
    3
    2025-04-05 00:00:00.000Card Listings95469434110.12
    4
    2025-04-05 00:00:00.000Card Bid Cancelled8407943418.91
    5
    2025-04-05 00:00:00.000Owner Interaction6139943416.51
    6
    2025-04-05 00:00:00.000Accepted Card Bids4605943414.88
    7
    2025-04-05 00:00:00.000Special Card Burn2545943412.7
    8
    2025-04-05 00:00:00.000Card Burns2249943412.38
    9
    2025-04-05 00:00:00.000 Card Upgrades1542943411.63
    10
    2025-04-04 00:00:00.000Card Mints5553710950450.72
    11
    2025-04-04 00:00:00.000Card Sales1383010950412.63
    12
    2025-04-04 00:00:00.000Card Bid Cancelled1201010950410.97
    13
    2025-04-04 00:00:00.000Card Listings83601095047.63
    14
    2025-04-04 00:00:00.000Owner Interaction71031095046.49
    15
    2025-04-04 00:00:00.000Accepted Card Bids57551095045.26
    16
    2025-04-04 00:00:00.000Special Card Burn27701095042.53
    17
    2025-04-04 00:00:00.000Card Burns24511095042.24
    18
    2025-04-04 00:00:00.000 Card Upgrades16881095041.54
    19
    2025-04-03 00:00:00.000Card Mints358257017451.05
    20
    2025-04-03 00:00:00.000Card Bid Cancelled84797017412.08
    ...
    431
    26KB
    92s