StangFAST05 copy copy
    Updated 2023-06-25
    -- forked from 05 copy @ https://flipsidecrypto.xyz/edit/queries/6f782d4b-e1c9-4197-b2e8-befe34523345

    -- forked from 05 @ https://flipsidecrypto.xyz/edit/queries/61cf80b3-e986-4d61-a469-240b50f0b333

    -- forked from 03 @ https://flipsidecrypto.xyz/edit/queries/cc16403e-4842-4f29-af7e-506e87d45588

    -- forked from 01 @ https://flipsidecrypto.xyz/edit/queries/bb68fbcc-21c9-4e37-a8ee-0206ecfa73f6

    with

    -- horizon AS
    -- (
    -- SELECT
    -- a.signer_id AS address
    -- FROM
    -- near.horizon.fact_decoded_actions a
    -- WHERE
    -- a.method_name = 'add_project'
    -- )
    -- ,
    od AS
    (
    SELECT
    b.address AS address
    , count( DISTINCT a.tx_signer ) AS user
    FROM
    near.core.fact_transactions a
    JOIN
    near.core.dim_address_labels b
    ON a.tx_receiver = b.address
    WHERE
    a.block_timestamp::date >= dateadd( 'month' , -24 , current_date )
    AND b.project_name IS NOT NULL
    AND b.address != 'near'
    GROUP BY
    1
    Run a query to Download Data