StangFASTbase - 6 - Meteora Pools Program
    Updated 2023-10-03
    -- forked from base - 5 - Meteora Pools Program copy @ https://flipsidecrypto.xyz/edit/queries/e14a03cd-13fb-42aa-a5e0-e0df0de258b3

    --- Meteora Pools Program

    --- start date > February 2023
    --- 🟢 confirm ---
    --- AddBalanceLiquidity
    --- AddImbalanceLiquidity
    --- RemoveBalanceLiquidity
    --- Swap
    --- InitializePermissionlessPoolWithFeeTier


    --- 🟠 checking ---
    --- InitializeMint2
    --- Initialize
    --- RemoveLiquiditySingleSide
    --- BootstrapLiquidity

    --- For the swapping
    --- index = 0 and first array that is pool in the instruction column
    --- program_id = Eo7WjKq67rjJQSZxS6z3YkapzY3eMj6Xy8X5EQVn5UaB

    with

    price AS
    (
    SELECT
    date_trunc( 'day' , a.recorded_hour ) AS date
    , avg( a.close ) AS price
    , a.token_address AS token
    , a.symbol AS symbol
    FROM
    solana.price.ez_token_prices_hourly a
    GROUP BY 1 , 3 , 4
    ORDER BY 1 DESC
    Run a query to Download Data