MLDZMNTotal activity 3
    Updated 2024-06-15

    With ethereum as (SELECT
    date_trunc('month', BLOCK_TIMESTAMP) as month,
    'Ethereum' as chain,
    count(*) as no_txn

    from ethereum.core.fact_transactions
    where TO_ADDRESS in (
    SELECT
    DECODED_LOG:multisig as multisig
    from ethereum.core.ez_decoded_event_logs
    where CONTRACT_ADDRESS = '0x48b6af7b12c71f09e2fc8af4855de4ff54e775ca'
    and CONTRACT_NAME = 'Service Registry'
    and EVENT_NAME = 'CreateMultisigWithAgents'
    )
    group by 1
    ),

    polygon as (SELECT
    date_trunc('month', BLOCK_TIMESTAMP) as month,
    'Polygon' as chain,
    count(*) as no_txn

    from Polygon.core.fact_transactions
    where TO_ADDRESS in (
    SELECT
    DECODED_LOG:multisig as multisig
    from Polygon.core.ez_decoded_event_logs
    where CONTRACT_ADDRESS = '0xe3607b00e75f6405248323a9417ff6b39b244b50'
    and CONTRACT_NAME = 'Service Registry L2'
    and EVENT_NAME = 'CreateMultisigWithAgents'
    )
    group by 1),

    gnosis as (SELECT
    date_trunc('month', BLOCK_TIMESTAMP) as month,
    QueryRunArchived: QueryRun has been archived