Query editor
with source as (selectallocations,tx_hash,block_timefromtable (decode_evm_event (abi => '{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32[]","name":"allocations","type":"bytes32[]"}],"name":"AllocationsSet","type":"event"}',input => table (select*frombase.logswheretopic0 = 0xbd18231792a7535fff80d85564ce7d95dbdff6819b40ad815711b21a75e6bb49and tx_from = 0xe847eBff4d1B7ae3691f238c5Cd5Cf691Fd1F413)))),arrays as (selecttx_hash,block_time,allocationfromsource,unnest (allocations) as t (allocation)),address as (selecttx_hash,block_time,varbinary_to_uint256 (varbinary_substring (allocation, 1, 12)) / 1e18 as amount,varbinary_substring (allocation, 13, 20) as addressfromarrays),final_address as (selectdistinct tx_hash,block_time,amount,addressfromaddress)selectget_href ('https://basescan.org/address/' || CAST(address as VARCHAR),CAST(address as VARCHAR)) as address_link,amount,block_time,tx_hashfromfinal_address