Query editor
selectsum(value / POW(10, pt.decimals)) as value,sum(value / POW(10, pt.decimals) * price) as value_usdfrom erc20_ethereum.evt_transfer tleft join query_3203428 b --all bucketson b.address = t."from" and b.borrowed_asset_address = t.contract_address and b.network = 'ethereum'left join query_4049840 pton pt.underline_asset_address = t.contract_address and pt.network = 'ethereum'left join prices.usd_latest pon p.contract_address = t.contract_address and p.blockchain = 'ethereum'where to = 0x893047ea492659418501e3b5868abe75468e2eb6 and( "from" = 0x99d63fea4b3ef6ca77941df3c5740dad1586f0b8 -- PositionManageror "from" = 0xa6d76535e265357187653d4aad9b362404d42ea8 -- SwapManageror "from" = 0xb980d7b0f4a05572de635e8916a222f05fc64552 -- SwapManager v2or "from" = 0x156e2fc8e1906507412beeeb6640bf999a1ea76b -- TraderBalanceVaultor b.address is not null) --bucketsand b.borrowed_asset_address is not nulland evt_tx_hash = 0x46523ea597ce320f564d991b2145b6fc82030626953584ede8ab9400116540d5