permaryComparisons
    Updated 5 days ago
    WITH fantasy_users AS (
    -- Count distinct users who interacted with Fantasy Card contracts
    SELECT
    COUNT(DISTINCT ft.from_address) AS fantasy_user_count
    FROM monad.testnet.fact_event_logs fel
    JOIN monad.testnet.fact_transactions ft
    ON fel.tx_hash = ft.tx_hash
    WHERE fel.contract_address IN (
    LOWER('0x9077D31A794D81c21b0650974d5F581F4000CD1a'),
    LOWER('0x04edB399CC24a95672BF9B880EE550dE0b2D0B1e'),
    LOWER('0xfA4D5a9ceA2822BA08d0266F121011aC527ced64')
    )
    ),
    fantasy_transactions AS (
    -- Total transactions from Fantasy Card contracts
    SELECT
    COUNT(DISTINCT ft.tx_hash) AS fantasy_count
    FROM monad.testnet.fact_event_logs fel
    JOIN monad.testnet.fact_transactions ft
    ON fel.tx_hash = ft.tx_hash
    WHERE fel.contract_address IN (
    LOWER('0x9077D31A794D81c21b0650974d5F581F4000CD1a'),
    LOWER('0x04edB399CC24a95672BF9B880EE550dE0b2D0B1e'),
    LOWER('0xfA4D5a9ceA2822BA08d0266F121011aC527ced64')
    )
    ),
    fantasy_fees AS (
    -- Total transaction fees from Fantasy Card transactions
    SELECT
    SUM(ft.tx_fee) AS fantasy_fee_total
    FROM monad.testnet.fact_event_logs fel
    JOIN monad.testnet.fact_transactions ft
    ON fel.tx_hash = ft.tx_hash
    WHERE fel.contract_address IN (
    LOWER('0x9077D31A794D81c21b0650974d5F581F4000CD1a'),
    LOWER('0x04edB399CC24a95672BF9B880EE550dE0b2D0B1e'),
    Last run: 5 days ago
    FANTASY_USERS
    TOTAL_USERS
    PERCENTAGE_USERS
    FANTASY_TRANSACTIONS
    TOTAL_TRANSACTIONS
    PERCENTAGE_TRANSACTIONS
    FANTASY_FEES
    TOTAL_FEES
    PERCENTAGE_FEES
    1
    682264153995344.4324978163515185720.713527202.815939883156392.04614818111.75
    1
    88B
    84s