StangFAST04 - create drop - chart
    Updated 2023-08-04
    -- forked from 03 - actions @ https://flipsidecrypto.xyz/edit/queries/008e03a1-72a2-4bf2-8952-e8edd8d93d71

    -- forked from 01 - overview chart @ https://flipsidecrypto.xyz/edit/queries/63d65ccc-e611-4df7-8f01-e40a527f1274

    -- fact_actions_events_function_call [ 41,595 ]
    -- fact_actions_events [ 210,110 ]

    -- add_keys -
    -- add_to_balance - deposit / 1e24
    -- claim -
    -- create_account_and_claim -
    -- create_drop - deposit / 1e24
    -- nft_on_transfer -
    -- nft_resolve_transfer -
    -- on_claim_fc - balance / 1e24
    -- on_claim_nft -
    -- on_claim_simple - balance / 1e24
    -- withdraw_from_balance -

    with

    near_price AS
    (
    SELECT
    date_trunc( 'day' , a.timestamp ) AS day
    , avg( a.price_usd ) AS price
    FROM
    near.core.fact_prices a
    WHERE
    a.symbol = 'wNEAR'
    GROUP BY 1
    ORDER BY 1 DESC
    )

    SELECT
    Run a query to Download Data