Query editor
--Locking deadline - May 4, 5AM PST--locked LP benefits:--100% Fees Generated during beta--Protocol Fees--Swap/Trading Fees--Airdrop 150,000WITHprotocol_revenue AS(SELECT *,(SELECT cumulative_fees_value from query_2433490 where bet_date = '04-30') AS incentivized_beta_revenue,cumulative_fees_value - (SELECT cumulative_fees_value from query_2433490 where bet_date = '04-30') AS post_beta_revenueFROM query_2433490ORDER BY bet_date DESCLIMIT 1),lp_incentives AS(SELECT *,150000 + incentivized_beta_revenue + post_beta_revenue*0.3 AS total_lockoor_incentives--$150,000 Airdrop + Full Beta Revenue + 30% of Post-Beta Generated Platform FeesFROM protocol_revenue),weth_price as(SELECT median_priceFROM dex.pricesWHERE 1=1AND contract_address = 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2ORDER BY day DESC, hour DESCLIMIT 1),peg_data as(SELECTblock_time,CASEWHEN token_bought_symbol IS NULL THEN 'PEG'ELSE token_bought_symbol END AS token_bought_symbol,CASEWHEN token_sold_symbol IS NULL THEN 'PEG'ELSE token_sold_symbol END AS token_sold_symbol,token_bought_amount_raw/POW(10, 18) AS token_bought_amount_raw,token_sold_amount_raw/POW(10, 18) AS token_sold_amount_rawFROM balancer_arbitrum.tradesWHERE 1=1AND project_contract_address = 0x3efd3e18504dc213188ed2b694f886a305a6e5edORDER BY block_time DESCLIMIT 1),peg_price AS(