Query editor
withflows as (select"to" as user,evt_block_time,evt_tx_hash,cast(value/1e18 as double) as bptfrom erc20_arbitrum.evt_Transferwhere contract_address = 0x569061E2D807881F4A33E1cbE1063bc614cB75a4and "from" = 0x0000000000000000000000000000000000000000union allselect"from" as user,evt_block_time,evt_tx_hash,-cast(value/1e18 as double) as bptfrom erc20_arbitrum.evt_Transferwhere contract_address = 0x569061E2D807881F4A33E1cbE1063bc614cB75a4and "to" = 0x0000000000000000000000000000000000000000)selectuser,sum(bpt) as bpt_totalfrom flowsgroup by userorder by sum(bpt) desc