Query editor
with storm_transfers as (selectsource, destination, amount / 1e9 as amountfrom ton.jetton_eventswhere jetton_master = UPPER('0:6CA2C99C66B0FA1478A303BA9618BC39C28FDA1FC50DE37E618BDDF98C9FD24C')and tx_aborted = false), wallet_balances as (selectdestination as wallet_address, amount as received, 0 as sentfrom storm_transferswhere destination <> '0:0000000000000000000000000000000000000000000000000000000000000000'union allselectsource as wallet_address, 0 as received, amount as sentfrom storm_transferswhere source <> '0:0000000000000000000000000000000000000000000000000000000000000000'), wallet_totals as (selectwallet_address, SUM(received) - SUM(sent) as net_st_stormfrom wallet_balancesgroup bywallet_addresshavingSUM(received) - SUM(sent) > 0)selectSUM(net_st_storm) as total_storm_supplyfrom wallet_totals