Query editor
WITH AirdropAllocation AS (SELECT15000000000 AS total_supply,15000000000 * 0.035 AS airdrop_allocation -- 3.5% allocation),ClaimedAmount AS (SELECTSUM(CAST(evt.value AS DOUBLE) / 1e18) AS total_ena_claimed,MIN(CASE WHEN CAST(evt.value AS DOUBLE) > 0 THEN CAST(evt.value AS DOUBLE) / 1e18 ELSE NULL END) AS min_claimed_amount,MAX(CAST(evt.value AS DOUBLE) / 1e18) AS max_claimed_amount,COUNT(DISTINCT tx."from") AS unique_walletsFROMethereum.transactions AS txJOINerc20_ethereum.evt_Transfer AS evtONtx.hash = evt.evt_tx_hashWHEREtx."to" IN (0x4736808151268507a40EB6AC92d67345e8301A74,0x43cbE9dfE84E2f7451cF2B5caa28f02040E942F5,0xe062995DdeC38745bC145e9cC2fF981F6BD08201,0x424ED30cCe37d8C60E80AE0c4eB898cF85a88440)AND CAST(tx.data AS VARCHAR) LIKE '0x8132b321%'),UnclaimedAmount AS (SELECTairdrop_allocation - total_ena_claimed AS total_ena_unclaimedFROMAirdropAllocation,ClaimedAmount)SELECTtotal_supply,airdrop_allocation AS total_airdrop_allocation,total_ena_claimed AS total_claimed,(total_ena_claimed / airdrop_allocation) * 100 AS total_claimed_percent,total_ena_unclaimed AS total_unclaimed,(total_ena_unclaimed / airdrop_allocation) * 100 AS total_unclaimed_percent,min_claimed_amount,max_claimed_amount,unique_walletsFROMAirdropAllocation,ClaimedAmount,UnclaimedAmount