Query editor
WITHour_wallets as (SELECT * FROM query_3808208),deposite as (SELECTevt_tx_from AS depositor,evt_block_time as time,amount/1e6 as deposite,0 as withdrawFROM landxfinance_ethereum.lcg_vault_evt_depositwhere evt_tx_from in (SELECT wallet FROM our_wallets)),withdraw as (SELECTevt_tx_from AS depositor,evt_block_time as time,0 as deposite,-amount/1e6 as withdrawFROM landxfinance_ethereum.lcg_vault_evt_withdrawwhere evt_tx_from in (SELECT wallet FROM our_wallets)),agg_dep as (SELECT * FROM depositeUNION ALLSELECT * FROM withdraw),total as (SELECT *,deposite - withdraw as total,sum(deposite - withdraw) over() as grand_totalFROM agg_dep),reward as (SELECT *FROM erc20_ethereum.evt_transferWHERE "from" = 0x134ee64cCF2151452B0fBd757f9aE1a09304036B)select* from reward