Query editor
with airdrop_info as (select*from ethereum.logswhere contract_address = 0x16ec6dAdfE11e523c47CB8878b85606c0ca5cF95and topic0 = 0x4ec90e965519d92681267467f775ada5bd214aa92c0dc93d90a5e880ce9ed026), claimed as (selectt1.block_time, t1.block_number, t1.tx_hash, t1.tx_from, t2.value / 1e18 as value, SUM(t2.value / 1e18) over (order byt1.block_time asc) as cumulative_claimedfrom airdrop_info as t1inner join erc20_ethereum.evt_transfer as t2 on t1.tx_hash = t2.evt_tx_hashwhere t1.block_time <= (selectMIN(block_time) + INTERVAL '48' HOURfrom airdrop_info))select*, CAST(50000000 as DOUBLE) - cumulative_claimed as unclaimed, (cumulative_claimed / 50000000) * 100 as percent_claimedfrom claimedorder byblock_time asc