Query editor
with airdrop_info as (select*from base.logswhere contract_address = 0x37De046173f66f9538Aa6BB69A987AC00163f17Cand topic0 = 0x650e45f04ef8a0c267b2f78d983913f69ae3a353b2b32de5429307522be0ab55), 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_base.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(125000000 as DOUBLE) - cumulative_claimed as unclaimed, (cumulative_claimed / 125000000) * 100 as percent_claimedfrom claimedorder byblock_time asc